Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

I've got 5.8.1 installed in the default locations set by Apple, but cannot get CPAN to install HTML::Parser and friends.

Logged in as root, I do the standard perl -MCPAN -e 'shell', and install HTML::Parser. I notice that it's complaining about not finding /usr/local/lib. Weird that it can't create the directories it requires since I'm root, but whatever, I create it manually. Now the error looks like this:

Checking if your kit is complete... Looks good Writing Makefile for HTML::Parser cp lib/HTML/LinkExtor.pm blib/lib/HTML/LinkExtor.pm cp lib/HTML/Entities.pm blib/lib/HTML/Entities.pm cp Parser.pm blib/lib/HTML/Parser.pm cp lib/HTML/TokeParser.pm blib/lib/HTML/TokeParser.pm cp lib/HTML/HeadParser.pm blib/lib/HTML/HeadParser.pm cp lib/HTML/Filter.pm blib/lib/HTML/Filter.pm cp lib/HTML/PullParser.pm blib/lib/HTML/PullParser.pm /usr/bin/perl /System/Library/Perl/5.8.1/ExtUtils/xsubpp -typemap /Sy +stem/Library/Perl/5.8.1/ExtUtils/typemap -typemap typemap Parser.xs +> Parser.xsc && mv Parser.xsc Parser.c /usr/bin/perl mkhctype >hctype.h /usr/bin/perl mkpfunc >pfunc.h cc -c -g -pipe -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno- +strict-aliasing -I/usr/local/include -Os -DVERSION=\"3.36\" -DXS_VE +RSION=\"3.36\" "-I/System/Library/Perl/5.8.1/darwin-thread-multi-2le +vel/CORE" -DMARKED_SECTION Parser.c Running Mkbootstrap for HTML::Parser () chmod 644 Parser.bs rm -f blib/arch/auto/HTML/Parser/Parser.bundle LD_RUN_PATH="" MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dy +namic_lookup -L/usr/local/lib Parser.o -o blib/arch/auto/HTML/Parser +/Parser.bundle ld: can't locate file for: -lbundle1.o make: *** [blib/arch/auto/HTML/Parser/Parser.bundle] Error 1 /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible

Any suggestions? Thanks, djantzen


In reply to Trouble Installing HTML::Parser on MacOS X by djantzen

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



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-18 07:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found