Problem with Gbrowser installation

From: Mauricio Brigato (mauricio@gordon.fmrp.usp.br)
Date: Mon Jun 17 2002 - 16:05:55 EDT


Hey, somebody could help me ?
I'm trying to install GBrowser (www.gmod.org,
http://gmod.sourceforge.net).
After have all prerequisites installed, I left
for last install the Perl module GD (www.cpan.org) and
I'm getting the bellow error messages. I've tried
the static and dynamic installation without success.
I've also tried a instalation without support to jpeg, freetype and
xpm successfuly, but my test didn't work it.
Please, somebody could help me ?

===================
1) compilation
perl Makefile.PL LINKTYPE=static
NOTICE: This module requires libgd 1.8.3 or higher (shared library version
4.X).

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

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

Writing Makefile for GD
====================
2)
>> /usr/local/GD155 >> make perl
gcc -c -I/usr/local/include -I/usr/local/gd -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
-DVERSION=\"1.33\" -DXS_VERSION=\"1.33\" -fPIC
-I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE -DHAVE_JPEG GD.c
GD.xs: In function `XS_GD__Image_newFromXpm':
GD.xs:546: warning: assignment makes pointer from integer without a cast
rm -rf blib/arch/auto/GD/GD.a
/usr/ccs/bin/ar cr blib/arch/auto/GD/GD.a GD.o && : blib/arch/auto/GD/GD.a
chmod 755 blib/arch/auto/GD/GD.a
Writing "Makefile.aperl" for this perl
NOTICE: This module requires libgd 1.8.3 or higher (shared library version
4.X).

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

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

Writing Makefile.aperl for GD
make -f Makefile.aperl perl
Writing perlmain.c
cd . && gcc -c -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O \
  -DVERSION=\"1.33\" \
-DXS_VERSION=\"1.33\" -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE
perlmain.c
cat /usr/local/lib/perl5/5.6.1/sun4-solaris/auto/DynaLoader/extralibs.ld
>> blib/arch/auto/GD/extralibs.all
cat blib/arch/auto/GD/extralibs.ld >> blib/arch/auto/GD/extralibs.all
gcc -L/usr/local/lib -o perl -O ./perlmain.o GD.o blib/arch/auto/GD/GD.a
/usr/local/lib/perl5/5.6.1/sun4-solaris/auto/DynaLoader/DynaLoader.a
/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE/libperl.a `cat
blib/arch/auto/GD/extralibs.all` -lsocket -lnsl -ldl -lm -lc
ld: warning: file /usr/local/lib/libjpeg.a(jcapimin.o): wrong ELF machine
type: EM_386
Undefined first referenced
 symbol in file
jpeg_simple_progression /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_set_quality /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_write_scanlines /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_destroy_decompress /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_destroy /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_start_compress /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_write_marker /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_read_scanlines /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_finish_decompress /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_start_decompress /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_destroy_compress /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_resync_to_restart /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_std_error /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_CreateDecompress /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_set_defaults /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_CreateCompress /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_read_header /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_finish_compress /usr/local/lib/libgd.a(gd_jpeg.o)
ld: fatal: Symbol referencing errors. No output written to perl
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `perl'
Current working directory /usr/local/GD
*** Error code 1
make: Fatal error: Command failed for target `perl

Thank you, very much in advance.

-------------------------------------------
      Mauricio Brigato
      Suporte BIT - BioInformatic Team
      Fone: +55 16 3963-9300 Ramal: 9603
      E-mail: mauricio@bit.fmrp.usp.br
      Homepage: http://bit.fmrp.usp.br/
-------------------------------------------
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:28 EDT