[Slackbuilds-users] celestia compile error
King Beowulf
kingbeowulf at gmail.com
Mon Jan 24 06:36:27 UTC 2011
Unless I am missing something, celestia requires lua to compile. I did not
add '--with-lua' to the configure parameters. The information provided
implies lua is not required at compile dependency. Once I installed lua,
the slackbuild script ran as-is and I was able to install and run celestia.
x86_64-slackware-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I..
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -fPIC
-Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
-fno-exceptions -fno-check-new -fno-common -O2 -Wall -ffast-math
-fexpensive-optimizations -fomit-frame-pointer -MT cmdparser.o -MD -MP -MF
.deps/cmdparser.Tpo -c -o cmdparser.o cmdparser.cpp
In file included from cmdparser.cpp:30:
../celestia/celx.h:26:17: error: lua.h: No such file or directory
../celestia/celx.h:27:20: error: lualib.h: No such file or directory
In file included from cmdparser.cpp:30:
../celestia/celx.h:43: error: ISO C++ forbids declaration of 'lua_State'
with no type
../celestia/celx.h:43: error: expected ';' before '*' token
../celestia/celx.h:88: error: ISO C++ forbids declaration of 'lua_State'
with no type
../celestia/celx.h:88: error: expected ';' before '*' token
../celestia/celx.h:89: error: ISO C++ forbids declaration of 'lua_State'
with no type
../celestia/celx.h:89: error: expected ';' before '*' token
In file included from cmdparser.cpp:31:
../celestia/celx_internal.h:67: error: 'lua_State' has not been declared
../celestia/celx_internal.h: In member function 'void CelxValue::push(int*)
const':
../celestia/celx_internal.h:71: error: 'lua_pushnumber' was not declared in
this scope
../celestia/celx_internal.h:72: error: 'lua_pushstring' was not declared in
this scope
../celestia/celx_internal.h:73: error: 'lua_pushnil' was not declared in
this scope
../celestia/celx_internal.h: At global scope:
../celestia/celx_internal.h:91: error: expected ')' before '*' token
../celestia/celx_internal.h:102: error: 'lua_CFunction' has not been
declared
../celestia/celx_internal.h:105: error: 'lua_Number' has not been declared
../celestia/celx_internal.h:126: error: 'lua_Number' does not name a type
../celestia/celx_internal.h:168: error: ISO C++ forbids declaration of
'lua_State' with no type
../celestia/celx_internal.h:168: error: expected ';' before '*' token
make[3]: *** [cmdparser.o] Error 1
make[3]: Leaving directory `/tmp/SBo/celestia-1.6.0/src/celengine'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/SBo/celestia-1.6.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/celestia-1.6.0'
make: *** [all] Error 2
--
You! What PLANET is this!
-- McCoy, "The City on the Edge of Forever", stardate 3134.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20110123/c68ad842/attachment-0001.html>
More information about the SlackBuilds-users
mailing list