Page 1 of 1

Celestia not starting in Fedora 11

Posted: 16.10.2009, 05:07
by shahdharmit
Hello,

I am Fedora 11 user. I just downloaded Celestia as I am fascinated by the outer space stuffs.

When I try to start it through the command line, I get the following error message-

Code: Select all

(celestia:5150): GtkGLExt-WARNING **: cannot create GdkGLContext


(celestia:5150): GdkGLExt-CRITICAL **: gdk_gl_window_impl_x11_make_context_current: assertion `GDK_IS_GL_CONTEXT_IMPL_X11 (glcontext)' failed
render path: 0


Can someone please tell me how to solve the issue? Thanks.

Re: Celestia not starting in Fedora 11

Posted: 17.10.2009, 00:26
by John Van Vliet
--- edit ---

No Luck yet...

Posted: 18.10.2009, 04:29
by shahdharmit
I installed it through yum. I followed all the steps that you specified in the previous post. But nothing helped. I installed nvidia drivers as per the guidance from http://forums.fedoraforum.org/showpost.php?p=1114769&postcount=1 but yet celestia gives me the following errors

Code: Select all

(celestia:3090): GnomeUI-WARNING **: While connecting to session manager:
None of the authentication protocols specified are supported.

(celestia:3090): GtkGLExt-WARNING **: cannot create GdkGLContext


(celestia:3090): GdkGLExt-CRITICAL **: gdk_gl_window_impl_x11_make_context_current: assertion `GDK_IS_GL_CONTEXT_IMPL_X11 (glcontext)' failed
render path: 0


I found one of your posts at http://forums.fedoraforum.org/showpost.php?p=1212924&postcount=9
SO I am grabbing the source code right now and will try to install it. I've never had luck with installation directly from the source code. I can't go beyond

Code: Select all

./configure

Everywhere I find the instruction asking me to run

Code: Select all

