Page 1 of 1

make -f Makefile.cvs dies

Posted: 08.03.2007, 04:48
by dravenloft
Trying to compile from the CVS code and this happens when I run make -f Makefile.cvs to build the configure scripts

Code: Select all

This Makefile is only for the CVS repository
This will be deleted before making the distribution

*** Creating acinclude.m4
*** Creating aclocal.m4
aclocal: macro `AM_PROG_MKDIR_P' required but not defined
aclocal: macro `AM_PROG_MKDIR_P' required but not defined
aclocal: configure.in: 283: macro `AM_GCONF_SOURCE_2' not found in library
make[1]: *** [cvs] Error 1
make: *** [all] Error 2

Posted: 01.06.2007, 00:52
by Pirx
I can reproduce this having aclocal-1.4 up to 1.10 installed. Any quick hints?

Regards, Joe

Posted: 02.06.2007, 19:38
by Pirx
Solved: Force usage of automake-1.10 and you will be fine... ;)

Regards, Joe

Posted: 07.06.2007, 23:56
by dravenloft
Pirx wrote:Solved: Force usage of automake-1.10 and you will be fine... ;)

Regards, Joe
for the somewhat less savvy of us... how do you force that?

Posted: 08.06.2007, 00:10
by dravenloft
errrr..... I just got done checking. I' only have automake1.10, and the error hasn't changed at all.

Posted: 08.06.2007, 00:26
by dravenloft
dravenloft wrote:errrr..... I just got done checking. I' only have automake1.10, and the error hasn't changed at all.


sorry. turned out that I still had automake1.7 hiding in my system (was supposed to be removed ages ago). after removing that and trying again got:

Code: Select all

frankenstein:/home/draco/test/celestia# make -f ./Makefile.cvs
This Makefile is only for the CVS repository
This will be deleted before making the distribution

*** Creating acinclude.m4
*** Creating aclocal.m4
acinclude.m4:3345: the serial number must appear before any macro definition
acinclude.m4:3390: the serial number must appear before any macro definition
acinclude.m4:3435: the serial number must appear before any macro definition
acinclude.m4:5560: the serial number must appear before any macro definition
configure.in:283: warning: macro `AM_GCONF_SOURCE_2' not found in library
*** Creating configure
configure.in:283: error: possibly undefined macro: AM_GCONF_SOURCE_2
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
make[1]: *** [cvs] Error 1
make: *** [all] Error 2

It gave me a configure file though, and it's running. So I guess those errors aren't much to worry over.

Posted: 08.06.2007, 07:30
by Christophe
You need to install the gconf dev package.

Posted: 26.09.2007, 23:23
by ni1s
I get this also, even when using automake 1.10, should I force some version of autoconf too?

Code: Select all

$ WANT_AUTOMAKE="1.10" make -f Makefile.cvs
This Makefile is only for the CVS repository
This will be deleted before making the distribution

*** Creating acinclude.m4
*** Creating aclocal.m4
aclocal: macro `AM_PROG_MKDIR_P' required but not defined
aclocal: macro `AM_PROG_MKDIR_P' required but not defined
make[1]: *** [cvs] Error 1
make: *** [all] Error 2