<div dir="ltr">Hi Miles and Ted,<div><br></div><div class="gmail_extra">First of all, I agree this is an unexpected error -- I&#39;ve built coin from source previously with no issue. There is probably something up on my end (I&#39;m checking env vars this morning), but I wanted to ping the list to see if anyone had seen this before. Thanks for responding! </div>

<div class="gmail_extra"><br></div><div class="gmail_extra">Regarding the existence of /user/include/coin:</div><div class="gmail_extra"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

09:08 Kermit:~/software/coin-Cbc-trunk/build$ ls /usr/include/coin<br>ls: cannot access /usr/include/coin: No such file or directory</blockquote><div><br></div><div>Note that I install my packages to ~/.local and have removed it when I have tried to build (below).</div>

<br><div class="gmail_quote">On Mon, Jul 28, 2014 at 9:31 PM, Ted Ralphs <span dir="ltr">&lt;<a href="mailto:ted@lehigh.edu" target="_blank">ted@lehigh.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">Hi Matt,</span><div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">I have never seen this behavior and I routinely build Cbc on most common platforms, including Ubuntu. I can&#39;t really think of a scenario in which those variables could be undefined during the build unless perhaps the configuration failed in some way and make was executed anyway? Could you send or post the contents of /home/gidden/software/coin-</span><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">Cbc-trunk/build/Clp/src/config.h?</span></div>

</div></blockquote><div><br></div><div>I checked this yesterday to confirm -- everything looks to be in order. </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

09:02 Kermit:~/software/coin-Cbc-trunk/build$ cat Clp/src/config.h <br><blockquote>/* src/config.h.  Generated by configure.  */<br>/* src/<a href="http://config.h.in">config.h.in</a>.  Generated from <a href="http://configure.ac">configure.ac</a> by autoheader.  */<br>

/* Define to 1, 2, 3, or 4 if Aboca should be build. */<br>/* #undef CLP_HAS_ABC */<br>/* SVN revision number of project */<br>#define CLP_SVN_REV 2043<br>/* Version number of project */<br>#define CLP_VERSION &quot;trunk&quot;<br>

/* Major Version number of project */<br>#define CLP_VERSION_MAJOR 9999<br>/* Minor Version number of project */<br>#define CLP_VERSION_MINOR 9999<br>/* Release Version number of project */<br>#define CLP_VERSION_RELEASE 9999<br>

/* Define to the debug sanity check level (0 is no test) */<br>#define COIN_CLP_CHECKLEVEL 0<br>/* Define to the debug verbosity level (0 is no output) */<br>#define COIN_CLP_VERBOSITY 0<br>/* Define to 1 if the AMD package is available */<br>

/* #undef COIN_HAS_AMD */<br>/* Define to 1 if the ASL package is available */<br>/* #undef COIN_HAS_ASL */<br>/* If defined, the BLAS Library is available. */<br>/* #undef COIN_HAS_BLAS */<br>/* Define to 1 if the CHOLMOD package is available */<br>

/* #undef COIN_HAS_CHOLMOD */<br>/* Define to 1 if the CoinUtils package is available */<br>#define COIN_HAS_COINUTILS 1<br>/* Define to 1 if the Glpk package is available */<br>/* #undef COIN_HAS_GLPK */<br>/* Define to 1 if the Mumps package is available */<br>

/* #undef COIN_HAS_MUMPS */<br>/* Define to 1 if the Netlib package is available */<br>/* #undef COIN_HAS_NETLIB */<br>/* Define to 1 if the Osi package is available */<br>#define COIN_HAS_OSI 1<br>/* Define to 1 if the OsiTests package is available */<br>

#define COIN_HAS_OSITESTS 1<br>/* Define to 1 if readline is available */<br>/* #undef COIN_HAS_READLINE */<br>/* Define to 1 if the Sample package is available */<br>#define COIN_HAS_SAMPLE 1<br>/* Define to 1 if the WSMP package is available */<br>

