This is only somewhat off topic, but I was wondering
if there were any packages out there for Mac OS X with
the necessary development C headers for libxml2 and
libxslt? I can only seem to find rpms of the same. If
not (brace yourselves) how difficult would they be to
create*?
Live well,
~wren
* given that the library compiles cleanly, we have the
source code, and the rpms for other architectures.
Chris Devers - 17 Mar 2005 14:14 GMT
On Thu, 17 Mar 2005, wren argetlahm wrote:
> This is only somewhat off topic, but I was wondering if there were any
> packages out there for Mac OS X with the necessary development C
> headers for libxml2 and libxslt? I can only seem to find rpms of the
> same. If not (brace yourselves) how difficult would they be to
> create*?
The system should already have the libxml2 libraries, but you get both
the libraries and headers if you install XCode. (You get, among other
things, /usr/lib/libxml2.{2.dylib,la} and /usr/include/libxml2/* files.)
For libxslt, it may compile cleanly on its own, but personally I just
get it from Fink, which is a port of the Debian APT/dpkg toolkit. With
Fink, an `apt-get install libxslt libxslt-bin libxslt-shlibs` should
download and install .debs that have been patched & compiled for OSX.
Incidently, RPM probably won't help much on OSX. I'm not aware of any
porting framework that uses it. Aside from Fink, the other main one,
GNU/Darwin, is (ironically?) based on the BSD ports system. I've not
heard of anyone porting over the RedHat porting framework to OSX.

Signature
Chris Devers
Wren Argetlahm - 18 Mar 2005 08:17 GMT
--- Chris Devers <cdevers@pobox.com> wrote:
> The system should already have the libxml2
> libraries,
I'm still running 10.2 which doesn't include those
libraries (though I have them installed). Upon
reflection, it looks like I have the includes, just
not where I was looking for them.
</looking like a n00b>
~wren