HI, i try all of this and now i got a new error message proxyserver /downloads/GD-1.33 > sudo make perl gcc -c -I/usr/local/include -I/usr/local/include/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-solar is/CORE GD.c GD.xs: In function `XS_GD__Image_newFromXpm': GD.xs:546: warning: assignment makes pointer from integer without a cast /usr/ccs/bin/as: "/var/tmp/cc4beH1s.s", line 344: error: unknown opcode ".subsection" /usr/ccs/bin/as: "/var/tmp/cc4beH1s.s", line 344: error: statement syntax /usr/ccs/bin/as: "/var/tmp/cc4beH1s.s", line 405: error: unknown opcode ".previous" /usr/ccs/bin/as: "/var/tmp/cc4beH1s.s", line 405: error: statement syntax make: *** [GD.o] Error 1
What can it be now? ----- Original Message ----- From: "drieux" <[EMAIL PROTECTED]> To: "Luis Valencia" <[EMAIL PROTECTED]> Cc: "begin begin" <[EMAIL PROTECTED]> Sent: Friday, May 24, 2002 3:34 PM Subject: Re: Error with perl compilation using gcc insted of cc > > On Friday, May 24, 2002, at 11:49 , Luis Valencia wrote: > > > Hi, i try to install a squid log analyser call SquidGraph but when i try > > to do the 'make' it receive the following output: > > > > proxyserver /downloads/GD-1.33 > sudo make > > cc -c -I/usr/local/include -I/usr/local/include/gd -xO3 -xdepend > > -DVERSION=\"1.33\" -DXS_VERSION=\"1.33\" -fPIC > > -I/usr/perl5/5.00503/sun4-solaris/CORE GD.c > [..] > based upon what I could find on > http://www.squid-graph.dhs.org/docs/ > > you may wish to upgrade to perl 5.6.1 - since they did their > initial work in the 5.6.0 environment. > > I got that reference from > http://www.osdir.com/projects/squidgraph/ > > so your problem as you are noticing is really with > > "how do I build 'GD' correctly?" > > you may wish to start with: > > http://search.cpan.org/doc/LDS/GD-1.38/README > > The problem seems to be that > > > cc: language depend not recognized > > this is the crucial line - what 'language depend' did > it not grok??? > > > cc: GD.c: linker input file unused because linking not done > > Running Mkbootstrap for GD () > [..] > > didn't work - hence you do not have a > > GD.o > > for subsequent linkage at: > > > cc: GD.o: No such file or directory > > make: *** [blib/arch/auto/GD/GD.so] Error 1 > > proxyserver /downloads/GD-1.33 > > [..] > > You might want to go back and rethink what the author meant with: > > "5. To compile GD.pm statically on systems that do not support dynamic > linking: > > a. cd GD-1.XX > b. perl Makefile.PL LINKTYPE=static > c. make perl > d. make -f Makefile.aperl inst_perl MAP_TARGET=gdperl > > This will create a new version of Perl and install it in your system > binaries directory, under the name "gdperl". > " > > I hope that offers you some hope in all of this... > > > ciao > drieux > > --- > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]