Closed anasmatic closed 5 years ago
Hi,
I had the same error after make. If you use install-ubuntu-MPC.sh to install Ipopt, it may not install successfully. I use below command to install Ipopt (it takes a long while to install).
./install_ipopt.sh Ipopt-3.12.7/
After that, make
complete without error.
FYI, my os is ubuntu 14.04.
And, I also sent a pull request to update install script.
this worked for me with sudo, ie:
sudo ./install_ipopt.sh Ipopt-3.12.7/
sudo ./install_ipopt.sh Ipopt-3.12.7/
worked for me, as well.
Hello,
I tried the same approach on windows 10 / ubuntu bash but the command aborts with the following stuff. any suggestions what went wrong? one thing I already found was to not use a directory with a space in it..
checking whether user supplied BLASLIB="/usr/local/lib/libcoinblas.a -lgfortran" works... no configure: error: user supplied BLAS library "/usr/local/lib/libcoinblas.a -lgfortran" does not work configure: error: /bin/bash './configure' failed for ThirdParty/Mumps Making all in ThirdParty/ASL make[1]: Entering directory '/mnt/c/Users/jakut/Documents/Udacity/CarND-MPC-Quizzes/Ipopt-3.12.7/ThirdParty/ASL' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/mnt/c/Users/jakut/Documents/Udacity/CarND-MPC-Quizzes/Ipopt-3.12.7/ThirdParty/ASL' Making all in ThirdParty/Mumps make[1]: Entering directory '/mnt/c/Users/jakut/Documents/Udacity/CarND-MPC-Quizzes/Ipopt-3.12.7/ThirdParty/Mumps' make[1]: *** No rule to make target 'all'. Stop. make[1]: Leaving directory '/mnt/c/Users/jakut/Documents/Udacity/CarND-MPC-Quizzes/Ipopt-3.12.7/ThirdParty/Mumps' Makefile:323: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Making all in ThirdParty/ASL make[1]: Entering directory '/mnt/c/Users/jakut/Documents/Udacity/CarND-MPC-Quizzes/Ipopt-3.12.7/ThirdParty/ASL' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/mnt/c/Users/jakut/Documents/Udacity/CarND-MPC-Quizzes/Ipopt-3.12.7/ThirdParty/ASL' Making all in ThirdParty/Mumps make[1]: Entering directory '/mnt/c/Users/jakut/Documents/Udacity/CarND-MPC-Quizzes/Ipopt-3.12.7/ThirdParty/Mumps' make[1]: *** No rule to make target 'all'. Stop. make[1]: Leaving directory '/mnt/c/Users/jakut/Documents/Udacity/CarND-MPC-Quizzes/Ipopt-3.12.7/ThirdParty/Mumps' Makefile:323: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Making install in ThirdParty/ASL make[1]: Entering directory '/mnt/c/Users/jakut/Documents/Udacity/CarND-MPC-Quizzes/Ipopt-3.12.7/ThirdParty/ASL' make[2]: Entering directory '/mnt/c/Users/jakut/Documents/Udacity/CarND-MPC-Quizzes/Ipopt-3.12.7/ThirdParty/ASL' test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib" if test -f libcoinasl.la; then \ /bin/bash ./../../libtool --mode=install /usr/bin/install -c libcoinasl.la "/usr/local/lib/libcoinasl.la"; \ fi /usr/bin/install -c .libs/libcoinasl.so.1.3.6 /usr/local/lib/libcoinasl.so.1.3.6 /usr/bin/install: cannot create regular file '/usr/local/lib/libcoinasl.so.1.3.6': Permission denied Makefile:740: recipe for target 'install-exec-local' failed make[2]: *** [install-exec-local] Error 1 make[2]: Leaving directory '/mnt/c/Users/jakut/Documents/Udacity/CarND-MPC-Quizzes/Ipopt-3.12.7/ThirdParty/ASL' Makefile:625: recipe for target 'install-am' failed make[1]: *** [install-am] Error 2 make[1]: Leaving directory '/mnt/c/Users/jakut/Documents/Udacity/CarND-MPC-Quizzes/Ipopt-3.12.7/ThirdParty/ASL' Makefile:323: recipe for target 'install-recursive' failed make: *** [install-recursive] Error 1
@jensakut: I have the exact same error. I tried many different ways to install the ipopt including: ./install_ipopt.sh Ipopt-3.12.7/ sudo ./install_ipopt.sh Ipopt-3.12.7/
Both these fail with: /usr/bin/install -c .libs/libcoinasl.so.1.3.6 /usr/local/lib/libcoinasl.so.1.3.6 /usr/bin/install: cannot create regular file '/usr/local/lib/libcoinasl.so.1.3.6': Permission denied Makefile:740: recipe for target 'install-exec-local' failed make[2]: [install-exec-local] Error 1 make[2]: Leaving directory '/mnt/c/Users/Omkar/CarND-Term2-Workbooks/CarND-MPC-Quizzes-master/Ipopt-3.12.7/ThirdParty/ASL' Makefile:625: recipe for target 'install-am' failed make[1]: [install-am] Error 2 make[1]: Leaving directory '/mnt/c/Users/Omkar/CarND-Term2-Workbooks/CarND-MPC-Quizzes-master/Ipopt-3.12.7/ThirdParty/ASL' Makefile:323: recipe for target 'install-recursive' failed make: *** [install-recursive] Error 1
I am kind of stuck here. Without these I am not even finished with the in-class quiz!!
Weird .. I take it back. On my third attempt (doing aparently something different) sudo ./install_ipopt.sh Ipopt-3.12.7/ worked to install ipopt. Now I have a new error: CarND-MPC-Quizzes-master/mpc_to_line/src/MPC.cpp:2:22: fatal error: IpTNLP.hpp: No such file or directory compilation terminated.
Closing this one out as it looks like the answer was found - we also have a note now in the related installation instructions about specifying the directory. Thanks for posting the Issue!
Hello,
I tried the same approach on windows 10 / ubuntu bash but the command aborts with the following stuff. any suggestions what went wrong? one thing I already found was to not use a directory with a space in it..
checking whether user supplied BLASLIB="/usr/local/lib/libcoinblas.a -lgfortran" works... no configure: error: user supplied BLAS library "/usr/local/lib/libcoinblas.a -lgfortran" does not work configure: error: /bin/bash './configure' failed for ThirdParty/Mumps Making all in ThirdParty/ASL make[1]: Entering directory '/mnt/c/Users/jakut/Documents/Udacity/CarND-MPC-Quizzes/Ipopt-3.12.7/ThirdParty/ASL' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/mnt/c/Users/jakut/Documents/Udacity/CarND-MPC-Quizzes/Ipopt-3.12.7/ThirdParty/ASL' Making all in ThirdParty/Mumps make[1]: Entering directory '/mnt/c/Users/jakut/Documents/Udacity/CarND-MPC-Quizzes/Ipopt-3.12.7/ThirdParty/Mumps' make[1]: *** No rule to make target 'all'. Stop. make[1]: Leaving directory '/mnt/c/Users/jakut/Documents/Udacity/CarND-MPC-Quizzes/Ipopt-3.12.7/ThirdParty/Mumps' Makefile:323: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Making all in ThirdParty/ASL make[1]: Entering directory '/mnt/c/Users/jakut/Documents/Udacity/CarND-MPC-Quizzes/Ipopt-3.12.7/ThirdParty/ASL' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/mnt/c/Users/jakut/Documents/Udacity/CarND-MPC-Quizzes/Ipopt-3.12.7/ThirdParty/ASL' Making all in ThirdParty/Mumps make[1]: Entering directory '/mnt/c/Users/jakut/Documents/Udacity/CarND-MPC-Quizzes/Ipopt-3.12.7/ThirdParty/Mumps' make[1]: *** No rule to make target 'all'. Stop. make[1]: Leaving directory '/mnt/c/Users/jakut/Documents/Udacity/CarND-MPC-Quizzes/Ipopt-3.12.7/ThirdParty/Mumps' Makefile:323: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Making install in ThirdParty/ASL make[1]: Entering directory '/mnt/c/Users/jakut/Documents/Udacity/CarND-MPC-Quizzes/Ipopt-3.12.7/ThirdParty/ASL' make[2]: Entering directory '/mnt/c/Users/jakut/Documents/Udacity/CarND-MPC-Quizzes/Ipopt-3.12.7/ThirdParty/ASL' test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib" if test -f libcoinasl.la; then \ /bin/bash ./../../libtool --mode=install /usr/bin/install -c libcoinasl.la "/usr/local/lib/libcoinasl.la"; \ fi /usr/bin/install -c .libs/libcoinasl.so.1.3.6 /usr/local/lib/libcoinasl.so.1.3.6 /usr/bin/install: cannot create regular file '/usr/local/lib/libcoinasl.so.1.3.6': Permission denied Makefile:740: recipe for target 'install-exec-local' failed make[2]: *** [install-exec-local] Error 1 make[2]: Leaving directory '/mnt/c/Users/jakut/Documents/Udacity/CarND-MPC-Quizzes/Ipopt-3.12.7/ThirdParty/ASL' Makefile:625: recipe for target 'install-am' failed make[1]: *** [install-am] Error 2 make[1]: Leaving directory '/mnt/c/Users/jakut/Documents/Udacity/CarND-MPC-Quizzes/Ipopt-3.12.7/ThirdParty/ASL' Makefile:323: recipe for target 'install-recursive' failed make: *** [install-recursive] Error 1
I also have the same problem.
Try sudo. It was working for me
sudo ./install_ipopt.sh Ipopt-3.12.7
using Bash on Windows10 after following instalation instructions I got this error on make