Compiling 0.4.0 on RedHat 6.2

Help
2001-03-01
2001-03-01
  • Gerard Verger

    Gerard Verger - 2001-03-01

    Help would be appreciated:
    Configure error : Could not link sample xml program. Last lines of the config.log.
    ....
    configure:3663: checking for gnome-config
    configure:3702: checking for xmlNewDoc in -lxml
    configure:3721: gcc -o conftest -g -O2 -Wall -Wunused   -I/usr/lib/glib/include -I/usr/X11R6/include  conftest.c -lxml   1>&5
    /usr/bin/ld: cannot find -lxml
    collect2: ld returned 1 exit status
    configure: failed program was:
    #line 3710 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error.  */
    /* We use char because int might match the return type of a gcc2
        builtin and then its argument prototype would still apply.  */
    char xmlNewDoc();

    int main() {
    xmlNewDoc()
    ; return 0; }
    -------------------------------------------------
    Thanks a lot

    Gerard

     
    • David A Knight

      David A Knight - 2001-03-01

      needs libxml1.x installing

       

Log in to post a comment.