/* #undef COIN_HAS_WSMP */<br>/* Define to dummy `main&#39; function (if any) required to link to the Fortran<br>   libraries. */<br>/* #undef F77_DUMMY_MAIN */<br>/* Define to a macro mangling the given C identifier (in lower and upper<br>

   case), which must not contain underscores, for linking with Fortran. */<br>/* #undef F77_FUNC */<br>/* As F77_FUNC, but for C identifiers containing underscores. */<br>/* #undef F77_FUNC_ */<br>/* Define if F77 and FC dummy `main&#39; functions are identical. */<br>

/* #undef FC_DUMMY_MAIN_EQ_F77 */<br>/* Define to 1 if you have the &lt;cfloat&gt; header file. */<br>#define HAVE_CFLOAT 1<br>/* Define to 1 if you have the &lt;cieeefp&gt; header file. */<br>/* #undef HAVE_CIEEEFP */<br>

/* Define to 1 if you have the &lt;cmath&gt; header file. */<br>#define HAVE_CMATH 1<br>/* Define to 1 if you have the &lt;dlfcn.h&gt; header file. */<br>#define HAVE_DLFCN_H 1<br>/* Define to 1 if you have the &lt;float.h&gt; header file. */<br>

/* #undef HAVE_FLOAT_H */<br>/* Define to 1 if you have the &lt;ieeefp.h&gt; header file. */<br>/* #undef HAVE_IEEEFP_H */<br>/* Define to 1 if you have the &lt;inttypes.h&gt; header file. */<br>#define HAVE_INTTYPES_H 1<br>

/* Define to 1 if you have the &lt;math.h&gt; header file. */<br>/* #undef HAVE_MATH_H */<br>/* Define to 1 if you have the &lt;memory.h&gt; header file. */<br>#define HAVE_MEMORY_H 1<br>/* Define to 1 if you have the &lt;readline/readline.h&gt; header file. */<br>

/* #undef HAVE_READLINE_READLINE_H */<br>/* Define to 1 if you have the &lt;stdint.h&gt; header file. */<br>#define HAVE_STDINT_H 1<br>/* Define to 1 if you have the &lt;stdlib.h&gt; header file. */<br>#define HAVE_STDLIB_H 1<br>

/* Define to 1 if you have the &lt;strings.h&gt; header file. */<br>#define HAVE_STRINGS_H 1<br>/* Define to 1 if you have the &lt;string.h&gt; header file. */<br>#define HAVE_STRING_H 1<br>/* Define to 1 if you have the &lt;sys/stat.h&gt; header file. */<br>

#define HAVE_SYS_STAT_H 1<br>/* Define to 1 if you have the &lt;sys/types.h&gt; header file. */<br>#define HAVE_<br>/* Name of package */<br>#define PACKAGE &quot;clp&quot;<br>/* Define to the address where bug reports for this package should be sent. */<br>

#define PACKAGE_BUGREPORT &quot;<a href="mailto:clp@list.coin-or.org">clp@list.coin-or.org</a>&quot;<br>/* Define to the full name of this package. */<br>#define PACKAGE_NAME &quot;Clp&quot;<br>/* Define to the full name and version of this package. */<br>

#define PACKAGE_STRING &quot;Clp trunk&quot;<br>/* Define to the one symbol short name of this package. */<br>#define PACKAGE_TARNAME &quot;clp&quot;<br>/* Define to the version of this package. */<br>#define PACKAGE_VERSION &quot;trunk&quot;<br>

/* Define to 1 if you have the ANSI C header files. */<br>#define STDC_HEADERS 1<br>/* Version number of package */<br>#define VERSION &quot;trunk&quot;SYS_TYPES_H 1<br>/* Define to 1 if you have the &lt;unistd.h&gt; header file. */<br>

#define HAVE_UNISTD_H 1<br>/* Name of package */<br>#define PACKAGE &quot;clp&quot;<br>/* Define to the address where bug reports for this package should be sent. */<br>#define PACKAGE_BUGREPORT &quot;<a href="mailto:clp@list.coin-or.org">clp@list.coin-or.org</a>&quot;<br>

/* Define to the full name of this package. */<br>#define PACKAGE_NAME &quot;Clp&quot;<br>/* Define to the full name and version of this package. */<br>#define PACKAGE_STRING &quot;Clp trunk&quot;<br>/* Define to the one symbol short name of this package. */<br>

