|
Posted by James Marquez on November 11, 2004, 3:36 pm
Please log in for more thread options
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
|
|
Posted by Bill Karwin on November 11, 2004, 7:26 pm
Please log in for more thread options
James Marquez wrote:
> cc1: Invalid option `-fno-strict-aliasing'
I googled a bit for this error message, and the most frequent advice is
"your gcc is too old, if it doesn't understand -fno-strict-aliasing.
You should upgrade gcc."
Regards,
Bill K.
|
|
Posted by Jim Keenan on November 12, 2004, 8:01 am
Please log in for more thread options jamturtle@hotmail.com (James Marquez) wrote in message
> Hello I am trying to install a few modules I downloaded from CPAN but
> I keep getting errors from "make".
> I have tried several modules [Digest::SHA1, HTML::Parser] with all
> very much the same error. Any clues would be helpful.
> cheers
>
No clues, just a diagnostic suggestion: The modules you report having
tried both load C-code via .xs files. Are you experiencing the same
problem with installations from CPAN of pure-Perl modules (e.g.,
ExtUtils::ModuleMaker, List::Compare, etc.)?
Jim Keenan
|
| Similar Threads | Posted | | creating perl binary using PAR module , execution error under unix | March 15, 2008, 7:06 am |
| only want to install one module and the depended ones, but CPAN always install the whole Perl. | September 14, 2007, 5:23 pm |
| Need help with a simple UNIX sockets server based on IO::Socket::UNIX | April 14, 2005, 3:02 am |
| OLE Automation using Perl on a Unix box? | April 18, 2006, 7:27 pm |
| Required Perl Developer w/ UNIX. SQL and Shell Scripting. | March 24, 2006, 6:41 pm |
| Remote install of Perl Module | April 12, 2005, 10:47 am |
| Failing to install IPTables::IPv4 perl module | June 30, 2005, 11:10 am |
| Program errors after module updates | October 21, 2004, 9:15 am |
| CPAN Errors Installing Tk Module | November 26, 2004, 9:56 pm |
| Perlish way to report module errors? | February 23, 2005, 5:04 pm |
|