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 #315

Viewing Bug Advanced Details [ Jump to Bugnotes ] [ Bug History ] [ Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000315 building stuff major always 2005-03-23 11:27 2005-03-24 00:18
 
Reporter SvdB View Status public  
Assigned To rajo
Priority high Resolution fixed Platform AMD Athlon 600
Status resolved Duplicate ID OS Linux
Projection none Version 2.6.11
ETA none Product Version 0.6.2 (stable)
  Product Build
  Votes 1
 
Summary Using --prefix trashes / dir.
Description If you run configure with --prefix, then for some reason it immediately tries to create the target directory, which ofcourse it shouldn't do, as one doesn't run configure as root, while you may still want to install in a location which only root can write to.

So if you specify a directory where the current user can't write, the directory will not be created. This is not detected, and the line
prefix="`cd $prefix && pwd`"
will evaluate to
prefix=""

and you'll end up with a root dir full of junk when you 'make install' as root.
Steps To Reproduce $ ./configure --prefix=/opt/libcfg+
$ make
# make install
Additional Information / Solution
Attached Files

Bug Notes
SvdB
2005-03-23 11:33

Oops. Severity should have been at least "major". It seems that it's too late for me to change it now.
 
rajo
2005-03-23 21:42

Severity/priority changed to major/high.
 
rajo
2005-03-24 00:18

Fixed in CVS. Please, check if it is correct. Thanks for bug report.
 

Bug History
Date Modified Username Field Change
2005-03-23 11:28 SvdB New Bug
2005-03-23 11:33 SvdB Bugnote Added: 0001575
2005-03-23 11:35 SvdB Bug Monitored: SvdB
2005-03-23 21:42 rajo Bugnote Added: 0001579
2005-03-23 21:42 rajo priority normal => high
2005-03-23 21:42 rajo severity feature => major
2005-03-24 00:16 rajo handler_id => rajo
2005-03-24 00:16 rajo status new => assigned
2005-03-24 00:18 rajo status assigned => resolved
2005-03-24 00:18 rajo Bugnote Added: 0001580
2005-03-24 00:18 rajo resolution open => fixed

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