[GRASS5] Mac OS X r.* errors

Greetings,

I just installed OS X on my main machine (500 mhz G4) and it compiled Grass in about 45 minutes (Now I can justify buying a dual-processor box, it would compile in less then 25 minutes)! : D

I pre-installed and compiled the PNG, TIFF, JPEG libraries, and all of the modules that failed to compile before installing their dependent libraries still fails to compile.

I would really like to get these raster formats working (at least TIFF) before I upload the binaries.

Note that I am unable to open files in GIF format. If I click on the 'RUN' module it states that "Couldn't execute 'r.in.gif': no such file or directory". Sure enough, the module is not to be found. Upon inspection of the install logs, I do not see any gif modules that were compiled - ignored or successful. There is a r.in.gif file in the src/raster directory.

The PNG module does not state any useful error messages, however the TFF module does.

Here is the log output for the TIFF module, followed by the PNG module.

#################################################################
/usr/src/grass/src/raster/r.tiff
  mkdir OBJ.powerpc-apple-nextstep3
  make -f OBJ.powerpc-apple-nextstep3/make.rules

rm -f OBJ.powerpc-apple-nextstep3/r.in.tiff.o
cc -g -O2 -I/usr/src/grass/src/include -c r.in.tiff.c
mv r.in.tiff.o OBJ.powerpc-apple-nextstep3/r.in.tiff.o
cc -o /usr/local/grass-5.0b/etc/bin/contrib/cmd/r.in.tiff OBJ.powerpc-apple-nextstep3/r.in.tiff.o /usr/src/grass/src/libes/LIB.powerpc-apple-nextste
p3/libgis.a -L/usr/local/lib -L/usr/X11R6/lib -L/usr/lib -ltiff -lz
/usr/bin/ld: table of contents for archive: /usr/local/lib/libtiff.a is out of date; rerun ranlib(1) (can't load from it)
GISGEN failure at STEP: src/raster/r.tiff

__________________________________________________________

GISGEN: src/raster/r.in.png - Tue Nov 14 16:12:52 PST 2000

#################################################################
/usr/src/grass/src/raster/r.in.png
  mkdir OBJ.powerpc-apple-nextstep3
  make -f OBJ.powerpc-apple-nextstep3/make.rules

rm -f OBJ.powerpc-apple-nextstep3/r.in.png.o
cc -g -O2 -I/usr/X11R6/include/ -I/usr/include/gr -I/usr/local/include -I/usr/include -I/usr/src/grass/src/include -c r.in.png.c
GISGEN failure at STEP: src/raster/r.in.png

Cheers,

Jeshua Lacock
(760) 935-4481
Cartographer/Owner
http://SierraMaps.com
http://3dTopoMaps.com

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

On Tue, Nov 14, 2000 at 08:44:06PM -0800, System Administrator wrote:

Greetings,
Note that I am unable to open files in GIF format. If I click on the
'RUN' module it states that "Couldn't execute 'r.in.gif': no such file
or directory". Sure enough, the module is not to be found. Upon
inspection of the install logs, I do not see any gif modules that were
compiled - ignored or successful. There is a r.in.gif file in the
src/raster directory.

Removed due to LZW patent. Should not be in TclTk menus (BUG).

The PNG module does not state any useful error messages, however the
TFF module does.

Here is the log output for the TIFF module, followed by the PNG
module.

#################################################################
/usr/src/grass/src/raster/r.tiff mkdir OBJ.powerpc-apple-nextstep3
make -f OBJ.powerpc-apple-nextstep3/make.rules

rm -f OBJ.powerpc-apple-nextstep3/r.in.tiff.o cc -g -O2
-I/usr/src/grass/src/include -c r.in.tiff.c mv r.in.tiff.o
OBJ.powerpc-apple-nextstep3/r.in.tiff.o cc -o
/usr/local/grass-5.0b/etc/bin/contrib/cmd/r.in.tiff
OBJ.powerpc-apple-nextstep3/r.in.tiff.o
/usr/src/grass/src/libes/LIB.powerpc-apple-nextste p3/libgis.a
-L/usr/local/lib -L/usr/X11R6/lib -L/usr/lib -ltiff -lz /usr/bin/ld:
table of contents for archive: /usr/local/lib/libtiff.a is out of
date; rerun ranlib(1) (can't load from it) GISGEN failure at STEP:
src/raster/r.tiff

Do exactly what it says and retry (that is, run "ranlib" on your
libtiff.a, then cd to <grass>/src/raster/r.tiff and run "gmake5").

__________________________________________________________

GISGEN: src/raster/r.in.png - Tue Nov 14 16:12:52 PST 2000

#################################################################
/usr/src/grass/src/raster/r.in.png mkdir OBJ.powerpc-apple-nextstep3
make -f OBJ.powerpc-apple-nextstep3/make.rules

rm -f OBJ.powerpc-apple-nextstep3/r.in.png.o cc -g -O2
-I/usr/X11R6/include/ -I/usr/include/gr -I/usr/local/include
-I/usr/include -I/usr/src/grass/src/include -c r.in.png.c GISGEN
failure at STEP: src/raster/r.in.png

Try changing into the <grass>/src/raster/r.in.png/ dir and running
"gmake5". It might produce more informative output.

--
Eric G. Miller <egm2@jps.net>

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'