View Full Version : build from latest git problem
delphinen
November 15th, 2006, 02:20 PM
Hi, while building from latest compiz git I get exit status 1 with this error:
autoreconf: running: /usr/bin/autoconf
configure.ac:127: error: possibly undefined macro: AM_GCONF_SOURCE_2
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
Im building with:
./autogen.sh --prefix=/usr --enable-librsvg && make && make install
thanks in advance
mikedee
November 15th, 2006, 02:40 PM
You need to update your autoconf version, I am using these versions of automake and autoconf.
autoconf = 2.60
automake = 1.10 <- this MUST be at least 1.10
delphinen
November 15th, 2006, 05:09 PM
Thanks. I updated automake and autogen. Now it says:
gtk/gnome/Makefile.am:45: Libtool library used but `LIBTOOL' is undefined
gtk/gnome/Makefile.am:45: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
gtk/gnome/Makefile.am:45: to `configure.ac' and run `aclocal' and `autoconf' again.
gtk/gnome/Makefile.am:45: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
gtk/gnome/Makefile.am:45: its definition is in aclocal's search path.
kde/window-decorator/Makefile.am:12: `%'-style pattern rules are a GNU make extension
plugins/Makefile.am:101: GCONF_SCHEMAS_INSTALL does not appear in AM_CONDITIONAL
plugins/Makefile.am:85: patsubst gconf%,,$(subst rotate,,$(subst zoom,,$(subst lib,,$(subst .la,,$(module_LTLIBRARIES: non-POSIX variable name
plugins/Makefile.am:85: (probably a GNU make extension)
plugins/Makefile.am:136: Libtool library used but `LIBTOOL' is undefined
plugins/Makefile.am:136: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
plugins/Makefile.am:136: to `configure.ac' and run `aclocal' and `autoconf' again.
plugins/Makefile.am:136: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
plugins/Makefile.am:136: its definition is in aclocal's search path.
autoreconf: automake failed with exit status: 1
RYX
November 15th, 2006, 05:19 PM
I don't know for sure, but maybe you have to install "libtool" and "gettext" (and maybe also gconf-dev) ... What distribution are you using?
delphinen
November 15th, 2006, 05:35 PM
archlinux
libtool --version
ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)
gettext --version
gettext (GNU gettext-runtime) 0.15
Doing aclocal and says:
aclocal
configure.ac:24: warning: macro `AM_GLIB_GNU_GETTEXT' not found in library
configure.ac:127: warning: macro `AM_GCONF_SOURCE_2' not found in library
what im doing wrong?
delphinen
November 20th, 2006, 04:30 PM
Im still failing. Please help me:
./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
configure.ac:24: warning: macro `AM_GLIB_GNU_GETTEXT' not found in library
configure.ac:127: warning: macro `AM_GCONF_SOURCE_2' not found in library
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
gtk/gnome/Makefile.am:45: Libtool library used but `LIBTOOL' is undefined
gtk/gnome/Makefile.am:45: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
gtk/gnome/Makefile.am:45: to `configure.ac' and run `aclocal' and `autoconf' again.
gtk/gnome/Makefile.am:45: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
gtk/gnome/Makefile.am:45: its definition is in aclocal's search path.
kde/window-decorator/Makefile.am:12: `%'-style pattern rules are a GNU make extension
plugins/Makefile.am:101: GCONF_SCHEMAS_INSTALL does not appear in AM_CONDITIONAL
plugins/Makefile.am:85: patsubst gconf%,,$(subst rotate,,$(subst zoom,,$(subst lib,,$(subst .la,,$(module_LTLIBRARIES: non-POSIX variable name
plugins/Makefile.am:85: (probably a GNU make extension)
plugins/Makefile.am:136: Libtool library used but `LIBTOOL' is undefined
plugins/Makefile.am:136: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
plugins/Makefile.am:136: to `configure.ac' and run `aclocal' and `autoconf' again.
plugins/Makefile.am:136: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
plugins/Makefile.am:136: its definition is in aclocal's search path.
autoreconf: automake failed with exit status: 1
I checked everything:
libtool --version
ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)
gettext --version
gettext (GNU gettext-runtime) 0.15
Copyright (C) 1995-1997, 2000-2006 Free Software Foundation, Inc.
automake --version
automake (GNU automake) 1.10
Written by Tom Tromey <tromey@redhat.com>
and Alexandre Duret-Lutz <adl@gnu.org>.
autogen --version
autogen (GNU AutoGen) - The Automated Program Generator - Ver. 5.8.6
autoconf --version
autoconf (GNU Autoconf) 2.60
Written by David J. MacKenzie and Akim Demaille.
I think im really lost.
RYX
November 20th, 2006, 04:51 PM
I had the same problem a while ago and I didn't find a solution. You could try the latest non-git compiz (so 0.3.2) because you do not need to run autogen.sh then. Simply run./configure --enable-librsvg
make
make install
I see no reason to change the install-dir (its really just a matter of taste), so if you do not really need it, don't add --prefix=/usr ...
:)
delphinen
November 20th, 2006, 04:59 PM
I can build non git compiz without problem, but I want to try the new annonate plugin, plus, I want to try some things... thats why I want to build from git.
mikedee
November 20th, 2006, 05:03 PM
Did you check that you have gettext headers (dev package) installed?
Also try rerunning ./autoconf.sh after installing any headers and upgrading make etc.
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.