<div dir="ltr">This looks like an easy fix. The test that is causing the error is unnecessary and can just be eliminated. To propagate the change to all configure scripts in all dependent projects and out to release is going to take a while and we'll have to do some testing first. <div><br></div><div>In the meantime, though, I realized that the error does not cause the configure script to fail for me---I just get the message and configure goes through anyway. In this case, everything should be fine and you can make as usual. If the error is causing the script to stop, then maybe you are running with "set -e"? If so, just not doing that should allow things to go through for now. </div><div><br></div><div>Alternatively, this should patch the scripts so that you don't get the error:</div><div><br></div><div>for i in `find . -name configure`; do sed 's/full_prefix=`cd $full_prefix ; pwd`//' $i > xxx; mv xxx $i; done<br></div><div><br></div><div>Let me know if this is good enough for now and I'll try to get that fix out as soon as I can get it tested.</div><div><br></div><div>Ted</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 19, 2016 at 6:36 PM, Ted Ralphs <span dir="ltr"><<a href="mailto:ted@lehigh.edu" target="_blank">ted@lehigh.edu</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">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"><div><div class="h5">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></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><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></div></div>_______________________________________________<br>
Cbc mailing list<br>
<a href="mailto:Cbc@list.coin-or.org" target="_blank">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><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Dr. Ted Ralphs<br>Professor, Lehigh University<br><a href="tel:%28610%29%20628-1280" value="+16106281280" target="_blank">(610) 628-1280</a><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>
</font></span></div>
</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>