Page 1 of 1

Need some help for instaling celestia in Linux

Posted: 29.03.2003, 13:00
by xyz
this is how far i got

[root@localhost celestia-1.2.4]# ./configure --with-gnome
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... c++ -E
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking whether to include debugging code... no
checking whether to be pedantic... no
checking whether to do profiling... no
checking whether to disable GTK.... no
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking for gdk_gl_query in -lgtkgl... no
configure: warning: Disabled GTK GUI because of missing necessary packages
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for GL/gl.h... yes
checking for glNewList in -lGL... yes
checking for GL/glu.h... yes
checking for gluLookAt in -lGLU... yes
checking for GL/glut.h... yes
checking for glutKeyboardUpFunc in -lglut... no
configure: error: GLUT library version >= 3.7 not found

i tried to download Glut >3.7 but the saim error!
i'm using a redHat 8.0 linux, and i finaly managed to instal my gForce III, and GL on it.

Posted: 29.03.2003, 13:17
by Christophe
Check for the exact error at the end of the config.log file, you're probably missing another librairy.

It could also help if you tell us what distrib you're using. I you have the KDE3 libs installed you should try using the KDE version instead, the gnome version is not actively maintained anymore and is missing many features.

Posted: 31.03.2003, 12:32
by Guest
I'm using GNOME, but i've also installed the KDE, and my linux distributin i thing it is 2.84, 18-14, but i'm not shuer. So enyway thenks for the config.log! Ill what i can do!

Posted: 07.04.2003, 20:25
by xyz
ok, i looked, and looked, but... O Boy!

here it is

I give up for now

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:598: checking for a BSD compatible install
configure:651: checking whether build environment is sane
configure:708: checking whether make sets ${MAKE}
configure:754: checking for working aclocal
configure:767: checking for working autoconf
configure:780: checking for working automake
configure:793: checking for working autoheader
configure:806: checking for working makeinfo
configure:846: checking host system type
configure:874: checking for gcc
configure:987: checking whether the C compiler (gcc ) works
configure:1003: gcc -o conftest conftest.c 1>&5
configure:1029: checking whether the C compiler (gcc ) is a cross-compiler
configure:1034: checking whether we are using GNU C
configure:1043: gcc -E conftest.c
configure:1062: checking whether gcc accepts -g
configure:1103: checking for c++
configure:1135: checking whether the C++ compiler (c++ ) works
configure:1151: c++ -o conftest conftest.C 1>&5
configure:1177: checking whether the C++ compiler (c++ ) is a cross-compiler
configure:1182: checking whether we are using GNU C++
configure:1191: c++ -E conftest.C
configure:1210: checking whether c++ accepts -g
configure:1244: checking how to run the C preprocessor
configure:1265: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1324: checking how to run the C++ preprocessor
configure:1342: c++ -E conftest.C >/dev/null 2>conftest.out
configure:1378: checking for a BSD compatible install
configure:1433: checking for ranlib
configure:1468: checking whether to include debugging code
configure:1487: checking whether to be pedantic
configure:1502: checking whether to do profiling
configure:1572: checking whether to disable GTK.
configure:1634: checking for gtk-config
configure:1669: checking for GTK - version >= 1.2.0
configure:1770: gcc -o conftest -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include conftest.c -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lm 1>&5
configure:1869: checking for gdk_gl_query in -lgtkgl
configure:1888: gcc -o conftest conftest.c -lgtkgl -lm -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lGL 1>&5
/usr/bin/ld: cannot find -lgtkgl
collect2: ld returned 1 exit status
configure: failed program was:
#line 1877 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char gdk_gl_query();

