Re: [OT?] libxml2/libxslt and OSX
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. -- Chris Devers
libxml2
I can't seem to get libxml2 (using libxml2-2.5.1) to install correctly. I do a ./configure BUILD=darwin Everything seems to configure correctly. Then when I do a make or a make install I get : gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -g -O2 -Wall -c SAX.c -fno-common -DPIC -o .libs/SAX.lo /Library/Frameworks/libxml.framework/Headers/encoding.h:27: header file 'iconv.h' not found /Library/Frameworks/libxml.framework/Headers/encoding.h:132: undefined type, found `iconv_t' /Library/Frameworks/libxml.framework/Headers/encoding.h:133: undefined type, found `iconv_t' cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode make[2]: *** [SAX.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 It seems to install the include files into /usr/local/inclue but no binary in /usr/local/bin Then if I try to install XML::LibXML or another module needing libxml3 it tells me it can't find libxml2. Any thoughts? Brad Rice [EMAIL PROTECTED]
Re: libxml2
On Sunday, September 28, 2003, at 05:57 PM, Brad Rice wrote: Then if I try to install XML::LibXML or another module needing libxml3 it tells me it can't find libxml2. Any thoughts? http://packages.opendarwin.org/ hth/h