#define PACKAGE_TARNAME &quot;clp&quot;<br>/* Define to the version of this package. */<br>#define PACKAGE_VERSION &quot;trunk&quot;<br>/* Define to 1 if you have the ANSI C header files. */<br>#define STDC_HEADERS 1<br>
/* Version number of package */<br>
#define VERSION &quot;trunk&quot;</blockquote></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<blockquote> <br> <br><span style="font-family:arial,sans-serif;font-size:13.333333969116211px"> That is where they should be defined. You might as well also include </span><span style="font-size:13.333333969116211px;font-family:arial,sans-serif">/home/gidden/software/coin-</span><span style="font-size:13.333333969116211px;font-family:arial,sans-serif">Cbc-trunk/build/Clp/config.log.</span></blockquote>

</blockquote><div>Clp/config.log is longer; I put the results here: <a href="https://gist.github.com/gidden/d7050c3fddcc7f5572e8">https://gist.github.com/gidden/d7050c3fddcc7f5572e8</a>.</div><div><br></div><div>Thanks again for your interest. I&#39;m having a colleague try and see if he can replicate on a similar system.</div>

<div><br></div><div>Cheers,</div><div>Matt</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div dir="ltr">

<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Cheers,</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Ted<br></font><div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br>



</span></div><div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br></span></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Mon, Jul 28, 2014 at 12:14 PM, Matthew Gidden <span dir="ltr">&lt;<a href="mailto:gidden@wisc.edu" target="_blank">gidden@wisc.edu</a>&gt;</span> wrote:<br>



</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi all,<div>

<br></div><div>I&#39;m running ubuntu 14.04 and get the following error when building from source (I&#39;ve tried stable 2.8, releases 2.8.7-10, and trunk -- this is from trunk, but they all fail to build with the same error). I have replicated this issue on a separate machine, also running ubuntu 14.04. I am curious if anyone else has seen this before? I&#39;ve tried to visually inspect the related config files, and they appear to be fine. Both of these systems have had coin installed on them before; however, I made sure to remove it (manually -- there is no make uninstall =( ) from one to confirm.</div>





<div><br></div><div>I checkout and install normally</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">





$ svn co &lt;trunk&gt;<br>$ cd &lt;trunk&gt;; mkdir build; cd build<br>$ ./configure --prefix $HOME/.local<br>$ make</blockquote><div><br></div><div>The error is as follows:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">





 g++ -DHAVE_CONFIG_H -I. -I../../../Clp/src -I/home/gidden/software/coin-Cbc-trunk/CoinUtils/src -I/home/gidden/software/coin-Cbc-trunk/build/CoinUtils/src -DCOIN_HAS_CLP -O3 -pipe -DNDEBUG -pedantic-errors -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long -DCLP_BUILD -MT Clp_C_Interface.lo -MD -MP -MF .deps/Clp_C_Interface.Tpo -c ../../../Clp/src/Clp_C_Interface.cpp  -fPIC -DPIC -o .libs/Clp_C_Interface.o<br>





../../../Clp/src/Clp_C_Interface.cpp: In function &#39;const char* Clp_Version()&#39;:<br>../../../Clp/src/Clp_C_Interface.cpp:206:11: error: &#39;CLP_VERSION&#39; was not declared in this scope<br>    return CLP_VERSION;<br>





           ^<br>../../../Clp/src/Clp_C_Interface.cpp: In function &#39;int Clp_VersionMajor()&#39;:<br>../../../Clp/src/Clp_C_Interface.cpp:211:11: error: &#39;CLP_VERSION_MAJOR&#39; was not declared in this scope<br>    return CLP_VERSION_MAJOR;<br>





           ^<br>../../../Clp/src/Clp_C_Interface.cpp: In function &#39;int Clp_VersionMinor()&#39;:<br>../../../Clp/src/Clp_C_Interface.cpp:215:11: error: &#39;CLP_VERSION_MINOR&#39; was not declared in this scope<br>    return CLP_VERSION_MINOR;<br>





           ^<br>../../../Clp/src/Clp_C_Interface.cpp: In function &#39;int Clp_VersionRelease()&#39;:<br>../../../Clp/src/Clp_C_Interface.cpp:219:11: error: &#39;CLP_VERSION_RELEASE&#39; was not declared in this scope<br>





    return CLP_VERSION_RELEASE;<br>           ^<br>../../../Clp/src/Clp_C_Interface.cpp: In function &#39;const char* Clp_Version()&#39;:<br>../../../Clp/src/Clp_C_Interface.cpp:207:1: warning: control reaches end of non-void function [-Wreturn-type]<br>





 }<br> ^<br>../../../Clp/src/Clp_C_Interface.cpp: In function &#39;int Clp_VersionMajor()&#39;:<br>../../../Clp/src/Clp_C_Interface.cpp:212:1: warning: control reaches end of non-void function [-Wreturn-type]<br> }<br> ^<br>





