LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-31-2004, 01:02 PM   #1
kaplan71
Member
 
Registered: Nov 2003
Posts: 718

Rep: Reputation: 39
Problem Installing GD 2.16 Perl Module with Slackware 10


I am running Slackware 10 and would like to install GD 2.16 to use with a rrdtool database program. Whenever I try to install the module, or even an earlier 2.x version of it, I get the following output:

Executing /usr/bin/perl Makefile.PL && make ..

NOTICE: This module requires libgd 2.0.12 or higher.
it will NOT work with earlier versions.
See www.cpan.org for versions of GD that are compatible
with earlier versions of libgd.

If you are using Math::Trig 1.01 or lower, it has a bug that
causes a "prerequisite not found" warning to be issued. You may
safely ignore this warning.

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


Where is libgd installed? [/usr/lib] /usr/lib

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

If you experience compile problems, please check the @INC, @LIBPATH and @LIBS
arrays defined in Makefile.PL and manually adjust, if necessary.

Checking if your kit is complete...
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/perl5.8.4 /usr/lib/perl5/5.8.4/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.4/ExtUtils/type
map -typemap typemap GD.xs > GD.xsc && mv GD.xsc GD.c
cc -c -I/usr/include -I/usr/include/gd -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURC
E -D_FILE_OFFSET_BITS=64 -O2 -march=i486 -mcpu=i686 -DVERSION=\"2.16\" -DXS_VERSION=\"2.16\" -fPIC
"-I/usr/lib/perl5/5.8.4/i486-linux/CORE" -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM GD.c
GD.xs: In function `newDynamicCtx':
GD.xs:440: error: structure has no member named `gd_free'
GD.xs: In function `gd_cloneDim':
GD.xs:460: error: structure has no member named `alpha'
GD.xs:460: error: structure has no member named `alpha'
GD.xs:466: error: structure has no member named `thick'
GD.xs:466: error: structure has no member named `thick'
GD.xs: In function `XS_GD__Image_newFromPngData':
GD.xs:595: error: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_newFromGdData':
GD.xs:614: error: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_newFromGd2Data':
GD.xs:631: error: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_newFromJpegData':
GD.xs:651: error: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_newFromWBMPData':
GD.xs:676: error: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_copyRotate90':
GD.xs:1122: error: invalid lvalue in assignment
GD.xs:1122: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyRotate180':
GD.xs:1143: error: invalid lvalue in assignment
GD.xs:1143: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyRotate270':
GD.xs:1164: error: invalid lvalue in assignment
GD.xs:1164: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyFlipHorizontal':
GD.xs:1185: error: invalid lvalue in assignment
GD.xs:1185: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyFlipVertical':
GD.xs:1206: error: invalid lvalue in assignment
GD.xs:1206: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyTranspose':
GD.xs:1227: error: invalid lvalue in assignment
GD.xs:1227: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyReverseTranspose':
GD.xs:1248: error: invalid lvalue in assignment
GD.xs:1248: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_rotate180':
GD.xs:1268: error: invalid lvalue in assignment
GD.xs:1268: error: invalid lvalue in assignment
GD.xs:1269: error: invalid lvalue in assignment
GD.xs:1269: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_flipHorizontal':
GD.xs:1286: error: invalid lvalue in assignment
GD.xs:1286: error: invalid lvalue in assignment
GD.xs:1287: error: invalid lvalue in assignment
GD.xs:1287: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_flipVertical':
GD.xs:1304: error: invalid lvalue in assignment
GD.xs:1304: error: invalid lvalue in assignment
GD.xs:1305: error: invalid lvalue in assignment
GD.xs:1305: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_stringFT':
GD.xs:1956: error: `gdFTStringExtra' undeclared (first use in this function)
GD.xs:1956: error: (Each undeclared identifier is reported only once
GD.xs:1956: error: for each function it appears in.)
GD.xs:1956: error: parse error before "strex"
GD.xs:1975: error: `strex' undeclared (first use in this function)
GD.xs:1979: error: `gdFTEX_LINESPACE' undeclared (first use in this function)
GD.xs:1983: error: `gdFTEX_CHARMAP' undeclared (first use in this function)
GD.xs:1985: error: `gdFTEX_Unicode' undeclared (first use in this function)
GD.xs:1987: error: `gdFTEX_Shift_JIS' undeclared (first use in this function)
GD.xs:1989: error: `gdFTEX_Big5' undeclared (first use in this function)
GD.xs:1993: warning: assignment makes pointer from integer without a cast
make: *** [GD.o] Error 1


What am I missing here? Thanks.
 
Old 08-31-2004, 03:01 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,986
Blog Entries: 11

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
Which version of libgd do you have? :)
 
Old 09-01-2004, 06:51 AM   #3
kaplan71
Member
 
Registered: Nov 2003
Posts: 718

Original Poster
Rep: Reputation: 39
Hi there -- What command would I run to determine the version number? Thanks.
 
Old 09-01-2004, 12:42 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,986
Blog Entries: 11

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
Depends on how you installed it - but
locate libgd
should do :)


Cheers,
Tink
 
  


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
Installing perl module problem satimis Programming 1 03-28-2006 03:37 PM
Problem with perl module for w3c validator to work on my local Apache+PHP+perl instal tbamt Linux - Software 0 12-16-2004 05:37 PM
problem with installing Perl Tk module on SuSe 9.0 darth314 Linux - Software 1 11-10-2004 08:31 AM
installing perl module vickr1z Linux - Newbie 1 09-22-2004 07:12 AM
Installing a perl module - howto Rum Linux - Software 1 07-03-2002 04:45 PM


All times are GMT -5. The time now is 10:34 AM.

Main Menu
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