February 7, 2004
11:15 PM   RSS feed for this thread Subscribe

I'm trying to write a short Perl script under Mac OS X (Panther) to post to a Moveable Type weblog using the Atom API. After some initial problems with installing packages, I'm having this issue. [more inside]
posted by mmangano to (3 comments total)
I get the following error: Can't locate XML/LibXML.pm in @INC. Any pointers from you Mac/Perl gurus?

(LibXML.pm is located under: /Users/,username/.cpan/build/XML-LibXML-1.56)
posted by mmangano at 11:15 PM on February 7, 2004


That doesn't sound like a proper location for the perl module; It should probably get installed somewhere in the module paths listed when you do 'perl -V'. If you insist on using it there, make a symlink from XML-LibXML-1.56 to 'XML' in that same directory, and put use lib '/Users/,username/.cpan/build/'; at the top of your script. This adds your CPAN build dir to your module path list. (Once again, this is very probably not what you want to do).
posted by fvw at 4:54 AM on February 8, 2004


LibXML.pm shouldn't be there; that is the default CPAN.pm build dir. Log in as root (e.g. with su in a terminal) and try: perl -MCPAN -e 'install XML::LibXML'
posted by thebabelfish at 5:33 AM on February 8, 2004


« Older A quick, cheap 3-5 day winter ...   |   I've just bought a new 80gb ha... Newer »

You are not logged in, either login or create an account to post comments



Related Questions
How can I run a web server on OS X without admin... February 20, 2008
Help Me Morbidly Count Down the Remaining Days of... September 27, 2007
help with a couple question on mac/osx: kerning on... August 29, 2007
Best Free Programs for a Mac? November 16, 2006
YourSQL, definitely not mine. July 16, 2005