[GRASS5] Known Solaris 7 issues with beta 11]

Markus Neteler neteler at geog.uni-hannover.de
Wed Feb 21 14:21:02 EST 2001


On Wed, Feb 21, 2001 at 12:11:37PM -0400, Bob Covill wrote:
> Hello,
> I built GRASS last week on Solaris 7 and have put together a few notes
> on the build. It was built on an Ultra Spac II w/ 500 MB mem, gcc v.
> 2.95.1.
> I built grass with ... --prefix=/some_other_dir  --with-socks (now
> sockets)
> Here are my notes:
> - I was able to build it as myself (not root) and specify the build
> directory.
> - the first problem I encountered was the script to build the man pages
> is a perl script which looks for perl in /usr/bin. My perl is in
> /usr/local/bin. I corrected the script an the and pages were created
> correctly.
just added a perl search routine into "configure[.in]" which sets
PERL in /src/CMD/head/head

Can we utilize this somehow for the

> - I changed the order of the CFLAGs defined in CMD/generic/make.mid so
> the "-I(INCLUDE_DIR)" was in front of "$(EXTRA_CFLAGS)". This fixed the
> problem where another config.h was read instead of the GRASS one in
> INCLUDE_DIR. The rogue config.h from some other program should not have
> been there in the first place. Changing the flags order ensured that the
> correct config.h was picked up.
I will change
accordingly. Hope it's o.k. for all platforms. Tested on Linux
and Solaris (by Bob).

> - I had trouble with the unix_sock.c in libes/gis with PF_LOCAL not
> recognized by the version of solaris sockets installed. Eric has since
> corrected this problem.
> - The sockets lib was not getting included (-lsocket) in the build. It
> was defined under CMD/head/head.arch with the flag "XEXTRALIBS" however
> this was not being picked up by the necessary build. I added a
> "-lsocket" to XDRLIB which corrcted the problem.
I guess this is a "configure" thing, Solaris specific?

> - After the build finished, make install failed because of unrecognized
> flags (?) in the Sun tar. Fortunately, I have encountered this problem
> before and I also had a version of gnu-tar which was able to install the
> programs.
SUN tar is rather odd.

> - NVIZ failed to install because it claimed there were no TK TCL libs.
> When I examined the head.arch file the TCLTKLIBS line was empty. I added
> -ltk and -ltcl and NVIZ built cleanly.
Will be a "configure" thing as well.

Thanks for your notes,


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