View mode: basic / threaded / horizontal-split · Log in · Help
April 14, 2012
Re: dmd 1.074 and 2.059 release
On Saturday, 14 April 2012 at 13:02:07 UTC, Tyro[17] wrote:

>
> Files in /usr/bin have no extended attribute (@), all belong to
> root, and are in the wheel group. So I tried to follow suit.
> With the exception of being able to get rid of the extended
> attribute, everything else is the same. To get rid of the @
> I tried sudo xattr -d /usr/share/dmd/bin/dmd and
> sudo xattr -d /usr/bin/dmd but neither worked.
>
> Help? Please!?!
> Andrew

This is not an attribute problem. I've figured out how to use
xattr properly and removed all extended properties from
all dmd files and folders. After which I tried to launch dmd
but still run into the same problem:

-bash: /usr/bin/dmd: cannot execute binary file

Thanks,
Andrew
April 14, 2012
Re: dmd 1.074 and 2.059 release
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?
April 14, 2012
Re: dmd 1.074 and 2.059 release
On Saturday, 14 April 2012 at 13:04:31 UTC, Tyro[17] wrote:
> On Saturday, 14 April 2012 at 10:39:29 UTC, Jacob Carlborg
>> https://bitbucket.org/doob/dvm
>
> -bash: wget: command not found

Are you on OS X? DVM could use »curl -O« there, I guess, or you 
could do a »port/brew install wget«.

David
April 14, 2012
Re: dmd 1.074 and 2.059 release
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
April 14, 2012
Re: dmd 1.074 and 2.059 release
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?

That could be the case but I've only used the contents of the osx
folder to install dmd. Maybe I'm missing something but I did not
think that the osx version was released in a 32 bit version.
April 14, 2012
Re: dmd 1.074 and 2.059 release
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
April 14, 2012
Re: dmd 1.074 and 2.059 release
On Saturday, 14 April 2012 at 13:59:59 UTC, David Nadlinger wrote:
> On Saturday, 14 April 2012 at 13:04:31 UTC, Tyro[17] wrote:
>> On Saturday, 14 April 2012 at 10:39:29 UTC, Jacob Carlborg
>>> https://bitbucket.org/doob/dvm
>>
>> -bash: wget: command not found
>
> Are you on OS X? DVM could use »curl -O« there, I guess, or 
> you could do a »port/brew install wget«.
>
> David

unless someone in China sells their own version of the MacBook Pro
with a home-brewed version of OS X Lion, I am positive.
April 14, 2012
Re: dmd 1.074 and 2.059 release
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

still learning...

/usr/share/dmd/bin/dmd: Mach-O 64-bit executable x86_64
April 14, 2012
Re: dmd 1.074 and 2.059 release
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!

Oh well:

http://d.puremagic.com/issues/show_bug.cgi?id=7909

wasn't too hard to fix in Phobos. Looks like it might have
been caused by a change of overload resolution or something,
but I think that's a change for the better.

We can just add another unittest now.
April 14, 2012
Re: dmd 1.074 and 2.059 release
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.

Awesome, thanks to everyone involved.
1 2 3 4 5 6 7
Top | Discussion index | About this forum | D home