I'm trying to install of Gbrowse recently. Unfortunately, I stuck at the step to install GD which are prerequisite for Gbrowse installation.
I got try to install it, but it seems like got a lot of error message occurred
And still can't fix the problem yet.
I'm using ia64 linux system.Thus anybody got successful install Gbrowse and GD in linux? and give some hits or show the useful link or website to archive it?
Thanks a lot for any guide and advice.
yup. you're right.
Actually I got try to install gbrowse based on the instruction of that website before. Just I feel wondering why will got error message when install the GD which are prerequisite for Gbrowse installation.
Are you success install it?
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:
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
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
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.
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.
OK, so your problem isn't with the GD library itself, but the Perl wrapper. But why are you trying to install it from source, when that module should be available in the repository, as well as most of the other requirements? And even if you have to install them from source, why not use the CPAN module, which can take care of the dependencies:
perl -MCPAN -eshell
Also, make sure that you've got the development package for GD installed, this should be a simple
The 'symbol' is the CPAN prompt, which means that it's ready to do something. You can install modules by entering 'install <Module>', where <Module> would be a Perl module.
If you've got no access to RHN you can get packages by downloading the appropriate source RPM from a CentOS mirror in the '5/os/SRPMS/' directory, and build it by running rpmbuild, eg
rpmbuild --rebuild gd-2.0.33-9.4.el5_1.1.src.rpm
will create the library package and devel package.
Thanks a lot for your suggestion, pludi.
I still trying to install GD and hopefully it can be use for GBrowse in future.
Thanks for your advice and hints for guiding me ^^
In between, do you got experience using GBrowse?