[GRASS5] [bug #2727] (grass) conf_grass57_linux.sh

Request Tracker grass-bugs at intevation.de
Sat Nov 27 15:29:07 EST 2004


this bug's URL: http://intevation.de/rt/webrt?serial_num=2727
-------------------------------------------------------------------------

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.


--- Headers Follow ---

>From jidanni at jidanni.org  Sat Nov 27 21:29:07 2004
Return-Path: <jidanni at jidanni.org>
Delivered-To: grass-bugs at lists.intevation.de
Received: from mail.intevation.de (aktaia [212.95.126.10])
	by lists.intevation.de (Postfix) with ESMTP id 70343102BDA
	for <grass-bugs at lists.intevation.de>; Sat, 27 Nov 2004 21:29:07 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by mail.intevation.de (Postfix) with ESMTP id 4244336DEF
	for <grass-bugs at lists.intevation.de>; Sat, 27 Nov 2004 21:29:07 +0100 (CET)
Received: from frodo.hserus.net (frodo.hserus.net [204.74.68.40])
	by mail.intevation.de (Postfix) with ESMTP id AC37D36CE0
	for <grass-bugs at intevation.de>; Sat, 27 Nov 2004 21:29:05 +0100 (CET)
Received: from tc218-187-74-3.2-3.dynamic.apol.com.tw ([218.187.74.3]:33329 helo=jidanni1)
	by frodo.hserus.net with esmtpsa 
	(Cipher TLSv1:RC4-SHA:128) (Exim 4.43 #0)
	id 1CY9Bg-000Nix-Mg by authid <jidanni> with plain
	for <grass-bugs at intevation.de>; Sun, 28 Nov 2004 01:59:01 +0530
To: grass-bugs at intevation.de
Subject: conf_grass57_linux.sh
From: Dan Jacobson <jidanni at jidanni.org>
Date: Sun, 28 Nov 2004 03:45:19 +0800
Message-ID: <87llcnt6sw.fsf at 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: 

-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list