Help with Celestia on FreeBSD 5

General discussion about Celestia that doesn't fit into other forums.
Topic author
Richard

Help with Celestia on FreeBSD 5

Post #1by Richard » 13.05.2003, 08:32

Hi,
I'm trying to compile celestia 1.3 on Freebsd 5.0 and get the following error when 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

I have mesa installed and gl.h is present. I have run configure with
--with-gl-inc=/usr/X11R6/include/GL but get the same error.
Any help appreciated.
Thanks
configure: error: No gl.h found. See INSTALL file for ddetails about how to correct this problem.

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Post #2by Christophe » 13.05.2003, 09:09

Check for the exact error at the end of config.log, you should see there the compilation command that failed and a more detailed error message.
Christophe

Topic author
Richard

Post #3by Richard » 13.05.2003, 09:39

Thanks. The relevant bit of the config log is:

configure:20006: $? = 0
configure:20016: result: yes
configure:20020: checking GL/gl.h presence
configure:20031: gcc -E conftest.c
In file included from configure:20047:
/usr/include/GL/gl.h:2245:22: GL/glext.h: No such file or directory
configure:20037: $? = 1
configure: failed program was:
| #line 20022 "configure"

There then follows confdefs.h etc and a list of variables which I can copy if it would help but there are quite a few lines.

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Post #4by Christophe » 13.05.2003, 10:08

I think that's related to the not POSIX compliant use of test salo found while compiling Celestia on NetBSD, he's posted a patch, you should try and apply it. He has posted another patch that you'll probably need here.
Christophe


Return to “Celestia Users”