-i openssl not working Mac OSX

51 views
Skip to first unread message

Grant Bowling

unread,
Apr 29, 2020, 7:54:28 PM4/29/20
to sage-devel
Hello,

I got an error trying to use sage -i openssl to get openssl on my sage so that I can use -pip install packagename. I have the required xtools command line tools. Apologies if this is a duplicate post. It seems the main error I got is [openssl-1.1.1b] ccache: error: Failed to create directory /Users/grant/.ccache/f/2: Permission denied. 

Thank you!
openssl-1.1.1b.log

Justin C. Walker

unread,
Apr 30, 2020, 1:22:30 AM4/30/20
to SAGE Development


> On Apr 29, 2020, at 15:50, Grant Bowling <gbow...@usc.edu> wrote:
>
> Hello,
>
> I got an error trying to use sage -i openssl to get openssl on my sage so that I can use -pip install packagename. I have the required xtools command line tools. Apologies if this is a duplicate post. It seems the main error I got is [openssl-1.1.1b] ccache: error: Failed to create directory /Users/grant/.ccache/f/2: Permission denied.

It’s possible that somewhere along the line, you ran something as root that changed permissions somewhere in the path to ~/.ccache/f/2.

Check the permissions with “ls -ld” using the arguments ~/.ccache, ~/.ccache/f, and ~/.ccache/f/2.

Make sure nothing in the path is owned by root.

HTH,

Justin

Samuel Lelievre

unread,
Apr 30, 2020, 8:38:03 AM4/30/20
to sage-devel
Thu 2020-04-30 05:22:30 UTC, Justin C. Walker:
>
> > On Apr 29, 2020, at 15:50, Grant Bowling:
To set ownership of `~/.ccache` and all its subdirectories
to the current user, run the following command:

$ sudo chown -R `whoami` ~/.ccache

Nathan Dunfield

unread,
Apr 30, 2020, 9:23:29 AM4/30/20
to sage-devel
Assuming you are using one of the recent binary packages for Sage 8.9 or 9.0, you could also use the prebuilt openssl packages available here:


Just download "mac_sage8.tgz" or "mac_sage9.tgz", unpack, and follow the instructions.

Nathan

Reply all
Reply to author
Forward
0 new messages