Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
Thanks for the "make realclean" tip, I was just removing the directory and re-downloading it between each attempt to compile. So I downloaded and compiled the latest version of perl and I was able to get GD compiled. Now I'm having a very similar error trying to compile SNMP
root@solaris11:~/.cpan/build/SNMP-5.0401-n2C6m8# make test cp SNMP.pm blib/lib/SNMP.pm AutoSplitting blib/lib/SNMP.pm (blib/lib/auto/SNMP) /usr/local/bin/perl /usr/local/lib/perl5/5.16.2/ExtUtils/xsubpp -nopro +totypes -typemap /usr/local/lib/perl5/5.16.2/ExtUtils/typemap -typema +p typemap SNMP.xs > SNMP.xsc && mv SNMP.xsc SNMP.c gcc -c -DNETSNMP_ENABLE_IPV6 -m32 -xO4 -xchip=pentium -xregs=no%fra +meptr -mt -xc99=all -Dsolaris2=solaris2 -DFALSE_SHARING_ALIGN=64 -I. +-I/usr/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_ +SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"5.0401\" -DXS_V +ERSION=\"5.0401\" -KPIC "-I/usr/local/lib/perl5/5.16.2/i86pc-solaris/ +CORE" SNMP.c gcc: unrecognized option '-KPIC' gcc: language c99=all not recognized gcc: language c99=all not recognized gcc: SNMP.c: linker input file unused because linking not done Running Mkbootstrap for SNMP () chmod 644 SNMP.bs rm -f blib/arch/auto/SNMP/SNMP.so LD_RUN_PATH="/usr/lib" gcc -G -L/usr/lib -L/usr/ccs/lib -L/opt/solari +sstudio12.3/prod/lib -L/lib -L/usr/gnu/lib SNMP.o -o blib/arch/auto/ +SNMP/SNMP.so \ -L/usr/lib -lnetsnmp -lgen -lelf -lnsl -lsocket -lkstat \ gcc: SNMP.o: No such file or directory *** Error code 1 make: Fatal error: Command failed for target `blib/arch/auto/SNMP/SNMP +.so'
This is the last module I need compiled...help would be greatly appreciated.

In reply to Re^2: Compiling GD on Solaris 11 by jfinn
in thread Compiling GD on Solaris 11 by jfinn

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others having an uproarious good time at the Monastery: (7)
    As of 2014-09-21 06:32 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      How do you remember the number of days in each month?











      Results (166 votes), past polls