Can't build 1.4.0 from sources on Mac OS X 10.4.4

Report bugs, bug fixes and workarounds here.
Topic author
columbo
Posts: 11
Joined: 31.12.2005
With us: 18 years 10 months
Location: France, EU.

Can't build 1.4.0 from sources on Mac OS X 10.4.4

Post #1by columbo » 12.01.2006, 03:17

Hi,

Since the cocoa version of Celestia doesn't run there, i did try to compile it from sources, but without any luck (see verbose transcript below):

Code: Select all

$ make
make  all-recursive
Making all in src
Making all in celutil
if g++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/X11R6/include  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gtkglext-1.0 -I/opt/local/lib/gtkglext-1.0/include -I/usr/X11R6/include    -MT bigfix.o -MD -MP -MF ".deps/bigfix.Tpo" \
  -c -o bigfix.o `test -f 'bigfix.cpp' || echo './'`bigfix.cpp; \
then mv -f ".deps/bigfix.Tpo" ".deps/bigfix.Po"; \
else rm -f ".deps/bigfix.Tpo"; exit 1; \
fi
bigfix.cpp:147: warning: unused parameter 'a'
bigfix.cpp:147: warning: unused parameter 'b'
bigfix.cpp: In constructor 'BigFix::BigFix(const std::string&)':
bigfix.cpp:196: warning: unused variable 'errors'
if g++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/X11R6/include  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gtkglext-1.0 -I/opt/local/lib/gtkglext-1.0/include -I/usr/X11R6/include    -MT color.o -MD -MP -MF ".deps/color.Tpo" \
  -c -o color.o `test -f 'color.cpp' || echo './'`color.cpp; \
then mv -f ".deps/color.Tpo" ".deps/color.Po"; \
else rm -f ".deps/color.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/X11R6/include  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gtkglext-1.0 -I/opt/local/lib/gtkglext-1.0/include -I/usr/X11R6/include    -MT debug.o -MD -MP -MF ".deps/debug.Tpo" \
  -c -o debug.o `test -f 'debug.cpp' || echo './'`debug.cpp; \
then mv -f ".deps/debug.Tpo" ".deps/debug.Po"; \
else rm -f ".deps/debug.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/X11R6/include  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gtkglext-1.0 -I/opt/local/lib/gtkglext-1.0/include -I/usr/X11R6/include    -MT directory.o -MD -MP -MF ".deps/directory.Tpo" \
  -c -o directory.o `test -f 'directory.cpp' || echo './'`directory.cpp; \
then mv -f ".deps/directory.Tpo" ".deps/directory.Po"; \
else rm -f ".deps/directory.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/X11R6/include  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gtkglext-1.0 -I/opt/local/lib/gtkglext-1.0/include -I/usr/X11R6/include    -MT filetype.o -MD -MP -MF ".deps/filetype.Tpo" \
  -c -o filetype.o `test -f 'filetype.cpp' || echo './'`filetype.cpp; \
then mv -f ".deps/filetype.Tpo" ".deps/filetype.Po"; \
else rm -f ".deps/filetype.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/X11R6/include  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gtkglext-1.0 -I/opt/local/lib/gtkglext-1.0/include -I/usr/X11R6/include    -MT formatnum.o -MD -MP -MF ".deps/formatnum.Tpo" \
  -c -o formatnum.o `test -f 'formatnum.cpp' || echo './'`formatnum.cpp; \
then mv -f ".deps/formatnum.Tpo" ".deps/formatnum.Po"; \
else rm -f ".deps/formatnum.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/X11R6/include  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gtkglext-1.0 -I/opt/local/lib/gtkglext-1.0/include -I/usr/X11R6/include    -MT utf8.o -MD -MP -MF ".deps/utf8.Tpo" \
  -c -o utf8.o `test -f 'utf8.cpp' || echo './'`utf8.cpp; \
then mv -f ".deps/utf8.Tpo" ".deps/utf8.Po"; \
else rm -f ".deps/utf8.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/X11R6/include  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gtkglext-1.0 -I/opt/local/lib/gtkglext-1.0/include -I/usr/X11R6/include    -MT util.o -MD -MP -MF ".deps/util.Tpo" \
  -c -o util.o `test -f 'util.cpp' || echo './'`util.cpp; \
