unix perl module install errors

J

James Marquez

Hello I am trying to install a few modules I downloaded from CPAN but
I keep getting errors from "make". I upgraded to perl 5.8.5 this
seemed to go fine. The Makefile.PL file seems to work but when I run
"make' I get these errors:
gcc -B/usr/ccs/bin/ -c -fno-strict-aliasing -pipe
-I/usr/local/include -O -DVERSION=\"2.10\" -DXS_VERSION=\"2.10\"
-fPIC "-I/usr/local/lib/perl5/5.8.5/sun4-solaris/CORE" SHA1.c
cc1: Invalid option `-fno-strict-aliasing'
make: *** [SHA1.o] Error 1

I am running Solaris and GNU make 3.80 [I upgraded this too].
Has anyone seen this error, please let me know what I might be
missing. It also seems to me that maybe my gcc does not understand
"-fno-strict-aliasing"
I have tried several modules [Digest::SHA1, HTML::parser] with all
very much the same error. Any clues would be helpful.
cheers

-James
 
P

Peteris Krumins

cc1: Invalid option `-fno-strict-aliasing'
make: *** [SHA1.o] Error 1

Any clues would be helpful.

You're running an old version of GNU gcc which does not
support this option. Either get rid of the option or
upgrade the compiler.


P.Krumins
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,533
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top