djantzen has asked for the wisdom of the Perl Monks concerning the following question:
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Trouble Installing HTML::Parser on MacOS X
by arcnon (Monk) on May 29, 2004 at 03:10 UTC | |
Re: Trouble Installing HTML::Parser on MacOS X
by Cody Pendant (Prior) on May 31, 2004 at 03:54 UTC | |
Re: Trouble Installing HTML::Parser on MacOS X
by Cody Pendant (Prior) on Jun 02, 2004 at 01:45 UTC | |
by djantzen (Priest) on Oct 06, 2004 at 18:47 UTC |
Back to
Seekers of Perl Wisdom