<div dir="ltr"><div><div><div>Hi,<br><br></div><div>I use Cbc via Pyomo for MIP models.<br></div><div><br></div><div>I need to compile and build Cbc in a directory different than the install directory.  In fact, what I want to do is build Cbc executables and libraries, and then include them in an RPM with a bunch of other executables for installation on another system.<br><br></div><div>I had thought that I could do this via the --prefix option to configure to specify the install directories on the target system.<br></div><div>However the configure script objects, saying it cannot find the prefix directories on the build system:<br><div style="margin-left:40px">        CFLAGS="$RPM_OPT_FLAGS -O2 -Wall -fno-strict-aliasing" \<br>        ./configure --prefix="/opt/foo/bar/cbc" --enable-threadsafe  > /dev/null<br>./configure: line 5844: cd: /opt/foo/bar/cbc: No such file or directory<br>./configure: line 2236: cd: /opt/foo/bar/cbc: No such file or directory<br>./configure: line 2308: cd: /opt/foo/bar/cbc: No such file or directory<br>./configure: line 6877: cd: /opt/foo/bar/cbc: No such file or directory<br></div></div><div><br></div><div>When I do this with GLPK, it does the configure and build with no complaints, <br><br></div>I can correctly install Cbc on a node, provided I create the prefix directory in advance of the configure.<br><br></div>Is there another option I should be using to configure Cbc?<br><br></div>Thank you.<br><br><br></div>