February 25, 2016
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: Macky -> Users/joelcnz and is writable. But .dub etc on the path isn't writable. (joelcnz/.dub)
February 26, 2016
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 -R joelcnz ~/.dub

Assuming "joelcnz" is your user account name.

If you do are the owner then it looks like the directory isn't writable. You can check that with the same "ls" command. The permissions are in the first column. It should look like this:

drwxr-xr-x

Meaning writable, readable and executable by the owner. Readable and executable by the group, readable and executable by everyone else. To make it have those exact permissions, run the following:

chmod 755 ~/.dub

-- 
/Jacob Carlborg
February 28, 2016
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 owner. You change the owner like this from the Terminal:
>
> sudo chown -R joelcnz ~/.dub
>
> Assuming "joelcnz" is your user account name.
>
> If you do are the owner then it looks like the directory isn't writable. You can check that with the same "ls" command. The permissions are in the first column. It should look like this:
>
> drwxr-xr-x
>
> Meaning writable, readable and executable by the owner. Readable and executable by the group, readable and executable by everyone else. To make it have those exact permissions, run the following:
>
> chmod 755 ~/.dub

Things just silently not work.

Joels-MacBook-Pro:packages joelcnz$ ls -l -a ~/ | grep dub
drwxr-xr-x    4 joelcnz  staff     136 26 Sep 12:47 .dub
Joels-MacBook-Pro:packages joelcnz$
February 28, 2016
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-x    4 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 help.

-- 
/Jacob Carlborg
February 28, 2016
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-x    4 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 help.

Yes, it does look better. Thanks Jacob.
March 02, 2016
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-x    4 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 help.

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.
March 02, 2016
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 directories, like ~/.dub/build?

-- 
/Jacob Carlborg
March 02, 2016
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 temp folder.
>
> Is ~/.dub writable by you? What about the sub directories, like ~/.dub/build?

I don't seem to have a folder 'build' there.

It all seems writable.
March 03, 2016
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". Will that make any difference?

-- 
/Jacob Carlborg
March 03, 2016
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 the permissions to allow everything, i.e. "chmod 777 ~/.dub". Will that make any difference?

I tried it and it didn't make any difference.
1 2 3
Next ›   Last »