[Ipopt] Issues with building IPOPT on MSYS

Stefan Vigerske stefan at math.hu-berlin.de
Fri Dec 18 09:33:40 EST 2009


Hi,

> The first one is in the building of MUMPS using gfortran. I have got my 
> gfortran installed in c:/Program Files/gfortran (installed from 
> http://gcc.gnu.org/wiki/GFortranBinaries), and the space in that 
> pathname is not being correctly handled by the build scripts.
> 
> I tried to work around it using
> 
>  ./configure --prefix=/home/john/Ipopt-inst 
> LDFLAGS="-L/c/PROGRA~1/gfortran/lib"
> 
> but it didn't work. I got this output:
> 
> checking how to get verbose linking output from gfortran... -v
> checking for Fortran libraries of gfortran...  
> -Lc:/PROGRA~1/gfortran/lib -Lc:/program -L/mingw/lib -lgfortranbegin 
> -lgfortran -lmingw32 -lmoldname -lmingwex -lmsvcrt -luser32 -lkernel32 
> -ladvapi32 -lshell32
> checking for dummy main to link with Fortran libraries... unknown
> configure: error: linking to Fortran libraries from C fails
> See `config.log' for more details.
> configure: error: /bin/sh './configure' failed for ThirdParty/Mumps
> 
> As you can see, something weird is happening with the "-Lc:/program" in 
> the above output... not a directory that actually exists, but a chopped 
> version of c:/Program Files/ instead.

What if you copy gfortran to some normal location like /home/john ?

Stefan

-- 
Stefan Vigerske
Humboldt University Berlin, Numerical Mathematics
http://www.math.hu-berlin.de/~stefan



More information about the Ipopt mailing list