perl-GD problem

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

 



I have a cgi app that requires the perl-GD cpan module. I have used it,
recompiled it etc in Red Hat since 7.0 and maybe even earlier.

Now I cannot get the perl-GD module to recompile on 8.0 and simply do
not have enough knowledge to figure out why.

I've tried rebuilding it from the source RPM from 7.1 or 7.2 (cant
remember which) and it fails.

I've also tried to get it via cpan with:

perl -MCPAN -e shell
 then
install GD

this is the output:

cpan> install GD
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Tue, 15 Oct 2002 19:23:00 GMT
Running install for module GD
Running make for L/LD/LDS/GD-2.02.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /root/.cpan/sources/authors/id/L/LD/LDS/GD-2.02.tar.gz ok
Scanning cache /root/.cpan/build for sizes
GD-2.02/
GD-2.02/t/
GD-2.02/t/GD.t
GD-2.02/t/Polyline.t
GD-2.02/t/test.out.1.png
GD-2.02/t/test.out.2.png
GD-2.02/t/test.out.3.png
GD-2.02/t/test.out.4.png
GD-2.02/t/test.out.5.png
GD-2.02/t/test.out.6.png
GD-2.02/t/test.out.7.png
GD-2.02/t/test.out.8.png
GD-2.02/t/test.out.9.png
GD-2.02/t/Generic.ttf
GD-2.02/t/frog.jpg
GD-2.02/t/frog.xpm
GD-2.02/t/tile.png
GD-2.02/t/palettemap.png
GD-2.02/t/test.out.10.png
GD-2.02/GD/
GD-2.02/GD/Polyline.pm
GD-2.02/patch_gd.pl
GD-2.02/GD.pm
GD-2.02/GD.xs
GD-2.02/demos/
GD-2.02/demos/brushes.pl
GD-2.02/demos/font_list.png
GD-2.02/demos/fonttest
GD-2.02/demos/polys.pl
GD-2.02/demos/fills.pl
GD-2.02/demos/truetype_test
GD-2.02/demos/shapes.pl
GD-2.02/demos/copies.pl
GD-2.02/demos/ttf.pl
GD-2.02/demos/gd_example.cgi
GD-2.02/demos/tile.png
GD-2.02/demos/polyline.pl
GD-2.02/demos/transform.pl
GD-2.02/qd.pl
GD-2.02/README
GD-2.02/Makefile.PL
GD-2.02/README.QUICKDRAW
GD-2.02/typemap
GD-2.02/bdf_scripts/
GD-2.02/bdf_scripts/README
GD-2.02/bdf_scripts/cvtbdf.pl
GD-2.02/bdf_scripts/bdftogd
GD-2.02/README.unix
GD-2.02/ChangeLog
GD-2.02/MANIFEST
Removing previously used /root/.cpan/build/GD-2.02

  CPAN.pm: Going to build L/LD/LDS/GD-2.02.tar.gz

NOTICE: This module requires libgd 2.0.1 or higher.
        For earlier versions of libgd, use GD version 1.43.

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.

WARNING: CAPI is not a known parameter.
Checking if your kit is complete...
Looks good
Warning: prerequisite Math::Trig 1 not found.
Writing Makefile for GD
cp GD/Polyline.pm blib/lib/GD/Polyline.pm
cp patch_gd.pl blib/lib/patch_gd.pl
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
-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -march=i686   -DVERSION=\"2.02\"
-DXS_VERSION=\"2.02\" -fpic
"-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"  -DHAVE_JPEG
-DHAVE_FT -DHAVE_XPM GD.c
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system
directory
GD.xs: In function `gd_cloneDim':
GD.xs:365: structure has no member named `alpha'
GD.xs:365: structure has no member named `alpha'
GD.xs:371: structure has no member named `thick'
GD.xs:371: structure has no member named `thick'
GD.xs: In function `XS_GD__Image_copyRotate90':
GD.xs:933: invalid lvalue in assignment
GD.xs:933: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyRotate180':
GD.xs:954: invalid lvalue in assignment
GD.xs:954: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyRotate270':
GD.xs:975: invalid lvalue in assignment
GD.xs:975: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyFlipHorizontal':
GD.xs:996: invalid lvalue in assignment
GD.xs:996: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyFlipVertical':
GD.xs:1017: invalid lvalue in assignment
GD.xs:1017: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyTranspose':
GD.xs:1038: invalid lvalue in assignment
GD.xs:1038: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyReverseTranspose':
GD.xs:1059: invalid lvalue in assignment
GD.xs:1059: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_rotate180':
GD.xs:1079: invalid lvalue in assignment
GD.xs:1079: invalid lvalue in assignment
GD.xs:1080: invalid lvalue in assignment
GD.xs:1080: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_flipHorizontal':
GD.xs:1097: invalid lvalue in assignment
GD.xs:1097: invalid lvalue in assignment
GD.xs:1098: invalid lvalue in assignment
GD.xs:1098: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_flipVertical':
GD.xs:1115: invalid lvalue in assignment
GD.xs:1115: invalid lvalue in assignment
GD.xs:1116: invalid lvalue in assignment
GD.xs:1116: invalid lvalue in assignment
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

cpan>



Has anyone had problems with cpan modules with 8.0 and does anyone have
a solution?

Scott





-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux