[GRASS-dev] build grass on osx 10.5-leopard (can't find opengl lib)

Massimo Di Stefano massimodisasha at yahoo.it
Sat Feb 9 12:52:05 EST 2008


Hi

i'm tring to build grass-svn
on osx-10.5 but
i'm having some difficoult to build it
beacouse the configure step don't find
the opengl libtraries.

As explained in the macosx readme
i need to modify the files :

grass_trunk/include/Make/Platform.make.in
grass_trunk/configure

what i done :

in Platform.make.in changed the line 160 to :

OPENGLLIB           = -dylib_file /usr/X11/lib/libGL.dylib:/usr/X11/ 
lib/libGL.dylib -undefined dynamic_lookup


but in the file :

configure

here i'm having problems to undstand what needs a modify, i tried to  
replace all the :

		 " -lGL "

with :

		"  -dylib_file /usr/X11/lib/libGL.dylib:/usr/X11/lib/libGL.dylib "

or

		" -/usr/X11/lib/libGL.dylib:/usr/X11/lib/libGL.dylib "

....or again :

		" -/usr/X11/lib/libGL.dylib "


but  the  ./configure ... ...   fail

		configure: error: *** Unable to locate OpenGL library.

obviously (apologize me for these) i'm wrong to modify the configure  
file.


thaks a lot for your help,

Massimo.
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20080209/25f5b919/attachment.html


More information about the grass-dev mailing list