coin-or / Osi

Open Solver Interface
Other
54 stars 41 forks source link

Configure fails locating CoinUtils on MSys2/MinGW-W64 #168

Closed ArmstrongJ closed 2 years ago

ArmstrongJ commented 2 years ago

I'm running into a configure issue when trying to build Osi using coinbrew, but the issue appears to be in the Osi configure script. Specifically, configure dies at:

...
checking for cfloat... yes
checking for cieeefp... no
checking for ieeefp.h... yes
checking for pkgconf... no
checking for pkg-config... pkg-config
checking pkg-config is at least version 0.16.0... yes: 0.29.2
configure: pkg-config path is "/c/Users/jeffr/Workspace/RWork/clpAPI/src/libs/dist/lib/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig:/lib/pkgconfig"
checking for package CoinUtils... Must specify package names on the command line
Must specify package names on the command line
no
configure: error: Required package CoinUtils not available.

The pkg-config path appears correct, and coinutils.pc is there.

The pertinent portion of config.log is:

...
configure:17579: result: no
configure:17579: checking for ieeefp.h
configure:17579: g++ -c -O2 -DNDEBUG   conftest.cpp >&5
configure:17579: $? = 0
configure:17579: result: yes
configure:17654: checking for pkgconf
configure:17689: result: no
configure:17654: checking for pkg-config
configure:17675: found /usr/bin/pkg-config
configure:17686: result: pkg-config
configure:17713: checking pkg-config is at least version 0.16.0
configure:17717: result: yes: 0.29.2
configure:17753: pkg-config path is "/c/Users/jeffr/Workspace/RWork/clpAPI/src/libs/dist/lib/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig:/lib/pkgconfig"
configure:17764: checking for package CoinUtils
configure:17967: result: no
configure:18006: error: Required package CoinUtils not available.

It almost looks like pkg-config isn't even executed.

ArmstrongJ commented 2 years ago

Appears that the issue might be local. I apologize for the false report.