DUB saying my Linux exe file is "not an executable file" even though DUB built it

2016-08-13 Thread WhatMeWorry via Digitalmars-d-learn
Not a lot to work with here. I'm a beginner Linux user. $ dub build --force Performing "debug" build using dmd for x86_64. derelict-util 2.0.6: building configuration "library"... derelict-gl3 1.0.18: building configuration "library"... derelict-glfw3 3.1.0: building configuration "derelict-glf

Re: DUB saying my Linux exe file is "not an executable file" even though DUB built it

2016-08-13 Thread WhatMeWorry via Digitalmars-d-learn
$ sudo chmod -v 777 * mode of 'HelloWindow' changed from 0644 (rw-r--r--) to 0777 (rwxrwxrwx) $ ls -al total 3016 drwxr-xr-x 2 generic generic4096 Aug 13 16:48 . drwxr-xr-x 7 generic generic4096 Aug 12 23:14 .. -rw-r--r-- 1 generic generic 3080080 Aug 13 16:48 HelloWindow Now I'm real

Re: DUB saying my Linux exe file is "not an executable file" even though DUB built it

2016-08-13 Thread Seb via Digitalmars-d-learn
On Saturday, 13 August 2016 at 21:56:49 UTC, WhatMeWorry wrote: $ sudo chmod -v 777 * mode of 'HelloWindow' changed from 0644 (rw-r--r--) to 0777 (rwxrwxrwx) $ ls -al total 3016 drwxr-xr-x 2 generic generic4096 Aug 13 16:48 . drwxr-xr-x 7 generic generic4096 Aug 12 23:14 .. -rw-r--r--

Re: DUB saying my Linux exe file is "not an executable file" even though DUB built it

2016-08-13 Thread Basile B. via Digitalmars-d-learn
On Saturday, 13 August 2016 at 21:56:49 UTC, WhatMeWorry wrote: $ sudo chmod -v 777 * mode of 'HelloWindow' changed from 0644 (rw-r--r--) to 0777 (rwxrwxrwx) $ ls -al total 3016 drwxr-xr-x 2 generic generic4096 Aug 13 16:48 . drwxr-xr-x 7 generic generic4096 Aug 12 23:14 .. -rw-r--r--

Re: DUB saying my Linux exe file is "not an executable file" even though DUB built it

2016-08-13 Thread WhatMeWorry via Digitalmars-d-learn
On Sunday, 14 August 2016 at 01:05:33 UTC, Basile B. wrote: On Saturday, 13 August 2016 at 21:56:49 UTC, WhatMeWorry wrote: $ sudo chmod -v 777 * mode of 'HelloWindow' changed from 0644 (rw-r--r--) to 0777 (rwxrwxrwx) $ ls -al total 3016 drwxr-xr-x 2 generic generic4096 Aug 13 16:48 . drw

Re: DUB saying my Linux exe file is "not an executable file" even though DUB built it

2016-08-13 Thread Adam D. Ruppe via Digitalmars-d-learn
On Saturday, 13 August 2016 at 18:28:20 UTC, WhatMeWorry wrote: $ dub run Performing "debug" build using dmd for x86_64. Running ./bin/HelloWindow Not an executable file: ./bin/HelloWindow I kinda betcha dub is lying about 64 bit. Linux likes to spew that kind of nonsense if you run a 32 bit p

Re: DUB saying my Linux exe file is "not an executable file" even though DUB built it

2016-08-13 Thread Basile B. via Digitalmars-d-learn
On Sunday, 14 August 2016 at 03:42:34 UTC, Basile B. wrote: On Sunday, 14 August 2016 at 03:20:02 UTC, Adam D. Ruppe wrote: On Saturday, 13 August 2016 at 18:28:20 UTC, WhatMeWorry wrote: $ dub run Performing "debug" build using dmd for x86_64. Running ./bin/HelloWindow Not an executable file:

Re: DUB saying my Linux exe file is "not an executable file" even though DUB built it

2016-08-13 Thread Basile B. via Digitalmars-d-learn
On Sunday, 14 August 2016 at 03:20:02 UTC, Adam D. Ruppe wrote: On Saturday, 13 August 2016 at 18:28:20 UTC, WhatMeWorry wrote: $ dub run Performing "debug" build using dmd for x86_64. Running ./bin/HelloWindow Not an executable file: ./bin/HelloWindow I kinda betcha dub is lying about 64 bit.

Re: DUB saying my Linux exe file is "not an executable file" even though DUB built it

2016-08-13 Thread Basile B. via Digitalmars-d-learn
On Sunday, 14 August 2016 at 03:10:28 UTC, WhatMeWorry wrote: On Sunday, 14 August 2016 at 01:05:33 UTC, Basile B. wrote: On Saturday, 13 August 2016 at 21:56:49 UTC, WhatMeWorry wrote: $ sudo chmod -v 777 * mode of 'HelloWindow' changed from 0644 (rw-r--r--) to 0777 (rwxrwxrwx) $ ls -al tot

Re: DUB saying my Linux exe file is "not an executable file" even though DUB built it

2016-08-14 Thread NX via Digitalmars-d-learn
On Sunday, 14 August 2016 at 03:10:28 UTC, WhatMeWorry wrote: On Sunday, 14 August 2016 at 01:05:33 UTC, Basile B. wrote: On Saturday, 13 August 2016 at 21:56:49 UTC, WhatMeWorry wrote: $ sudo chmod -v 777 * mode of 'HelloWindow' changed from 0644 (rw-r--r--) to 0777 (rwxrwxrwx) $ ls -al tot

Re: DUB saying my Linux exe file is "not an executable file" even though DUB built it

2016-08-14 Thread WhatMeWorry via Digitalmars-d-learn
This is the actual problem that cause trouble. Your flash drive is probably Fat32 or NTFS formatted rather than ext4. Since those file systems do not support "executable attribute", Linux will silently fail to give files the attribute which results in these sort of surprises. You may wonder why