Massimo Di Stefano wrote: > 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.
If configure can't detect OpenGL itself, use --without-opengl then modify include/config.h and include/Make/Platform.make once configure has finished. -- Glynn Clements <[EMAIL PROTECTED]> _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
