[GRASS5] GRASS 5.0.0pre1 tagged and sources released!

Hi Markus

Markus Neteler wrote:

Before posting announcements, the binaries should be generated from
the (tagged) source code package:
  http://www.geog.uni-hannover.de/grass/grass5/source/
  (16.3MB)

Things to do (volunteers wanted, please post in "grass5" if you
volunteer):
- generate binaries for
      - SGI

We can generate binaries here but I am having some of my colleagues do
the testing and preparation of the binaries. However, they will not have
time until next week.

Note that the binaries won't include the postgres stuff since it failed
to compile the last time I tried it on SGI and I haven't had time to fix
it yet. I will try to fix it before the final release but sorry, no
guarantees.

--
Sincerely,

Jazzman (a.k.a. Justin Hickey) e-mail: jhickey@hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, Thailand

People who think they know everything are very irritating to those
of us who do. ---Anonymous

Jazz and Trek Rule!!!

From neteler Tue May 22 09:14:50 2001
Return-Path: <neteler>
Received: by hgeo02.geog.uni-hannover.de (SMI-8.6/SMI-SVR4)
  id JAA19383; Tue, 22 May 2001 09:14:49 +0100
Date: Tue, 22 May 2001 09:14:49 +0100
From: Markus Neteler <neteler@geog.uni-hannover.de>
To: Grass Developers <grass5@geog.uni-hannover.de>
Subject: Re: [GRASS5] GRASS 5.0.0pre1 tagged and sources released!
Message-ID: <20010522091449.B19335@hgeo02.geog.uni-hannover.de>
Mail-Followup-To: Grass Developers <grass5@geog.uni-hannover.de>
References: <20010520191715.A4751@hgeo02.geog.uni-hannover.de> <3B0A06F9.EFD923C6@hpcc.nectec.or.th>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <3B0A06F9.EFD923C6@hpcc.nectec.or.th>; from jhickey@hpcc.nectec.or.th on Tue, May 22, 2001 at 01:28:09PM +0700
Sender: grass5-admin@geog.uni-hannover.de
Errors-To: grass5-admin@geog.uni-hannover.de
X-BeenThere: grass5@geog.uni-hannover.de
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:grass5-request@geog.uni-hannover.de?subject=help>
List-Post: <mailto:grass5@geog.uni-hannover.de>
List-Subscribe: <http://www.geog.uni-hannover.de/mailman/listinfo/grass5&gt;,
  <mailto:grass5-request@geog.uni-hannover.de?subject=subscribe>
List-Id: GRASS 5 Developers mailing list <grass5.geog.uni-hannover.de>
List-Unsubscribe: <http://www.geog.uni-hannover.de/mailman/listinfo/grass5&gt;,
  <mailto:grass5-request@geog.uni-hannover.de?subject=unsubscribe>
List-Archive: <http://www.geog.uni-hannover.de/pipermail/grass5/&gt;
Status: O
Content-Length: 957
Lines: 29

Hi Justin, hi all,

On Tue, May 22, 2001 at 01:28:09PM +0700, Justin Hickey wrote:

Hi Markus

Markus Neteler wrote:
> Before posting announcements, the binaries should be generated from
> the (tagged) source code package:
> http://www.geog.uni-hannover.de/grass/grass5/source/
> (16.3MB)
>
> Things to do (volunteers wanted, please post in "grass5" if you
> volunteer):
> - generate binaries for
> - SGI

We can generate binaries here but I am having some of my colleagues do
the testing and preparation of the binaries. However, they will not have
time until next week.

Thanks for building these binaries.

Note that the binaries won't include the postgres stuff since it failed
to compile the last time I tried it on SGI and I haven't had time to fix
it yet. I will try to fix it before the final release but sorry, no
guarantees.

We hope the best. Perhaps you could post the compile error?

Markus

I finaly found time to start compiling GRASS 5.0. on my HP-UX and got the
following
message

configure: warning: /opt/tk-8.2/include: invalid host type
configure: warning: /opt/tk-8.2/lib: invalid host type
configure: error: can only configure for one host and one target at a time

I call configure with the following command :

