Trouble compiling Celestia.

General discussion about Celestia that doesn't fit into other forums.
Topic author
Gatonegro

Trouble compiling Celestia.

Post #1by Gatonegro » 15.11.2003, 00:56

Salut.

My name is Gatonegro (no, of course it isn't), I'm a physics student from Galiza (northwest of Spain). I have seen Celestia run on WinXP and I am impressed at the wonderful work you did with it. Now, I'm trying to install Celestia Running Mandrake GNU/Linux 9.0. under an Athlon XP 1900, 512Mb and enough HD space. I seem to fulfill all the requirements, both in
hardware and software, but still I have trouble.

Using GTK ("configure --with-gtk"), with the libjpeg installed, the Celestia config returns:

>
checking for jpeg_start_decompress in -ljpeg... no
configure: error: jpeg library not found
>

But "locate libjpeg" returns:

>
/usr/lib/libjpeg.so.62.0.0
/usr/lib/libjpeg.so.62
/usr/lib/libjpeg.la
/usr/lib/libjpeg.so
/usr/lib/libjpeg.a
/usr/lib/libjpeg
>

Being "/usr/lib/libjpeg" a symlink I made to libjpeg.so, just to see if it worked (didn't).

Just in case, I tried reinstalling from the Independent JPEG Group files, and the result was the same.

I have also tried to supply "/usr/lib/" as a path to "configure --with-gtk --with-extra-includes=/usr/lib/", with the same result.

Using Qt x11 free 3.2.1 from the Trolltech page, compiled with the -thread option, the configure of Celestia returns:

>
checking for Qt... configure: error: Qt (>= Qt 3.1.0) (library
qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!
>

If I do a "locate qt-mt" returns (after resetting the database with "sudo locate -u":

>
/usr/lib/qt3/lib/libqt-mt.prl
/usr/lib/qt3/lib/libqt-mt.so
/usr/lib/qt3/lib/libqt-mt.so.3
/usr/lib/qt3/lib/libqt-mt.so.3.0
/usr/lib/qt3/lib/libqt-mt.so.3.0.5
>

So the library seems to exist. I have tried "configure --with-qt-lib=/usr/lib/qt3/lib/", with the same result.

What can I do?

Thanks beforehand,
Gatonegro.

P.S.: I'll drop here my mail, just in case. You can write to user "luxfer" at "catlover.com".

Guest

Post #2by Guest » 16.11.2003, 01:13

Firstly - Your QT library version appears to be 3.0.5 but you need 3.1.0 or greater - so you'll need to grab a new one. It takes a week to compile (if you take the source route).

Next, I just had exactly the same trouble with JPEG. If you look at the config.log I think you'll find that it's not the jpeg library failing at all. For me it was that libgtkgl (included from -lgtkgl) couldn't be found. I just put --without-gtk and all is well.

If you need gtk then you'll have to hunt down this missing library gtkgl. Assuming this is the same problem as my Redhat 7.3 system has.

Chris

jamarsa
Posts: 326
Joined: 31.03.2003
With us: 21 years 8 months
Location: San Sebastian (Spain)

Post #3by jamarsa » 16.11.2003, 18:38

Ei, galegui?o, benvido ? foro!! :wink:

Chris is right, it might be something else than the jpeg library. Please send me your config.log, to see the output of the failed test program (well, you can see it by yourself too). The Qt errors are due to not supply the '--without-kde' option to configure, i.e., no QT/KDE version.


Send it to jamarsa@yahoo.es .

By the way, I'm running Celestia also in Mandrake 9.0, but I had to install the KDE 3.10 base&development libraries (and a few more programs, like autoconf, etc, etc.) to make it run. That is, if you want the KDE version, which is much better than the (outdated) Gnome one. I suggest you to upgrade to Mandrake 9.1 to achieve better results than me.

BTW, KDE version enable you to use Celestia in Galician tongue. Pretty, isn't it?

Star Lion
Posts: 116
Joined: 09.08.2003
With us: 21 years 4 months
Location: Mosesto CA

Post #4by Star Lion » 16.11.2003, 21:09

You can download a newer version of linux from http://www.linuxiso.org
(I am downloading Mandrake Linux right now, and I am going to double-boot it with Windows XP)
Come visit my:
Celestia Add-on website at:
http://www.starlionfiles.50megs.com
Reconstruction of Bruckners Celestia Page at:
http://www.bruckner.50megs.com
Celestia Mirror at:
http://www.celestiamirror.50megs.com

jamarsa
Posts: 326
Joined: 31.03.2003
With us: 21 years 8 months
Location: San Sebastian (Spain)

Post #5by jamarsa » 17.11.2003, 14:52

Star Lion wrote:(I am downloading Mandrake Linux right now, and I am going to double-boot it with Windows XP)



If you are going to install it in the same disk as XP, you must repartition your disk - and doing that without losing all your current data is impossible with the currently available free tools (like FIPS), being your filesystem a NTFS one.

You will need either use a commercial tool (perhaps Partition Magic) or reinstall XP completely.

Star Lion
Posts: 116
Joined: 09.08.2003
With us: 21 years 4 months
Location: Mosesto CA

:(

Post #6by Star Lion » 18.11.2003, 00:03

I have two had disks :roll: and the second one is formated with Fat-32 so I dident need to partiton My Windows XP drive :D

BTW When I tryed to run celestia using WINE linux did this Image
Come visit my:

Celestia Add-on website at:

http://www.starlionfiles.50megs.com

Reconstruction of Bruckners Celestia Page at:

http://www.bruckner.50megs.com

Celestia Mirror at:

http://www.celestiamirror.50megs.com


Return to “Celestia Users”