int main() {
gdk_gl_query()
; return 0; }
configure:2924: checking for X
configure:3238: checking for dnet_ntoa in -ldnet
configure:3257: gcc -o conftest conftest.c -ldnet -lm -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lGL 1>&5
/usr/bin/ld: cannot find -ldnet
collect2: ld returned 1 exit status
configure: failed program was:
#line 3246 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:3279: checking for dnet_ntoa in -ldnet_stub
configure:3298: gcc -o conftest conftest.c -ldnet_stub -lm -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lGL 1>&5
/usr/bin/ld: cannot find -ldnet_stub
collect2: ld returned 1 exit status
configure: failed program was:
#line 3287 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:3327: checking for gethostbyname
configure:3355: gcc -o conftest conftest.c -lm -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lGL 1>&5
configure:3425: checking for connect
configure:3453: gcc -o conftest conftest.c -lm -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lGL 1>&5
configure:3517: checking for remove
configure:3545: gcc -o conftest conftest.c -lm -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lGL 1>&5
configure:3609: checking for shmat
configure:3637: gcc -o conftest conftest.c -lm -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lGL 1>&5
configure:3710: checking for IceConnectionNumber in -lICE
configure:3729: gcc -o conftest -L/usr/X11R6/lib conftest.c -lICE -lm -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lGL 1>&5
configure:3779: checking for GL/gl.h
configure:3789: gcc -E conftest.c >/dev/null 2>conftest.out
configure:3818: checking for glNewList in -lGL
configure:3837: gcc -o conftest -I/usr/X11R6/include -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include conftest.c -lGL -lSM -lICE -lm -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lGL -L/usr/X11R6/lib -lXmu -lXi -lXext -lX11 -lm -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm 1>&5
configure:3920: checking for GL/glu.h
configure:3930: gcc -E conftest.c >/dev/null 2>conftest.out
configure:3959: checking for gluLookAt in -lGLU
configure:3978: gcc -o conftest -I/usr/X11R6/include -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include conftest.c -lGLU -lGL -lSM -lICE -lm -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lGL -L/usr/X11R6/lib -lXmu -lXi -lXext -lX11 -lm -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm 1>&5
configure:4062: checking for GL/glut.h
configure:4072: gcc -E conftest.c >/dev/null 2>conftest.out
configure:4101: checking for glutKeyboardUpFunc in -lglut
configure:4120: gcc -o conftest -I/usr/X11R6/include -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include conftest.c -lglut -lGLU -lGL -lSM -lICE -lm -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lGL -L/usr/X11R6/lib -lXmu -lXi -lXext -lX11 -lm -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm 1>&5
/usr/bin/ld: cannot find -lglut
collect2: ld returned 1 exit status
configure: failed program was:
#line 4109 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char glutKeyboardUpFunc();

int main() {
glutKeyboardUpFunc()
; return 0; }

got a clue?

Posted: 07.04.2003, 21:24
by Thilo
I agree with Christophe ...

While I was unable to get celestia running with glut with ALOT of work putting behind it, it worked with the KDElibs after relatively few work ... you *should* try the kde version. It's really really neat :D

Posted: 07.04.2003, 21:39
by Christophe
xyz,

The important part is:

Code: Select all

configure:4120: gcc -o conftest -I/usr/X11R6/include -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include conftest.c -lglut -lGLU -lGL -lSM -lICE -lm -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lGL -L/usr/X11R6/lib -lXmu -lXi -lXext -lX11 -lm -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm 1>&5
/usr/bin/ld: cannot find -lglut
collect2: ld returned 1 exit status


which means that you don't have glut installed, or that it's not installed correctly.

Try:

Code: Select all

rpm -qa | grep -i glut


to find any glut package installed on your system, then you can do a rpm -ql on the result to find out where the lib is installed, it should be in /usr/X11R6/lib or /usr/lib. If it's not you need to run configure with the option '--with-glut-libs=/path/to/lib'

Gnome is fundamentally better then KDE

Posted: 19.04.2003, 17:42
by Rulig
If you have the KDE3 libs installed you should try using the KDE version instead, the gnome version is not actively maintained anymore and is missing many features.

I would ask the developers to support GTK/Gnome better. KDE is a scary monster. I tried to set up my system so, that all applications would share the same graphic toolkit. GTK is the only library that offers full range of applications sharing the same look and feel. Qt&kde takes up the disk space without giving anything new. Unfortunately, lot of good work is lost because of Qt dependency.

Re: Gnome is fundamentally better then KDE

Posted: 19.04.2003, 19:05
by Christophe
Rulig wrote:I would ask the developers to support GTK/Gnome better.

Celestia is a free software project, you're welcome to participate. We currently have no GTK/Gnome developer and I personnally have no plan to start learning GTK so the situation is not likely to change unless someone volunteers.

Rulig wrote:KDE is a scary monster. I tried to set up my system so, that all applications would share the same graphic toolkit. GTK is the only library that offers full range of applications sharing the same look and feel.

I doubt that, you can't have a full range of applications unless you're using GTK1 and 2 applications which breaks the consistent look and feel.

Rulig wrote:Qt&kde takes up the disk space without giving anything new. Unfortunately, lot of good work is lost because of Qt dependency.


Well, one could use the exact same argument against GTK. Personnally I don't mind using both QT and GTK apps although I very rarely feel the need to use a Gnome application except the Gimp. And considering today's hard disk prices the disk space argument is really moot.

