Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Expat.o missing error on solaris 10

by topgunzzz (Initiate)
on Feb 12, 2014 at 00:34 UTC ( #1074561=perlquestion: print w/ replies, xml ) Need Help??
topgunzzz has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I am trying to install XML-Parser module on solaris 10 box. While running the make command, i am getting this error that Expat.o is not available, though i have expat installed on this box. I had installed this earlier on solaris 9 box, and it installed successfully. Please let me know if you had encountered similar issue, and what step was taken to address it.
# pwd /tmp/XML-Parser-2.36 # /usr/ccs/bin/make cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ER +RNO -xO3 -xspace -xildoff -DVERSION=\"2.36\" -DXS_VERSION=\"2.36\ +" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" Expat.c cc: unrecognized option `-KPIC' cc: language ildoff not recognized cc: Expat.c: linker input file unused because linking not done Running Mkbootstrap for XML::Parser::Expat () chmod 644 Expat.bs rm -f blib/arch/auto/XML/Parser/Expat/Expat.so LD_RUN_PATH="/usr/local/lib" cc -G Expat.o -o blib/arch/auto/XML/Par +ser/Expat/Expat.so cc: Expat.o: No such file or directory cc: no input files *** Error code 1 make: Fatal error: Command failed for target `blib/arch/auto/XML/Parse +r/Expat/Expat.so' Current working directory /tmp/XML-Parser-2.36/Expat *** Error code 1 The following command caused the error: cd Expat && /usr/ccs/bin/make -f Makefile all LIB="" LIBPERL_A="libper +l.a" LINKTYPE="dynamic" PREFIX="" OPTIMIZE="-xO3 -xspace -xildoff" PA +STHRU_DEFINE="" PASTHRU_INC="" make: Fatal error: Command failed for target `subdirs'

Comment on Expat.o missing error on solaris 10
Download Code
Re: Expat.o missing error on solaris 10 (gcc)
by Anonymous Monk on Feb 12, 2014 at 00:41 UTC

      I am using 5.8.4. Unfortunately i cannot upgrade it at this point. I updated the Makefile to point to gcc instead of cc. I am getting the same error. Is there any other work around?

      This is perl, v5.8.4 built for sun4-solaris-64int (with 37 registered patches, see perl -V for more detail)

        Here is the output when i use gcc

        # /usr/ccs/bin/make gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_E +RRNO -DVERSION=\"2.36\" -DXS_VERSION=\"2.36\" -fPIC "-I/usr/perl +5/5.8.4/lib/sun4-solaris-64int/CORE" Expat.c gcc: language arch=v8 not recognized gcc: Expat.c: linker input file unused because linking not done Running Mkbootstrap for XML::Parser::Expat () chmod 644 Expat.bs rm -f blib/arch/auto/XML/Parser/Expat/Expat.so LD_RUN_PATH="/usr/local/bin:/usr/local/include" gcc -G Expat.o -o bl +ib/arch/auto/XML/Parser/Expat/Expat.so gcc: Expat.o: No such file or directory gcc: no input files *** Error code 1 make: Fatal error: Command failed for target `blib/arch/auto/XML/Parse +r/Expat/Expat.so'

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1074561]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2014-08-21 21:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (143 votes), past polls