Hi, I've tried to build some binary versions of 5.0.3.
It went fine on a RH8 Linux system I have, if anyone can test that out for
me it's at:
http://bouteloua.erin.utoronto.ca/~smitch
Index of /~smitch
[ ] grass5.0.3_i686-pc-linux-gnu_bin.tar.gz 14-Nov-2003 09:21 48.6M
[TXT] grass5_i686-pc-linux-gnu_install.sh 14-Nov-2003 09:21 13k
I've tried building on a couple of Suns, both running Solaris 8 and gcc
2.95.3. They also have the Sun compilers, but I'm using gcc. I set
CPPFLAGS to -w to get the configure step past warnings that have to do
with curses and symbols being redefined, a trick from the archives of this
list that I needed for previous builds.
On one of the machines, the GRASS build seems to have gone fine but I just
got an error compiling latest GDAL so that I can add r.in.gdal to the
binary. So I'll look in to that separately. On the other Sun, however,
I've got many errors with undefined symbols from curses - e.g.:
#################################################################
/dat0/smitch/src/grass-5.0.3/src/imagery/i.points
make -f OBJ.sparc-sun-solaris2.8/make.rules
gcc -L/dat0/smitch/src/grass-5.0.3/src/libes/LIB.sparc-sun-solaris2.8 -s
-lsocket -o
/dat0/smitch/src/grass-5.0.3/dist.sparc-sun-solaris2.8/etc/bin/inter/i.points
OBJ.sparc-sun-solaris2.8/main.o OBJ.sparc-sun-solaris2.8/ask.o
OBJ.sparc-sun-solaris2.8/ask_mag.o OBJ.sparc-sun-solaris2.8/analyze.o
OBJ.sparc-sun-solaris2.8/call.o OBJ.sparc-sun-solaris2.8/cell.o
OBJ.sparc-sun-solaris2.8/cellhd.o OBJ.sparc-sun-solaris2.8/conv.o
OBJ.sparc-sun-solaris2.8/colors.o OBJ.sparc-sun-solaris2.8/curses.o
OBJ.sparc-sun-solaris2.8/debug.o OBJ.sparc-sun-solaris2.8/digit.o
OBJ.sparc-sun-solaris2.8/dot.o OBJ.sparc-sun-solaris2.8/drawcell.o
OBJ.sparc-sun-solaris2.8/driver.o OBJ.sparc-sun-solaris2.8/equ.o
OBJ.sparc-sun-solaris2.8/find.o OBJ.sparc-sun-solaris2.8/graphics.o
OBJ.sparc-sun-solaris2.8/group.o OBJ.sparc-sun-solaris2.8/input.o
OBJ.sparc-sun-solaris2.8/mark.o OBJ.sparc-sun-solaris2.8/mouse.o
OBJ.sparc-sun-solaris2.8/points.o OBJ.sparc-sun-solaris2.8/target.o
OBJ.sparc-sun-solaris2.8/title.o OBJ.sparc-sun-solaris2.8/view.o
OBJ.sparc-sun-solaris2.8/where.o OBJ.sparc-sun-solaris2.8/zoom.o
OBJ.sparc-sun-solaris2.8/zoom_box.o OBJ.sparc-sun-solaris2.8/zoom_pnt.o
-lI -lD -ldisplay -lraster -lgis -lncurses -lm -lnsl -lz
Undefined first referenced
symbol in file
initscr32 OBJ.sparc-sun-solaris2.8/curses.o
getcurx OBJ.sparc-sun-solaris2.8/curses.o
getcury OBJ.sparc-sun-solaris2.8/curses.o
w32addch OBJ.sparc-sun-solaris2.8/curses.o
ld: fatal: Symbol referencing errors. No output written to
/dat0/smitch/src/grass-5.0.3/dist.sparc-sun-solaris2.8/etc/bin/inter/i.points
collect2: ld returned 1 exit status
make: ***
[/dat0/smitch/src/grass-5.0.3/dist.sparc-sun-solaris2.8/etc/bin/inter/i.points]
Error 1
I can't find anything on this one in the archives - any suggestions ?
Third, the Mac. I'm not even sure it's worth figuring this out, since
perhaps with all the work that has gone into getting the newer versions to
compile cleanly under Darwin/OS X, we should direct people there instead
for this platform ? Anyways, I'm interested in opinions on that.
Meanwhile, IF it should be pursued, I'm getting undefined symbols
on an OS X system as well, in about a dozen modules. Here's an example,
does it ring a bell or tell us anything ?
/Users/smitch/src/grass-5.0.3/src/general/g.region/cmd
make -f OBJ.powerpc-apple-darwin6.8.5/make.rules
gcc
-L/Users/smitch/src/grass-5.0.3/src/libes/LIB.powerpc-apple-darwin6.8.5 -s
-L/sw/lib -o
/Users/smitch/src/grass-5.0.3/dist.powerpc-apple-darwin6.8.5/etc/bin/cmd/g.region
OBJ.powerpc-apple-darwin6.8.5/printwindow.o
OBJ.powerpc-apple-darwin6.8.5/adjust.o
OBJ.powerpc-apple-darwin6.8.5/main.o OBJ.powerpc-apple-darwin6.8.5/zoom.o
-lvect -ldig2 -lgis -lintl -ldatetime -lproj -lz
ld: Undefined symbols:
_pj_do_proj
_pj_get_kv
_pj_zero_proj
make[1]: ***
[/Users/smitch/src/grass-5.0.3/dist.powerpc-apple-darwin6.8.5/etc/bin/cmd/g.region]
Error 1
make: *** [all] Error 1
Thanks,
Scott
------
Scott W. Mitchell
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