<div>I am sorry, I thought I was at the right mailing list.</div>
<div>I will create a ticket for the problem. I appreciated your help.</div>
<div>&nbsp;</div>
<div>Thanks</div>
<div>&nbsp;</div>
<div>Cumhur</div>
<div>&nbsp;</div>
<div><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 8/28/07, <b class="gmail_sendername">Andreas Waechter</b> &lt;<a href="mailto:andreasw@watson.ibm.com">andreasw@watson.ibm.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Cumhur,<br><br>The BuildTools mailing list is not meant for bug reports, it is meant for<br>the developers of the COIN BuildTools to communicate.
<br><br>To handle your problem, please submit a ticket at the BuildTools trac<br>page (<a href="https://projects.coin-or.org/BuildTools">https://projects.coin-or.org/BuildTools</a>).&nbsp;&nbsp;This also allows you to<br>attach large files if necessary.&nbsp;&nbsp;To submit a ticket you first need to
<br>register and log in (see <a href="http://www.coin-or.org/usingTrac.html">http://www.coin-or.org/usingTrac.html</a>)<br><br>As for your particular problem, from the make output it seems to me that<br>you are working on a SUN?&nbsp;&nbsp;I have no experience working with GNU compilers
<br>on a SUN (wny not using the native sun compilers?).&nbsp;&nbsp;You might try to<br>compile static libraries instead of shared libraries (by specifying<br>--disable-shared), since the error message appears during the linkage of<br>
the shared library, and you observed the warning message regarding shared<br>libraries in your configure output.<br><br>When you submit a ticket, make sure you include information about your<br>operating system, the compiler (incl. version) you are using, which
<br>version of the COIN code you are trying to compile etc.<br><br>Regards,<br><br>Andreas<br><br>On Tue, 28 Aug 2007, Cumhur A Gelogul wrote:<br><br>&gt; Hi Ted and Andreas,<br>&gt;<br>&gt; Thanks for your reply to my previous email. I specified the g++ compiler and
<br>&gt; removed other flags. It completes succesfully -though with some warning<br>&gt; messages which are as follows:<br>&gt;<br>&gt;&gt; ./configure CC=/usr/sfw/bin/gcc CXX=/usr/sfw/bin/g++ &gt; myconfigure.log<br>&gt; configure: WARNING: Could not automatically determine how to tell the linker
<br>&gt; about automatic inclusion of the path for shared libraries.&nbsp;&nbsp;The test<br>&gt; examples might not work if you link against shared objects.&nbsp;&nbsp;You will need<br>&gt; to set the LD_LIBRARY_PATH, DYLP_LIBRARY_PATH, or LIBDIR variable manually.
<br>&gt;<br>&gt; Then I ran the make command, and got the following error messages. Could you<br>&gt; tell what I am missing now? I have attached myconfigure.log to this email as<br>&gt; well.<br>&gt;<br>&gt; Thank you very much.
<br>&gt; Cumhur<br>&gt;<br>&gt; OUTPUT OF MAKE:<br>&gt; Making all in CoinUtils<br>&gt; Making all in src<br>&gt; /bin/bash ../libtool --tag=CXX --mode=link /usr/sfw/bin/g++&nbsp;&nbsp; -O3<br>&gt; -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit
<br>&gt; -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith<br>&gt; -Wwrite-strings -Wconversion&nbsp;&nbsp; -o libCoinUtils.la -rpath<br>&gt; /home/uxtapa1/a557563/COIN/FlopC++-1.0.1/lib&nbsp;&nbsp;CoinBuild.lo<br>&gt; CoinDenseVector.lo
&nbsp;&nbsp;CoinError.lo CoinFactorization1.lo CoinFactorization2.lo<br>&gt; CoinFactorization3.lo CoinFactorization4.lo CoinFileIO.lo<br>&gt; CoinIndexedVector.lo CoinLpIO.lo CoinMessage.lo&nbsp;&nbsp;CoinMessageHandler.lo<br>&gt; CoinModel.lo
 CoinModelUseful.lo&nbsp;&nbsp;CoinModelUseful2.lo CoinMpsIO.lo<br>&gt; CoinPackedMatrix.lo&nbsp;&nbsp;CoinPackedVector.lo CoinPackedVectorBase.lo<br>&gt; CoinPostsolveMatrix.lo CoinPrePostsolveMatrix.lo&nbsp;&nbsp;CoinPresolveDoubleton.lo<br>&gt; CoinPresolveDual.lo
&nbsp;&nbsp;CoinPresolveDupcol.lo CoinPresolveEmpty.lo<br>&gt; CoinPresolveFixed.lo CoinPresolveForcing.lo&nbsp;&nbsp;CoinPresolveHelperFunctions.lo<br>&gt; CoinPresolveImpliedFree.lo&nbsp;&nbsp;CoinPresolveIsolated.lo CoinPresolveMatrix.lo<br>&gt; CoinPresolvePsdebug.lo
 CoinPresolveSingleton.lo&nbsp;&nbsp;CoinPresolveSubst.lo<br>&gt; CoinPresolveTighten.lo&nbsp;&nbsp;CoinPresolveTripleton.lo CoinPresolveUseless.lo<br>&gt; CoinPresolveZeros.lo CoinShallowPackedVector.lo&nbsp;&nbsp;CoinWarmStartBasis.lo<br>&gt; CoinWarmStartDual.lo
<br>&gt; *** Error code 1<br>&gt; *** Error code 1<br>&gt; The following command caused the error:<br>&gt; failcom=&#39;exit 1&#39;; \<br>&gt; for f in x $MAKEFLAGS; do \<br>&gt;&nbsp;&nbsp;case $f in \<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;*=* | --[!k]*);; \
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;*k*) failcom=&#39;fail=yes&#39;;; \<br>&gt;&nbsp;&nbsp;esac; \<br>&gt; done; \<br>&gt; dot_seen=no; \<br>&gt; target=`echo all-recursive | sed s/-recursive//`; \<br>&gt; list=&#39;src &#39;; for subdir in $list; do \<br>
&gt;&nbsp;&nbsp;echo &quot;Making $target in $subdir&quot;; \<br>&gt;&nbsp;&nbsp;if test &quot;$subdir&quot; = &quot;.&quot;; then \<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;dot_seen=yes; \<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;local_target=&quot;$target-am&quot;; \<br>&gt;&nbsp;&nbsp;else \<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;local_target=&quot;$target&quot;; \
<br>&gt;&nbsp;&nbsp;fi; \<br>&gt;&nbsp;&nbsp;(cd $subdir &amp;&amp; make&nbsp;&nbsp;$local_target) \<br>&gt;&nbsp;&nbsp;|| eval $failcom; \<br>&gt; done; \<br>&gt; if test &quot;$dot_seen&quot; = &quot;no&quot;; then \<br>&gt;&nbsp;&nbsp;make&nbsp;&nbsp;&quot;$target-am&quot; || exit 1; \
<br>&gt; fi; test -z &quot;$fail&quot;<br>&gt; *** Error code 1<br>&gt; The following command caused the error:<br>&gt; failcom=&#39;exit 1&#39;; \<br>&gt; for f in x $MAKEFLAGS; do \<br>&gt;&nbsp;&nbsp;case $f in \<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;*=* | --[!k]*);; \
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;*k*) failcom=&#39;fail=yes&#39;;; \<br>&gt;&nbsp;&nbsp;esac; \<br>&gt; done; \<br>&gt; dot_seen=no; \<br>&gt; target=`echo all-recursive | sed s/-recursive//`; \<br>&gt; list=&#39;CoinUtils Clp Osi Cgl Cbc FlopCpp&#39;; for subdir in $list; do \
<br>&gt;&nbsp;&nbsp;echo &quot;Making $target in $subdir&quot;; \<br>&gt;&nbsp;&nbsp;if test &quot;$subdir&quot; = &quot;.&quot;; then \<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;dot_seen=yes; \<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;local_target=&quot;$target-am&quot;; \<br>&gt;&nbsp;&nbsp;else \<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;local_target=&quot;$target&quot;; \
<br>&gt;&nbsp;&nbsp;fi; \<br>&gt;&nbsp;&nbsp;(cd $subdir &amp;&amp; make&nbsp;&nbsp;$local_target) \<br>&gt;&nbsp;&nbsp;|| eval $failcom; \<br>&gt; done; \<br>&gt; if test &quot;$dot_seen&quot; = &quot;no&quot;; then \<br>&gt;&nbsp;&nbsp;make&nbsp;&nbsp;&quot;$target-am&quot; || exit 1; \
<br>&gt; fi; test -z &quot;$fail&quot;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; On 8/27/07, Andreas Waechter &lt;<a href="mailto:andreasw@watson.ibm.com">andreasw@watson.ibm.com</a>&gt; wrote:
<br>&gt;&gt;<br>&gt;&gt; Hi Cumhur,<br>&gt;&gt;<br>&gt;&gt; Please look at the config.log file in the subdirectory corresponding the<br>&gt;&gt; the configure script that is run to produce that output.&nbsp;&nbsp;See<br>&gt;&gt;<br>
&gt;&gt;<br>&gt;&gt; <a href="https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting#ProblemsDuringConfiguration">https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting#ProblemsDuringConfiguration</a>
<br>&gt;&gt;<br>&gt;&gt; It seems to me that the C++ compiler that the configure scripts find<br>&gt;&gt; doesn&#39;t work.&nbsp;&nbsp;I note that you only specify the C compiler, but not the<br>&gt;&gt; C++ compiler in the command line.
<br>&gt;&gt;<br>&gt;&gt; The config.log file will show you the specific compiler command it is<br>&gt;&gt; trying to run, and the test program it is trying to compile.&nbsp;&nbsp;This should<br>&gt;&gt; help you to find out what is wrong with your system.
<br>&gt;&gt;<br>&gt;&gt; If you are building on a 64bit machine, you usually don&#39;t need to specify<br>&gt;&gt; anything special, if you compile compiles in 64bit more by default (that<br>&gt;&gt; is the case on my system).&nbsp;&nbsp;Otherwise, for the GNU compilers, you need to
<br>&gt;&gt; specify the -m64 flag, e.g. using the ADD_CXXFLAGS, ADD_CFLAGS, etc<br>&gt;&gt; configure variables arguments.&nbsp;&nbsp;Please read the documentation for those<br>&gt;&gt; options.<br>&gt;&gt;<br>&gt;&gt; I hope this helps,
<br>&gt;&gt;<br>&gt;&gt; Andreas<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; On Mon, 27 Aug 2007, Cumhur A Gelogul wrote:<br>&gt;&gt;<br>&gt;&gt;&gt; Hi all,<br>&gt;&gt;&gt; I am trying to build COIN/OR libs on a 64-bit machine. I use the
<br>&gt;&gt; following<br>&gt;&gt;&gt; configure command:<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&nbsp;&nbsp;./configure CC=/usr/sfw/bin/gcc CFLAG=&quot;-pto -PIC -DIL_STD<br>&gt;&gt; -xarch=amd64&quot; &gt;<br>&gt;&gt;&gt; myconfigure.log
<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; I am getting an error message as follows:<br>&gt;&gt;&gt;&gt;&nbsp;&nbsp;configure: WARNING: The flags CXXFLAGS=&quot;&nbsp;&nbsp;-DNDEBUG&nbsp;&nbsp; &quot; do not work.&nbsp;&nbsp;I<br>&gt;&gt;&gt; will now just try &#39;-O&#39;, but you might want to set CXXFLAGS manually.
<br>&gt;&gt;&gt;&gt;&nbsp;&nbsp;configure: WARNING: This value for CXXFLAGS does not work.&nbsp;&nbsp;I will<br>&gt;&gt;&gt; continue with empty CXXFLAGS, but you might want to set CXXFLAGS<br>&gt;&gt; manually.<br>&gt;&gt;&gt;&gt;&nbsp;&nbsp;configure: WARNING: Could not automatically determine how to tell the
<br>&gt;&gt;&gt; linker about automatic inclusion of the path for shared libraries.&nbsp;&nbsp;The<br>&gt;&gt; test<br>&gt;&gt;&gt; examples &gt;&nbsp;&nbsp;might not work if you link against shared objects.&nbsp;&nbsp;You will<br>&gt;&gt;&gt; need to set the LD_LIBRARY_PATH, DYLP_LIBRARY_PATH, or LIBDIR variable
<br>&gt;&gt;&gt; manually.<br>&gt;&gt;&gt;&gt;&nbsp;&nbsp;configure: WARNING: Cannot find C-function for checking Inf. Check<br>&gt;&gt; will<br>&gt;&gt;&gt; test whether the value is different from DBL_MAX<br>&gt;&gt;&gt;&gt;&nbsp;&nbsp;configure: WARNING: Cannot find C-function for checking NaN. Check
<br>&gt;&gt; will<br>&gt;&gt;&gt; return false<br>&gt;&gt;&gt;&gt;&nbsp;&nbsp;configure: error: Cannot find integer type with 64 bits<br>&gt;&gt;&gt;&gt;&nbsp;&nbsp;configure: error: /bin/bash &#39;./configure&#39; failed for CoinUtils<br>&gt;&gt;&gt; Can you help make sense why I am getting this error?
<br>&gt;&gt;&gt; Should I pay special attention to some settings because this is a 64-bit<br>&gt;&gt;&gt; machine?<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Thanks in advance.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Cumhur<br>
&gt;&gt;&gt;<br>&gt;&gt;<br>&gt;<br></blockquote></div><br>