./configure --prefix=/opt/grass5 --bindir=/opt/grass5/bin --with-SYSV \
        --with-includes=/opt/libpng/include \
        --with-libs=/opt/libpng/lib \
        --with-jpeg-includes=/opt/jpeg-6/include \
        --with-jpeg-libs=/opt/jpeg-6/lib \
        --with-tiff-includes=/opt/tiff-3.5/include \
        --with-tiff-libs=/opt/tiff-3.5/lib \
        --with-tcltk-includes=/opt/tcl-8.2/include /opt/tk-8.2/include \
        --with-tcltk-libs=/opt/tcl-8.2/lib /opt/tk-8.2/lib \
        --with-zlib-includes=/opt/zlib/include \
        --with-zlib-libs=/opt/zlib/lib \
        --without-postgresql

The problem seem to come because I put two DIR with the --with statement.
If only put one DIR, ./configure do not complaint but report that it
cannot find tk files. The problem comes from the fact that tcl and tk
are installed in two different directories on HP.

I can trick my system but it would be better to found a general solution.

THANKS

--
Robert Lagacé, professeur
Pavillon Comtois
Université Laval
Ste-Foy, Québec, G1K 7P4
tel : (418)-656-2131#2276
Fax : (418)-656-3723
E-mail : lagace@grr.ulaval.ca

I don't think that autoconf likes multiple directories for standard
--with-xxx-includes/libs settings. I think the "proper" thing
would be to use separate --with-tcl=/path/to/tclConfig.sh and
--with-tk=/path/to/tkConfig.sh options. The xxxConfig.sh scripts
set up the required include directories, libraries, linker flags,
etc. The autoconf script would source the xxxConfig.sh script,
and substitute for the defined variables in the appropriate .in
files. I've attached a tcl.m4 autoconf macro file that deals
with --with-tcl and --with-tk options.

When I ran into problems like these, I used to just fix the
inevitable makefile problems as i found them.

--
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
| Eric B. Mitchell mailto:emitchell@altaira.com |
| tel: (301) 809 - 3534 Altair Aerospace Corporation |
| tel: (800) 7 - ALTAIR 4201 Northview Dr. Suite 410 |
| fax: (301) 805 - 8122 Bowie, MD 20716 |
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
              ,___
          /"\ / o=\ /"""---===/
         / \_/ \__/ ---===/
         | //\ || /""TT""/ //\ || ||""\
         | // \ || || // \ || ||__/
         | //--==\ |L--/ || //--==\ || || "=,
          \ ---===/
           \____---===/

(attachments)

tcl.m4 (46.7 KB)

On Fri, May 25, 2001 at 12:08:02PM -0400, Robert Lagacé wrote:

I finaly found time to start compiling GRASS 5.0. on my HP-UX and got the
following
message

configure: warning: /opt/tk-8.2/include: invalid host type
configure: warning: /opt/tk-8.2/lib: invalid host type
configure: error: can only configure for one host and one target at a time

I call configure with the following command :

./configure --prefix=/opt/grass5 --bindir=/opt/grass5/bin --with-SYSV \
        --with-includes=/opt/libpng/include \
        --with-libs=/opt/libpng/lib \
        --with-jpeg-includes=/opt/jpeg-6/include \
        --with-jpeg-libs=/opt/jpeg-6/lib \
        --with-tiff-includes=/opt/tiff-3.5/include \
        --with-tiff-libs=/opt/tiff-3.5/lib \
        --with-tcltk-includes=/opt/tcl-8.2/include /opt/tk-8.2/include \
        --with-tcltk-libs=/opt/tcl-8.2/lib /opt/tk-8.2/lib \
        --with-zlib-includes=/opt/zlib/include \
        --with-zlib-libs=/opt/zlib/lib \
        --without-postgresql

The problem seem to come because I put two DIR with the --with statement.
If only put one DIR, ./configure do not complaint but report that it
cannot find tk files. The problem comes from the fact that tcl and tk
are installed in two different directories on HP.

Maybe you should put quotes around multiple DIR's so the shell doesn't
separate them, like:
  --with-tcltk-includes="/opt/tcl-8.2/include /opt/tk-8.2/include"

Otherwise they must be interpreted as an argument to configure for a
particular host type.

$ ./configure --help
Usage: configure [options] [host]
[snip]

--
Eric G. Miller <egm2@jps.net>

I found an error in configure line 3690

if test $tkincdir ; then

should be

if test "$tkincdir" ; then

--
Robert Lagacé, professeur
Pavillon Comtois
Université Laval
Ste-Foy, Québec, G1K 7P4
tel : (418)-656-2131#2276
Fax : (418)-656-3723
E-mail : lagace@grr.ulaval.ca