public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: bootstrap/5634: ../configure --prefix=~/... doesn't work
@ 2003-02-18 3:09 bje
0 siblings, 0 replies; 4+ messages in thread
From: bje @ 2003-02-18 3:09 UTC (permalink / raw)
To: bje, gcc-bugs, gcc-prs, nobody, tom
Synopsis: ../configure --prefix=~/... doesn't work
Responsible-Changed-From-To: unassigned->bje
Responsible-Changed-By: bje
Responsible-Changed-When: Tue Feb 18 03:09:53 2003
Responsible-Changed-Why:
Got it.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5634
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: bootstrap/5634: ../configure --prefix=~/... doesn't work
@ 2003-02-18 4:26 Phil Edwards
0 siblings, 0 replies; 4+ messages in thread
From: Phil Edwards @ 2003-02-18 4:26 UTC (permalink / raw)
To: bje; +Cc: gcc-prs
The following reply was made to PR other/5634; it has been noted by GNATS.
From: Phil Edwards <phil@jaj.com>
To: bje@gcc.gnu.org, gcc-bugs@gcc.gnu.org, tom@womack.net,
gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: bootstrap/5634: ../configure --prefix=~/... doesn't work
Date: Mon, 17 Feb 2003 23:23:56 -0500
On Tue, Feb 18, 2003 at 04:12:02AM -0000, bje@gcc.gnu.org wrote:
> This is due to an inconsistent interaction with your shell, viz:
>
> $ echo prefix=~/install
> prefix=/home/bje/install
> $ echo --prefix=~/install
> --prefix=~/install
>
> Note that the ~ is expanded correctly in the first, but not the second.
> It is unreasonable to expect all underlying GCC configury to handle ~
> as a special case. At the very least, this should be documented in the
> installation documentation--do you agree?
FYI, bash understands ~ as the first character in sub-words, such as this.
But csh and tcsh only understand ~ as the first character in a main word,
i.e., after whitespace.
This isn't specific to us, so I wouldn't bother documenting it. Anybody who
uses a csh-family shell is going to run into these weird features eventually.
If you do feel like documenting it, I suggest providing a link to a
"here's an introduction to csh" page somewhere.
Phil
--
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
- Edsger Dijkstra, 1930-2002
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: bootstrap/5634: ../configure --prefix=~/... doesn't work
@ 2003-02-18 4:12 bje
0 siblings, 0 replies; 4+ messages in thread
From: bje @ 2003-02-18 4:12 UTC (permalink / raw)
To: bje, gcc-bugs, gcc-prs, tom
Synopsis: ../configure --prefix=~/... doesn't work
State-Changed-From-To: open->analyzed
State-Changed-By: bje
State-Changed-When: Tue Feb 18 04:12:02 2003
State-Changed-Why:
This is due to an inconsistent interaction with your shell, viz:
$ echo prefix=~/install
prefix=/home/bje/install
$ echo --prefix=~/install
--prefix=~/install
Note that the ~ is expanded correctly in the first, but not the second. It is unreasonable to expect all underlying GCC configury to handle ~ as a special case. At the very least, this should be documented in the installation documentation--do you agree?
I tend to use --prefix=$HOME/install with success.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5634
^ permalink raw reply [flat|nested] 4+ messages in thread
* bootstrap/5634: ../configure --prefix=~/... doesn't work
@ 2002-02-08 4:06 tom
0 siblings, 0 replies; 4+ messages in thread
From: tom @ 2002-02-08 4:06 UTC (permalink / raw)
To: gcc-gnats
>Number: 5634
>Category: bootstrap
>Synopsis: ../configure --prefix=~/... doesn't work
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Fri Feb 08 04:06:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Thomas Womack
>Release: gcc-3.1-{20011231, 20020204} at least
>Organization:
>Environment:
SuSE 7.3; bash 2.05 as shipped by SuSE
>Description:
Configuring with --prefix=~/somewhere --program-suffix=something gives a built version which does not install properly.
Specifically, "make install" fails with an error in installing libiberty.a, and leaves directories called "~" lying around.
>How-To-Repeat:
make two copies of the gcc distribution, configure one with --prefix=~/foo and one with --prefix=/home/twomack/foo, build both; the first won't install, the second will.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-02-18 4:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-18 3:09 bootstrap/5634: ../configure --prefix=~/... doesn't work bje
-- strict thread matches above, loose matches on Subject: below --
2003-02-18 4:26 Phil Edwards
2003-02-18 4:12 bje
2002-02-08 4:06 tom
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).