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.
Help with Celestia on FreeBSD 5
-
- Developer
- Posts: 944
- Joined: 18.07.2002
- With us: 22 years 4 months
- Location: Lyon (France)
-
Topic authorRichard
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.
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.
-
- Developer
- Posts: 944
- Joined: 18.07.2002
- With us: 22 years 4 months
- Location: Lyon (France)