<div dir="ltr">This error is due to a custom m4 function used by the COIN build system that assumes the existence of the prefix directory. It look like it's not really crucial that the directory exist for anything that comes later---we just made the implicit assumption that it does and no one complained before now. I'll see if we can fix this easily.<div><br></div><div>Cheers,</div><div><br></div><div>Ted</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 18, 2016 at 1:03 PM, Charles Lindsay <span dir="ltr"><<a href="mailto:charlesclindsay@gmail.com" target="_blank">charlesclindsay@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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>
<br>_______________________________________________<br>
Cbc mailing list<br>
<a href="mailto:Cbc@list.coin-or.org">Cbc@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/cbc" rel="noreferrer" target="_blank">http://list.coin-or.org/mailman/listinfo/cbc</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Dr. Ted Ralphs<br>Professor, Lehigh University<br>(610) 628-1280<br>ted 'at' lehigh 'dot' edu<br><a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br></div></div>
</div>