I had dub installed in a folder that meant I had to put 'sudo
dub' to run it. I've tried to fix the problem, but where do you
put it (also I tried one place, but couldn't put it in that
folder)?
On Thursday, 18 February 2016 at 07:11:23 UTC, Joel wrote:
I had dub installed in a folder that meant I had to put 'sudo
dub' to run it. I've tried to fix the problem, but where do you
put it (also I tried one place, but couldn't put it in that
folder)?
I've now tried 'brew install dub' and '
On Thursday, 18 February 2016 at 07:52:11 UTC, Joel wrote:
On Thursday, 18 February 2016 at 07:11:23 UTC, Joel wrote:
I had dub installed in a folder that meant I had to put 'sudo
dub' to run it. I've tried to fix the problem, but where do
you put it (also I tried one place, but couldn't put it
On 2016-02-18 08:11, Joel wrote:
I had dub installed in a folder that meant I had to put 'sudo dub' to
run it. I've tried to fix the problem, but where do you put it (also I
tried one place, but couldn't put it in that folder)?
You usually have read access to most paths. That means you should b
On Thursday, 18 February 2016 at 08:24:34 UTC, Jacob Carlborg
wrote:
On 2016-02-18 08:11, Joel wrote:
I had dub installed in a folder that meant I had to put 'sudo
dub' to
run it. I've tried to fix the problem, but where do you put it
(also I
tried one place, but couldn't put it in that folder
On Thursday, 18 February 2016 at 09:25:00 UTC, Joel wrote:
On Thursday, 18 February 2016 at 08:24:34 UTC, Jacob Carlborg
wrote:
On 2016-02-18 08:11, Joel wrote:
I had dub installed in a folder that meant I had to put 'sudo
dub' to
run it. I've tried to fix the problem, but where do you put
it
On Thursday, 18 February 2016 at 07:52:11 UTC, Joel wrote:
On Thursday, 18 February 2016 at 07:11:23 UTC, Joel wrote:
I had dub installed in a folder that meant I had to put 'sudo
dub' to run it. I've tried to fix the problem, but where do
you put it (also I tried one place, but couldn't put it
On 2016-02-18 10:55, Edwin van Leeuwen wrote:
sudo cp dub /usr/bin/
It should say in /usr/local/bin. Because users don't have write access
to /usr/bin on OS X 10.11, even with sudo.
--
/Jacob Carlborg
On Thursday, 18 February 2016 at 16:33:51 UTC, John Colvin wrote:
On Thursday, 18 February 2016 at 07:52:11 UTC, Joel wrote:
On Thursday, 18 February 2016 at 07:11:23 UTC, Joel wrote:
I had dub installed in a folder that meant I had to put 'sudo
dub' to run it. I've tried to fix the problem, bu
On Thursday, 18 February 2016 at 23:28:43 UTC, Joel wrote:
On Thursday, 18 February 2016 at 16:33:51 UTC, John Colvin
wrote:
[...]
I don't think I put 'sudo brew' at any point (I can't
remember). I hope I haven't broken my OSX!
[...]
Did you recently upgrade OS X? Anyway, you should proba
On Friday, 19 February 2016 at 11:34:33 UTC, John Colvin wrote:
On Thursday, 18 February 2016 at 23:28:43 UTC, Joel wrote:
On Thursday, 18 February 2016 at 16:33:51 UTC, John Colvin
wrote:
[...]
I don't think I put 'sudo brew' at any point (I can't
remember). I hope I haven't broken my OSX!
On Thursday, 18 February 2016 at 08:18:20 UTC, Guillaume Piolat
wrote:
On Thursday, 18 February 2016 at 07:52:11 UTC, Joel wrote:
On Thursday, 18 February 2016 at 07:11:23 UTC, Joel wrote:
I had dub installed in a folder that meant I had to put 'sudo
dub' to run it. I've tried to fix the proble
On 2016-02-20 04:21, Joel wrote:
How do you do symbolic links?
ln -s
Replace and with the appropriate paths.
--
/Jacob Carlborg
On Saturday, 20 February 2016 at 12:01:04 UTC, Jacob Carlborg
wrote:
On 2016-02-20 04:21, Joel wrote:
How do you do symbolic links?
ln -s
Replace and with the appropriate paths.
I get this:
Joels-MacBook-Pro:bin joelcnz$ ln -s /usr/local/bin/dub /usr/bin
ln: /usr/bin/dub: Operation no
On 2016-02-24 07:49, Joel wrote:
I get this:
Joels-MacBook-Pro:bin joelcnz$ ln -s /usr/local/bin/dub /usr/bin
ln: /usr/bin/dub: Operation not permitted
Joels-MacBook-Pro:bin joelcnz$
If you have OS X 10.10.x or lower you can prefix the command with
"sudo". If you have OS X 10.11 or later you
On Wednesday, 24 February 2016 at 07:35:40 UTC, Jacob Carlborg
wrote:
On 2016-02-24 07:49, Joel wrote:
I get this:
Joels-MacBook-Pro:bin joelcnz$ ln -s /usr/local/bin/dub
/usr/bin
ln: /usr/bin/dub: Operation not permitted
Joels-MacBook-Pro:bin joelcnz$
If you have OS X 10.10.x or lower you
On 2016-02-24 09:09, Joel wrote:
I have OS X version 10.11.3
What about adding another path to $PATH? I don't know how though.
Open or create ~/.bash_profile. Add the following:
export PATH=:$PATH
Replace with the path you want to add. Close and save the
file. Open a new window/tab in the
On Wednesday, 24 February 2016 at 15:16:17 UTC, Jacob Carlborg
wrote:
On 2016-02-24 09:09, Joel wrote:
I have OS X version 10.11.3
What about adding another path to $PATH? I don't know how
though.
Open or create ~/.bash_profile. Add the following:
export PATH=:$PATH
Replace with the path
On 2016-02-24 23:11, Joel wrote:
Error: Error writing file
'../../../.dub/packages/dsfml-2.1.0/libdsfml_system.a'
Joels-MacBook-Pro:DGuy joelcnz$
Is the full path of ../../../.dub/packages/dsfml-2.1.0 writable?
--
/Jacob Carlborg
On Thursday, 25 February 2016 at 11:06:09 UTC, Jacob Carlborg
wrote:
On 2016-02-24 23:11, Joel wrote:
Error: Error writing file
'../../../.dub/packages/dsfml-2.1.0/libdsfml_system.a'
Joels-MacBook-Pro:DGuy joelcnz$
Is the full path of ../../../.dub/packages/dsfml-2.1.0 writable?
.dub is gra
On Thursday, 25 February 2016 at 11:06:09 UTC, Jacob Carlborg
wrote:
On 2016-02-24 23:11, Joel wrote:
Error: Error writing file
'../../../.dub/packages/dsfml-2.1.0/libdsfml_system.a'
Joels-MacBook-Pro:DGuy joelcnz$
Is the full path of ../../../.dub/packages/dsfml-2.1.0 writable?
It is path:
On 2016-02-25 22:38, Joel wrote:
.dub is grayed out on Finder, and isn't writable.
I'm suspecting that you don't own that directory. You can see the owner
by running this:
ls -l -a ~/ | grep dub
The third column is the owner. You change the owner like this from the
Terminal:
sudo chown
On Friday, 26 February 2016 at 08:03:19 UTC, Jacob Carlborg wrote:
On 2016-02-25 22:38, Joel wrote:
.dub is grayed out on Finder, and isn't writable.
I'm suspecting that you don't own that directory. You can see
the owner by running this:
ls -l -a ~/ | grep dub
The third column is the own
On 2016-02-28 04:33, Joel wrote:
Things just silently not work.
Joels-MacBook-Pro:packages joelcnz$ ls -l -a ~/ | grep dub
drwxr-xr-x4 joelcnz staff 136 26 Sep 12:47 .dub
Joels-MacBook-Pro:packages joelcnz$
That looks correct. If you don't get any error message it's very hard to
hel
On Sunday, 28 February 2016 at 11:06:26 UTC, Jacob Carlborg wrote:
On 2016-02-28 04:33, Joel wrote:
Things just silently not work.
Joels-MacBook-Pro:packages joelcnz$ ls -l -a ~/ | grep dub
drwxr-xr-x4 joelcnz staff 136 26 Sep 12:47 .dub
Joels-MacBook-Pro:packages joelcnz$
That look
On Sunday, 28 February 2016 at 11:06:26 UTC, Jacob Carlborg wrote:
On 2016-02-28 04:33, Joel wrote:
Things just silently not work.
Joels-MacBook-Pro:packages joelcnz$ ls -l -a ~/ | grep dub
drwxr-xr-x4 joelcnz staff 136 26 Sep 12:47 .dub
Joels-MacBook-Pro:packages joelcnz$
That look
On 2016-03-02 05:12, Joel wrote:
Wait a minute, I get this:
Build directory
.dub/build/application-debug-posix.osx-x86_64-dmd_2070-2EBE4466CF46539CC1D524962E530835/
is not writable. Falling back to direct build in the system's temp folder.
Is ~/.dub writable by you? What about the sub directo
On Wednesday, 2 March 2016 at 08:55:40 UTC, Jacob Carlborg wrote:
On 2016-03-02 05:12, Joel wrote:
Wait a minute, I get this:
Build directory
.dub/build/application-debug-posix.osx-x86_64-dmd_2070-2EBE4466CF46539CC1D524962E530835/
is not writable. Falling back to direct build in the system's
On 2016-03-02 23:41, Joel wrote:
I don't seem to have a folder 'build' there.
It all seems writable.
Hmm, that's really weird. I guess that's the folder it fails to write.
Is it running as a different user. What if you change the permissions to
allow everything, i.e. "chmod 777 ~/.dub". Wil
On Thursday, 3 March 2016 at 07:07:55 UTC, Jacob Carlborg wrote:
On 2016-03-02 23:41, Joel wrote:
I don't seem to have a folder 'build' there.
It all seems writable.
Hmm, that's really weird. I guess that's the folder it fails to
write. Is it running as a different user. What if you change
30 matches
Mail list logo