make -f Makefile.cvs dies

Report bugs, bug fixes and workarounds here.
Topic author
dravenloft
Posts: 6
Joined: 06.03.2007
With us: 17 years 6 months
Contact:

make -f Makefile.cvs dies

Post #1by dravenloft » 08.03.2007, 04:48

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

Pirx
Posts: 9
Joined: 29.05.2007
With us: 17 years 4 months

Post #2by Pirx » 01.06.2007, 00:52

I can reproduce this having aclocal-1.4 up to 1.10 installed. Any quick hints?

Regards, Joe

Pirx
Posts: 9
Joined: 29.05.2007
With us: 17 years 4 months

Post #3by Pirx » 02.06.2007, 19:38

Solved: Force usage of automake-1.10 and you will be fine... ;)

Regards, Joe

Topic author
dravenloft
Posts: 6
Joined: 06.03.2007
With us: 17 years 6 months
Contact:

Post #4by dravenloft » 07.06.2007, 23:56

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?

Topic author
dravenloft
Posts: 6
Joined: 06.03.2007
With us: 17 years 6 months
Contact:

Post #5by dravenloft » 08.06.2007, 00:10

errrr..... I just got done checking. I' only have automake1.10, and the error hasn't changed at all.

Topic author
dravenloft
Posts: 6
Joined: 06.03.2007
With us: 17 years 6 months
Contact:

Post #6by dravenloft » 08.06.2007, 00:26

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.

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 2 months
Location: Lyon (France)

Post #7by Christophe » 08.06.2007, 07:30

You need to install the gconf dev package.
Christophe

ni1s
Posts: 14
Joined: 01.03.2007
With us: 17 years 7 months

Post #8by ni1s » 26.09.2007, 23:23

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


Return to “Bugs”