www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Jacob Carlborg's OSX installer now available

reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
Try it out! http://dlang.org/download.html. I managed to automate 
everything in one makefile - you type a command and next thing you know 
the file is up there.

https://github.com/D-Programming-Language/installer/commit/34fb6613fca77e0e75ca
f5545560e799a8c82b2 


On my machine it installed fine the first time around, the second time 
I've had an error.


Andrei
Dec 22 2011
next sibling parent reply Brad Roberts <braddr slice-2.puremagic.com> writes:
On Fri, 23 Dec 2011, Andrei Alexandrescu wrote:

 Try it out! http://dlang.org/download.html. I managed to automate everything
 in one makefile - you type a command and next thing you know the file is up
 there.
 
 https://github.com/D-Programming-Language/installer/commit/34fb6613fca77e0e75ca
f5545560e799a8c82b2 
 
 On my machine it installed fine the first time around, the second time I've
 had an error.
 
 
 Andrei
One day my pointers to mktemp (and related libc routines when done in code rather than shell scripts) will sink in. Please don't invent ways of making semi-unique files and directories.
Dec 22 2011
next sibling parent Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 12/23/11 1:16 AM, Brad Roberts wrote:
 On Fri, 23 Dec 2011, Andrei Alexandrescu wrote:

 Try it out! http://dlang.org/download.html. I managed to automate everything
 in one makefile - you type a command and next thing you know the file is up
 there.

 https://github.com/D-Programming-Language/installer/commit/34fb6613fca77e0e75cadf5545560e799a8c82b2

 On my machine it installed fine the first time around, the second time I've
 had an error.


 Andrei
One day my pointers to mktemp (and related libc routines when done in code rather than shell scripts) will sink in. Please don't invent ways of making semi-unique files and directories.
Not a fan of mktemp, but yah I can use it. Andrei
Dec 23 2011
prev sibling parent Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 12/23/11 1:16 AM, Brad Roberts wrote:
 One day my pointers to mktemp (and related libc routines when done in code
 rather than shell scripts) will sink in.  Please don't invent ways of
 making semi-unique files and directories.
mktemp rox https://github.com/D-Programming-Language/installer/commit/f18bc75c436f2f3e15ac42fa10e55803db6d0e88 Andrei
Dec 23 2011
prev sibling next sibling parent reply Michel Fortin <michel.fortin michelf.com> writes:
On 2011-12-23 06:37:23 +0000, Andrei Alexandrescu 
<SeeWebsiteForEmail erdani.org> said:

 Try it out! http://dlang.org/download.html. I managed to automate 
 everything in one makefile - you type a command and next thing you know 
 the file is up there.
 
 https://github.com/D-Programming-Language/installer/commit/34fb6613fca77e0e75cadf5545560e799a8c82b2
On
 
 my machine it installed fine the first time around, the second time 
 I've had an error.
So, where on the file system does it install dmd and all its stuff? -- Michel Fortin michel.fortin michelf.com http://michelf.com/
Dec 23 2011
parent reply Jacob Carlborg <doob me.com> writes:
On 2011-12-23 13:59, Michel Fortin wrote:
 On 2011-12-23 06:37:23 +0000, Andrei Alexandrescu
 <SeeWebsiteForEmail erdani.org> said:

 Try it out! http://dlang.org/download.html. I managed to automate
 everything in one makefile - you type a command and next thing you
 know the file is up there.

 https://github.com/D-Programming-Language/installer/commit/34fb6613fca77e0e75cadf5545560e799a8c82b2
On
 my machine it installed fine the first time around, the second time
 I've had an error.
So, where on the file system does it install dmd and all its stuff?
Currently in "/usr/share/dmd" with symlinks in "/usr/bin" and "/usr/lib" IIRC. Shouldn't be any problem to change that. -- /Jacob Carlborg
Dec 23 2011
parent reply Michel Fortin <michel.fortin michelf.com> writes:
On 2011-12-23 16:02:23 +0000, Jacob Carlborg <doob me.com> said:

 Currently in "/usr/share/dmd" with symlinks in "/usr/bin" and 
 "/usr/lib" IIRC. Shouldn't be any problem to change that.
I'd tend to prefer /usr/local/share/dmd and /usr/local/{bin,lib,man}. For one thing that'll allow things to work with D for Xcode out of the box (which expects to find dmd and phobos in /usr/local/{bin,lib}) and also I think it is a better place to install stuff not provided by the vendor (Apple in this case). Typically, the vendor of a UNIX distribution put its things in /usr and leaves /usr/local clean so users can install their files separately of the ones provided by the distribution. Or at least that's how I understand things. -- Michel Fortin michel.fortin michelf.com http://michelf.com/
Dec 23 2011
parent Jacob Carlborg <doob me.com> writes:
On 2011-12-23 17:15, Michel Fortin wrote:
 On 2011-12-23 16:02:23 +0000, Jacob Carlborg <doob me.com> said:

 Currently in "/usr/share/dmd" with symlinks in "/usr/bin" and
 "/usr/lib" IIRC. Shouldn't be any problem to change that.
I'd tend to prefer /usr/local/share/dmd and /usr/local/{bin,lib,man}. For one thing that'll allow things to work with D for Xcode out of the box (which expects to find dmd and phobos in /usr/local/{bin,lib}) and also I think it is a better place to install stuff not provided by the vendor (Apple in this case). Typically, the vendor of a UNIX distribution put its things in /usr and leaves /usr/local clean so users can install their files separately of the ones provided by the distribution. Or at least that's how I understand things.
I didn't know where to put it so I just chose a place. There was some other installer that put it in /usr/share so I put it there as well. -- /Jacob Carlborg
Dec 23 2011
prev sibling next sibling parent Jacob Carlborg <doob me.com> writes:
On 2011-12-23 07:37, Andrei Alexandrescu wrote:
 Try it out! http://dlang.org/download.html. I managed to automate
 everything in one makefile - you type a command and next thing you know
 the file is up there.

 https://github.com/D-Programming-Language/installer/commit/34fb6613fca77e0e75cadf5545560e799a8c82b2


 On my machine it installed fine the first time around, the second time
 I've had an error.


 Andrei
Cool. -- /Jacob Carlborg
Dec 23 2011
prev sibling parent Jacob Carlborg <doob me.com> writes:
On 2011-12-23 07:37, Andrei Alexandrescu wrote:
 Try it out! http://dlang.org/download.html. I managed to automate
 everything in one makefile - you type a command and next thing you know
 the file is up there.

 https://github.com/D-Programming-Language/installer/commit/34fb6613fca77e0e75cadf5545560e799a8c82b2


 On my machine it installed fine the first time around, the second time
 I've had an error.


 Andrei
No D1 version yet? -- /Jacob Carlborg
Dec 23 2011