Compile problems, 1.6, Fedora 11, AMD64

Have a question about using Celestia? Check here first for FAQs and helpful advice.
Forum rules
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
Topic author
ashhash
Posts: 5
Joined: 15.09.2009
With us: 15 years 2 months

Compile problems, 1.6, Fedora 11, AMD64

Post #1by ashhash » 15.09.2009, 07:08

Hey all

OK so im having trouble with Celestia.
I had the 1.5 version installed via yum, it worked, I adjust some graphical settings, it closed....it would not open again.

I downloaded the 1.6 source, ./configure --with-gnome worked OK.
Running make however I get;

../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 `/home/ash/Download/celestia-1.6.0/src/celengine'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ash/Download/celestia-1.6.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ash/Download/celestia-1.6.0'
make: *** [all] Error 2

lua-5.1.4-3.fc11.x86_64 is installed.

Any thoughts?
Im pretty new to compiling these things so I struggle a bit in general...haha

Thanks,
Ash

Topic author
ashhash
Posts: 5
Joined: 15.09.2009
With us: 15 years 2 months

Re: Compile problems, 1.6, Fedora 11, AMD64

Post #2by ashhash » 15.09.2009, 07:17

Ahhh it would seem lua-devel wasnt installed...

Installed it, ran ./configure again.
Now make results in;

In file included from ../celestia/celestiacore.h:19,
from command.cpp:13:
../celengine/overlay.h:30: error: ‘EOF’ was not declared in this scope
make[3]: *** [command.o] Error 1
make[3]: Leaving directory `/home/ash/Download/celestia-1.6.0/src/celengine'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ash/Download/celestia-1.6.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ash/Download/celestia-1.6.0'
make: *** [all] Error 2

Topic author
ashhash
Posts: 5
Joined: 15.09.2009
With us: 15 years 2 months

Re: Compile problems, 1.6, Fedora 11, AMD64

Post #3by ashhash » 15.09.2009, 22:53

Sooo... anyone?

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

Re: Compile problems, 1.6, Fedora 11, AMD64

Post #4by John Van Vliet » 16.09.2009, 02:57

--- edit ---
Last edited by John Van Vliet on 21.10.2013, 01:26, edited 1 time in total.

Topic author
ashhash
Posts: 5
Joined: 15.09.2009
With us: 15 years 2 months

Re: Compile problems, 1.6, Fedora 11, AMD64

Post #5by ashhash » 16.09.2009, 03:38

Ahh just the man!
I used your method as outlined here - http://fedoraforum.org/forum/showthread.php?t=221605 .... worked like a charm!
I can thank you in "person" ;p)

Cheers,
Ash

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

Re: Compile problems, 1.6, Fedora 11, AMD64

Post #6by John Van Vliet » 16.09.2009, 07:01

--- edit ---


Return to “Help Central”