Closed kingaj12 closed 5 years ago
Solved! The solution is to follow the instructions on the Msys2 install page ;). Particularly,
pacman -Syuu
Ah, but now I had to install some more things. I followed the instructions (well, most of them) on
http://www.math.ucla.edu/~wotaoyin/windows_coding.html
http://wiki.icub.org/wiki/Installing_IPOPT
I guess this is all good now? If there are things missing from documentation, let me know. I'm slowly trying to document all of these subtle details.
I have an error similar to this one. What should I do?
2021-12-29 12:22:20 (207 KB/s) - ‘MUMPS_4.10.0.tar.gz’ saved [2481516/2481516]
Uncompressing the tarball...
Unpacking the source code...
Deleting the tar file...
Done downloading the source code for MUMPS.
Apply a patch to work around a bug in MUMPS.
patching file MUMPS/src/dmumps_part2.F
Verify that there are no error message in the output above.
./get.AllThirdParty: line 7: ./get.*: No such file or directory
./get.AllThirdParty: line 7: ./get.*: No such file or directory
mkdir: cannot create directory ‘build’: File exists
configure: loading site script /etc/config.site
checking for svnversion... yes
checking build system type... Invalid configuration `x86_64-pc-msys': system `msys' not recognized
configure: error: /bin/sh ../config.sub x86_64-pc-msys failed
make: *** No rule to make target 'install'. Stop.
Did you follow the instructions here?
https://coin-or.github.io/user_introduction#windows-1
The important part is the argument --build=x86_64-w64-mingw32
to coinbrew
, which is specifically to mitigate the invalid configuration error. The other errors there probably won't cause any issues.
Hello,
I am having similar problem in Windows 11 too:
$ ./configure
configure: loading site script /etc/config.site
checking build system type... Invalid configuration `x86_64-pc-msys': system `msys' not recognized
configure: error: /bin/sh ./config.sub x86_64-pc-msys failed
So here is what I did:
pacman -S binutils diffutils git grep make patch pkg-config
pacman -S mingw-w64-x86_64-gcc
pacman -S mingw-w64-x86_64-gcc-fortran
pacman -S mingw-w64-x86_64-lapack mingw-w64-x86_64-metis
cd Ipopt-3.12.13
cd ThirdParty/Blas
./get.Blas
cd ../Lapack
./get.Lapack
cd ../ASL
./get.ASL
cd ../Metis
./get.Metis
mkdir Ipopt-3.12.13/build
cd Ipopt-3.12.13/build
../configure
And I got the error above. Could someone please advise how do I get around this?
Thank you.
try
wget 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD' -O './config.guess'
wget 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD' -O './config.sub'
./configure
to solve the config.sub error
Following instructions for the windows build. Installed msys2, downloaded package from git, but configure fails with: