Page 1 of 1

Compiling error - Linux Newbee needs some serious help

Posted: 01.08.2003, 23:38
by Katelyn
Hi there, I must admit that I am very new in the Linux community, so I do not understand most of the already discussed technical problems about installing/compiling Celestia.
I am working on a AMD Athlon 1800+ machine with 256 MB Ram and have a GeForce 3 Graphics card using a Linux NVIDIA 3D driver. I have a pretty basic/new SuSE 8.0 installed just a few days ago. There is no other OS running on my machine.
First I tried installing the celestia.rpm files but always received an error.
After this I deinstalled the (texture) rpms and tried installing/compiling the source rpms and still get nasty errors every few lines while compiling. The last and most permanent error I receive is:
"checking for glNewList in -lGL... no
checking for glNewList in -lMesaGL... no
configure: error: GL library was not found"

After searching for hints on this specific error message on the internet I installed the mesa devel files because they were missing.
But I still get this nasty message.
Does anyone know a way out here? Thank you so much!

Katy

Posted: 03.08.2003, 09:36
by jamarsa
It seems that your system is unable to find the library file, but it also could be related to missing another X11 development library. Please send me the config.log file to jamarsa@yahoo.es , or post the last lines here. In this file you can see the test program compilation output.

Posted: 05.08.2003, 11:05
by jamarsa
Hi again, Katy. Thanks for sending me your config.log, and sorry for being a little slow answering, due to both work and social compromises (and a temporal DSL hangout here in my neighborhood :? ).

The relevant part of your config.log is here:

Code: Select all

configure:20119: checking for glNewList in -lGL
configure:20150: gcc -o conftest -ansi -W -Wall -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2     -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer   conftest.c -lGL    -lm   -lXmu -lXi -lXext -lX11 -lm -lz  -lGL >&5
/usr/i486-suse-linux/bin/ld: cannot find -lXmu
collect2: ld returned 1 exit status
configure:20153: $? = 1
configure: failed program was:
| #line 20126 "configure"


You lack the Xmu (X miscellaneous utilities) library in your system. After a quick research in the Suse 8.0 package tree, I think you have to install the xdevel package (xdevel-4.2.0-107.i386.rpm, located in suse/x2). Use your YaST tool to do it.

Hope this help you.

Further Compiling error - Linux Newbee needs some serious he

Posted: 06.08.2003, 20:03
by Katelyn
Hi Javier,

thanks to your help, the compiling process does no longer stop at the missing Xmu library: I installed it; compiling went on for a few lines and there is another error occuring:

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!

I used Yast2 to install ALL available development programs on my installation DVD that carry the name "qt" to make sure that the one I need is not missing but it still won't work. :-(

Do you have any ideas on this new problem? I could also send you the config.log file again if that helps.

I'm really sorry to bother you again - all I want is to run Celestia on my system....

Thank you so much in advance,

Katy

Posted: 06.08.2003, 23:28
by jamarsa
Katelyn wrote:I used Yast2 to install ALL available development programs on my installation DVD that carry the name "qt" to make sure that the one I need is not missing but it still won't work.

Do you have any ideas on this new problem? I could also send you the config.log file again if that helps.




Mmm, that's a bit trickier. I have looked at SuSE 8.0; it has the Qt 3.0.3 libraries as default, and it seems not enough for the KDE celestia.

You have four options:



Oh, and you don't need to ask sending your config.log. Just warn me in this thread after you send it. I'm pleased to help you.

It seems you are getting a tough Linux baptism!! :?

Posted: 06.08.2003, 23:29
by Darkbolt
look on the suse website, or kde.org for a qt rpm to download, you may also need kdelibs, and kdebase...There are some suse rpm's of celestia available for download aswell I believe, yast2 should be able to detect the dependencies and get them for you..

If you need any linux specific help I might refer you to http://www.justlinux.com :)

celestia and qt (suse + GeForce400MX)

Posted: 04.09.2003, 20:23
by gandg0
I have the same problem of Katelyn.: once downloaded source, i tried to compile it, but first I encountered some troubles with gl/glu (I solved installing mesa-common-devel (rpm) by one mandrake distribution cd), then configure didn't find my qt3(qt3.1). I don't think this is a problem from release, but some incompatibilities between configure of celestia and suse in general (I have suse 7.1 with much upgrades and kde3.01 in perfect order). If somebody solve the problem, can comunicate solution to me here, please.

Posted: 04.09.2003, 21:13
by jamarsa
Mmm, I don't think you will be able to compile the last version of celestia (newer than 1.3.0) with KDE 3.01. You need either to install KDE 3.1 (i.e., compiling it from source or upgrading to a different and/or newer Linux distribution), or use celestia 1.3.0 or older versions (avaliable at Sourceforge ).