[Bonmin-tickets] [Bonmin] #27: Bonmin/experimental/Bcp build fails
Bonmin
coin-trac at coin-or.org
Mon Jul 28 11:37:22 EDT 2008
#27: Bonmin/experimental/Bcp build fails
------------------------+---------------------------------------------------
Reporter: stefan | Owner: pbonami
Type: defect | Status: new
Priority: major | Component: Bonmin
Version: stable/0.99 | Keywords:
------------------------+---------------------------------------------------
Hi,
when building Bonmin as part of !CoinAll, the build of
Bonmin/experimental/Bcp fails under cygwin with cl.
The problem is the adventurous build of a patched amplsolver.a. It ends
with
{{{
patching file `asl.h'
Hunk #1 succeeded at 201 (offset 1 line).
patching file `jac0dim.c'
patching file `misc.c'
Hunk #5 succeeded at 895 (offset 10 lines).
patching file `pfg_read.c'
Hunk #1 succeeded at 4652 (offset 1 line).
Hunk #3 succeeded at 4803 (offset 2 lines).
ASLMAKEFLAGS='CFLAGS=" -MT -Ox -nologo -D_CRT_SECURE_NO_DEPRECATE -DNDEBUG
-DNO
_RUSAGE"'
make: invalid option -- M
make: invalid option -- T
make: invalid option -- O
make: invalid option -- x
make: invalid option -- D
make: invalid option -- _
make: invalid option -- D
make: invalid option -- N
make: invalid option -- D
make: invalid option -- E
make: invalid option -- U
make: invalid option -- G
make: invalid option -- D
make: invalid option -- N
make: invalid option -- O
make: invalid option -- _
make: invalid option -- U
make: invalid option -- A
make: invalid option -- G
make: invalid option -- E
make: invalid option -- "
Usage: make [options] [target] ...
Options:
...
}}}
Apparently, when it gets to the line
{{{
$(MAKE) CC="$(CC)" $$ASLMAKEFLAGS CFLAGS="$$CFLAGS" -f makefile.u
}}}
then the quotation sign in the $ASLMAKEFLAGS are overlooked.
I tried around for a while escaping or reformulating the ASLMAKEFLAGS
variable, but had no success.
Stefan
--
Ticket URL: <https://projects.coin-or.org/Bonmin/ticket/27>
Bonmin <http://projects.coin-or.org/Bonmin>
Basic Open-source Nonlinear Mixed INteger programming
More information about the Bonmin-tickets
mailing list