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

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
ben_o_
Posts: 9
Joined: 09.07.2005
With us: 19 years 4 months
Location: Oxford, UK

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

Post #1by ben_o_ » 27.07.2005, 01:12

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

Topic author
ben_o_
Posts: 9
Joined: 09.07.2005
With us: 19 years 4 months
Location: Oxford, UK

Post #2by ben_o_ » 28.07.2005, 10:48

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


Return to “Development”