Page 1 of 1

Celestia 1.3.0 on Debian 3.0

Posted: 08.06.2003, 12:38
by jsaathof
Hi,

I'm trying to get celestia 1.3.0 working on Debian 3.0. First I tried the binary packages. Although there were no binary packages, I think the Suze ones are the closest to working. However I get the following error when I run the program:

Error reading configuration file.ERROR: KUniqueApplication: DCOP communication error!

I then tried the source package, but got the following error wher running configure:

checking GL/gl.h usability... yes
checking GL/gl.h presence... no
configure: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: GL/gl.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING: ## ------------------------------------ ##
checking for GL/gl.h... no
configure: error: No gl.h found. See INSTALL file for ddetails about how to correct this problem.

In the INSTALL file I couldn't find anything. In the config.log I found the following:

configure:19984: checking GL/gl.h usability
configure:19997: gcc -c -ansi -W -Wall -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOUR
CE=500 -D_BSD_SOURCE -DNDEBUG -O2 -I/usr/X11R6/include -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-
frame-pointer conftest.c >&5
In file included from configure:20042:
/usr/X11R6/include/GL/gl.h:2550: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:2565: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:2665: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:2666: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:2667: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:2668: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:2671: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:2672: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:2690: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:2691: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:2692: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:2693: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:2694: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:2695: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:2696: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:2697: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:2750: warning: declaration of `access' shadows global declaration
/usr/X11R6/include/GL/gl.h:2920: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:2924: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:2925: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:2926: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:2927: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:2928: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:2929: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:2930: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:2931: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:2936: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:2937: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:2938: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:2939: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:2940: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:2941: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3143: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3144: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3145: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3146: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3147: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3148: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3149: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3150: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3151: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3152: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3153: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3154: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3155: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3156: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3157: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3158: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3159: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3160: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3161: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3162: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3163: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3164: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3165: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3166: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3167: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3168: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3169: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3170: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3171: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3172: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3173: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3174: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3175: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3176: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3177: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3178: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3179: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3180: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3181: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3182: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3183: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3184: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3185: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3186: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3187: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3188: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3189: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3190: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3191: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3192: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3193: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3194: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3195: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3196: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3197: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3198: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3199: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3200: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3201: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3202: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3203: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3204: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3205: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3206: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3207: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3208: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3209: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3210: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3211: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3212: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3213: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3214: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3215: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3216: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3217: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3218: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3219: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3220: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3221: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3222: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3223: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3224: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3225: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3226: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3227: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3228: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3229: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3230: warning: declaration of `index' shadows global declaration
/usr/X11R6/include/GL/gl.h:3231: warning: declaration of `index' shadows global declaration
configure:20000: $? = 0
configure:20003: test -s conftest.o
configure:20006: $? = 0
configure:20016: result: yes
configure:20020: checking GL/gl.h presence
configure:20031: gcc -E conftest.c
configure:20044: GL/gl.h: No such file or directory
configure:20037: $? = 1
configure: failed program was:
| #line 20022 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "celestia"
| #define VERSION "1.3.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_TEMPLATE_REPOSITORY 1
| /* end confdefs.h. */
| #include <GL/gl.h>
configure:20056: result: no
configure:20062: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!
configure:20064: WARNING: GL/gl.h: proceeding with the preprocessor's result
configure:20092: checking for GL/gl.h
configure:20099: result: no
configure:20109: error: No gl.h found. See INSTALL file for ddetails about how to correct this problem.

I run configure with the following options:

configure --disable-static --with-kde --enable-kernel-threads --with-xinerama

I have XFree86 4.3.0 with NVidia drivers 1.0.4363.

Can someone please help me? Thanks in advance.

Jurriaan

    Posted: 08.06.2003, 14:46
    by Guest
    You don't need me to tell you the problem here is with GL libraries. Unfortunately I've not had a great deal of luck compiling Celestia on Debian myself either, but at least GL is one of the stages I passed.

    You mention you have the nvidia drivers - did you also install their GLX components? Other than this, I can only suggest you check in dselect that you have libglut3 ande libglut3-dev installed.

    Posted: 08.06.2003, 16:03
    by jamarsa
    I'm not sure now without a bit of testing, but I'd guess you have a little problem with a include path (gcc -E -I/usr/X11R6/include conftest.c) . Also I would check if you have the right gl.h, as it's known sometimes the nvidia driver replaces wrongly this file.
    [/b]

    Posted: 08.06.2003, 17:44
    by jsaathof
    I got it working properly! Thanks a lot.

    I had already tried to enter the /usr/X11R6/include path through the --with-gl-inc=/usr/X11R6/include which didn't work. As a last resort I tried the CPPFLAGS=-I/usr/X11R6/include in front of the configure script. That worked! However I got a whole lot of warnings during compilation.

    Nevertheless it works. Thanks!

    Jurriaan

    Posted: 08.06.2003, 20:17
    by adyga
    jsaathof, can you share your knowledge with me ?
    I was trying to install Celestia 1.3.0 on my Knoppix machine (debian testing/unstable distribution)
    can specify which file you have chosen and the commands you used for compiling ?
    I asked for help in this forum days ago but it seems nobody here a linux-junkie to get it work on debian-wanna-be systems
    I appreciate your help ! :D

    Posted: 09.06.2003, 13:08
    by jamarsa
    adyga:

    I read your previous ask for help, but since Christophe answered you and he is far more qualified than me to respond, I didn't ask you for data... Can you send me the config.log? You can send it to jamarsa@yahoo.es.

    Posted: 09.06.2003, 21:05
    by adyga
    Thanks jamarsa for proposing help :D well its solved now :D :D
    here is a link for it:
    http://www.knoppix.net/forum/viewtopic.php?t=2931
    please forgive me:oops: , anyway I guess that I can count on you on other similar problem ?? :lol: 8) :roll: