Re: Compilation stopped

From: Peter C. Tribble (ptribble@hgmp.mrc.ac.uk)
Date: Wed Nov 06 2002 - 09:44:45 EST

  • Next message: monweb: "abiword-1.0.3 compilation under solaris 8"

    F J Franklin <F.J.Franklin@sheffield.ac.uk> said
    >>>Mandrake often causes trouble for AbiWord because it doesn't install many
    >>>static libraries, e.g. libXi.a is often missing...
    >>>
    >>>AbiWord, by default, tries to create a dynamic binary *and* a "static"
    >>>binary, and it is the latter which often fails on Mandrake. The linker
    >>>sees -lXi and looks for libXi.a but doesn't find it.
    >>>
    >>>The -ldl problem, Peter is suggesting, may be similar. The linker sees
    >>>-ldl and goes looking for libdl.a but doesn't find it.

    Note that the -ldl comes before -lXi, so it'll report the error against
    libdl.a

    >>>Why -ldl is there in the first place I have no idea. Perhaps the wrong
    >>>person has a sense of humour.

    Well, gtk needs it (it's gtk-config --libs that pulls it in, not glib).
    I don't see why libdl is a problem - it's perfectly normal.

    >>>The solution to this problem is to persuade AbiWord *not* to build the
    >>>"static" binary, and usually this is accomplished in the diving make build
    >>>system by running:
    >>>
    >>># make UNIX_CAN_BUILD_STATIC=0

    Which works fine.

    The instructions on the download page don't even mention configure, and
    my experience has been that the diving make has usually been far more
    successful than configure is.

    -Peter Tribble
    HGMP Computing Services
    http://www.hgmp.mrc.ac.uk/~ptribble/

    -----------------------------------------------
    To unsubscribe from this list, send a message to
    abiword-user-request@abisource.com with the word
    unsubscribe in the message body.



    This archive was generated by hypermail 2.1.4 : Wed Nov 06 2002 - 09:53:45 EST