unix perl module install errors

Discussion in 'Perl Misc' started by James Marquez, Nov 12, 2004.

  1. 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
    James Marquez, Nov 12, 2004
    #1
    1. Advertising

  2. (James Marquez) wrote in message news:<>...
    >
    > 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
    Peteris Krumins, Nov 14, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. dpackwood
    Replies:
    3
    Views:
    1,791
  2. Mark Goldin

    Errors, errors, errors

    Mark Goldin, Jan 17, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    941
    Mark Goldin
    Jan 17, 2004
  3. Robert Wallace

    my own perl "dos->unix"/"unix->dos"

    Robert Wallace, Jan 21, 2004, in forum: Perl Misc
    Replies:
    7
    Views:
    276
    Michele Dondi
    Jan 22, 2004
  4. Replies:
    13
    Views:
    290
    Paul Lalli
    Aug 20, 2006
  5. Thomas Steinbach

    Install a perl module to the main perl lib dir

    Thomas Steinbach, Feb 13, 2009, in forum: Perl Misc
    Replies:
    1
    Views:
    113
    Larry Gates
    Feb 13, 2009
Loading...

Share This Page