[Ipopt] Variable 'MKLROOT' not defined in ipopt.pc
Eric Antonelo
eric.antonelo at gmail.com
Wed Sep 18 16:32:17 EDT 2019
Dear all,
I've tried to make install ipopt, but I get the following error:
Variable 'MKLROOT' not defined in
'/home/eric/Software/CoinIpopt/build/lib/pkgconfig/ipopt.pc'
But MKLROOT is set in bash correctly to
/home/eric/intel/compilers_and_libraries_2019.5.281/linux/mkl
Do you have any idea of what could be causing this?
Below, more details of the output of make install:
test -z "/home/eric/Software/CoinIpopt/build/share/coin/doc/Ipopt" ||
mkdir -p -- "/home/eric/Software/CoinIpopt/build/share/coin/doc/Ipopt"
for file in README AUTHORS LICENSE ; do \
if test -f "$file"; then dir=; else dir="../../Ipopt/"; fi; \
if test -f "$dir$file"; then /usr/bin/install -c -m 644 "$dir$file"
"/home/eric/Software/CoinIpopt/build/share/coin/doc/Ipopt/$file"; fi;
\
done
test -z "/home/eric/Software/CoinIpopt/build/lib/pkgconfig" || mkdir
-p -- "/home/eric/Software/CoinIpopt/build/lib/pkgconfig"
/usr/bin/install -c -m 644 'ipopt.pc'
'/home/eric/Software/CoinIpopt/build/lib/pkgconfig/ipopt.pc'
make install-data-hook
make[4]: Entering directory '/home/eric/Software/CoinIpopt/build/Ipopt'
PKG_CONFIG_PATH=/home/eric/Software/CoinIpopt/build/lib64/pkgconfig:/home/eric/Software/CoinIpopt/build/lib/pkgconfig:/home/eric/Software/CoinIpopt/build/share/pkgconfig:/home/eric/intel/compilers_and_libraries_2019.5.281/linux/mkl/bin/pkgconfig:/home/eric/Software/CoinIpopt/build/lib/pkgconfig
\
pkg-config --libs ipopt >
/home/eric/Software/CoinIpopt/build/share/coin/doc/Ipopt/ipopt_addlibs_cpp.txt
Variable 'MKLROOT' not defined in
'/home/eric/Software/CoinIpopt/build/lib/pkgconfig/ipopt.pc'
Makefile:1095: recipe for target 'install-data-hook' failed
make[4]: *** [install-data-hook] Error 1
make[4]: Leaving directory '/home/eric/Software/CoinIpopt/build/Ipopt'
Makefile:1000: recipe for target 'install-data-am' failed
make[3]: *** [install-data-am] Error 2
make[3]: Leaving directory '/home/eric/Software/CoinIpopt/build/Ipopt'
Makefile:960: recipe for target 'install-am' failed
make[2]: *** [install-am] Error 2
make[2]: Leaving directory '/home/eric/Software/CoinIpopt/build/Ipopt'
Makefile:679: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/home/eric/Software/CoinIpopt/build/Ipopt'
Makefile:323: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
More information about the Ipopt
mailing list