make
but it always gives me an error that no targets specified. I have never installed a single software successfully through the command line. :(

Re: Celestia not starting in Fedora 11

Posted: 18.10.2009, 04:56
by John Van Vliet
--- edit ---

Re: Celestia not starting in Fedora 11

Posted: 18.10.2009, 06:06
by shahdharmit
That indeed was a big download.

from svn source https://celestia.svn.sourceforge.net/svnroot/celestia/trunk I couldn't find what to download.

And from the source, I already have downloaded the tar.gz. Should I do installation as per the instructions in its README file?

Sorry for making this long but I don't seem to be able to figure out what exactly I need to do...

Thanks.

Re: Celestia not starting in Fedora 11

Posted: 18.10.2009, 06:45
by John Van Vliet
--- edit ---

Re: Celestia not starting in Fedora 11

Posted: 18.10.2009, 09:05
by shahdharmit

Code: Select all

[dharmit@dharmit celestia]$ ./configure --help
bash: ./configure: No such file or directory
[dharmit@dharmit celestia]$ autoreconf -v -i
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal -I macros
autoreconf: configure.in: tracing
autoreconf: configure.in: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION
autoreconf: running: libtoolize --copy
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `admin'.
libtoolize: copying file `admin/ltmain.sh'
libtoolize: putting macros in `macros'.
libtoolize: copying file `macros/libtool.m4'
libtoolize: copying file `macros/ltoptions.m4'
libtoolize: copying file `macros/ltsugar.m4'
libtoolize: copying file `macros/ltversion.m4'
libtoolize: copying file `macros/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
autoreconf: Leaving directory `.'
[dharmit@dharmit celestia]$ ./configure --prefix=/usr --with-gnome
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... unsupported
checking dependency style of gcc... gcc3
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... no
checking for iconv... no, consider installing GNU libiconv
checking for GNU gettext in libintl... no
checking whether to use NLS... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) unsupported
checking dependency style of gcc... (cached) gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C preprocessor... /lib/cpp
configure: error: in `/home/dharmit/src/celestia':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
[dharmit@dharmit celestia]$ make
make: *** No targets specified and no makefile found.  Stop.
[dharmit@dharmit celestia]$

Re: Celestia not starting in Fedora 11

Posted: 18.10.2009, 20:00
by John Van Vliet
--- edit ---

Re: Celestia not starting in Fedora 11

Posted: 19.10.2009, 09:29
by shahdharmit
I did a fresh install. I didn't like fedora 10 much.

The log file is so huge that I can't understand what to do.... :(
I am trying to attach it with the post but it refused me from attaching .log, .txt and plain config file....

Re: Celestia not starting in Fedora 11

Posted: 19.10.2009, 11:26
by selden
You can attach it if you put it into a zip file, which would also make it smaller.

The underlying problem should be mentioned near the beginning of the log. One problem often causes many others.

Re: Celestia not starting in Fedora 11

Posted: 19.10.2009, 15:30
by shahdharmit
Here's the error log attached....

Re: Celestia not starting in Fedora 11

Posted: 20.10.2009, 09:23
by John Van Vliet
--- edit ---

Re: Celestia not starting in Fedora 11

Posted: 20.10.2009, 16:32
by shahdharmit
John, I did install all the devel packages when you mentioned about it earlier. Now it's the following problem. I think last line talks about the error. I checked all thos packages and they are already installed. And frankly, I don't know how to set those environment variables mentioned in the last few lines.

Code: Select all

[dharmit@dharmit celestia]$ ./configure --prefix=/usr --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
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... g++ -E
checking for a BSD-compatible install... /usr/bin/install -c -p
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether to include debugging code... no
checking whether to be pedantic... no
checking whether to do profiling... no
checking whether to enable GLUT... no
checking whether to enable GTK... yes
checking whether to enable Gnome... yes
checking whether to enable KDE... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking whether gcc is blacklisted... no
checking whether g++ supports -Wmissing-format-attribute... yes
checking whether gcc supports -Wmissing-format-attribute... yes
checking whether g++ supports -Wundef... yes
checking whether g++ supports -Wno-long-long... yes
checking whether g++ supports -Wno-non-virtual-dtor... yes
checking whether g++ supports -fno-reorder-blocks... yes
checking whether g++ supports -fno-exceptions... yes
checking whether g++ supports -fno-check-new... yes
checking whether g++ supports -fno-common... yes
checking whether g++ supports -fexceptions... yes
checking whether system headers can cope with -O2 -fno-inline... irrelevant
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -O0... yes
checking whether g++ supports -Wl,--no-undefined... yes
checking whether g++ supports -Wl,--allow-shlib-undefined... yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for deflate in -lz... yes
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking for glNewList in -lGL... yes
checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking for gluLookAt in -lGLU... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK... configure: error: Package requirements (libgnomeui-2.0 gtk+-2.0 >= 2.6 gtkglext-1.0) were not met:

No package 'gtkglext-1.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


Re: Celestia not starting in Fedora 11

Posted: 20.10.2009, 19:43
by John Van Vliet
--- edit ---

Installed! Now poet installation issues!

Posted: 21.10.2009, 10:06
by shahdharmit
John, you rock man. It finally got installed on my laptop. Thanks a lot.

Now there are some post installation issues..... :(

Code: Select all

[root@dharmit celestia]# celestia

(celestia:14419): GtkGLExt-WARNING **: cannot create GdkGLContext


(celestia:14419): GdkGLExt-CRITICAL **: gdk_gl_window_impl_x11_make_context_current: assertion `GDK_IS_GL_CONTEXT_IMPL_X11 (glcontext)' failed

(celestia:14419): GtkGLExt-WARNING **: cannot create GdkGLContext


(celestia:14419): GdkGLExt-CRITICAL **: gdk_gl_window_impl_x11_make_context_current: assertion `GDK_IS_GL_CONTEXT_IMPL_X11 (glcontext)' failed
render path: 0

warning: .dynamic section for "/usr/lib/libXau.so.6" is not at the expected address

warning: difference appears to be caused by prelink, adjusting expectations

warning: .dynamic section for "/usr/lib/libdbus-glib-1.so.2" is not at the expected address

warning: difference appears to be caused by prelink, adjusting expectations

warning: .dynamic section for "/usr/lib/libavahi-glib.so.1" is not at the expected address

warning: difference appears to be caused by prelink, adjusting expectations

warning: .dynamic section for "/usr/lib/libavahi-common.so.3" is not at the expected address

warning: difference appears to be caused by prelink, adjusting expectations

warning: .dynamic section for "/lib/libselinux.so.1" is not at the expected address

warning: difference appears to be caused by prelink, adjusting expectations

warning: .dynamic section for "/usr/lib/libORBitCosNaming-2.so.0" is not at the expected address

warning: difference appears to be caused by prelink, adjusting expectations

warning: .dynamic section for "/usr/lib/libXfixes.so.3" is not at the expected address

warning: difference appears to be caused by prelink, adjusting expectations

warning: .dynamic section for "/usr/lib/libXrender.so.1" is not at the expected address

warning: difference appears to be caused by prelink, adjusting expectations

warning: .dynamic section for "/usr/lib/libXinerama.so.1" is not at the expected address

warning: difference appears to be caused by prelink, adjusting expectations

warning: .dynamic section for "/usr/lib/libXrandr.so.2" is not at the expected address

warning: difference appears to be caused by prelink, adjusting expectations

warning: .dynamic section for "/usr/lib/libXcursor.so.1" is not at the expected address

warning: difference appears to be caused by prelink, adjusting expectations

warning: .dynamic section for "/usr/lib/libXcomposite.so.1" is not at the expected address

warning: difference appears to be caused by prelink, adjusting expectations

warning: .dynamic section for "/usr/lib/libXdamage.so.1" is not at the expected address

warning: difference appears to be caused by prelink, adjusting expectations

warning: .dynamic section for "/lib/libexpat.so.1" is not at the expected address

warning: difference appears to be caused by prelink, adjusting expectations

warning: .dynamic section for "/lib/libattr.so.1" is not at the expected address

warning: difference appears to be caused by prelink, adjusting expectations

warning: .dynamic section for "/usr/lib/libcanberra-gtk.so.0" is not at the expected address

warning: difference appears to be caused by prelink, adjusting expectations


It also brings up a dialogue box saying
Celestia was unable to initialize OpenGL extensions. Graphics quality will be reduced. Only Basic render path will be available.

Re: Celestia not starting in Fedora 11

Posted: 21.10.2009, 18:26
by John Van Vliet
--- edit ---