[GRASSLIST:1801] configure with OpenGL

Hi,

I was wondering whether it is possible to configure grass 5.0.3 using the opengl framework already present in Mac OS X - I've tried pointing ./configure at the directories:

./configure --with-includes=/usr/local/include/ --with-libs=/usr/local/lib/ -with-postgres-includes=/usr/local/pgsql/include/ -with-postgres-libs=/usr/local/pgsql/lib/ --with-opengl-includes=/System/Library/Frameworks/OpenGL.framework/Headers/ --with-opengl-libs=/System/Library/Frameworks/OpenGL.framework/Libraries/

but it fails - the configure script checks for includes in GL/gl.h and GL/glu.h and doesn't find the folder GL within the Headers directory. The headers and libraries all seem to be there - will they work?

Thanks,
David

David Orme wrote:

I was wondering whether it is possible to configure grass 5.0.3 using
the opengl framework already present in Mac OS X - I've tried pointing
./configure at the directories:

./configure --with-includes=/usr/local/include/
--with-libs=/usr/local/lib/
-with-postgres-includes=/usr/local/pgsql/include/
-with-postgres-libs=/usr/local/pgsql/lib/
--with-opengl-includes=/System/Library/Frameworks/OpenGL.framework/
Headers/
--with-opengl-libs=/System/Library/Frameworks/OpenGL.framework/
Libraries/

but it fails - the configure script checks for includes in GL/gl.h and
GL/glu.h and doesn't find the folder GL within the Headers directory.
The headers and libraries all seem to be there - will they work?

No. NVIZ requires Unix/X11 versions of both OpenGL and Tcl/Tk.

--
Glynn Clements <glynn.clements@virgin.net>

On Tue, 18 Nov 2003, Glynn Clements wrote:

David Orme wrote:

> I was wondering whether it is possible to configure grass 5.0.3 using
> the opengl framework already present in Mac OS X - I've tried pointing
> ./configure at the directories:
No. NVIZ requires Unix/X11 versions of both OpenGL and Tcl/Tk.

--
Glynn Clements <glynn.clements@virgin.net>

On the other hand, you CAN point configure at the Unix/X11 versions of
OpenGL, which are installed in /usr/X11R6 if you have either Apple's own
distribution of X11, or the XFree86 that can be installed with fink (or
any other way of installing XFree86, for that matter).

Adding --with-opengl-includes=/usr/X11R6/include to the configure
command is all I need on my machines for grass (at least >= 5.0.2) to find
all the necessary files.