RE: GD library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, 

I did it:

[root@hpc-cip conf]# rpm --query --file /usr/lib/libgd.so.2.0.0
gd-2.0.28-4

But I cant install GD Perl Module.

I did:

[root@hpc-cip GD-2.34]# perl Makefile.PL
NOTICE: This module requires libgd 2.0.28 or higher.

        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 PNG support? [y] y
Build FreeType support? [y] y
Build GIF support? [y] y
Build support for animated GIFs? [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


[root@hpc-cip GD-2.34]# make test

cp GD/Polyline.pm blib/lib/GD/Polyline.pm
cp qd.pl blib/lib/qd.pl
cp GD/Image.pm blib/lib/GD/Image.pm
cp GD.pm blib/lib/GD.pm
AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD)
cp GD/Simple.pm blib/lib/GD/Simple.pm
cp GD/Polygon.pm blib/lib/GD/Polygon.pm
/usr/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.5/ExtUtils/typemap -typemap typemap  GD.xs > GD.xsc && mv GD.xsc GD.c
gcc -c  -I/usr/include -I/usr/include/gd -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m64   -DVERSION=\"2.34\" -DXS_VERSION=\"2.34\" -fPIC "-I/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE"  -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF GD.c
GD.xs: In function `newDynamicCtx':
GD.xs:444: error: structure has no member named `gd_free'
GD.xs: In function `gd_cloneDim':
GD.xs:455: warning: cast to pointer from integer of different size
GD.xs:458: warning: cast to pointer from integer of different size
GD.xs:464: error: structure has no member named `alpha'
GD.xs:464: error: structure has no member named `alpha'
GD.xs:470: error: structure has no member named `thick'
GD.xs:470: error: structure has no member named `thick'
GD.xs: In function `XS_GD__Image__new':
GD.xs:592: warning: cast to pointer from integer of different size
GD.xs: In function `XS_GD__Image_newFromPngData':
GD.xs:640: error: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_newFromGdData':
GD.xs:658: warning: cast to pointer from integer of different size
GD.xs: In function `XS_GD__Image_newFromGd2Data':
GD.xs:672: warning: cast to pointer from integer of different size
GD.xs: In function `XS_GD__Image_newFromJpegData':
GD.xs:696: error: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_newFromWBMPData':
GD.xs:723: error: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_newFromXpm':
GD.xs:811: warning: cast to pointer from integer of different size
GD.xs: In function `XS_GD__Image__newFromGif':
GD.xs:855: warning: assignment makes pointer from integer without a cast
GD.xs: In function `XS_GD__Image_newFromGifData':
GD.xs:877: warning: cast to pointer from integer of different size
GD.xs:878: error: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_png':
GD.xs:906: warning: cast to pointer from integer of different size
GD.xs: In function `XS_GD__Image_gifanimbegin':
GD.xs:957: warning: cast to pointer from integer of different size
GD.xs: In function `XS_GD__Image_gifanimadd':
GD.xs:982: warning: cast to pointer from integer of different size
GD.xs: In function `XS_GD__Image_gifanimend':
GD.xs:1001: warning: cast to pointer from integer of different size
GD.xs: In function `XS_GD__Image_gif':
GD.xs:1046: warning: cast to pointer from integer of different size
GD.xs: In function `XS_GD__Image_copyRotate90':
GD.xs:1213: error: invalid lvalue in assignment
GD.xs:1213: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyRotate180':
GD.xs:1234: error: invalid lvalue in assignment
GD.xs:1234: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyRotate270':
GD.xs:1255: error: invalid lvalue in assignment
GD.xs:1255: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyFlipHorizontal':
GD.xs:1276: error: invalid lvalue in assignment
GD.xs:1276: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyFlipVertical':
GD.xs:1297: error: invalid lvalue in assignment
GD.xs:1297: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyTranspose':
GD.xs:1318: error: invalid lvalue in assignment
GD.xs:1318: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyReverseTranspose':
GD.xs:1339: error: invalid lvalue in assignment
GD.xs:1339: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_rotate180':
GD.xs:1359: error: invalid lvalue in assignment
GD.xs:1359: error: invalid lvalue in assignment
GD.xs:1360: error: invalid lvalue in assignment
GD.xs:1360: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_flipHorizontal':
GD.xs:1398: error: invalid lvalue in assignment
GD.xs:1398: error: invalid lvalue in assignment
GD.xs:1399: error: invalid lvalue in assignment
GD.xs:1399: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_flipVertical':
GD.xs:1416: error: invalid lvalue in assignment
GD.xs:1416: error: invalid lvalue in assignment
GD.xs:1417: error: invalid lvalue in assignment
GD.xs:1417: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_stringFT':
GD.xs:2130: error: `gdFTStringExtra' undeclared (first use in this function)
GD.xs:2130: error: (Each undeclared identifier is reported only once
GD.xs:2130: error: for each function it appears in.)
GD.xs:2130: error: syntax error before "strex"
GD.xs:2149: error: `strex' undeclared (first use in this function)
GD.xs:2153: error: `gdFTEX_LINESPACE' undeclared (first use in this function)
GD.xs:2157: error: `gdFTEX_CHARMAP' undeclared (first use in this function)
GD.xs:2159: error: `gdFTEX_Unicode' undeclared (first use in this function)
GD.xs:2161: error: `gdFTEX_Shift_JIS' undeclared (first use in this function)
GD.xs:2163: error: `gdFTEX_Big5' undeclared (first use in this function)
GD.xs:2184: warning: assignment makes pointer from integer without a cast
GD.xs: In function `XS_GD__Font_DESTROY':
GD.xs:2404: warning: comparison between pointer and integer
GD.xs:2405: warning: comparison between pointer and integer
GD.xs:2406: warning: comparison between pointer and integer
GD.xs:2407: warning: comparison between pointer and integer
GD.xs:2408: warning: comparison between pointer and integer
GD.xs: In function `XS_GD__Font_Small':
GD.xs:2420: warning: assignment makes pointer from integer without a cast
GD.xs: In function `XS_GD__Font_Large':
GD.xs:2431: warning: assignment makes pointer from integer without a cast
GD.xs: In function `XS_GD__Font_Giant':
GD.xs:2442: warning: assignment makes pointer from integer without a cast
GD.xs: In function `XS_GD__Font_MediumBold':
GD.xs:2453: warning: assignment makes pointer from integer without a cast
GD.xs: In function `XS_GD__Font_Tiny':
GD.xs:2464: warning: assignment makes pointer from integer without a cast
make: *** [GD.o] Error 1

Do you know how Can I install it?

Cheers



-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx]On Behalf Of David Tonhofer
Sent: Friday, December 01, 2006 2:58 PM
To: General Red Hat Linux discussion list
Subject: Re: GD library


Navarro, Rolando (CIP) wrote:
> Dear all,
>
> I am trying to install Module GD for my system but appear a error after I use make test command. 
>
> I read the help and I found that I need libgd but I dont find it, please can you help me, If anyone have installed this tool, give a hand!
>
>   
You need these packages:


[root@greyhound home]# rpm --query --all | grep gd
gd-2.0.28-4.4E.1
gd-devel-2.0.28-4.4E.1

[root@greyhound home]# rpm --query --file /usr/lib/libgd.so.2.0.0
gd-2.0.28-4.4E.1


Best regards,

 -- David



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux