LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 10-03-2003, 02:19 PM   #1
Chiabert
LQ Newbie
 
Registered: Oct 2003
Distribution: Redhat Linux 9
Posts: 6

Rep: Reputation: 0
Problems with installing GD perl module. Related to libgd installation.


To install the perl module, I need to have libgd. So I did:

...>#locate libgd

/usr/lib/libgdbm.so.2.0.0
/usr/lib/libgdbm.so.2
/usr/lib/libgdk-1.2.so.0.9.1
/usr/lib/libgdk-1.2.so.0
/usr/lib/libgdk_pixbuf.so.2.0.0
/usr/lib/libgdk_pixbuf.so.2
/usr/lib/libgdk_pixbuf_xlib.so.2.0.0
/usr/lib/libgdk_pixbuf_xlib.so.2
/usr/lib/libgd.so.1
/usr/lib/libgd.so.1.8
/usr/lib/libgd.so.1.8.4
/usr/lib/pkgconfig/imlibgdk.pc
/usr/lib/libgdk-x11-2.0.so.0.200.1
/usr/lib/libgdk-x11-2.0.so.0
/usr/lib/libgdk_pixbuf-2.0.so.0.200.1
/usr/lib/libgdk_pixbuf-2.0.so.0
/usr/lib/libgdk_pixbuf_xlib-2.0.so.0.200.1
/usr/lib/libgdk_pixbuf_xlib-2.0.so.0
/usr/lib/libgdk_imlib.so.1.9.13
/usr/lib/libgdk_imlib.so.1
/usr/lib/libgdkcardimage.so.0
/usr/lib/libgdkcardimage.so
/usr/lib/libgdkcardimage.so.0.0.0
/usr/lib/libgdbm.a
/usr/lib/libgdbm.la
/usr/lib/libgdbm.so
/usr/lib/libgd.so
/usr/lib/libgd.a
/usr/lib/libgdk.a
/usr/lib/libgdk.la
/usr/lib/libgdk.so
/usr/lib/libgdk_imlib.a
/usr/lib/libgdk_imlib.so
/usr/lib/libgdk_pixbuf.a
/usr/lib/libgdk_pixbuf.so
/usr/lib/libgdk_pixbuf_xlib.a
/usr/lib/libgdk_pixbuf_xlib.so
/usr/lib/libgdk_pixbuf_xlib-2.0.so
/usr/lib/libgdk-x11-2.0.so
/usr/lib/libgdk_pixbuf-2.0.so


So i proceeded to type:

>#perl -MCPAN -e'install "GD"'

CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Wed, 01 Oct 2003 22:49:52 GMT
CPAN: LWP::UserAgent loaded ok
..................................................

Type perl Makefile.PL -h for command-line option summary

Where is libgd installed? [/usr/lib]

Please choose the features that match how libgd was built:
Build JPEG support? [y]
Build FreeType support? [y]
Build XPM support? [y]


(I answered the defaults cuz I wasn't sure)
This is the error message i get:

Looks good
Writing Makefile for GD
cp GD/Polyline.pm blib/lib/GD/Polyline.pm
cp qd.pl blib/lib/qd.pl
cp GD.pm blib/lib/GD.pm
AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD)
/usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap GD.xs > GD.xsc && mv GD.xsc GD.c
gcc -c -I/usr/local/include -I/usr/local/include/gd -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -march=i386 -mcpu=i686 -DVERSION=\"2.07\" -DXS_VERSION=\"2.07\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM GD.c
GD.xs: In function `newDynamicCtx':
GD.xs:388: structure has no member named `gd_free'
GD.xs: In function `gd_cloneDim':
GD.xs:408: structure has no member named `alpha'
GD.xs:408: structure has no member named `alpha'
GD.xs:414: structure has no member named `thick'
GD.xs:414: structure has no member named `thick'
GD.xs: In function `XS_GD__Image_newFromPngData':
GD.xs:542: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_newFromGdData':
............................................
GD.xs:1166: invalid lvalue in assignment
GD.xs:1166: invalid lvalue in assignment
GD.xs:1167: invalid lvalue in assignment
GD.xs:1167: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_stringFT':
GD.xs:1756: `gdFTStringExtra' undeclared (first use in this function)
GD.xs:1756: (Each undeclared identifier is reported only once
GD.xs:1756: for each function it appears in.)
GD.xs:1756: parse error before "strex"
GD.xs:1775: `strex' undeclared (first use in this function)
GD.xs:1779: `gdFTEX_LINESPACE' undeclared (first use in this function)
GD.xs:1783: `gdFTEX_CHARMAP' undeclared (first use in this function)
GD.xs:1785: `gdFTEX_Unicode' undeclared (first use in this function)
GD.xs:1787: `gdFTEX_Shift_JIS' undeclared (first use in this function)
GD.xs:1789: `gdFTEX_Big5' undeclared (first use in this function)
GD.xs:1793: warning: assignment makes pointer from integer without a cast
make: *** [GD.o] Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible



Can anyone help me diagnose the problem so I know how to proceed? Or perhaps offer a solution? I like just started using Linux a few days ago, so I a total newbie.

Thnx,
Chiabert
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
perl module installation init-5 Linux - Software 26 10-25-2004 05:14 AM
perl module installation black_man Slackware 2 10-17-2004 02:57 PM
installing perl module vickr1z Linux - Newbie 1 09-22-2004 08:12 AM
Problems Installing Perl GD module kaplan71 Linux - Software 0 08-19-2004 03:17 PM
Perl/Tk module installation problem baddwolf Linux - Software 0 09-26-2003 12:11 AM


All times are GMT -5. The time now is 09:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration