| Index
» Projects
» libcfg+
» Bug list
» Bug #507 |
 |
|
Viewing Bug Advanced Details |
[ Jump to Bugnotes ]
[ Bug History ]
[ Print ]
|
|
ID |
Category |
Severity |
Reproducibility |
Date Submitted |
Last Update |
|
0000507 |
building stuff |
minor |
always |
2008-01-06 13:39 |
2008-01-06 13:39 |
|
|
|
Reporter |
kh |
View Status |
public |
|
|
Assigned To |
|
|
Priority |
normal |
Resolution |
open |
Platform |
x86 |
|
Status |
new |
Duplicate ID |
|
OS |
NetBSD |
|
Projection |
none |
|
Version |
3.1 |
|
ETA |
none |
|
Product Version |
0.6.2 (stable) |
|
|
Product Build |
|
|
|
Votes |
1 |
|
|
|
Summary |
configure overrides --prefix |
|
Description |
If I run
./configure --prefix=/var/tmp/cfgsymlink
and /var/tmp/cfgsymlink is a symlink to /var/tmp/cfgtest/,
the resulting prefix variable in config.status is not
"/var/tmp/cfgsymlink" (as specified by the user who
probably wants it that way) but "/var/tmp/cfgtest".
The reason for this behaviour is an incomplete fix for
relative path prefixes in configure.in where every prefix
is changed with
prefix="`cd $prefix && pwd`"
instead of relative prefixes only.
|
|
Steps To Reproduce |
- create a directory /var/tmp/cfgtest
- create a symlink /var/tmp/cfgsymlink pointing to
/var/tmp/cfgtest
- run
./configure --prefix=/var/tmp/cfgsymlink
- examine config.status and wonder why @prefix@ does not
have the value "/var/tmp/cfgsymlink".
|
|
Additional Information / Solution |
Apply the appended patch where prefix is only changed if
the path is relative, ie it starts with a dot.
|
|
Attached Files |
|
|
|
|
There are no notes attached to this bug. |
|
Bug History |
|
Date Modified |
Username |
Field |
Change |
|
2008-01-06 13:39 |
kh |
New Bug |
|
|
|