[Ipopt] Error on make install Ipopt Version 3.9.2

Stefan Vigerske stefan at math.hu-berlin.de
Wed Jul 4 05:02:52 EDT 2012


Hi,

you probably have used --libdir with configure?
Then it should be
  cd /homes/numerik/paul/lib_src/CoinIpopt/build
  ln -s /homes/numerik/paul/Mex/Ipopt/lib64 lib

Stefan

On 07/04/2012 10:57 AM, Paul van Hoven wrote:
> Hi Stefan, this is the "other stuff":
>
> paul at gauss:~/lib_src/CoinIpopt/build> make install
> Making install in ThirdParty/ASL
> make[1]: Entering directory
> `/homes/numerik/paul/lib_src/CoinIpopt/build/ThirdParty/ASL'
> make[2]: Entering directory
> `/homes/numerik/paul/lib_src/CoinIpopt/build/ThirdParty/ASL'
> make[2]: Für das Ziel »install-exec-am« ist nichts zu tun.
> test -z "/homes/numerik/paul/Mex/Ipopt/lib64/pkgconfig" || mkdir -p --
> "/homes/numerik/paul/Mex/Ipopt/lib64/pkgconfig"
>   /usr/bin/install -c -m 644 'coinasl.pc'
> '/homes/numerik/paul/Mex/Ipopt/lib64/pkgconfig/coinasl.pc'
> test -z "/homes/numerik/paul/Mex/Ipopt/include/coin/ThirdParty" ||
> mkdir -p -- "/homes/numerik/paul/Mex/Ipopt/include/coin/ThirdParty"
>   /usr/bin/install -c -m 644 '../../../ThirdParty/ASL/solvers/asl.h'
> '/homes/numerik/paul/Mex/Ipopt/include/coin/ThirdParty/asl.h'
>   /usr/bin/install -c -m 644
> '../../../ThirdParty/ASL/solvers/asl_pfg.h'
> '/homes/numerik/paul/Mex/Ipopt/include/coin/ThirdParty/asl_pfg.h'
>   /usr/bin/install -c -m 644
> '../../../ThirdParty/ASL/solvers/asl_pfgh.h'
> '/homes/numerik/paul/Mex/Ipopt/include/coin/ThirdParty/asl_pfgh.h'
>   /usr/bin/install -c -m 644 '../../../ThirdParty/ASL/solvers/psinfo.h'
> '/homes/numerik/paul/Mex/Ipopt/include/coin/ThirdParty/psinfo.h'
>   /usr/bin/install -c -m 644
> '../../../ThirdParty/ASL/solvers/funcadd.h'
> '/homes/numerik/paul/Mex/Ipopt/include/coin/ThirdParty/funcadd.h'
>   /usr/bin/install -c -m 644 '../../../ThirdParty/ASL/solvers/nlp.h'
> '/homes/numerik/paul/Mex/Ipopt/include/coin/ThirdParty/nlp.h'
>   /usr/bin/install -c -m 644 '../../../ThirdParty/ASL/solvers/nlp2.h'
> '/homes/numerik/paul/Mex/Ipopt/include/coin/ThirdParty/nlp2.h'
>   /usr/bin/install -c -m 644
> '../../../ThirdParty/ASL/solvers/getstub.h'
> '/homes/numerik/paul/Mex/Ipopt/include/coin/ThirdParty/getstub.h'
>   /usr/bin/install -c -m 644
> '../../../ThirdParty/ASL/solvers/opcode.hd'
> '/homes/numerik/paul/Mex/Ipopt/include/coin/ThirdParty/opcode.hd'
>   /usr/bin/install -c -m 644 '../../../ThirdParty/ASL/solvers/r_opn.hd'
> '/homes/numerik/paul/Mex/Ipopt/include/coin/ThirdParty/r_opn.hd'
>   /usr/bin/install -c -m 644 'stdio1.h'
> '/homes/numerik/paul/Mex/Ipopt/include/coin/ThirdParty/stdio1.h'
>   /usr/bin/install -c -m 644 'arith.h'
> '/homes/numerik/paul/Mex/Ipopt/include/coin/ThirdParty/arith.h'
> test -z "/homes/numerik/paul/Mex/Ipopt/lib64/coin/ThirdParty" || mkdir
> -p -- "/homes/numerik/paul/Mex/Ipopt/lib64/coin/ThirdParty"
>   /usr/bin/install -c -m 644 'libamplsolver.a'
> '/homes/numerik/paul/Mex/Ipopt/lib64/coin/ThirdParty/libamplsolver.a'
> make  install-data-hook
> make[3]: Entering directory
> `/homes/numerik/paul/lib_src/CoinIpopt/build/ThirdParty/ASL'
> PKG_CONFIG_PATH=/homes/numerik/paul/Mex/Ipopt/lib/pkgconfig: \
> /usr/bin/pkg-config --libs coinasl >
> /homes/numerik/paul/Mex/Ipopt/share/coin/doc/ThirdParty/ASL/asl_addlibs.txt
> Package coinasl was not found in the pkg-config search path.
> Perhaps you should add the directory containing `coinasl.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'coinasl' found
> make[3]: *** [install-data-hook] Fehler 1
> make[3]: Leaving directory
> `/homes/numerik/paul/lib_src/CoinIpopt/build/ThirdParty/ASL'
> make[2]: *** [install-data-am] Fehler 2
> make[2]: Leaving directory
> `/homes/numerik/paul/lib_src/CoinIpopt/build/ThirdParty/ASL'
> make[1]: *** [install-am] Fehler 2
> make[1]: Leaving directory
> `/homes/numerik/paul/lib_src/CoinIpopt/build/ThirdParty/ASL'
> make: *** [install-recursive] Fehler 1
>
>
>
>
>
> 2012/7/3 Stefan Vigerske <stefan at math.hu-berlin.de>:
>> Hi,
>>
>> can you send more output, esp. this "...other stuff happens here..."
>>
>> Stefan
>>
>>
>> On 07/03/2012 06:50 PM, Paul van Hoven wrote:
>>>
>>> Hey Stefan, thank you for the answer. I added the link but I still get
>>> the same error. Btw my machine runs "openSUSE 12.1 (Asparagus)
>>> (x86_64)"
>>>
>>> Paul
>>>
>>> 2012/7/3 Stefan Vigerske <stefan at math.hu-berlin.de>:
>>>>
>>>> Hi,
>>>>
>>>> in /homes/numerik/paul/lib_src/CoinIpopt/build try
>>>>    ln -s lib64 lib
>>>>
>>>> This works around a problem on current opensuse systems for me.
>>>>
>>>> Stefan
>>>>
>>>>
>>>> On 07/02/2012 03:25 PM, Paul van Hoven wrote:
>>>>>
>>>>>
>>>>> Hi!
>>>>>
>>>>> I tried to compile and install Ipopt 3.9.2 on my linux machine. The
>>>>> configure script and make run fine. But when it comes to make install
>>>>> I get an error message that I do not understand:
>>>>>
>>>>>> make install
>>>>>
>>>>>
>>>>> ...other stuff happens here...
>>>>> make  install-data-hook
>>>>> make[3]: Entering directory
>>>>> `/homes/numerik/paul/lib_src/CoinIpopt/build/ThirdParty/ASL'
>>>>> PKG_CONFIG_PATH=/homes/numerik/paul/Mex/Ipopt/lib/pkgconfig: \
>>>>> /usr/bin/pkg-config --libs coinasl >
>>>>>
>>>>>
>>>>> /homes/numerik/paul/Mex/Ipopt/share/coin/doc/ThirdParty/ASL/asl_addlibs.txt
>>>>> Package coinasl was not found in the pkg-config search path.
>>>>> Perhaps you should add the directory containing `coinasl.pc'
>>>>> to the PKG_CONFIG_PATH environment variable
>>>>> No package 'coinasl' found
>>>>> make[3]: *** [install-data-hook] Fehler 1
>>>>> make[3]: Leaving directory
>>>>> `/homes/numerik/paul/lib_src/CoinIpopt/build/ThirdParty/ASL'
>>>>> make[2]: *** [install-data-am] Fehler 2
>>>>> make[2]: Leaving directory
>>>>> `/homes/numerik/paul/lib_src/CoinIpopt/build/ThirdParty/ASL'
>>>>> make[1]: *** [install-am] Fehler 2
>>>>> make[1]: Leaving directory
>>>>> `/homes/numerik/paul/lib_src/CoinIpopt/build/ThirdParty/ASL'
>>>>> make: *** [install-recursive] Fehler 1
>>>>>
>>>>> I found the package 'coinasl.pc'  in the subdirectory
>>>>> ($BASE_PATH)/CoinIpopt/build/ThirdParty/ASL. I added this path to the
>>>>> evironment variable PKG_CONFIG_PATH but it has no effect. I still get
>>>>> the same error. Anybody knows what is going wrong here?
>>>>>
>>>>> Thanks
>>>>> Paul
>>>>> _______________________________________________
>>>>> Ipopt mailing list
>>>>> Ipopt at list.coin-or.org
>>>>> http://list.coin-or.org/mailman/listinfo/ipopt
>>>>>
>>>>
>>>>
>>>
>>
>>
>




More information about the Ipopt mailing list