-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Me and several colleagues have tried to install treePL on a cluster which does not provide access to the sudo command, and only enable the conda installer.
We encountered the same problems using git clone
and conda
to install treePL. The command make install does not work without the sudo command, and consequently, it is not possible to install the nlopt library.
These error messages show up when using make install in the /treepl/deps/nlopt-2.4.2
directory:
/usr/bin/install: cannot create regular file '/usr/local/include/nlopt.h': Permission denied
/usr/bin/install: cannot create regular file '/usr/local/include/nlopt.f': Permission denied
/usr/bin/install: cannot create regular file '/usr/local/include/nlopt.hpp': Permission denied
Therefore, when running the ./configure command in the treepl/src
directory, the following error appear:
--------------------------------------------------------
The nlopt library is required for optimization. In the
deps folder, you can unpack nlopt and run
./configure
make
sudo make install
--------------------------------------------------------
Is there any way to avoid using the sudo command during treePL installation? How to install nlopt and treePL without sudo?
Metadata
Metadata
Assignees
Labels
No labels