Good day!
You may want to know that I successfully built xmlstarlet on Mac OS X 10.2.6, using the libxml libraries as packaged from fink.
I ran into a few issues, which I thought you should know about:
a) In xml_ls.c, the <code>#include <dirent.h></code> must follow the <code>#include <sys/types.h></code> (I put it after sys/stat.h, but that is not necessary.)
b) -pedantic is really noisy about some system includes
c) You do not allow for libiconv in a non-standard place; There should be a <code>--with-libiconv-prefix</code> option
d) You should allow -liconv in other cases than cygwin ;-)
e) Our libxml etc. come only as dynamic libraries; you should use <code>-L${LIBXML_PREFIX}/lib -lxml2</code> instead of <code>${LIBXML_PREFIX}/lib/libxml2.a</code> in configure.in (and so on for -lxslt, -lexslt.)
Thank you, and keep on the good work.
Marc-Antoine
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Good day!
You may want to know that I successfully built xmlstarlet on Mac OS X 10.2.6, using the libxml libraries as packaged from fink.
I ran into a few issues, which I thought you should know about:
a) In xml_ls.c, the <code>#include <dirent.h></code> must follow the <code>#include <sys/types.h></code> (I put it after sys/stat.h, but that is not necessary.)
b) -pedantic is really noisy about some system includes
c) You do not allow for libiconv in a non-standard place; There should be a <code>--with-libiconv-prefix</code> option
d) You should allow -liconv in other cases than cygwin ;-)
e) Our libxml etc. come only as dynamic libraries; you should use <code>-L${LIBXML_PREFIX}/lib -lxml2</code> instead of <code>${LIBXML_PREFIX}/lib/libxml2.a</code> in configure.in (and so on for -lxslt, -lexslt.)
Thank you, and keep on the good work.
Marc-Antoine
Thanks! I'll try to include changes for that into next release.
--Mikhail Grushinskiy