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