April 14, 2012
On 2012-04-14 15:57, Adam D. Ruppe wrote:
> On Saturday, 14 April 2012 at 13:48:46 UTC, Tyro[17] wrote:
>> -bash: /usr/bin/dmd: cannot execute binary file
>
> Perhaps running the 32 bit bin on a 64 bit system?

Mac OS X can run both 32 and 64bit applications out of the box.

-- 
/Jacob Carlborg
April 15, 2012
On Saturday, 14 April 2012 at 17:46:12 UTC, Nick Sabalausky wrote:
> "Tyro[17]" <nospam@home.com> wrote in message
> news:lnfohbryykmdlrqrixir@forum.dlang.org...
>> On Saturday, 14 April 2012 at 14:05:19 UTC, Tyro[17] wrote:
>>> On Saturday, 14 April 2012 at 14:01:51 UTC, David Nadlinger wrote:
>>>> On Saturday, 14 April 2012 at 13:57:11 UTC, Adam D. Ruppe wrote:
>>>>> On Saturday, 14 April 2012 at 13:48:46 UTC, Tyro[17] wrote:
>>>>>> -bash: /usr/bin/dmd: cannot execute binary file
>>>>>
>>>>> Perhaps running the 32 bit bin on a 64 bit system?
>>>>
>>>> This is not a problem on OS X. I'm building DMD from source, so I can't comment on the specific problem, but what does »file /usr/bin/dmd« print?
>>>>
>>>> David
>>>
>>> /usr/bin/dmd: data
>>
>> Cause found resolution still out of reach. The problem is that Apple
>> changed the way they created aliases for executables in the Lion. I
>> thought I found the resolution to the problem
>> (put an alias into .bash_profile for dmd) but I just ran into this:
>>
>> $ dmd pe9
>> object.d: Error: module object is in file 'object.d' which cannot be read
>> import path[0] = /usr/share/dmd/bin/../../src/phobos
>> import path[1] = /usr/share/dmd/bin/../../src/druntime/import
>
> That's because you were changing the directory structure. You can delete
> "linux", "windows", etc if you want (but you don't have to). But just leave
> the "osx" directory as it is. There's no need to move/rename it.
>
> You *can* fix your problem by adjusting the paths in dmd.conf (in the same
> dir as the exectable file), but there's really no point in bothering to do
> it that way.

Thanks... That does the trick. I was trying to mirror the structure
of the previous instillation (left by the 2.058.dmg package). Probably
should have read the .conf file prior to touching anything but I
wasn't yet aware of it's purpose.

Again, thank you much.
Andrew
April 15, 2012
On Saturday, 14 April 2012 at 18:45:11 UTC, Jacob Carlborg wrote:
> On 2012-04-14 15:04, Tyro[17] wrote:
>
> Then download it manually.
>
> 1. https://bitbucket.org/doob/dvm/downloads/dvm-0.4.0-osx
> 2. chmod +x dvm-0.4.0-osx
> 3. ./dvm-0.4.0-osx install dvm
> 4. Open a new terminal
> 5. Follow these instructions: https://bitbucket.org/doob/dvm/wiki/Home#!usage

Thanks for the link.... I've resolved the issue but will this nugget
for future use.

Andrew
April 15, 2012
On Saturday, 14 April 2012 at 00:47:33 UTC, Tyro[17] wrote:
> On Friday, 13 April 2012 at 05:54:26 UTC, Walter Bright wrote:
>> Another big pile of bug fixes. More contributors than ever!
>>
>> http://www.digitalmars.com/d/1.0/changelog.html
>> http://ftp.digitalmars.com/dmd.1.074.zip
>>
>> http://www.digitalmars.com/d/2.0/changelog.html
>> https://github.com/downloads/D-Programming-Language/dmd/dmd.2.059.zip
>>
>> Note that the changelogs on dlang.org haven't been updated yet. Hope to get that done soon.
>
> Not Found
>
> The requested URL /dmd.2.059.dmg was not found on this server.
>
> Can I play too please.

Thanks to everyone's assistance, I was able to resolve this issue. Your
assistance was truly appreciated.

Andrew
April 15, 2012
On 4/14/2012 11:45 AM, Jacob Carlborg wrote:

Hi Jacob, I'm having problems building the .dmg file. Can you please email me, as I don't have your email address?
April 15, 2012
On 4/13/2012 6:34 PM, Walter Bright wrote:
> On 4/13/2012 5:47 PM, Tyro[17] wrote:
>> The requested URL /dmd.2.059.dmg was not found on this server.
>
> Hmm, I overlooked that one.

It's up now.
April 15, 2012
On 4/14/2012 11:45 AM, Jacob Carlborg wrote:
> Mac OS X can run both 32 and 64bit applications out of the box.

Just FYI, the dmd binaries for OSX are all 64 bit. There seems little purpose to shipping 32 bit builds anymore.

April 16, 2012
On Sat, 14 Apr 2012 11:01:56 -0400, Adam D. Ruppe <destructionator@gmail.com> wrote:

> On Saturday, 14 April 2012 at 02:52:59 UTC, Walter Bright wrote:
>> Sorry about that, but the beta has been out for a week and a half, and we fixed every reported regression since 2.058.
>
> I'm sure I'm not the only one who doesn't use the betas though!

Think for a minute about what you are saying.  Then do yourself a favor and go subscribe here: http://lists.puremagic.com/mailman/listinfo/dmd-beta

-Steve
1 2 3 4 5 6 7
Next ›   Last »