[Ipopt-tickets] [Ipopt] #124: wget not found when building IPOPT on MinGW/MSYS

Ipopt coin-trac at coin-or.org
Thu May 6 03:38:33 EDT 2010


#124: wget not found when building IPOPT on MinGW/MSYS
------------------------------+---------------------------------------------
Reporter:  jdpipe             |       Owner:  ipopt-team
    Type:  defect             |      Status:  new       
Priority:  normal             |   Component:  Ipopt     
 Version:  3.8 (C++ Version)  |    Severity:  normal    
Keywords:                     |  
------------------------------+---------------------------------------------
 I use the 'wget' from the !GnuWin32 project, which by default installs in
 c:\Program Files\!GnuWin32\bin. I then add that folder to my PATH in MSYS
 and all !GnuWin32 commands are then available straight away. These are
 much easier to install than the MSYS/MinGW stuff, and work fine.

 Problem is that the various 'get.PACKAGENAME' scripts in the !ThirdParty
 section of IPOPT fail to detect my 'wget', because the call 'which wget |
 wc -w' returns a number more than 1, but a value of 1 is the only
 allowable.

 The solution to this bug, I believe, is a to simply change 'wc -w' to 'wc
 -l' for all of these 'wget' calls. Alternatively, I wonder if the return
 value of the 'which' command can be checked?

 For ease of building, maybe a 'get.!ThirdParty' script could be provided
 that automatically downloaded all possible third-party libraries (except
 HSL which can't be automated...easily).

-- 
Ticket URL: <https://projects.coin-or.org/Ipopt/ticket/124>
Ipopt <http://projects.coin-or.org/Ipopt>
Interior-point optimizer for nonlinear programs.



More information about the Ipopt-tickets mailing list