Re: Gnome is fundamentally better then KDE

Posted: 08.05.2003, 05:51
by Guest
Christophe wrote:
Rulig wrote:I would ask the developers to support GTK/Gnome better.

Celestia is a free software project, you're welcome to participate. We currently have no GTK/Gnome developer and I personnally have no plan to start learning GTK so the situation is not likely to change unless someone volunteers.

Rulig wrote:KDE is a scary monster. I tried to set up my system so, that all applications would share the same graphic toolkit. GTK is the only library that offers full range of applications sharing the same look and feel.

I doubt that, you can't have a full range of applications unless you're using GTK1 and 2 applications which breaks the consistent look and feel.

Rulig wrote:Qt&kde takes up the disk space without giving anything new. Unfortunately, lot of good work is lost because of Qt dependency.

Well, one could use the exact same argument against GTK. Personnally I don't mind using both QT and GTK apps although I very rarely feel the need to use a Gnome application except the Gimp. And considering today's hard disk prices the disk space argument is really moot.


you suck, i will never use this stupid software unless you support GTK. I spent 2 hours downloading this crap and another 2 hours debugging this stupid GLUT error to no end only to read through this forum to find that Gnome is not supported. You should post that you don't support GTK anymore on your download page and save people alot of headaches.

Posted: 08.05.2003, 11:20
by billybob884
friendly lil' guy, isn't he?

Posted: 08.05.2003, 12:51
by marc
Im surprised, your'e using linux and you dont understand this :

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

Also, look really carefully, on the download page all the rpms have the letters 'kde' in them.

If you want easy go back to windows.

i will never use this stupid software unless you support GTK.

Im sure no one cares whether you do or not.

Posted: 08.05.2003, 16:36
by jamarsa
Oof, what a bad feel after reading things as these...

I personally prefer Gnome for simplicity and style, after feeling the Kde desktop a bit overloaded; although I agree there is a lot of good work Kde-based, and I use a lot of Kde things while i am in Gnome. Also Qt-based software is good for my zaurus too!! :lol: But at least we can have a choice, can't we?

Posted: 13.05.2003, 02:55
by Guest
Unlike the earlier idiot poster, I will ask nicely.

Please improve GTK support if it is indeed broken. I would love to try this software, but my computer only have Linux with Gnome2.2 installed. For a linux noob installing all that from stratch (no distro) was pretty amazing. But I don't know if I could install KDE from source just to have this software. :sigh:

Posted: 13.05.2003, 03:42
by selden
Please take a look at the posting http://63.224.48.65/forum/viewtopic.php?t=2341

It may not be specific to NetBSD.

Posted: 13.05.2003, 08:45
by Christophe
The GTK version of Celestia is not broken, it's just not maintained anymore which means that new features are not added to the interface. However since most features are in fact features of the embeded Celestia engine you can still take advantage of them (e.g. multiview).

Although I mainly work on the KDE version, before each release I still check that the GLUT and GTK versions build and work properly. The main problem people seem to have with the GTK version is building it which requires Gnome 1 (not 2) with the devel packages and its many dependancies, but I really can't help there.

Posted: 13.05.2003, 12:30
by t00fri
In the past, I did quite a bit of coding for the Celestia-gtk interface. I never had and still have no problems whatsoever building and running the gtk version. It runs very well, but is missing quite a number of recent 'goodies' that are to be found in the KDE version.

The classical/traditional credo in the UNIX world was always that applications should be coded /independently/ of any particular desktop or window manager! After extensive discussions among us developers I gave in;-). The 'MS Windows role model' is simply too powerful and KDE, Gnome and friends are competing in this philosophy to attract potential Linux users that have no idea about the underlying system.

Fine, the above (unpleasant) discussion is an example of what I anticipated when we went through this issue some time ago...


Bye Fridger

Posted: 13.05.2003, 16:14
by jamarsa
I compiled first a Gnome version of celestia 1.2.5 and it worked very well, altough it lacked a buttoned interface. As i have KDE installed too, later shifted to a KDE compiling, seeking a richer interaction, but I wouldn't say the Gnomeish version was unusable, only 'harder' to use - the keyboard commands worked.

Posted: 14.05.2003, 00:11
by Guest
The main problem people seem to have with the GTK version is building it which requires Gnome 1 (not 2) with the devel packages and its many dependancies, but I really can't help there.


Then why isn't that stated on the site somewhere? (FAQ?)