Thanks for your reply. I'm using Red Hat Enterprise Linux Server release 5.2.
Unfortunately, it gives the error message below when I just try to start the installation of GD:
Code:
type "perl Makefile.PL":
Notice: Type perl Makefile.PL -h for command-line option summary.
Configuring for libgd version 2.0.35.
Checking for stray libgd header files...none found.
Included Features: GD_XPM GD_JPEG GD_FONTCONFIG GD_FREETYPE GD_PNG GD_GIF GD_GIFANIM GD_OPENPOLYGON GD_UNCLOSEDPOLY GD_ANIMGIF GD_FTCIRCLE VERSION_33
GD library used from: /usr/local
Unrecognized argument in LIBS ignored: '@LIBICONV@'
Writing Makefile for GD
Code:
type "sudo make test":
Test Summary Report
-------------------
t/GD (Wstat: 512 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 2
Parse errors: Bad plan. You planned 12 tests but ran 1.
t/Polyline (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 1 tests but ran 0.
Files=2, Tests=1, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.08 cusr 0.01 csys = 0.12 CPU)
Result: FAIL
Failed 2/2 test programs. 1/1 subtests failed.
make: *** [test_dynamic] Error 2
Code:
type "sudo html":
pod2html --outfile=GD.html GD.pm
/usr/local/bin/pod2html: GD.pm: unterminated list at =head in paragraph 124. ignoring.
/usr/local/bin/pod2html: GD.pm: unexpected =item directive in paragraph 128. ignoring.
/usr/local/bin/pod2html: GD.pm: cannot resolve L<fontconfig> in paragraph 383.
Code:
type "sudo make install"
Manifying blib/man1/bdf2gdfont.pl.1
Manifying blib/man3/GD::Polyline.3
Manifying blib/man3/GD::Image.3
Manifying blib/man3/GD::Simple.3
Manifying blib/man3/GD.3
Manifying blib/man3/GD::Polygon.3
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Writing /usr/local/lib/perl5/site_perl/5.8.8/ia64-linux/auto/GD/.packlist
Appending installation info to /usr/local/lib/perl5/5.8.8/ia64-linux/perllocal.pod
From the above message, it showing that libgd header files is not found.
I got a bit confusing about the meaning of "Checking for stray libgd header files...none found."
I'm sure that the libgd header files is at /usr/local/include/gd.h
Besides that, I not sure about the reason of causing the "make test" result FAIL
Thanks for your any advice. I'm very appreciate it.
Hi,
I am trying to install our new acquired Red Hat linux 9 on Compaq Proliant ML370. However, l has already configured the raid 0+1. The linux installation starts from the CD, its allows for the selection of Language, keyboard but l am stocked at choosing the installation package media. I... (4 Replies)
Hi,
I am doing this perl script
print (@line(1..15));
the lines 1 to 15 get printed...
how can i redirect this to file?
thanks and regards
vivek.s (4 Replies)
Hi
I am getting the uptime output as follows
12:40am up 4 day(s), 18:29, 2 users, load average: 38.97, 36.54, 34.89
The load average is too high .
I have checked the processes , but no process is taking too much cpu time
Please help (3 Replies)
I have a process that needs two active connections to the same zone of shared memory simultaneously.
The firs conection works ok, but when i do the second call to shmat it give me error 22 (EINVAL). Only works ok the second call to shmat if i disconnect the first connection (shmdt)
Steps:... (3 Replies)
Dear Experts,
i am trying to find whether the given name is file or a directory
dirp = opendir(dirname);
direntp = readdir(dirp);
if(direntp->d_type & DT_DIR)
{
printf("\n is a dirctory");
}
else
{
//dir_or_file = Mtrue;
printf("\n not a directory");
}
it always... (9 Replies)
Dear friends,
I am experiencing the trouble while installing the Red Hat Linux 4 on top of windows XP, after booting its asking "What type of media contains the packages to be installed".
Steps I followed:
Step 1: left the free space as unpartitioned, (I also tried with the FAT32... (1 Reply)
i am using this way to create zone1 and zone2
bash-2.05b# zonecfg -z zone1
zone1: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:zone1> create
zonecfg:zone1> set zonepath=/zone/1
zonecfg:zone1> set autoboot=true
zonecfg:zone1> add net
zonecfg:zone1:net>... (6 Replies)
can u plz tell me where is the error
echo enter the filename to be searched
read fname
if #-d $fname
then
echo file exists
if
then
echo itsa directory
elif
then
echo its readable
cat $fname
else
echo its not readable
fi
else
... (1 Reply)
Masters,
I really need help here.... I had to format my system so my installed Linux goes away..
Now I am trying to fresh installation, but stuck at one point, did RND for 2-3 days but no luck, hence posting here....
I am stuck on the "installation method" step..As I am trying to install... (6 Replies)
Hi,
I am able to login using su - or su directly ,
# prompt is coming, it doesnt ask for password.
any normal user on aix system is login using su - or su .
Please suggest where to change the configuration
direct root login is disabled in /etc/ssh/sshd_config file. (0 Replies)
Discussion started by: manoj.solaris
0 Replies
LEARN ABOUT MOJAVE
test::pod5.18
Test::Pod(3) User Contributed Perl Documentation Test::Pod(3)NAME
Test::Pod - check for POD errors in files
VERSION
Version 1.48
SYNOPSIS
"Test::Pod" lets you check the validity of a POD file, and report its results in standard "Test::Simple" fashion.
use Test::Pod tests => $num_tests;
pod_file_ok( $file, "Valid POD file" );
Module authors can include the following in a t/pod.t file and have "Test::Pod" automatically find and check all POD files in a module
distribution:
use Test::More;
eval "use Test::Pod 1.00";
plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
all_pod_files_ok();
You can also specify a list of files to check, using the "all_pod_files()" function supplied:
use strict;
use Test::More;
eval "use Test::Pod 1.00";
plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
my @poddirs = qw( blib script );
all_pod_files_ok( all_pod_files( @poddirs ) );
Or even (if you're running under Apache::Test):
use strict;
use Test::More;
eval "use Test::Pod 1.00";
plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
my @poddirs = qw( blib script );
use File::Spec::Functions qw( catdir updir );
all_pod_files_ok(
all_pod_files( map { catdir updir, $_ } @poddirs )
);
DESCRIPTION
Check POD files for errors or warnings in a test file, using "Pod::Simple" to do the heavy lifting.
FUNCTIONS
pod_file_ok( FILENAME[, TESTNAME ] )
"pod_file_ok()" will okay the test if the POD parses correctly. Certain conditions are not reported yet, such as a file with no pod in it
at all.
When it fails, "pod_file_ok()" will show any pod checking errors as diagnostics.
The optional second argument TESTNAME is the name of the test. If it is omitted, "pod_file_ok()" chooses a default test name "POD test for
FILENAME".
all_pod_files_ok( [@entries] )
Checks all the files under @entries for valid POD. It runs all_pod_files() on directories and assumes everything else to be a file to be
tested. It calls the "plan()" function for you (one test for each file), so you can't have already called "plan".
If @entries is empty or not passed, the function finds all POD files in files in the blib directory if it exists, or the lib directory if
not. A POD file is one that ends with .pod, .pl and .pm, or any file where the first line looks like a shebang line.
If you're testing a module, just make a t/pod.t:
use Test::More;
eval "use Test::Pod 1.00";
plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
all_pod_files_ok();
Returns true if all pod files are ok, or false if any fail.
all_pod_files( [@dirs] )
Returns a list of all the Perl files in @dirs and in directories below. If no directories are passed, it defaults to blib if blib exists,
or else lib if not. Skips any files in CVS, .svn, .git and similar directories. See %Test::Pod::ignore_dirs for a list of them.
A Perl file is:
o Any file that ends in .PL, .pl, .PL, .pm, .pod, or .t.
o Any file that has a first line with a shebang and "perl" on it.
o Any file that ends in .bat and has a first line with "--*-Perl-*--" on it.
The order of the files returned is machine-dependent. If you want them sorted, you'll have to sort them yourself.
TODO
STUFF TO DO
Note the changes that are being made.
Note that you no longer can test for "no pod".
AUTHOR
Currently maintained by David E. Wheeler, "<david@justatheory.com>".
Originally by brian d foy.
Maintainer emeritus: Andy Lester, "<andy at petdance.com>".
ACKNOWLEDGEMENTS
Thanks to Andy Lester, David Wheeler, Paul Miller and Peter Edwards for contributions and to "brian d foy" for the original code.
COPYRIGHT AND LICENSE
Copyright 2006-2010, Andy Lester. Some Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.18.2 2017-10-06 Test::Pod(3)