Opened 11 years ago

Closed 10 years ago

#53 closed defect (fixed)

Cbc build can fail on cygwin

Reported by: lafisk Owned by: somebody
Priority: minor Component: component1
Version: 2.0 Keywords: cygwin Makefile.am bin_PROGRAMS
Cc: wehart@…, tntaxon@…

Description

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.

Change History (3)

comment:1 Changed 11 years ago by stefan

Hi,

can this be the famous make 3.81-1 problem reported here: https://projects.coin-or.org/BuildTools/wiki/current-issues ?

Stefan

comment:2 Changed 11 years ago by lafisk

Yes, that's it - thank you - this bug can be closed now.

comment:3 Changed 10 years ago by forrest

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.