Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old April 13th, 2008, 08:30 PM
woodfett woodfett is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 66 woodfett User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 h 31 m 53 sec
Reputation Power: 4
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

Reply With Quote
  #2  
Old April 15th, 2008, 07:08 PM
woodfett woodfett is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 66 woodfett User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 h 31 m 53 sec
Reputation Power: 4
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

->

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > Installing GD perl libraries with library dependancies


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway