PATH=/usr/local/bin:/bin:/usr/bin considered harmful
bjorn at xn--rombobjrn-67a.se
Sat Jun 23 16:05:17 UTC 2012
These search path problems seem to be cropping up in lots of packages. Here's
GPRbuild is designed to be relocatable, because the corporations that are
Adacore's customers want to be able to drop a directory tree with binaries and
data in some nonstandard directory and use it from there witout recompiling
anything. Therefore GPRbuild doesn't have an installation prefix compiled in.
Instead it searches for itself on the search path to find out where it is
installed. When it finds itself in /bin it concludes that the installation
prefix is /, and looks for its data in /share instead of /usr/share, which of
course fails because there is no /share. Working around this required a
Fedora-specific patch to make GPRbuild resolve the symbolic link.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 190 bytes
Desc: This is a digitally signed message part.
More information about the devel