Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Sunday, November 8, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  libcfg+  »  Bug list  »  Bug #501

Viewing Bug Advanced Details [ Jump to Bugnotes ] [ Bug History ] [ Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000501 building stuff minor always 2008-01-06 01:55 2008-01-06 01:55
 
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 script overrides value for --prefix even if it should not
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.

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy