Menu

Built xmlstarlet on OS X. A few remarks.

Developers
2003-05-28
2003-05-28
  • Marc-Antoine Parent

    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 &lt;dirent.h&gt;</code> must follow the <code>#include &lt;sys/types.h&gt;</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

     
    • Mikhail Grushinskiy

      Thanks! I'll try to include changes for that into next release.

      --Mikhail Grushinskiy

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.