then mv -f ".deps/util.Tpo" ".deps/util.Po"; \
else rm -f ".deps/util.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/X11R6/include  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gtkglext-1.0 -I/opt/local/lib/gtkglext-1.0/include -I/usr/X11R6/include    -MT unixdirectory.o -MD -MP -MF ".deps/unixdirectory.Tpo" \
  -c -o unixdirectory.o `test -f 'unixdirectory.cpp' || echo './'`unixdirectory.cpp; \
then mv -f ".deps/unixdirectory.Tpo" ".deps/unixdirectory.Po"; \
else rm -f ".deps/unixdirectory.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/X11R6/include  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gtkglext-1.0 -I/opt/local/lib/gtkglext-1.0/include -I/usr/X11R6/include    -MT unixtimer.o -MD -MP -MF ".deps/unixtimer.Tpo" \
  -c -o unixtimer.o `test -f 'unixtimer.cpp' || echo './'`unixtimer.cpp; \
then mv -f ".deps/unixtimer.Tpo" ".deps/unixtimer.Po"; \
else rm -f ".deps/unixtimer.Tpo"; exit 1; \
fi
rm -f libcelutil.a
ar cru libcelutil.a bigfix.o color.o debug.o directory.o filetype.o formatnum.o utf8.o util.o unixdirectory.o unixtimer.o
ranlib libcelutil.a
Making all in celmath
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/X11R6/include  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gtkglext-1.0 -I/opt/local/lib/gtkglext-1.0/include -I/usr/X11R6/include    -MT frustum.o -MD -MP -MF ".deps/frustum.Tpo" \
  -c -o frustum.o `test -f 'frustum.cpp' || echo './'`frustum.cpp; \
then mv -f ".deps/frustum.Tpo" ".deps/frustum.Po"; \
else rm -f ".deps/frustum.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/X11R6/include  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gtkglext-1.0 -I/opt/local/lib/gtkglext-1.0/include -I/usr/X11R6/include    -MT perlin.o -MD -MP -MF ".deps/perlin.Tpo" \
  -c -o perlin.o `test -f 'perlin.cpp' || echo './'`perlin.cpp; \
then mv -f ".deps/perlin.Tpo" ".deps/perlin.Po"; \
else rm -f ".deps/perlin.Tpo"; exit 1; \
fi
rm -f libcelmath.a
ar cru libcelmath.a frustum.o perlin.o
ranlib libcelmath.a
Making all in cel3ds
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/X11R6/include  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gtkglext-1.0 -I/opt/local/lib/gtkglext-1.0/include -I/usr/X11R6/include    -MT 3dsmodel.o -MD -MP -MF ".deps/3dsmodel.Tpo" \
  -c -o 3dsmodel.o `test -f '3dsmodel.cpp' || echo './'`3dsmodel.cpp; \
then mv -f ".deps/3dsmodel.Tpo" ".deps/3dsmodel.Po"; \
else rm -f ".deps/3dsmodel.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/X11R6/include  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gtkglext-1.0 -I/opt/local/lib/gtkglext-1.0/include -I/usr/X11R6/include    -MT 3dsread.o -MD -MP -MF ".deps/3dsread.Tpo" \
  -c -o 3dsread.o `test -f '3dsread.cpp' || echo './'`3dsread.cpp; \
then mv -f ".deps/3dsread.Tpo" ".deps/3dsread.Po"; \
else rm -f ".deps/3dsread.Tpo"; exit 1; \
fi
3dsread.cpp:118: warning: unused parameter 'chunkSize'
3dsread.cpp:251: warning: unused parameter 'nBytes'
3dsread.cpp:263: warning: unused parameter 'nBytes'
3dsread.cpp:275: warning: unused parameter 'nBytes'
3dsread.cpp:307: warning: unused parameter 'in'
3dsread.cpp:307: warning: unused parameter 'chunkType'
3dsread.cpp:307: warning: unused parameter 'contentSize'
3dsread.cpp:307: warning: unused parameter 'obj'
3dsread.cpp:343: warning: unused parameter 'contentSize'
3dsread.cpp:489: warning: unused parameter 'contentSize'
3dsread.cpp:513: warning: unused parameter 'contentSize'
rm -f libcel3ds.a
ar cru libcel3ds.a 3dsmodel.o 3dsread.o
ranlib libcel3ds.a
Making all in celtxf
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/X11R6/include  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gtkglext-1.0 -I/opt/local/lib/gtkglext-1.0/include -I/usr/X11R6/include    -MT texturefont.o -MD -MP -MF ".deps/texturefont.Tpo" \
  -c -o texturefont.o `test -f 'texturefont.cpp' || echo './'`texturefont.cpp; \
