The symengine spkg tries to install in /usr/local

24 views
Skip to first unread message

Marc Culler

unread,
Apr 16, 2022, 12:00:59 PM4/16/22
to sage-devel
When trying to build 9.6.rc0 for the macOS app I got a failure when installing the symengine package. The error was:

Install the project...
-- Install configuration: "Release"
CMake Error at cmake_install.cmake:41 (file):
  file cannot create directory: /usr/local/lib/cmake/symengine.  Maybe need
  administrative privileges.

When I checked the "Configuration results SUMMARY" in the log file I found this line:
 CMAKE_INSTALL_PREFIX: /usr/local

Looking at the spkg-install.in file it seems that the cmake command is missing the option:
-DCMAKE_INSTALL_PREFIX="SAGE_LOCAL"

- Marc

Matthias Koeppe

unread,
Apr 16, 2022, 1:38:01 PM4/16/22
to sage-devel
Reply all
Reply to author
Forward
0 new messages