[GRASS5] grass5 on darwin - problem w/init

hello all:

i made the changes to autoconf.m4f below and started from scratch; still have the "/sw/grass5/etc/Init.sh: /sw/grass5/etc/lock: No such file or directory" error. i've sent my make.log to Glynn, so we'll see if there's anything there...

andy

Begin forwarded message:

From: Crudeli <crudeli@mail.nauta.it>
Date: Tue Sep 10, 2002 04:39:24 US/Central
To: grass5@grass.itc.it, andy agena <andya@mac.com>
Subject: Re: [GRASS5] grass5 on darwin - problem w/init

If you are using OSX 10.2 (Jaguar), you might be interested in the following corrections to your autoconf file:

good luck,

RafDouglas CTC
____________________________
From:

http://www.osxgnu.org/#jagbugs

In the file /usr/share/autoconf/autoconf.m4f line 7294 should read:

exit (setpgrp (0,0) == -1);])],

   not

exit (setpgrp (1,1) == -1);])],

As a result any program using GNU configure may not compile (just about all of them). You may wish to edit this file to reflect the above changes

.....

What has changed in 10.2?
The biggest changes seem to be that the System linked libraries in OS X have moved to separate libraries so the LDFLAGS and CFLAGS have to be set.
The most common new settings are:

CFLAGS=-no-cpp-precomp
LDFLAGS=-ltinfo -lgcc
( setenv CFLAGS -no-cpp-precomp;setenv LDFLAGS '-ltinfo -lgcc')

If a program did not use any of libraries that were moved it still works on 10.2.
Example :bzip2, gnutar, rpm etc.

hello all:

i gave compiling grass5.0 a whirl today; this is my error.log:

--

__________________________________________
RafDouglas Candidi Tommasi Crudeli

ct@ehleng.com

"To know, to will, to dare, to be silent."