[Cbc-tickets] [COIN-OR Branch-and-Cut MIP Solver] #53: Cbc build can fail on cygwin
COIN-OR Branch-and-Cut MIP Solver
coin-trac at coin-or.org
Tue Jun 17 16:10:35 EDT 2008
#53: Cbc build can fail on cygwin
---------------------------------------------+------------------------------
Reporter: lafisk | Owner: somebody
Type: defect | Status: new
Priority: minor | Milestone:
Component: component1 | Version: 2.0
Keywords: cygwin Makefile.am bin_PROGRAMS |
---------------------------------------------+------------------------------
With a clean checkout of Cbc/stable/2.0, on Cygwin, try the following:
./configure
make
make clean
This error appears:
.deps/CbcBranchActual.Plo:1: *** multiple target patterns. Stop.
make[1]: *** [clean-recursive] Error 1
make: *** [clean-recursive] Error 1
There are variations on this error if you do two "make"s in a row instead
of "make && make clean", or other combinations of build commands.
It's possible the problem may be in Cbc/src/Makefile.am in the definition
of bin_PROGRAMS. It is not defined to equal all the possible programs
that can be built.
I wanted to try changing:
-----------------------
bin_PROGRAMS=
if COIN_HAS_CLP
bin_PROGRAMS+=cbc
endif
if CBC_BUILD_CBC_GENERIC
bin_PROGRAMS+=cbc-generic
endif
-----------------------
to:
-----------------------
if COIN_HAS_CLP
CBC_BIN=cbc
endif
if CBC_BUILD_CBC_GENERIC
CBC_GENERIC=cbc-generic
endif
bin_PROGRAMS =$(CBC_BIN) $(CBC_GENERIC)
-----------------------
but I can't successfully "autoreconf" the code.
We tested Cbc/stable/1.2 and had the same problem.
--
Ticket URL: <https://projects.coin-or.org/Cbc/ticket/53>
COIN-OR Branch-and-Cut MIP Solver <http://projects.coin-or.org/Cbc>
An LP-based branch-and-cut MIP solver.
More information about the Cbc-tickets
mailing list