Details Ticket 1300


Comment | Reply | Take | Resolve


Serial Number 1300
Subject Makefile shouldn't use tar
Area bug
Queue grass
Requestors Morten.Sickel@nrpa.no
Owner none
Status open
Last User Contact Fri Sep 13 19:27:41 2002 (6 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Tue Jun 19 08:51:23 2007 (1 yr ago)
Created Fri Sep 13 11:36:02 2002 (6 yr ago)

Transaction History Ticket 1300


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  
Comment | Reply | Take | Resolve

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