> Hi all,
>
[quoted text clipped - 5 lines]
>
> If not, is there an easy way to check which CPAN modules work on a Mac?
The easy way is to try to install it via CPAN and see whether it works.
In principle most things work.
-Ken
> I am using XML::LibXML and so far did all the testing on my Linux web
> server (meaning that I had to be online to test). Now I would like to
> set my Mac up for local development - is it possible to install
> XML::LibXML on a Mac (Panther)? Can I just go ahead and install it from
> CPAN?
It's been a while since I last built it, but if memory serves it should
build cleanly. You're using Panther, so the low-level C library it
needs is already included - if you were using Jaguar or earlier, it
would be more difficult.
An alternative is the CamelBones "Fat Camel" package, and the related
"XMLKit" package. That will install Perl 5.8.4, along with a long list
of XML-related modules. The full list is in the original announcement
here:
<http://tinyurl.com/4h7e6>
I'm working on an updated package with the recently-released Perl
5.8.5, too.
> If not, is there an easy way to check which CPAN modules work on a Mac?
Most of them work just fine. It can't hurt to search the list archives
for the name of the module you're thinking about - if there are
problems, they're often discussed here:
<http://www.mail-archive.com/macosx%40perl.org/>
sherm--
Alan Olsen - 26 Jul 2004 18:31 GMT
>> I am using XML::LibXML and so far did all the testing on my Linux web
>> server (meaning that I had to be online to test). Now I would like to
[quoted text clipped - 7 lines]
> it needs is already included - if you were using Jaguar or earlier, it
> would be more difficult.
Actually it ˆs not.
You need to install the expat library. http://expat.sourceforge.net/
Sherm Pendley - 26 Jul 2004 19:21 GMT
> You need to install the expat library. http://expat.sourceforge.net/
No you don't. XML::LibXML doesn't use the Expat parser, it uses the
libxml parser.
But don't take my word for it, just ask otool what the .bundle is
linked against:
Sherm-Pendleys-Computer:~ sherm$ otool -L
/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/XML/LibXML/
LibXML.bundle
/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/XML/LibXML/
LibXML.bundle:
/usr/lib/libxml2.2.dylib (compatibility version 9.0.0, current
version 9.7.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current
version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0,
current version 71.1.1)
/usr/lib/libiconv.2.dylib (compatibility version 5.0.0, current
version 5.0.0)
sherm--