Re: HEAD won't build

From: David Chart (linux@dchart.demon.co.uk)
Date: Sun Jul 28 2002 - 16:44:25 EDT

  • Next message: Mugurel Tudor: "About translations of abiword"

    On Sun, 2002-07-28 at 19:28, F J Franklin wrote:
    > Au contraire...
    > This is because aclocal is not finding pkg.m4
    > Now that AbiWord is building against GTK2, you will have to have GTK2, and
    > therefore pkgconfig, installed. The latter installs a macro definition
    > file, defining the PKG_CHECK_MODULES macro.
    >
    > If, like me, you have installed GTK2 under a different prefix from
    > automake/autoconf (e.g., /usr/local vs /usr) then aclocal will probably
    > not find the macro defintion and will not perform the substitution, thus
    > the syntax error...
    >

    This will be the problem. GTK2 is in /usr/local

    > Assuming you have installed pkgconfig in, say, --prefix=/opt/GTK2, then
    > when you run autogen.sh in abi you should do it (in bash) like this:
    >
    > ACLOCAL_FLAGS="-I /opt/GTK2/share/aclocal" autogen.sh

    OK, I did this with the appropriate substitution, and got:

    aclocal: /usr/local/share/aclocal/libxml.m4: 10: duplicated macro
    `AM_PATH_XML'
    aclocal: /usr/local/share/aclocal/libxml.m4: 204: duplicated macro
    `AM_PATH_XML2'

    which seemed to stop it dead.

    I still know nothing about the build system...

    -- 
    David Chart
    


    This archive was generated by hypermail 2.1.4 : Sun Jul 28 2002 - 16:51:46 EDT