Hi,
I'm trying to build Celestia from cvs, but I ssem to need some pointers. I usually know how to compile stuff, but I'm missing something here, namely the configure script. Therefore I tried creating it using autoconf, but that resulted in:
configure.in:70: error: possibly undefined macro: AM_INIT_AUTOMAKE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.in:71: error: possibly undefined macro: AM_CONFIG_HEADER
configure.in:73: error: possibly undefined macro: AM_PO_SUBDIRS
configure.in:74: error: possibly undefined macro: AM_GNU_GETTEXT
configure.in:95: error: possibly undefined macro: AC_LIBTOOL_DLOPEN
configure.in:96: error: possibly undefined macro: AC_PROG_LIBTOOL
configure.in:117: error: possibly undefined macro: AC_MSG_RESULT
configure.in:184: error: possibly undefined macro: AM_CONDITIONAL
configure.in:224: error: possibly undefined macro: AC_CHECK_COMPILERS
configure.in:283: error: possibly undefined macro: AM_GCONF_SOURCE_2
configure.in:326: error: possibly undefined macro: AC_ENABLE_SHARED
configure.in:327: error: possibly undefined macro: AC_ENABLE_STATIC
configure.in:330: error: possibly undefined macro: AM_KDE_WITH_NLS
configure.in:333: error: possibly undefined macro: AC_PATH_KDE
I read the manpage on autoconf, but this is the first time I use that program, so can anyone tell me what I'm doing wrong here?
Thanks for any help,
Diederick
Building celestia cvs
-
Topic authordiederick76
- Posts: 8
- Joined: 08.09.2004
- With us: 20 years 6 months
- Location: Amsterdam
-
Topic authordiederick76
- Posts: 8
- Joined: 08.09.2004
- With us: 20 years 6 months
- Location: Amsterdam
When I do that, I get this:
# 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
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/gtk.m4:7: run info '(automake)Extending aclocal'
/usr/share/aclocal/gtk.m4:7: or see http://sources.redhat.com/automake/auto ... ng-aclocal
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
I read the text about extending acolocal, but I'm not a c programmer, so that didn't help. Are the warning and error mentioned here related? What can I do?
Thanks,
Diederick
# 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
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/gtk.m4:7: run info '(automake)Extending aclocal'
/usr/share/aclocal/gtk.m4:7: or see http://sources.redhat.com/automake/auto ... ng-aclocal
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
I read the text about extending acolocal, but I'm not a c programmer, so that didn't help. Are the warning and error mentioned here related? What can I do?
Thanks,
Diederick
Then either something is not properly installed or you use an outdated set of autotools.
The developers are running the make -f Makefile.cvs command on a 1/day rate
without any problems.
Perhaps you got something wrong by your previous "handicrafting" ? What versions of the autotools are you using? What Celestia version?
Bye Fridger
The developers are running the make -f Makefile.cvs command on a 1/day rate

Perhaps you got something wrong by your previous "handicrafting" ? What versions of the autotools are you using? What Celestia version?
Bye Fridger
-
Topic authordiederick76
- Posts: 8
- Joined: 08.09.2004
- With us: 20 years 6 months
- Location: Amsterdam
t00fri wrote:Perhaps you got something wrong by your previous "handicrafting" ? What versions of the autotools are you using? What Celestia version?
I use autoconf version 2.61. It was compiled using --prefix=/usr.
I redid the checkout, to rule out any possibility of problems arising due to my previous handicrafting, like this:
# cvs -z3 -q -d :pserver:anonymous@celestia.cvs.sourceforge.net:/cvsroot/celestia co celestia
but I still get the same error. Did I checkout the right version?
Thanks for helping me,
Diederick.
One problem with the autotools is that error messages are sometimes quite misleading. It might well be that you did not install all required libraries and/or devel packages (headers etc) .
Did you succeed to compile the celestia sources from your Linux distributor?? That should be a good exercise before trying CVs.
Bye Fridger
Did you succeed to compile the celestia sources from your Linux distributor?? That should be a good exercise before trying CVs.
Bye Fridger
-
Topic authordiederick76
- Posts: 8
- Joined: 08.09.2004
- With us: 20 years 6 months
- Location: Amsterdam
My distro is Crux (http://crux.nu), which is a source based distro. Everything I install I have to compile myself, which means that there are no separate devel packages. When I install something, I also get the header files. Repositories contain scripts which install dependencies and do the configuring/compiling for me and all installed files are registered into a database for easy package management.
There is a celestia 1.4.1 package available, but that doesn't compile, because I use gcc 4.1.2. This is exactly why I need the cvs version, for which there is no package for my distro available.
Can you tell me what packages Celestia needs? I have am using nvidia driver version 9755.
There is a celestia 1.4.1 package available, but that doesn't compile, because I use gcc 4.1.2. This is exactly why I need the cvs version, for which there is no package for my distro available.
Can you tell me what packages Celestia needs? I have am using nvidia driver version 9755.
-
- Developer
- Posts: 944
- Joined: 18.07.2002
- With us: 22 years 8 months
- Location: Lyon (France)
-
Topic authordiederick76
- Posts: 8
- Joined: 08.09.2004
- With us: 20 years 6 months
- Location: Amsterdam
diederick76 wrote:Gconf was missing. After installing it, Celestia build and now it runs perfectly. Thanks!:D
Diederick.
...as your error report said right from the beginning:
configure.in:283: warning: macro `AM_GCONF_SOURCE_2' not found in library
Usually, there is some item missing

Good that it works now.
Bye Fridger