Building Celestia SVN in Fedora 17
Posted: 25.04.2012, 23:23
Hi all,
I've got a new machine fairly recently and I've downloaded the SVN version of Celestia for both Windows 7 and Fedora 17.
I believe I've downloaded the required packages to build Celestia in the KDE4 Desktop of Fedora 17,but I'm getting a compile problem.
I've tried to compile with options of qt,kde and gtk,but to all no avail.
Here are the configure options I currently run after I run "autorenconf -iv" first:
And here is the error message I am getting:
I hope somebody can help me.
Regards,
NIGHTCAST2000
I've got a new machine fairly recently and I've downloaded the SVN version of Celestia for both Windows 7 and Fedora 17.
I believe I've downloaded the required packages to build Celestia in the KDE4 Desktop of Fedora 17,but I'm getting a compile problem.
I've tried to compile with options of qt,kde and gtk,but to all no avail.
Here are the configure options I currently run after I run "autorenconf -iv" first:
Code: Select all
./configure --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/usr/etc --localstatedir=/var --libdir=/usr/lib64 --includedir=/usr/include --enable-cairo --enable-theora --enable-dependency-tracking --enable-debug=full --enable-pch --with-qt --with-lua
And here is the error message I am getting:
Code: Select all
mv -f .deps/celestia-eclipsefinder.Tpo .deps/celestia-eclipsefinder.Po
g++ -DCONFIG_DATA_DIR='"/usr/share/celestia"' -DLOCALEDIR='"/usr/share/locale"' -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../thirdparty/Eigen -I../../thirdparty/glew/include -DLUA_VER=0x050100 -DCELX -Wl,--no-as-needed -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -g -O2 -ffast-math -fexpensive-optimizations -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -MT celestia-favorites.o -MD -MP -MF .deps/celestia-favorites.Tpo -c -o celestia-favorites.o `test -f 'favorites.cpp' || echo './'`favorites.cpp
favorites.cpp:74:5: warning: "CELVEC" is not defined [-Wundef]
favorites.cpp:85:5: warning: "CELVEC" is not defined [-Wundef]
favorites.cpp:138:5: warning: "CELVEC" is not defined [-Wundef]
mv -f .deps/celestia-favorites.Tpo .deps/celestia-favorites.Po
g++ -DCONFIG_DATA_DIR='"/usr/share/celestia"' -DLOCALEDIR='"/usr/share/locale"' -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../thirdparty/Eigen -I../../thirdparty/glew/include -DLUA_VER=0x050100 -DCELX -Wl,--no-as-needed -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -g -O2 -ffast-math -fexpensive-optimizations -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -MT celestia-imagecapture.o -MD -MP -MF .deps/celestia-imagecapture.Tpo -c -o celestia-imagecapture.o `test -f 'imagecapture.cpp' || echo './'`imagecapture.cpp
imagecapture.cpp: In function ‘bool CaptureGLBufferToPNG(const string&, int, int, int, int)’:
imagecapture.cpp:184:40: error: ‘Z_BEST_COMPRESSION’ was not declared in this scope
make[4]: *** [celestia-imagecapture.o] Error 1
make[4]: Leaving directory `/home/steve/celestia/celestia/src/celestia'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/steve/celestia/celestia/src/celestia'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/steve/celestia/celestia/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/steve/celestia/celestia'
I hope somebody can help me.
Regards,
NIGHTCAST2000