|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Installing GD perl libraries with library dependancies
Hi,
This appears to be a perl question but I think it is more suited for this forum as there are many system library dependencies. I'm installing software with GD and perl requirements on Red Hat (2.6.9-55.0.2.ELsmp) x84_64, perl v5.8.5. Requirements from README are: perl 5.6.1 preferred, perl 5.004 or higher (ftp site info at http://www.perl.com/CPAN) with the modules CGI and Data: umper and the following GD modules:1) GD => download from http://www.boutell.com/gd/; 2) GDTextUtil from http://search.cpan.org/CPAN/authors/id/M/MV/MVERB/GDTextUtil-0.86.tar.gz; 3) GD2.30 from http://search.cpan.org/CPAN/authors/id/L/LD/LDS/GD-2.30.tar.gz; 4) GDGraphs from http://search.cpan.org/CPAN/authors/id/M/MV/MVERB/GDGraph-1.43.tar.gz; I installed GD using up2date (packages gd, gd-progs and gd-devel). But when I try to install GDTextUtil.pm CPAN attempts to install the GD-2.35.pm module as a dependency (which it is) but the make fails with the following error: usr/lib64 -L/usr/X11R6/lib64 -L/usr/lib64 -lXpm -lX11 -ljpeg -lfreetype -lpng12 -lz -lm -lgd /usr/bin/ld: cannot find -lXpm collect2: ld returned 1 exit status If I run this command from the shell and remove the -lXpm switch ld fails as it can't find -lX11. I'm not too experienced with sys admin stuff, do I need to install all these dependencies for ld to be able to link (I'm guessing yes). If so, should I run up2date on these modules, if so there are many x11 modules does anyone know which one to install? What about for Xpm? Any help appreciated. thanks! woodfett |
|
#2
|
|||
|
|||
|
That's cool it's sorted.
I installed: xorg-x11-devel libraries and libpng-devel and then the compile and install for GD and GDTextUtil worked -> ![]() |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > Installing GD perl libraries with library dependancies |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|