Mombu the Programming Forum sponsored links

Go Back   Mombu the Programming Forum > Programming > unix perl module install errors
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 5th July 12:50
jamturtle
External User
 
Posts: 1
Default unix perl module install errors



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
  Reply With Quote


  sponsored links


2 5th July 12:50
peteris.krumins
External User
 
Posts: 1
Default unix perl module install errors



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
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666