then mv -f ".deps/texturefont.Tpo" ".deps/texturefont.Po"; \
else rm -f ".deps/texturefont.Tpo"; exit 1; \
fi
rm -f libceltxf.a
ar cru libceltxf.a texturefont.o
ranlib libceltxf.a
Making all in celengine
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/X11R6/include  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gtkglext-1.0 -I/opt/local/lib/gtkglext-1.0/include -I/usr/X11R6/include    -MT asterism.o -MD -MP -MF ".deps/asterism.Tpo" \
  -c -o asterism.o `test -f 'asterism.cpp' || echo './'`asterism.cpp; \
then mv -f ".deps/asterism.Tpo" ".deps/asterism.Po"; \
else rm -f ".deps/asterism.Tpo"; exit 1; \
fi
../celengine/orbit.h:19: warning: 'class Orbit' has virtual functions but non-virtual destructor
../celengine/orbit.h:35: warning: 'class EllipticalOrbit' has virtual functions but non-virtual destructor
../celengine/orbit.h:62: warning: 'class OrbitSampleProc' has virtual functions but non-virtual destructor
../celengine/orbit.h:77: warning: 'class CachingOrbit' has virtual functions but non-virtual destructor
asterism.cpp: In constructor 'Asterism::Asterism(std::string)':
asterism.cpp:28: error: 'gettext' was not declared in this scope
make[3]: *** [asterism.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_Users_matt_OD.org_proj_darwinports_dports_science_celestia/work/celestia-1.4.0" && make all" returned error 2
Command output: 3dsread.cpp:489: warning: unused parameter 'contentSize'
3dsread.cpp:513: warning: unused parameter 'contentSize'
rm -f libcel3ds.a
ar cru libcel3ds.a 3dsmodel.o 3dsread.o
ranlib libcel3ds.a
Making all in celtxf
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/X11R6/include  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gtkglext-1.0 -I/opt/local/lib/gtkglext-1.0/include -I/usr/X11R6/include    -MT texturefont.o -MD -MP -MF ".deps/texturefont.Tpo" \
  -c -o texturefont.o `test -f 'texturefont.cpp' || echo './'`texturefont.cpp; \
then mv -f ".deps/texturefont.Tpo" ".deps/texturefont.Po"; \
else rm -f ".deps/texturefont.Tpo"; exit 1; \
fi
rm -f libceltxf.a
ar cru libceltxf.a texturefont.o
ranlib libceltxf.a
Making all in celengine
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/X11R6/include  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gtkglext-1.0 -I/opt/local/lib/gtkglext-1.0/include -I/usr/X11R6/include    -MT asterism.o -MD -MP -MF ".deps/asterism.Tpo" \
  -c -o asterism.o `test -f 'asterism.cpp' || echo './'`asterism.cpp; \
then mv -f ".deps/asterism.Tpo" ".deps/asterism.Po"; \
else rm -f ".deps/asterism.Tpo"; exit 1; \
fi
../celengine/orbit.h:19: warning: 'class Orbit' has virtual functions but non-virtual destructor
../celengine/orbit.h:35: warning: 'class EllipticalOrbit' has virtual functions but non-virtual destructor
../celengine/orbit.h:62: warning: 'class OrbitSampleProc' has virtual functions but non-virtual destructor
../celengine/orbit.h:77: warning: 'class CachingOrbit' has virtual functions but non-virtual destructor
asterism.cpp: In constructor 'Asterism::Asterism(std::string)':
asterism.cpp:28: error: 'gettext' was not declared in this scope
make[3]: *** [asterism.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


All the required librairies are installed (glu, libpng, libjpeg) as described on INSTALL.
I've used the "--with-gtk" configure argument (gtk+ 2.8.9 installed)
All these librairies were installed with DarwinPorts 1.2

FWIW, i'm using gcc-4.0.1 that comes with Xcode 2.2

Can someone help me getting 1.4.0 running or should i just be quiet and patient and stick with 1.3.2 which works quite good?

thanks

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #2by dirkpitt » 12.01.2006, 05:35

I'm not sure why you're trying to compile an X11 version on OS X. The Xcode projects (.xcode, .xcodeproj) are the only build options currently supported and maintained on OS X. Anyway, the error you're getting is because you haven't downloaded and compiled the GNU gettext library, which I think is required by gtk/kde builds.

Avatar
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 10 months
Location: Montreal

Post #3by Cham » 12.01.2006, 07:29

Dirkpitt,

have you tested Celestia 1.4.x on Tiger 10.4.4 ?
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #4by dirkpitt » 12.01.2006, 09:18

Cham wrote:have you tested Celestia 1.4.x on Tiger 10.4.4 ?


Yes. Is 10.4.4 giving you problems?

Avatar
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 10 months
Location: Montreal

Post #5by Cham » 12.01.2006, 18:27

Dirkpitt,

no, I haven't installed 10.4.4 yet. I'm waiting to see any bad reports.

Can you tell if there's any improvements with Celestia ?
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #6by dirkpitt » 13.01.2006, 00:56

Cham wrote:no, I haven't installed 10.4.4 yet. I'm waiting to see any bad reports.

Can you tell if there's any improvements with Celestia ?


None, at least on my machine. As far as I can tell, 10.4.4 is simply a "RAW digital camera support and World of Warcraft" update. The video drivers *have* been updated, so it may or may not offer better support for ATI x8xx video cards.
Last edited by dirkpitt on 13.01.2006, 01:00, edited 1 time in total.

Topic author
columbo
Posts: 11
Joined: 31.12.2005
With us: 18 years 10 months
Location: France, EU.

Post #7by columbo » 13.01.2006, 00:57

dirkpitt wrote:I'm not sure why you're trying to compile an X11 version on OS X.
It's pretty obvious, the current version doesn't works there (on 13 Mac OS X machines we have access to) as i said above...

dirkpitt wrote:The Xcode projects (.xcode, .xcodeproj) are the only build options currently supported and maintained on OS X.
I agree, but there's no .xcode/.xcodeproj/.pbproj/whatever in celestia's tarball.
Are they private? If no, why they aren't bundled with the sources?

dirkpitt wrote:Anyway, the error you're getting is because you haven't downloaded and compiled the GNU gettext library, which I think is required by gtk/kde builds.

I do have gettext installed, and even if my programming skills is near to 0, it seems that the compilation errors above aren't related to libintl/gettext.

However thanks for replying, i'm feeling less alone :P

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #8by dirkpitt » 13.01.2006, 01:16

Ah, I just checked and the tarball is missing a "macosx" directory, hence no Xcode project. Thanks for catching this oversight. For now, your second option is to check out from CVS - instructions are at http://sourceforge.net/cvs/?group_id=21302.

I'm not sure if this will help, but I suspect your original problem, the locale error, may be related to the function CelestiaCore::renderOverlay() in celestiacore.cpp.

Topic author
columbo
Posts: 11
Joined: 31.12.2005
With us: 18 years 10 months
Location: France, EU.

Post #9by columbo » 15.01.2006, 19:56

dirkpitt wrote:Ah, I just checked and the tarball is missing a "macosx" directory, hence no Xcode project. Thanks for catching this oversight. For now, your second option is to check out from CVS - instructions are at http://sourceforge.net/cvs/?group_id=21302.
Building it from sources leads to the same error, unfortunately.

dirkpitt wrote:I'm not sure if this will help, but I suspect your original problem, the locale error, may be related to the function CelestiaCore::renderOverlay() in celestiacore.cpp.

Is this bug will be fixed in the next release of Celestia?

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #10by dirkpitt » 15.01.2006, 21:38

Are you able to get a file name and line number from where it crashes, if you choose the Debug command and run Celestia from Xcode's debugger? (make sure you choose "Development" as the build style first so that debug symbols are included when compiling)

If this is a bug, I'll try to push for a fix for 1.4.1.

Topic author
columbo
Posts: 11
Joined: 31.12.2005
With us: 18 years 10 months
Location: France, EU.

Post #11by columbo » 16.01.2006, 15:15

dirkpitt wrote:Are you able to get a file name and line number from where it crashes, if you choose the Debug command and run Celestia from Xcode's debugger? (make sure you choose "Development" as the build style first so that debug symbols are included when compiling)

After doing so there's a lot of errors from not only celestiacore.cpp but also from main.m, CelestiaAppCore.mm, CelestiaController.m and CelestiaOpenGLView.m

The gdb log (mostly the same content as when running a stock celestia from the dmg):

Code: Select all

[Session started at 2006-01-16 15:57:44 +0100.]
GNU gdb 6.1-20040303 (Apple version gdb-434) (Wed Nov  2 17:28:16 GMT 2005)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "powerpc-apple-darwin".
Loading program into debugger?€¦

tty /dev/ttyp2
Program loaded.
sharedlibrary apply-load-rules all
run
[Switching to process 9641 local thread 0xf03]
Running?€¦
Error opening config file.2006-01-16 15:58:08.193 Celestia[9641] Init took 16.042924 seconds
Initializing ARB vertex programs . . .
Loading ARB vertex program: shaders/diffuse_arb.vp
Loading ARB vertex program: shaders/specular_arb.vp
Loading ARB vertex program: shaders/haze_arb.vp
Loading ARB vertex program: shaders/bumpdiffuse_arb.vp
Loading ARB vertex program: shaders/bumphaze_arb.vp
Loading ARB vertex program: shaders/shadowtex_arb.vp
Loading ARB vertex program: shaders/diffuse_texoff_arb.vp
Loading ARB vertex program: shaders/rings_arb.vp
Loading ARB vertex program: shaders/ringshadow_arb.vp
Loading ARB vertex program: shaders/night_arb.vp
Loading ARB vertex program: shaders/glossmap_arb.vp
Loading ARB vertex program: shaders/diffuse2_arb.vp
Loading ARB vertex program: shaders/haze2_arb.vp
Loading ARB vertex program: shaders/diffuse_texoff2_arb.vp
Loading ARB vertex program: shaders/specular2_arb.vp
Loading ARB vertex program: shaders/night2_arb.vp
Loading ARB vertex program: shaders/multishadow_arb.vp
Loading ARB vertex program: shaders/texphong_arb.vp
Loading ARB vertex program: shaders/texphong_alpha_arb.vp
Loading ARB vertex program: shaders/ell_galaxy_arb.vp
All ARB vertex programs loaded successfully.
render path: 3
terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid
Program received signal:  "SIGABRT".
(gdb)


The first error from celestiacore.cpp is (line 2898, CelestiaCore::renderOverlay function):

Code: Select all

currentLocale = locale(cLocale, "", std::locale::numeric);


The second error from celestiacore.cpp is (line 2222, CelestiaCore::draw function):

Code: Select all

renderOverlay();


The error from CelestiaAppCore.mm is (line 437):

Code: Select all

appCore->draw();


The error from CelestiaController.m is (line 469):

Code: Select all

[appCore draw];


The error from CelestiaOpenGLView.m is (line 237):

Code: Select all

[controller display];


And the error from main.m is (line 11):

Code: Select all

return NSApplicationMain(argc,argv);


hth

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #12by dirkpitt » 17.01.2006, 01:23

columbo wrote:The first error from celestiacore.cpp is (line 2898, CelestiaCore::renderOverlay function):

Code: Select all

currentLocale = locale(cLocale, "", std::locale::numeric);



Thanks a lot for this info. The value of cLocale is probably not something locale() is expecting (C or POSIX I think). What happens if you replace "cLocale" with "std::locale::classic()" ?

Topic author
columbo
Posts: 11
Joined: 31.12.2005
With us: 18 years 10 months
Location: France, EU.

Post #13by columbo » 17.01.2006, 15:01

dirkpitt wrote:What happens if you replace "cLocale" with "std::locale::classic()" ?

Nothing. Same errors happens. :evil:

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #14by dirkpitt » 17.01.2006, 16:07

columbo wrote:
dirkpitt wrote:What happens if you replace "cLocale" with "std::locale::classic()" ?
Nothing. Same errors happens. :evil:


That is actually enough info I think to figure out what's going on. I've managed to duplicate the problem on my computer too (it's triggered by setting either or both of the environment variables LANG and LC_ALL or LC_NUMERIC to a value other than "C" - for example fr_FR).

I think a fix may make it for 1.4.1, if I can help it. Thanks a lot for testing! :D

Topic author
columbo
Posts: 11
Joined: 31.12.2005
With us: 18 years 10 months
Location: France, EU.

Post #15by columbo » 18.01.2006, 02:50

dirkpitt wrote:
columbo wrote:That is actually enough info I think to figure out what's going on. I've managed to duplicate the problem on my computer too (it's triggered by setting either or both of the environment variables LANG and LC_ALL or LC_NUMERIC to a value other than "C" - for example fr_FR).

I think a fix may make it for 1.4.1, if I can help it. Thanks a lot for testing! :D

Great news.
I've been using a custom value for LANG on ~/.MacOSX/environment.plist (because i wanted to have X11.app's binaries in french while clicking on X11.app icon instead of using open-x11(1)).

Now removing this from environment.plist fixes this, celestia is now running fine. Thanks a lot for the help! 8)

BTW, i still have LC_ALL=fr_FR.ISO8859-15 on my rc shell file (~/.zprofile) and it doesn't confuse celestia.

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #16by dirkpitt » 22.01.2006, 05:40

columbo wrote:Great news.
I've been using a custom value for LANG on ~/.MacOSX/environment.plist (because i wanted to have X11.app's binaries in french while clicking on X11.app icon instead of using open-x11(1)).


You can set the LANG back - I've fixed the problem in CVS and current builds should run fine with LANG or LC variables set.

Topic author
columbo
Posts: 11
Joined: 31.12.2005
With us: 18 years 10 months
Location: France, EU.

Post #17by columbo » 22.01.2006, 14:09

Thanks a zillion dirk! 8)


Return to “Bugs”