Details Ticket 2727


Comment | Reply | Take | Open


Serial Number 2727
Subject conf_grass57_linux.sh
Area none
Queue grass
Requestors jidanni@jidanni.org
Owner none
Status resolved
Last User Contact Mon Nov 29 09:47:05 2004 (4 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Mon Nov 29 09:47:07 2004 (4 yr ago)
Created Sat Nov 27 21:29:07 2004 (4 yr ago)

Transaction History Ticket 2727


Sat, Nov 27 2004 21:29:07    Request created by jidanni@jidanni.org  
Return-Path <jidanni@jidanni.org>
Delivered-To grass-bugs@lists.intevation.de
To grass-bugs@intevation.de
Subject conf_grass57_linux.sh
From Dan Jacobson <jidanni@jidanni.org>
Date Sun, 28 Nov 2004 03:45:19 +0800
Message-ID <87llcnt6sw.fsf@jidanni.org>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
Comments on http://grass.itc.it/grass57/source/snapshot/conf_scripts/linux/conf_grass57_linux.sh
GRASS53="/thuille1/ssi/cvsgrass53_exp"

I see. This script is not for we downloaders to run. Perhaps add notes
about who is to run this script. Probably only for machines that have
/thuille1/


    ./configure --with-grass50=$GRASS53 \
      --with-gdal=/usr/local/bin/gdal-config \
      --with-postgres-includes=/usr/include/pgsql --with-postgres-libs=/usr/lib
\
      --with-mysql --with-mysql-libs=/usr/lib/mysql \
      --with-fftw

    if [ $? -eq 1 ]
            then
             echo "an error occured"
             exit
    fi

I would say
if test $? -ne 0

or perhaps
if ! ./configure --with-grass50=$GRASS53 \

or even
#!/bin/sh -e
(but then no "an error occured" message.)

    ARCH=`grep ARCH config.status | cut -d'%' -f3`
    echo "After that"
    echo " GRASS 5.7 start script will be in: ./$BINDIR/bin.$ARCH"

cat <<!
After that
GRASS 5.7 start script will be in: ./$BINDIR/bin.$ARCH
...
!

P.S., in fact, I think you need a warning on http://grass.itc.it/grass57/source/snapshot/
saying just who this conf_scripts/ is intended for.


Mon, Nov 29 2004 09:47:05    Mail sent by mneteler  
I have replaced the script in 
 http://grass.itc.it/grass57/source/snapshot/conf_scripts/linux/

Markus
Mon, Nov 29 2004 09:47:07    Status changed to resolved by mneteler  
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request