[Coin-discuss] About updating a coin project.

Andreas Waechter andreasw at watson.ibm.com
Sun Oct 15 11:02:16 EDT 2006


Hi Hacene,

The makefiles rerun configure automatically if the configure script file 
has changed.  But it does not do this recursively, i.e., if a subdirectory 
with a new configure script has been added, it will not be run.

Just to be safe, it is a good idea to rerun the configure script.  If you 
want to see the options with which you can configure the last time, look 
at the beginning of the 'config,log' file.  (Note that quotation marks are 
missing in the statement of the previous configure run).

Hope this helps,

Andreas

On Sat, 14 Oct 2006, [iso-8859-1] Hacène Ouzia wrote:

> Hi François,
>
> I download, entre temps, the stable version of Cbc and it works.
>
> I'm wondering if it's necessary to do ./Configure after an updating
> operation ?
>
> Thanks for help,
>
> Cheers,
> Hacene.
>
> -----Message d'origine-----
> De : coin-discuss-bounces at list.coin-or.org
> [mailto:coin-discuss-bounces at list.coin-or.org]De la part de
> fmargot at andrew.cmu.edu
> Envoyé : samedi 14 octobre 2006 14:59
> À : Discussions about open source software for Operations Research
> Objet : RE: [Coin-discuss] Make : Error in the latest version of
> coin-Cbc
>
>
>
> Hiacene:
>
> Either download the stable version of Cbc (1.1) or change the Externals
> file of Cbc to point to
>
> Cgl           https://projects.coin-or.org/svn/Cgl/releases/0.5.0
>
> Francois
>
> On Sat, 14 Oct 2006, Hacène Ouzia wrote:
>
>> Hi Andreas,
>>
>> I made the modifications you suggest, but the make end up with :
>>
>> mplex.lo -MD -MP -MF .deps/CglLandPSimplex.Tpo -c
>> ../../../../Cgl/src/CglLandP/CglLandPSimplex.cpp -o CglLandPSimplex.o
>> ../../../../Cgl/src/CglLandP/CglLandPSimplex.cpp: In member function `int
>> LAP::CglLandPSimplex::fastFindCutImprovingPivotRow(int&, int&, double)
>> ':
>> ../../../../Cgl/src/CglLandP/CglLandPSimplex.cpp:1127: error: no matching
>> function for call to `OsiClpSolverInterface::getBInvACol(CoinIndexedVe
>> ctor*)'
>>
> D:/cygwin/home/Ares/coin-Cbc_old/Osi/src/OsiClp/OsiClpSolverInterface.hpp:18
>> 1: note: candidates are: virtual void OsiClpSolverInterface::getBInv
>> ACol(int, double*) const
>> ../../../../Cgl/src/CglLandP/CglLandPSimplex.cpp:1145: error: no matching
>> function for call to `OsiClpSolverInterface::getBInvACol(CoinIndexedVe
>> ctor*)'
>>
> D:/cygwin/home/Ares/coin-Cbc_old/Osi/src/OsiClp/OsiClpSolverInterface.hpp:18
>> 1: note: candidates are: virtual void OsiClpSolverInterface::getBInv
>> ACol(int, double*) const
>> ../../../../Cgl/src/CglLandP/CglLandPSimplex.cpp: In member function `void
>> LAP::CglLandPSimplex::updateM1_M2_M3(LAP::CglLandPSimplex::TabRow&, d
>> ouble, bool, bool)':
>> ../../../../Cgl/src/CglLandP/CglLandPSimplex.cpp:2421: error: `mrand48'
>> undeclared (first use this function)
>> ../../../../Cgl/src/CglLandP/CglLandPSimplex.cpp:2421: error: (Each
>> undeclared identifier is reported only once for each function it appears
> in.
>> )
>> make[3]: *** [CglLandPSimplex.lo] Error 1
>> make[3]: Leaving directory
> `/home/Ares/coin-Cbc_old/build/Cgl/src/CglLandP'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory `/home/Ares/coin-Cbc_old/build/Cgl/src'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/home/Ares/coin-Cbc_old/build/Cgl'
>> make: *** [all-recursive] Error 1
>>
>> Thanks in advance.
>>
>> Cheers,
>> Hacene
>>
>> -----Message d'origine-----
>> De : coin-discuss-bounces at list.coin-or.org
>> [mailto:coin-discuss-bounces at list.coin-or.org]De la part de Andreas
>> Waechter
>> Envoyé : vendredi 13 octobre 2006 22:35
>> À : Discussions about open source software for Operations Research
>> Objet : RE: [Coin-discuss] Make : Error in the latest version of
>> coin-Cbc
>>
>>
>> Hi,
>>
>> There is a line missing in
>>
>> Cgl/src/CglLandP/Makefile.am
>>
>> It should be
>>
>> 33 	AM_CPPFLAGS = \
>> 34 	        -I`$(CYGPATH_W) $(srcdir)/..` \
>> 35 	        -I`$(CYGPATH_W) $(srcdir)/../CglGomory` \
>> 36 	        -I`$(CYGPATH_W) $(COINUTILSSRCDIR)/src` \
>>  	        -I`$(CYGPATH_W) $(COINUTILSOBJDIR)/inc` \
>> 37 	        -I`$(CYGPATH_W) $(OSISRCDIR)/src` \
>> 38 	        -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiClp` \
>> 39 	        -I`$(CYGPATH_W) $(CLPSRCDIR)/src` \
>> 40 	        -I`$(CYGPATH_W) $(top_builddir)/../Clp/inc`
>>
>> The line without a number in front of it is missing.
>>
>> If you want to don't want to run the autotools (likely scenario), you can
>> temporarily if it by changing
>>
>> Cgl/src/CglLandP/Makefile.in
>>
>> instead:
>>
>> 310 	AM_CPPFLAGS = \
>> 311 	        -I`$(CYGPATH_W) $(srcdir)/..` \
>> 312 	        -I`$(CYGPATH_W) $(srcdir)/../CglGomory` \
>> 313 	        -I`$(CYGPATH_W) $(COINUTILSSRCDIR)/src` \
>>                 -I`$(CYGPATH_W) $(COINUTILSOBJDIR)/inc` \
>> 314 	        -I`$(CYGPATH_W) $(OSISRCDIR)/src` \
>> 315 	        -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiClp` \
>> 316 	        -I`$(CYGPATH_W) $(CLPSRCDIR)/src` \
>> 317 	        -I`$(CYGPATH_W) $(top_builddir)/../Clp/inc`
>>
>> and run the configuration script again.
>>
>> I'm not going to change anything in the Cgl repository.
>>
>> Hope this helps,
>>
>> Andreas
>>
>>
>> On Fri, 13 Oct 2006, [iso-8859-1] Hacène Ouzia wrote:
>>
>>> Hi John,
>>>
>>> Here are the last lines of the make command :
>>>
>>> In file included from
>>> D:/cygwin/home/Ares/coin-Cbc/CoinUtils/src/CoinFinite.hpp:8,
>>>                 from
>>> D:/cygwin/home/Ares/coin-Cbc/CoinUtils/src/CoinMessageHandler.hpp:15,
>>>                 from
>>> D:/cygwin/home/Ares/coin-Cbc/Osi/src/OsiSolverInterface.hpp:9,
>>>                 from
>> ../../../../Cgl/src/CglLandP/CglLandPValidator.hpp:10,
>>>                 from ../../../../Cgl/src/CglLandP/CglLandP.hpp:18,
>>>                 from ../../../../Cgl/src/CglLandP/CglLandP.cpp:7:
>>> D:/cygwin/home/Ares/coin-Cbc/CoinUtils/src/CoinUtilsConfig.h:23:30:
>>> config_coinutils.h: No such file or directory
>>> In file included from
>>> D:/cygwin/home/Ares/coin-Cbc/CoinUtils/src/CoinMessageHandler.hpp:15,
>>>                 from
>>> D:/cygwin/home/Ares/coin-Cbc/Osi/src/OsiSolverInterface.hpp:9,
>>>                 from
>> ../../../../Cgl/src/CglLandP/CglLandPValidator.hpp:10,
>>>                 from ../../../../Cgl/src/CglLandP/CglLandP.hpp:18,
>>>                 from ../../../../Cgl/src/CglLandP/CglLandP.cpp:7:
>>> D:/cygwin/home/Ares/coin-Cbc/CoinUtils/src/CoinFinite.hpp:16:4: #error
>>> "don't have header file for math"
>>> In file included from
>>> D:/cygwin/home/Ares/coin-Cbc/CoinUtils/src/CoinMessageHandler.hpp:15,
>>>                 from
>>> D:/cygwin/home/Ares/coin-Cbc/Osi/src/OsiSolverInterface.hpp:9,
>>>                 from
>> ../../../../Cgl/src/CglLandP/CglLandPValidator.hpp:10,
>>>                 from ../../../../Cgl/src/CglLandP/CglLandP.hpp:18,
>>>                 from ../../../../Cgl/src/CglLandP/CglLandP.cpp:7:
>>> D:/cygwin/home/Ares/coin-Cbc/CoinUtils/src/CoinFinite.hpp: In function
>> `bool
>>> CoinFinite(double)':
>>> D:/cygwin/home/Ares/coin-Cbc/CoinUtils/src/CoinFinite.hpp:80: error:
>>> `DBL_MAX' undeclared (first use this function)
>>> D:/cygwin/home/Ares/coin-Cbc/CoinUtils/src/CoinFinite.hpp:80: error:
> (Each
>>> undeclared identifier is reported only once for each function it appe
>>> ars in.)
>>> make[3]: *** [CglLandP.lo] Error 1
>>> make[2]: *** [all-recursive] Error 1
>>> make[1]: *** [all-recursive] Error 1
>>> make: *** [all-recursive] Error 1
>>>
>>> Cheers,
>>> Hacene.
>>>  -----Message d'origine-----
>>>  De : coin-discuss-bounces at list.coin-or.org
>>> [mailto:coin-discuss-bounces at list.coin-or.org]De la part de John J
> Forrest
>>>  Envoyé : vendredi 13 octobre 2006 21:07
>>>  À : Discussions about open source software for Operations Research
>>>  Objet : Re: [Coin-discuss] Make : Error in the last version of coin-Cbc
>>>
>>>
>>>
>>>  What were the lines before that - it is necessary to know where it was
>>> included from.
>>>
>>>  John Forrest
>>>
>>>
>>>        Hacène Ouzia <h.ouzia at gmail.com>
>>>        Sent by: coin-discuss-bounces at list.coin-or.org
>>>        10/13/2006 02:23 PM Please respond to
>>>              Discussions about open source software for Operations
>> Research
>>> <coin-discuss at list.coin-or.org>
>>>
>>>
>>>       To "Coin Or" <coin-discuss at list.coin-or.org>
>>>              cc
>>>              Subject [Coin-discuss] Make : Error in the last version of
>>> coin-Cbc
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>  Hi,
>>>
>>>  I just updated my coin-Cbc copy from /svn/Cbc/trunk. The command make
> end
>>> up
>>>  with the following error :
>>>
>>>  .../coin-Cbc/CoinUtils/src/CoinFinite.hpp:80: error DBL_MAX undeclared
>>> first
>>>  ....
>>>
>>>  Thanks for help.
>>>
>>>  Cheers,
>>>  Hacene
>>>
>>>  Hacene Ouzia
>>>  Ph.D student
>>>  Laboratoire d'Informatique de Paris 6.
>>>  hacene.ouzia at lip6.fr
>>>
>>>  _______________________________________________
>>>  Coin-discuss mailing list
>>>  Coin-discuss at list.coin-or.org
>>>  http://list.coin-or.org/mailman/listinfo/coin-discuss
>>>
>>>
>>
>>
>>
>
> _______________________________________________
> Coin-discuss mailing list
> Coin-discuss at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-discuss
>


More information about the Coin-discuss mailing list