Closed svigerske closed 5 years ago
Comment by @LouHafer created at 2006-12-09 23:33:33
The problem is that Bcp/test/BAC/Makefile.am is missing the line
AM_CPPFLAGS += -I
$(CYGPATH_W) $(COINUTILSOBJDIR)/inc``
in the section that adds include directories to the command line (line 78 or thereabouts). It'll fail on pretty much any platform.
Comment by fmargot created at 2007-01-07 17:04:15
Replying to [comment:1 lou]:
The problem is that Bcp/test/BAC/Makefile.am is missing the line
AM_CPPFLAGS += -I
$(CYGPATH_W) $(COINUTILSOBJDIR)/inc``in the section that adds include directories to the command line (line 78 or thereabouts). It'll fail on pretty much any platform.
Adding that line in the Makefile.am of the tar ball Bcp-1.0.0 still results in a failure during 'make test' (adding in in trunk also results in a similar error; it is already in the stable branch and works there):
make[2]: Entering directory /home/prov/Bcp-1.0.0/buildg/Bcp/test/BAC' if g++ -DHAVE_CONFIG_H -I. -Iinclude -I../../inc -I
echo /home/prov/Bcp-1.0.0/Bcp/src/include-I
echo /home/prov/Bcp-1.0.0/Cgl/src-I
echo /home/prov/Bcp-1.0.0/Cgl/src/CglFlowCover-I
echo /home/prov/Bcp-1.0.0/Cgl/src/CglGomory-I
echo /home/prov/Bcp-1.0.0/Cgl/src/CglKnapsackCover-I
echo /home/prov/Bcp-1.0.0/Cgl/src/CglOddHole-I
echo /home/prov/Bcp-1.0.0/Cgl/src/CglProbing-I
echo /home/prov/Bcp-1.0.0/Osi/src-I
echo /home/prov/Bcp-1.0.0/Osi/src/OsiClp-I
echo /home/prov/Bcp-1.0.0/Clp/src-I
echo /home/prov/Bcp-1.0.0/buildg/Bcp/../Clp/inc-I
echo /home/prov/Bcp-1.0.0/CoinUtils/src-g -pipe -pedantic-errors -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -MT BB_lp.o -MD -MP -MF ".deps/BB_lp.Tpo" -c -o BB_lp.o
test -f 'LP/BB_lp.cpp' || echo '../../../../Bcp/test/BAC/'LP/BB_lp.cpp; \ then mv -f ".deps/BB_lp.Tpo" ".deps/BB_lp.Po"; else rm -f ".deps/BB_lp.Tpo"; exit 1; fi In file included from /home/prov/Bcp-1.0.0/CoinUtils/src/CoinFinite.hpp:8, from /home/prov/Bcp-1.0.0/CoinUtils/src/CoinMessageHandler.hpp:15, from /home/prov/Bcp-1.0.0/Osi/src/OsiSolverInterface.hpp:9, from /home/prov/Bcp-1.0.0/Bcp/src/include/BCP_lp_user.hpp:10, from include/BB_lp.hpp:17, from LP/BB_lp.cpp:15: /home/prov/Bcp-1.0.0/CoinUtils/src/CoinUtilsConfig.h:23:30: error: config_coinutils.h: No such file or directory In file included from /home/prov/Bcp-1.0.0/CoinUtils/src/CoinMessageHandler.hpp:15, from /home/prov/Bcp-1.0.0/Osi/src/OsiSolverInterface.hpp:9, from /home/prov/Bcp-1.0.0/Bcp/src/include/BCP_lp_user.hpp:10, from include/BB_lp.hpp:17, from LP/BB_lp.cpp:15: /home/prov/Bcp-1.0.0/CoinUtils/src/CoinFinite.hpp:16:4: error: #error "don't have header file for math" /home/prov/Bcp-1.0.0/CoinUtils/src/CoinFinite.hpp: In function 'bool CoinFinite(double)': /home/prov/Bcp-1.0.0/CoinUtils/src/CoinFinite.hpp:80: error: 'DBL_MAX' was not declared in this scope make[2]: *** [BB_lp.o] Error 1 make[2]: Leaving directory
/home/prov/Bcp-1.0.0/buildg/Bcp/test/BAC'
make[1]: [test] Error 2
make[1]: Leaving directory `/home/prov/Bcp-1.0.0/buildg/Bcp'
make: [test] Error 2
Comment by ladanyi created at 2007-01-20 19:47:15
Neew point release 1.1.0 (and stable 1.1) builds and runs test just fine. --Laci
Comment by ladanyi created at 2007-01-20 19:47:15
Resolution: fixed
Issue created by migration from Trac.
Original creator: fmargot
Original creation time: 2006-11-24 13:39:26
Assignee: somebody
Version: 1.0
Using the tar ball Bcp-1.0.0.tgz on Fedora 5 with gcc4.1,
make test
yields:
make[2]: Entering directory
/home/prov/Bcp-1.0.0/build/Bcp/test/BAC' if g++ -DHAVE_CONFIG_H -I. -Iinclude -I../../inc -I
echo /home/prov/Bcp-1.0.0/Bcp/src/include-I
echo /home/prov/Bcp-1.0.0/Cgl/src-I
echo /home/prov/Bcp-1.0.0/Cgl/src/CglFlowCover-I
echo /home/prov/Bcp-1.0.0/Cgl/src/CglGomory-I
echo /home/prov/Bcp-1.0.0/Cgl/src/CglKnapsackCover-I
echo /home/prov/Bcp-1.0.0/Cgl/src/CglOddHole-I
echo /home/prov/Bcp-1.0.0/Cgl/src/CglProbing-I
echo /home/prov/Bcp-1.0.0/Osi/src-I
echo /home/prov/Bcp-1.0.0/Osi/src/OsiClp-I
echo /home/prov/Bcp-1.0.0/Clp/src-I
echo /home/prov/Bcp-1.0.0/build/Bcp/../Clp/inc-I
echo /home/prov/Bcp-1.0.0/CoinUtils/src-O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -MT BB_lp.o -MD -MP -MF ".deps/BB_lp.Tpo" -c -o BB_lp.o
test -f 'LP/BB_lp.cpp' || echo '../../../../Bcp/test/BAC/'LP/BB_lp.cpp; \ then mv -f ".deps/BB_lp.Tpo" ".deps/BB_lp.Po"; else rm -f ".deps/BB_lp.Tpo"; exit 1; fi In file included from /home/prov/Bcp-1.0.0/CoinUtils/src/CoinFinite.hpp:8, from /home/prov/Bcp-1.0.0/CoinUtils/src/CoinMessageHandler.hpp:15, from /home/prov/Bcp-1.0.0/Osi/src/OsiSolverInterface.hpp:9, from /home/prov/Bcp-1.0.0/Bcp/src/include/BCP_lp_user.hpp:10, from include/BB_lp.hpp:17, from LP/BB_lp.cpp:15: /home/prov/Bcp-1.0.0/CoinUtils/src/CoinUtilsConfig.h:23:30: error: config_coinutils.h: No such file or directory In file included from /home/prov/Bcp-1.0.0/CoinUtils/src/CoinMessageHandler.hpp:15, from /home/prov/Bcp-1.0.0/Osi/src/OsiSolverInterface.hpp:9, from /home/prov/Bcp-1.0.0/Bcp/src/include/BCP_lp_user.hpp:10, from include/BB_lp.hpp:17, from LP/BB_lp.cpp:15: /home/prov/Bcp-1.0.0/CoinUtils/src/CoinFinite.hpp:16:4: error: #error "don't have header file for math" /home/prov/Bcp-1.0.0/CoinUtils/src/CoinFinite.hpp: In function 'bool CoinFinite(double)': /home/prov/Bcp-1.0.0/CoinUtils/src/CoinFinite.hpp:80: error: 'DBL_MAX' was not declared in this scope make[2]: *** [BB_lp.o] Error 1 make[2]: Leaving directory
/home/prov/Bcp-1.0.0/build/Bcp/test/BAC' make[1]: [test] Error 2 make[1]: Leaving directory `/home/prov/Bcp-1.0.0/build/Bcp' make: [test] Error 2