Skip Menu |

This queue is for tickets about the GD CPAN distribution.

Report information
The Basics
Id: 17194
Status: resolved
Worked: 1 min
Priority: 0/
Queue: GD

People
Owner: LDS [...] cpan.org
Requestors: leem10 [...] student.ucr.edu
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.30
Fixed in: (no value)



Subject: GD.o not being created
i can run the Makefile.PL fine. i use the LIB= to put GD in my home directory. it makes the makefile but when i type make, i get this following error saying that GD.o not found. cc -c -I/home/john/PerlModules/gd/include -I/usr/include -I/usr/include/gd -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"2.30\" -DXS_VERSION=\"2.30\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DHAVE_JPEG -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF GD.c cc: unrecognized option `-KPIC' cc: language ildoff not recognized cc: GD.c: linker input file unused since linking not done Running Mkbootstrap for GD () chmod 644 GD.bs rm -f blib/arch/auto/GD/GD.so LD_RUN_PATH="/home/john/PerlModules/gd/lib:/usr/lib" cc -G GD.o -o blib/arch/auto/GD/GD.so -L/home/leemic/PerlModules/gd/lib -L/usr/lib/X11 -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/lib -lgd -lpng -lz -ljpeg -lm cc: GD.o: No such file or directory make: *** [blib/arch/auto/GD/GD.so] Error 1 i cant figure out whats going on. any help would be great. thanks
There is something wrong with the way that Perl was installed on your system. It is emitting compile-time arguments that are incompatible with your currently installed C compiler and linker. The most failsafe solution is to remove the current Perl and its associated libraries from your system and to RECOMPILE PERL FROM SOURCE CODE. Note that this is not an issue with GD, but will affect any Perl module that contains C code, which is a large number.