2018-04-27 22:18 GMT+02:00 John H Palmieri:
>
> On Friday, April 27, 2018 at 12:56:37 PM UTC-7, Dima Pasechnik wrote:
>>
>> On Friday, April 27, 2018 at 8:16:32 PM UTC+1, Christelle Vincent wrote:
>>>
>>> It says: Should I install the database then?
>>
>> that's OK to do so.
>>
>> I bet the offending library is in /usr/local
>> (headers in /usr/local/include, the library in /usr/local/lib, have a
look)
>> Move them out of the way.
>> (e.g. just rename /usr/local to /usr/local_bak)
>
>
> On my system, you can't rename /usr/local – you get a message
> 'mv: rename local to local_bak: Operation not permitted'.

It's a matter of permissions, you need sudo for that.

> So instead you could do
>
> mv /usr/local/lib /usr/local/lib_bak
> mv /usr/local/include /usr/local/include_bak
>
> and maybe the same with /usr/local/bin, too.

It used to be that running the following in the terminal before
running `make` was enough to build SageMath in my setup:

    export
PATH='/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Library/TeX/texbin'

but since Sage 8.2.beta2, it is no longer the case, see

    https://groups.google.com/d/msg/sage-release/eQM0qwn2XW8/f2X1wj6cAAAJ

and I now need to additionally do:

    sudo mv /usr/local /usr/localbackup

before building with `make`, and to revert that after `make`
has completed, by doing:

    sudo mv /usr/localbackup /usr/local

It would be interesting to check whether the changed behaviour
can be tracked to a particular commit.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to