Install in custom directory is missing a directory
Status: Inactive
Brought to you by:
afb
If you choose a directory other than /usr to install in, the compiler doesn't work; it spits out
object.d: module object cannot read file 'object.d'
The problem turns out to be that the default include directory isn't <prefix>/include/d/4.0.1; rather, it's <prefix>/lib/gcc/i686-apple-darwin8/4.0.1/../../../../include/d/4.0.1 -- and the installer does not create lib/gcc or anything under it, presumably because those directories already exist in /usr. So the compiler can't find any include files.
If I do "mkdir -p <prefix>/lib/gcc/i686-apple-darwin8/4.0.1" then the compiler starts working just fine.
Logged In: YES
user_id=5895
Originator: NO
This issue should be addressed with GDC 0.25, since it also affects installing the package on Leopard
(it doesn't have i686-apple-darwin8, but rather i686-apple-darwin9 - even though the compiler works fine)