Page 1 of 1

Celestia 1.3.2 Solaris 9

Posted: 19.07.2005, 01:34
by gmcafee
I am trying to install Celestia 1.3.2 on a Ultra 10 running Solaris 9. I ran into difficulty right at the configure step! The 'config.log' file contains:.
...
configure:19755: checking GL/glut.h presence
configure:19762: gcc -E conftest.c
configure:19768: $? = 0
configure:19786: result: yes
configure:19804: checking for GL/glut.h
configure:19811: result: yes
configure:19830: checking for glutKeyboardUpFunc in -lglut
configure:19863: gcc -o conftest -DNDEBUG -O2 -I/usr/openwin/include -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer conftest.c -lglut -lGLU -lGL -lz -lSM -lICE -lm -L/usr/openwin/lib -R/usr/openwin/lib -lXmu -lXi -lXext -lX11 -lm -lz -lsocket -lnsl -lGL >&5
Undefined first referenced
symbol in file
glXGetProcAddressARB /usr/openwin/lib/libglut.so
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:19866: $? = 1
configure: failed program was:
#line 19837 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char glutKeyboardUpFunc ();
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
glutKeyboardUpFunc ();
;
return 0;
}
configure:19883: result: no
configure:19893: error: GLUT library version >= 3.7 not found

GLUT 3.7 is installed...libglut.a and libglut.so are both in /usr/openwin/lib. Note also the 'glXGetProcAddressARB' symbol error! What gives? :?
Has anyone successfully installed Celestia on an older Sun box?

Thanks
Graeme

Posted: 19.07.2005, 07:02
by steffens
I'm not an expert, but...
Looks like libglut.so is found but unable to reference the symbol "glXGetProcAddressARB". Are you sure that your OpenGL / GLX setup is correct? Did you have success running or even compiling other OpenGL programs?

steffens

PS: please do not modify the default text color when posting. The white text is impossible to read on my light gray background. Thanks

Posted: 19.07.2005, 17:47
by gmcafee
I'm not an expert either, but as far as I can tell my OpenGL/GLX setup is ok. As a test I recompiled the GLUT 3.7 progs and examples that came with GLUT 3.7 downloaded from the Sun website. I was able to compile and run most, not all (two or three). Those that failed displayed the following error:

GLUT: Fatal Error in blah blah: visual with necessary capabilities not found.

That I suspect is due to the limitations of the Elite 3D-M3 graphics card installed.

Graeme