../../../Clp/src/Clp_C_Interface.cpp: In function &#39;int Clp_VersionMinor()&#39;:<br>../../../Clp/src/Clp_C_Interface.cpp:216:1: warning: control reaches end of non-void function [-Wreturn-type]<br> }<br> ^<br>../../../Clp/src/Clp_C_Interface.cpp: In function &#39;int Clp_VersionRelease()&#39;:<br>





../../../Clp/src/Clp_C_Interface.cpp:220:1: warning: control reaches end of non-void function [-Wreturn-type]<br> }<br> ^<br>In file included from ../../../Clp/src/ClpModel.hpp:23:0,<br>                 from ../../../Clp/src/ClpSimplex.hpp:16,<br>





                 from ../../../Clp/src/Clp_C_Interface.cpp:14:<br>/home/gidden/software/coin-Cbc-trunk/CoinUtils/src/CoinFinite.hpp: At global scope:<br>/home/gidden/software/coin-Cbc-trunk/CoinUtils/src/CoinFinite.hpp:17:14: warning: &#39;COIN_DBL_MIN&#39; defined but not used [-Wunused-variable]<br>





 const double COIN_DBL_MIN = std::numeric_limits&lt;double&gt;::min();<br>              ^<br>/home/gidden/software/coin-Cbc-trunk/CoinUtils/src/CoinFinite.hpp:19:14: warning: &#39;COIN_INT_MAX&#39; defined but not used [-Wunused-variable]<br>





 const int    COIN_INT_MAX = std::numeric_limits&lt;int&gt;::max();<br>              ^<br>/home/gidden/software/coin-Cbc-trunk/CoinUtils/src/CoinFinite.hpp:20:14: warning: &#39;COIN_INT_MAX_AS_DOUBLE&#39; defined but not used [-Wunused-variable]<br>





 const double COIN_INT_MAX_AS_DOUBLE = std::numeric_limits&lt;int&gt;::max();<br>              ^<br>make[3]: *** [Clp_C_Interface.lo] Error 1<br>make[3]: Leaving directory `/home/gidden/software/coin-Cbc-trunk/build/Clp/src&#39;<br>





make[2]: *** [all] Error 2<br>make[2]: Leaving directory `/home/gidden/software/coin-Cbc-trunk/build/Clp/src&#39;<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/home/gidden/software/coin-Cbc-trunk/build/Clp&#39;<br>





make: *** [all-recursive] Error 1<br><br></blockquote><span><font color="#888888"><div><br></div><div> </div><div><div><br></div>-- <br><div dir="ltr">Matthew Gidden<br>Ph.D. Candidate, Nuclear Engineering<div>

The University of Wisconsin -- Madison<br>

Ph. <a href="tel:225.892.3192" value="+12258923192" target="_blank">225.892.3192</a><br></div></div>
</div></font></span></div>
<br></div></div><div class="">_______________________________________________<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" target="_blank">http://list.coin-or.org/mailman/listinfo/cbc</a><br>
<br></div></blockquote></div><span class=""><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Dr. Ted Ralphs<br>Associate Professor, Lehigh University<br><a href="tel:%28610%29%20628-1280" value="+16106281280" target="_blank">(610) 628-1280</a><br>

ted &#39;at&#39; lehigh &#39;dot&#39; edu<br><a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br>


</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Matthew Gidden<br>Ph.D. Candidate, Nuclear Engineering<div>The University of Wisconsin -- Madison<br>Ph. 225.892.3192<br></div></div>
</div></div>