View mode: basic / threaded / horizontal-split · Log in · Help
March 02, 2012
Mac Installer - Can't find druntime/import and phobos/src after install
Hi all!

I'm running MacOSX and i ran the mac DMD installer. However, it 
doesn't look like the /druntime/import and /phobos/src 
directories got installed anywhere. these are needed for the 
mono-d monodevlop add-in to work for D programming. couple 
questions:

1) am i just missing it, and they got installed someplace? i did 
a hard drive search and couldn't find them.

2) if they didn't get installed, can we get that installer 
updated to have those get installed someplace?

i'd really like to get this running, and it would be helpful if 
the installation process was fairly straightforward. i'm working 
on this doc: 
https://docs.google.com/document/d/1otZvBUGM_soFAN-OH2BtdB_-J9qiw_2nJM0WNDzvSho/edit?pli=1 
and that's the last bit.
March 02, 2012
Re: Mac Installer - Can't find druntime/import and phobos/src after install
On Friday, 2 March 2012 at 18:08:03 UTC, bryan costanich wrote:
> Hi all!
>
> I'm running MacOSX and i ran the mac DMD installer. However, it 
> doesn't look like the /druntime/import and /phobos/src 
> directories got installed anywhere. these are needed for the 
> mono-d monodevlop add-in to work for D programming. couple 
> questions:
>
> 1) am i just missing it, and they got installed someplace? i 
> did a hard drive search and couldn't find them.
>
> 2) if they didn't get installed, can we get that installer 
> updated to have those get installed someplace?
>
> i'd really like to get this running, and it would be helpful if 
> the installation process was fairly straightforward. i'm 
> working on this doc: 
> https://docs.google.com/document/d/1otZvBUGM_soFAN-OH2BtdB_-J9qiw_2nJM0WNDzvSho/edit?pli=1 
> and that's the last bit.

Do you have homebrew? If so, you can run brew install dmd. It'll 
install dmd and the supporting files will be in 
/usr/local/Cellar/dmd/<version>
March 02, 2012
Re: Mac Installer - Can't find druntime/import and phobos/src after install
On Friday, 2 March 2012 at 18:08:03 UTC, bryan costanich wrote:
> Hi all!
>
> I'm running MacOSX and i ran the mac DMD installer. However, it 
> doesn't look like the /druntime/import and /phobos/src 
> directories got installed anywhere. these are needed for the 
> mono-d monodevlop add-in to work for D programming. couple 
> questions:
>
> 1) am i just missing it, and they got installed someplace? i 
> did a hard drive search and couldn't find them.
>
> 2) if they didn't get installed, can we get that installer 
> updated to have those get installed someplace?
>
> i'd really like to get this running, and it would be helpful if 
> the installation process was fairly straightforward. i'm 
> working on this doc: 
> https://docs.google.com/document/d/1otZvBUGM_soFAN-OH2BtdB_-J9qiw_2nJM0WNDzvSho/edit?pli=1 
> and that's the last bit.

The compiler is installed in /usr/share/dmd if I recall 
correctly. Another great way to install the compiler is to use 
DVM. It lets you easily install and switch between multiple 
versions of the the compiler.

https://bitbucket.org/doob/dvm/wiki/Home
March 02, 2012
Re: Mac Installer - Can't find druntime/import and phobos/src after install
Jacob: the compiler is installed in usr/local/bin. but that 
doesn't matter, that's not what i need to locate. :)

Robert: no, i don't have homebrew. nor should users be expected 
to have it. the mac installer should install those support files.

-

this is what it comes down to, installing this and getting it 
running should be painless. it's pretty close with the mac 
installer, but the mac installer needs to install those support 
files too. if it did, we'd be in good shape. i can add a bug or 
something to get that happen.
March 02, 2012
Re: Mac Installer - Can't find druntime/import and phobos/src after install
Jacob: the compiler is installed in usr/local/bin. but that 
doesn't matter, that's not what i need to locate. :)

Robert: no, i don't have homebrew. nor should users be expected 
to have it. the mac installer should install those support files.

-

this is what it comes down to, installing this and getting it 
running should be painless. it's pretty close with the mac 
installer, but the mac installer needs to install those support 
files too. if it did, we'd be in good shape. i can add a bug or 
something to get that happen.
March 03, 2012
Re: Mac Installer - Can't find druntime/import and phobos/src after install
On Friday, 2 March 2012 at 21:59:15 UTC, bryan costanich wrote:
> Jacob: the compiler is installed in usr/local/bin. but that 
> doesn't matter, that's not what i need to locate. :)

If no one has changed the installer since I created it, it's only 
a symlink in /usr/local/bin and the actual compiler and alla it's 
needed files are installed in /usr/share/dmd (IIRC).

> Robert: no, i don't have homebrew. nor should users be expected 
> to have it. the mac installer should install those support 
> files.
>
> -
>
> this is what it comes down to, installing this and getting it 
> running should be painless. it's pretty close with the mac 
> installer, but the mac installer needs to install those support 
> files too. if it did, we'd be in good shape. i can add a bug or 
> something to get that happen.

It's dead easy to install using dvm.
March 03, 2012
Re: Mac Installer - Can't find druntime/import and phobos/src after install
On Friday, 2 March 2012 at 21:59:15 UTC, bryan costanich wrote:
> this is what it comes down to, installing this and getting it 
> running should be painless. it's pretty close with the mac 
> installer, but the mac installer needs to install those support 
> files too. if it did, we'd be in good shape.

If the druntime/Phobos modules were not installed, not even 
compiling Hello World would work, so you most probably have them 
already. You should be able to find the directories by searching 
for object.di (druntime) and e.g. algorithm.d (Phobos) in 
/usr/share/dmd.

From [1], it seems like /usr/share/dmd/src/druntime/import and 
/usr/share/dmd/src/phobos are the directories you are looking 
for. I personally don't use the pre-packaged installer though, so 
I don't know for sure.

David


[1] 
https://github.com/D-Programming-Language/installer/blob/master/osx/dmd2.conf
March 03, 2012
Re: Mac Installer - Can't find druntime/import and phobos/src after install
On 2012-03-03 11:26, Jacob Carlborg wrote:
> On Friday, 2 March 2012 at 21:59:15 UTC, bryan costanich wrote:
>> Jacob: the compiler is installed in usr/local/bin. but that doesn't
>> matter, that's not what i need to locate. :)
>
> If no one has changed the installer since I created it, it's only a
> symlink in /usr/local/bin and the actual compiler and alla it's needed
> files are installed in /usr/share/dmd (IIRC).

I've verified now that Phobos and druntime are installed in 
"/usr/share/dmd/src/".

>> Robert: no, i don't have homebrew. nor should users be expected to
>> have it. the mac installer should install those support files.
>>
>> -
>>
>> this is what it comes down to, installing this and getting it running
>> should be painless. it's pretty close with the mac installer, but the
>> mac installer needs to install those support files too. if it did,
>> we'd be in good shape. i can add a bug or something to get that happen.
>
> It's dead easy to install using dvm.


-- 
/Jacob Carlborg
March 06, 2012
Re: Mac Installer - Can't find druntime/import and phobos/src after install
thanks, Jacob. :) you're right, they're there. I'll finish up the 
tutorial.
Top | Discussion index | About this forum | D home