Page 1 of 1

Build/configure error from CVS (27/7/05) -

Posted: 27.07.2005, 01:12
by ben_o_
Building on Ubuntu - Hoary, nvidia-glx

1) Celestia from anonomous cvs - no problems, 21 Mb or so of nice new celestia.
2) Ran 'make -f Makefile.cvs' - no problems, usual output
3) './configure --with-glut' ends like this:

Code: Select all

checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking whether byte ordering is bigendian... no
checking whether we can create a new star database... no
checking whether to enable Celestia Extension Language... no
configure: error: conditional "include_ARTS" was never defined.
Usually this means the macro was only invoked conditionally.


I have very little experience with GNU autotools, and so I have no idea what to look for to fix...

Can anyone help?


Ben_o

Posted: 28.07.2005, 10:48
by ben_o_
Thanks to Pat's mail on the celestia-developer mailing list I was able to 'fix' this.

http://sourceforge.net/mailarchive/foru ... um_id=9864

It involves doing to 'make -f Makefile.cvs' command, generating all the configure/make scripts first.

Then, edit the 'configure' file, and comment out this section, line 39169 to line 39175:

Code: Select all

in ./configure -

...
if test -z "${ENABLE_GTK_TRUE}" && test -z "${ENABLE_GTK_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"ENABLE_GTK\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"ENABLE_GTK\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi

# start commenting out here:

# if test -z "${include_ARTS_TRUE}" && test -z "${include_ARTS_FALSE}"; then
#  { { echo "$as_me:$LINENO: error: conditional \"include_ARTS\" was never defined.
# Usually this means the macro was only invoked conditionally." >&5
# echo "$as_me: error: conditional \"include_ARTS\" was never defined.
# Usually this means the macro was only invoked conditionally." >&2;}
#   { (exit 1); exit 1; }; }
# fi

#stop commenting out here

if test -z "${ENABLE_KDE_TRUE}" && test -z "${ENABLE_KDE_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"ENABLE_KDE\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"ENABLE_KDE\" was never defined.
....



This stops the error but it's not the best solution.

Ben