[GRASS5] 5.0.0pre1 on mac osx
Malcolm Blue
mblue at nb.sympatico.ca
Tue Apr 24 17:30:40 EDT 2001
Andy,
Congrats on your near success.
Probably the most serious problem is getting the graphics driver working. Do you
know if your system supports sockets? (I think most do, but maybe there are some
functions used that Max OS X doesn't support. Or possibly, some of the X
functions aren't supported. To check this, go to src/display/devices/lib and
src/display/devices/XDRIVER and do a gmake5. You should probably save the output
from this, so redirect it into a file, like so
gmake5 > gmake5.out 2>&1
This will save all of the messages from the make. If gmake5 isn't installed into
a directory in your path, you can either add it or use the full pathname
(/usr/local/bin/gmake5). Check out the error messages from the output file to
see what the trouble is. If you have trouble with the errors, you can copy part
of the output file into you next email, to let people see what's happening.
There are a few things to check. For tcltkgrass and NVIZ2.2 you need tcl8.0 and
tk8.0 (or higher). wish is from tk installation. NVIZ also needs Open GL of
some sort (either the SGI implementation or a clone like MESA).
For tcl/tk, look for tcl.h, tk.h in places like /usr/include or
/usr/local/include. Sometimes these are placed in different spots, so do a find
if there are not in the standard spots. Also look for libraries named tcl8.*.a
or tcl8.*.so and tk8.*.a or tk8.*.so. wish should be in /bin, /usr/bin or
/usr/local/bin, but it may be called wish8.*. Note that 8.0 and 8.3 are commonly
available now.
GL libraries and includes should be under the X11 path, in something like
/usr/X11R6/lib and /usr/X11R6/include/GL or /usr/X11/lib and
/usr/X11/include/GL. Check one of the Mac OS X sites, to see if others have this
available.
Quite possibly these aren't included in Mac OSX, but there should be versions
available by now. Try http://www.scriptics.com/products/tcltk for tcl/tk.
There may only be sources available for now.
It looks like a bunch of other libraries aren't available on your system, like
tiff, png, etc. These are available on the web as well.
I suspect other Mac OS X users can point you to sources for these.
Good luck,
Malcolm
andy agena wrote:
> Howdy all:
>
> I decided to go ahead an try to compile yesterday's cvs snapshot on Mac
> OS X (10.0.1) and had my first successful GRASS compile ever! -- I'm now
> 1 for 25. (Well, a few modules noted below didn't compile).
>
> I can't get tcltkgrass, d.mon via sockets, nor nviz to fly.
>
> - GRASS 5.0.0pre1 > /usr/local/grass5/bin/tcltkgrass: command not
> found: wish [3]
>
> - d.mon start=x0
> Error: could not execute '/usr/local/grass5/driver/XDRIVER'
> No socket to connect to for monitor <x0>
>
> - nviz2.2: Command not found
>
> From the compile error log:
>
> Compilation error in module: src/display/devices/XDRIVER (ignored)
> Compilation error in module: src/display/d.colors (ignored)
> Compilation error in module: src/display/d.scale (ignored)
> Compilation error in module: src/imagery/i.class (ignored)
> Compilation error in module: src/imagery/i.ortho.photo (ignored)
> Compilation error in module: src/imagery/i.points (ignored)
> Compilation error in module: src/imagery/i.points3 (ignored)
> Compilation error in module: src/imagery/i.vpoints (ignored)
> Compilation error in module: src/raster/r.in.gdal (ignored)
> Compilation error in module: src/raster/r.in.png (ignored)
> Compilation error in module: src/raster/r.out.png (ignored)
> Compilation error in module: src/raster/r.tiff (ignored)
> Compilation error in module: src.contrib/GMSL/NVIZ2.2 (ignored)
>
> since XDRIVER and NVIZ2.2 weren't compiled, obviously they won't work.
> How do I begin to troubleshoot this? Try gmake on them?
>
> Thanks,
> Andy Agena
>
> ----------------------------------------
> If you want to unsubscribe from GRASS Development Team mailing list write to:
> minordomo at geog.uni-hannover.de with
> subject 'unsubscribe grass5'
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'
More information about the grass-dev
mailing list