Fri, Sep 13 2002
11:36:02
|
|
Request created by guest
|
|
Subject: Installation failure on HP/UX 10.20
Platform: HP/UX
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 5.0.0
When installing grass, commands like
/bin/sh -c "cd (dir) ; tar cBf (files) | (cd (installdir) ; tar xBf - )
are used. But on the HP-provided tar, that gives:
tar: B: unknown option
As I also had gnu tar avaliable (installed as /usr/local/bin/tar), I could correct
the problem by changing the PATH for the installation script:
su root -c 'PATH=/usr/local/bin:$PATH:/opt/bin ; gmake install'
I don't know if the intallation script checks which tar is avaliable, but as
I have /usr/local/bin quite early in my PATH, whereas the root user mostly uses
the OS-provided commands, it would not have helped
(otoh, HP/UX 10.20 is no longer supported by HP, I don't know if the issue persists
on HP/UX 11)
Morten |
|
Fri, Sep 13 2002
19:27:41
|
|
Mail sent by glynn.clements@virgin.net
|
|
Return-Path |
<glynn.clements@virgin.net>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
From |
Glynn Clements <glynn.clements@virgin.net>
|
MIME-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
Content-Transfer-Encoding |
7bit
|
Message-ID |
<15745.65340.3486.537380@cerise.nosuchdomain.co.uk>
|
Date |
Fri, 13 Sep 2002 16:07:40 +0100
|
To |
Request Tracker <grass-bugs@intevation.de>
|
Cc |
grass5@grass.itc.it
|
Subject |
Re: [GRASS5] [bug #1300] (grass) Installation failure on HP/UX 10.20
|
In-Reply-To |
<20020913093603.1553113AB1@lists.intevation.de>
|
References |
<20020913093603.1553113AB1@lists.intevation.de>
|
X-Mailer |
VM 6.94 under 21.4 (patch 9) "Informed Management" XEmacs Lucid
|
X-Spam-Status |
No, hits=-4.4 required=5.0 tests=IN_REP_TO version=2.20
|
X-Spam-Level |
|
Request Tracker wrote:
> Subject: Installation failure on HP/UX 10.20
>
> Platform: HP/UX
> grass obtained from: Trento Italy site
> grass binary for platform: Compiled from Sources
> GRASS Version: 5.0.0
>
> When installing grass, commands like
> /bin/sh -c "cd (dir) ; tar cBf (files) | (cd (installdir) ; tar xBf - )
> are used. But on the HP-provided tar, that gives:
> tar: B: unknown option
1. The "B" switch should only be used in conjunction with "x", not
with "c". It *may* be that removing it from the first tar command will
eliminate the problem (note that the error only occurs once, not
twice).
2. I have no idea whether the "B" switch is actually necessary on any
platform.
3. In the longer term, we shouldn't be using "tar" anyhow. The
[G]makefiles should have an "install" target which installs individual
files with the "install" program.
--
Glynn Clements <glynn.clements@virgin.net>
|
|
Tue, Jun 19 2007
08:51:16
|
|
Subject changed to Makefile shouldn't user tar by hbowman
|
|
Tue, Jun 19 2007
08:51:23
|
|
Subject changed to Makefile shouldn't use tar by hbowman
|
|