Make error for Tk::JPEG
am 21.03.2005 21:09:03 von brian.barto------_=_NextPart_001_01C52E51.D406E43D
Content-Type: text/plain;
charset="iso-8859-1"
Hi. I am having a heck of a time installing Tk::JPEG on hpux 11.0. I know
this isn't directly perl related but I'm hoping someone has seen this before
and could lead me in the right direction.
I have downloaded the Tk-JPEG-2.014 source from cpan. I have it unpacked. I
ran "perl Makefile.PL". When I exec "make" it runs for a little bit and then
errors out:
*snip*
gcc -c -I/opt/perl/lib/site_perl/5.8.0/PA-RISC1.1-thread-multi/Tk -Ijpeg
-D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOURCE -fPIC -mpa-risc-1-1
-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
-DVERSION=\"2.014\" -DXS_VERSION=\"800.024\" -fPIC
"-I/opt/perl/lib/5.8.0/PA-RISC1.1-thread-multi/CORE" -Wall
-Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__
imgJPEG.c
Running Mkbootstrap for Tk::JPEG ()
chmod 644 JPEG.bs
rm -f blib/arch/auto/Tk/JPEG/JPEG.sl
LD_RUN_PATH="" gcc -shared -static-libgcc -fPIC JPEG.o imgJPEG.o -o
blib/arch/auto/Tk/JPEG/JPEG.sl jpeg/libjpeg.a
/usr/ccs/bin/ld: DP relative code in file jpeg/libjpeg.a(jerror.o) - shared
library must be position
independent. Use +z or +Z to recompile.
collect2: ld returned 1 exit status
gmake: *** [blib/arch/auto/Tk/JPEG/JPEG.sl] Error 1
The apparent error is this: "shared library must be position independent.
Use +z or +Z to recompile."
Anyone have any info? I'm still googling...
Thanks,
Brian
------_=_NextPart_001_01C52E51.D406E43D--