[SOLVED] Problem compiling under Ubuntu 7.10

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
Fightspit
Posts: 510
Joined: 15.05.2005
With us: 19 years 8 months

[SOLVED] Problem compiling under Ubuntu 7.10

Post #1by Fightspit » 11.02.2008, 16:32

Hi everybody,

I am trying to compile Celestia from the SVN (svn co https://celestia.svn.sourceforge.net/sv ... stia/trunk celestia ) but I get an error after writing ./configure --with-gnome:

Code: Select all

francois@francois-laptop:~/Bureau/celestia$ ./configure --with-gnome
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
./configure: line 2008: syntax error near unexpected token `-Wno-portability'
./configure: line 2008: `AM_INIT_AUTOMAKE(-Wno-portability)'

The last version is 4110 (it shows when you write svn up in the console).

So ?
Last edited by Fightspit on 11.02.2008, 21:14, edited 1 time in total.
Motherboard: Intel D975XBX2
Processor: Intel Core2 E6700 @ 3Ghz
Ram: Corsair 2 x 1GB DDR2 PC6400
Video Card: Nvidia GeForce 8800 GTX 768MB GDDR3 384 bits PCI-Express 16x
HDD: Western Digital Raptor 150GB 10000 rpm
OS: Windows Vista Business 32 bits

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 4 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #2by cartrite » 11.02.2008, 21:09

When I ran autoreconf -iv and then ran ./configure --with-gnome I didn't get any configure errors with Suse 10.2.
I didn't get any configure errors after running make -f Makefile.cvs and then./configure --with-gnome so I'm not sure what could be going wrong.
I used the same svn version as you.
cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Topic author
Fightspit
Posts: 510
Joined: 15.05.2005
With us: 19 years 8 months

Post #3by Fightspit » 11.02.2008, 21:14

Thanks cartrite :!:

I run as you said autoreconf -iv then ./configure --with-gnome
and it works :!:
Motherboard: Intel D975XBX2
Processor: Intel Core2 E6700 @ 3Ghz
Ram: Corsair 2 x 1GB DDR2 PC6400
Video Card: Nvidia GeForce 8800 GTX 768MB GDDR3 384 bits PCI-Express 16x
HDD: Western Digital Raptor 150GB 10000 rpm
OS: Windows Vista Business 32 bits

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 4 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #4by cartrite » 11.02.2008, 21:40

May I ask, How did you get a configure script to run before you ran autoreconf -iv? I don't think there is one in the svn folder. You have to generate it somehow.
cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Topic author
Fightspit
Posts: 510
Joined: 15.05.2005
With us: 19 years 8 months

Post #5by Fightspit » 12.02.2008, 12:20

I remember I ran autoconf before writing ./configure --with-gnome but I think I couldn't compile because I didn't add the options -iv after autoconf. Just write autoconf is not enough probably.
Motherboard: Intel D975XBX2
Processor: Intel Core2 E6700 @ 3Ghz
Ram: Corsair 2 x 1GB DDR2 PC6400
Video Card: Nvidia GeForce 8800 GTX 768MB GDDR3 384 bits PCI-Express 16x
HDD: Western Digital Raptor 150GB 10000 rpm
OS: Windows Vista Business 32 bits

eras
Posts: 4
Joined: 30.05.2007
With us: 17 years 7 months
Location: Xalapa, Veracruz, Mexico

Post #6by eras » 14.02.2008, 17:58

Hi to everything, before to nothing sorry for my bad english, i tested the 4110 and 4117 svn version and i have a problem when i compile at kde, the error message that i have its the next.

Code: Select all

/usr/include/QtCore/QVariant:584: error: expected initializer before ?€?operator?€™
In file included from /usr/include/kfilemetainfo.h:24,
                 from celsplashscreen.h:26,
                 from celsplashscreen.moc.cpp:11:
/usr/include/predicateproperties.h:26: error: expected constructor, destructor,
or type conversion before ?€?class?€™
/usr/include/predicateproperties.h:77: error: ?€?Type?€™ in class ?€?QVariant?€™ does no
t name a type
/usr/include/predicateproperties.h:86: error: expected ?€?;?€™ before ?€?*?€™ token
In file included from celsplashscreen.h:26,
                 from celsplashscreen.moc.cpp:11:
/usr/include/kfilemetainfo.h:89: error: ?€?WhatFlags?€™ has not been declared
/usr/include/kfilemetainfo.h:95: error: expected ?€?;?€™ before ?€?explicit?€™
/usr/include/kfilemetainfo.h:125: error: expected ?€?;?€™ before ?€?<?€™ token
/usr/include/kfilemetainfo.h:156: error: expected constructor, destructor, or ty                              pe conversion before ?€?(?€™ token
make[5]: *** [celsplashscreen.moc.o] Error 1
make[5]: Leaving directory `/root/celestia_svn/celestia4117/celestia/src/celesti                              a/kde'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/root/celestia_svn/celestia4117/celestia/src/celesti                              a/kde'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/celestia_svn/celestia4117/celestia/src/celesti                              a'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/celestia_svn/celestia4117/celestia/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/celestia_svn/celestia4117/celestia'
make: *** [all] Error 2


What i need to can compile celestia with kde?

i tested with gnome and here no have problem, all run correctly.

my system its a:

pemtium 4 ht 3 Ghz
nvidia geforce mx 4000 128 Mb ddr agp
512 Mb ram
Opensuse 10.3 updated


thanks and y hope a help,

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 4 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #7by cartrite » 14.02.2008, 18:42

I did hear about problems compiling with open SUSE 10.3 but I was not affected ( I use openSUSE 10.2 ) and I'm not sure what was going on. These problems may have been fixed. The latest svn version is 4123. Try updating your svn copy to 4123.
cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 10 months
Location: Hamburg, Germany

Post #8by t00fri » 14.02.2008, 19:10

No problems to compile svn 4123 with SuSE 10.3 and KDE, gnome and gtk.

F.
Image

eras
Posts: 4
Joined: 30.05.2007
With us: 17 years 7 months
Location: Xalapa, Veracruz, Mexico

Post #9by eras » 14.02.2008, 20:13

no i have the same error with kde. thanks, i test moore times.

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 4 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #10by cartrite » 14.02.2008, 22:55

eras wrote:In file included from /usr/include/kfilemetainfo.h:24,
from celsplashscreen.h:26,
from celsplashscreen.moc.cpp:11:
/usr/include/predicateproperties.h:26: error: expected constructor, destructor,
I think the kde includes are in /opt/kde3/include not /usr/include.
You need to set the KDE_INCLUDES variable to point to the right place. This can probably be done on the ./configure line but I'm not sure of the exact syntax.
EDIT
******************************************
But it looks like the file kfilemetainfo.h is found in usr/include on your system. My version of that file is in opt/kde3/include. Maybe something changed in SUSE 10.3? Weird. Maybe Fridger can help you.
cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4


Return to “Development”