Mac OSX installer for dmd

Leandro Lucarella luca at llucax.com.ar
Thu Aug 5 07:01:10 PDT 2010


Michel Fortin, el  4 de agosto a las 19:26 me escribiste:
> On 2010-08-04 17:56:31 -0400, Leandro Lucarella <luca at llucax.com.ar> said:
> 
> >I'd say:
> >
> >>dmd
> >
> >/usr/local/bin
> 
> That makes a lot of sense. I agree that /usr/local/{bin,lib,man} is
> the right place.
> 
> But you can't install dmd1 and dmd2 side by side this way (because
> of dmd.conf). That's why the D for Xcode installer put them
> elsewhere and simply add symlinks in /usr/local/bin. (Or to be more
> precise: symlink-like programs that set args[0] to the real dmd
> path.)

In that case, /opt should be the place:
http://www.pathname.com/fhs/pub/fhs-2.3.html#OPTADDONAPPLICATIONSOFTWAREPACKAGES

But I think is a shame to use /opt because of this small issue, the
config file problem is a DMD bug, dmd2 should use dmd2.conf.

> >And you may add /usr/local/etc as a search path for dmd.conf (and look
> >for it *before* /etc is searched) and install dmd.conf there.
> 
> About dmd.conf: perhaps dmd2 should look for dmd2.conf instead of
> dmd.conf. This way you can have both dmd1 and dmd2 installed side by
> side.

You said it brotha! =)


And you know what, I reported the bugs:
http://d.puremagic.com/issues/show_bug.cgi?id=4585
http://d.puremagic.com/issues/show_bug.cgi?id=4586

-- 
Leandro Lucarella (AKA luca)                     http://llucax.com.ar/
----------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------
<mazzi> gmail is down?
 <Luca> waiting for mail.google.com....
<mazzi> ya vendí todas mis acciones de google en los mercados asiaticos
 <Luca> se viene la ecatombe
<mazzi> mal
<mazzi> es como que te corten el porno en una tarde al pedo en tu casa


More information about the Digitalmars-d mailing list