[GRASS5] grass5 build with Cygwin 1.1.2

Grass developers,

I upgraded the Cygwin compiler to the most recent 1.1.2
and built Grass5 using the July 25, 2000 source. (Markus,
it has been uploaded and is 26,981,031 bytes.)

Couple notes for your Gmakefiles: 1) do not add libraries
on a link line after the $(XDRLIB) $(MATHLIB); please add
them before these; 2) do not remove #ifdef __CYGWIN__
and/or #ifndef __CYGWIN__ lines and their encapsulated
lines from source code (one example was that someone
removed drand48 definition.)

If you do not understand how CVS works, ask first before
deleting.

The configure and make are getting better; thanks to whomever
is working on that.

The documents/compile_ grass_with_wincygnus.txt has been
updated. There are many more details for compiling than
are in that document; I find out each time that I upgrade
my system. Mostly they are header files and libraries
which come standard on regular "Unix" systems but not
under Cygwin.

John Huddleston, P.E.
Computer Engineer
USDA - NRCS
John.Huddleston@usda.gov

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

Markus, (Cc to Grass)

----- Original Message -----
From: Markus Neteler <neteler@geog.uni-hannover.de>
To: John Huddleston <huddleston@gpsr.colostate.edu>
Sent: Wednesday, July 26, 2000 2:27 AM
Subject: Re: grass5 build with Cygwin 1.1.2

Perhaps you could teach me how to set up a
"cvs update"
as a cron-job on Solaris? I can manage on Linux, but Solaris
just ignores my crontable. Then the manuals etc. could
update themselves.

#Do a `crontab -l` and it will list your current cron
#entries. If that fails then you do not have permission.
#
#If it succeeds and lists something, then create a file
#in $HOME called "cron_update", make it executable,
touch cron_update
chmod 755 cron_update
#Edit the file and have it do two commands
cd /where-I-keep-my-grass
cvs update -A
#Exit the file. The path where-I-keep-my-grass is
#where on your drive you have the grass checked
#out.

#Next get the current cron commands:
crontab -l > cron_go
#Append the line to the file
30 20 * * 1-5 cron_update
#and then type `crontab cron_go`

#If `crontab -l` succeeds but says it is
#empty, then create a new cron_go file
touch cron_go
#Edit cron_go and add the line
30 20 * * 1-5 cron_update

#Exit the file and type the command
crontab cron_go

Type the command `crontab -l`, it should list what
you put into cron_go. At 20 hours and 30 minutes
every Monday (1) through Friday (5), the commands
in cron_update will execute. Sunday is 0.

On many systems, cron only uses commands from
/bin and/or /usr/bin. Make sure that cvs is there or
you will have to explicitly use the full path to it
in the cron_update script. Linux is OK. Solaris
probably has cvs in /usr/local/bin unless you have
a nice system administrator.

John Huddleston

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

On Wed, Jul 26, 2000 at 07:23:31AM -0600, John Huddleston wrote:

----- Original Message -----
From: Markus Neteler <neteler@geog.uni-hannover.de>
To: John Huddleston <huddleston@gpsr.colostate.edu>
Sent: Wednesday, July 26, 2000 2:27 AM
Subject: Re: grass5 build with Cygwin 1.1.2

> Perhaps you could teach me how to set up a
> "cvs update"
> as a cron-job on Solaris? I can manage on Linux, but Solaris
> just ignores my crontable. Then the manuals etc. could
> update themselves.

Well I hope that most people will not just run cvs update per cron. :slight_smile:
Most developers should know a lot better which part they need
current and when to update from CVS.

It might create unnecessary load on the cvs server.
(Load is not a problem right now, but being responsible with it
is good from the beginning.)
  Bernhard
--
Professional Service around Free Software (intevation.net)
The FreeGIS Project (freegis.org)
Association for a Free Informational Infrastructure (ffii.org)

On Wed, Jul 26, 2000 at 04:50:47PM +0200, Bernhard Reiter wrote:

On Wed, Jul 26, 2000 at 07:23:31AM -0600, John Huddleston wrote:
> ----- Original Message -----
> From: Markus Neteler <neteler@geog.uni-hannover.de>
> To: John Huddleston <huddleston@gpsr.colostate.edu>
> Sent: Wednesday, July 26, 2000 2:27 AM
> Subject: Re: grass5 build with Cygwin 1.1.2
>
>
> > Perhaps you could teach me how to set up a
> > "cvs update"
> > as a cron-job on Solaris? I can manage on Linux, but Solaris
> > just ignores my crontable. Then the manuals etc. could
> > update themselves.

Well I hope that most people will not just run cvs update per cron. :slight_smile:
Most developers should know a lot better which part they need
current and when to update from CVS.

It might create unnecessary load on the cvs server.
(Load is not a problem right now, but being responsible with it
is good from the beginning.)

Hi Bernhard,

sorry, I did not want to invite the world to use the CVS.
My idea is just to download the html/ tree. Nothing
else.

Markus

PS: The sources should be in place soon, Linux is uploaded.

PPS: I have again updated grass5install.sh in CVS and put
it here into the grass5/binary/ web space for the mirrors.

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