[GRASS5] GMSL/g3d error on OSX compile

Scott Mitchell smitch at mac.com
Wed Dec 10 12:44:13 EST 2003


It has worked for me on OS X using the two extra switches Glynn 
mentioned, with lesstif from fink - that should get found from your 
generic --with-includes and --with-libs lines - and your 
opengl-includes line will take care of finding the GLw stuff.

Scott

On 10-Dec-03, at 12:14, Glynn Clements wrote:

> Kirk R. Wythers wrote:
>
>> I'm building GRASS53 on Mac OSX. Here is my configure script:
>> ./configure \
>> --with-postgres-includes=/sw/include/postgresql \
>> --with-postgres-libs=/sw/lib/postgresql \
>> --with-gdal=/usr/local/bin/gdal-config \
>> --with-includes=/sw/include \
>> --with-libs=/sw/lib \
>> --with-opengl-includes=/usr/X11R6/include \
>> --with-readline \
>> --with-proj
>
> You also need to use the --with-glw and --with-motif switches, and
> possibly the corresponding --with-*-includes= and/or --with-*-libs=
> switches.
>
> Also, you need to have both GLw and Motif installed. GLw is included
> with recent versions of XFree86 (e.g. /usr/X11R6/lib/libGLwM.a), and
> is also available from Mesa (http://mesa3d.sourceforge.net/).
>
> For Motif, you could try LessTif (http://www.lesstif.org/), although I
> don't know whether it will be sufficiently compatible. Commercial Unix
> implementations normally include Motif; Linux users can use OpenMotif,
> which is free, but only for "Open Source" operating systems.
------
Scott W. Mitchell		Scott_Mitchell at carleton.ca
Department of Geography and Environmental Studies
Carleton University, B349 Loeb Building (Office A209)
1125 Colonel By Drive, Ottawa, ON Canada K1S 5B6
+1-613-520-2600 ext 2695 Fax: 1-613-520-4301





More information about the grass-dev mailing list