GithubHelp home page GithubHelp logo

make test fails on Linux about bcp HOT 4 CLOSED

coin-or avatar coin-or commented on August 26, 2024
make test fails on Linux

from bcp.

Comments (4)

svigerske avatar svigerske commented on August 26, 2024

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.

from bcp.

svigerske avatar svigerske commented on August 26, 2024

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 -Iecho /home/prov/Bcp-1.0.0/Bcp/src/include -Iecho /home/prov/Bcp-1.0.0/Cgl/src -Iecho /home/prov/Bcp-1.0.0/Cgl/src/CglFlowCover -Iecho /home/prov/Bcp-1.0.0/Cgl/src/CglGomory -Iecho /home/prov/Bcp-1.0.0/Cgl/src/CglKnapsackCover -Iecho /home/prov/Bcp-1.0.0/Cgl/src/CglOddHole -Iecho /home/prov/Bcp-1.0.0/Cgl/src/CglProbing -Iecho /home/prov/Bcp-1.0.0/Osi/src -Iecho /home/prov/Bcp-1.0.0/Osi/src/OsiClp -Iecho /home/prov/Bcp-1.0.0/Clp/src -Iecho /home/prov/Bcp-1.0.0/buildg/Bcp/../Clp/inc -Iecho /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.otest -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

from bcp.

svigerske avatar svigerske commented on August 26, 2024

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

from bcp.

svigerske avatar svigerske commented on August 26, 2024

Comment by ladanyi created at 2007-01-20 19:47:15

Resolution: fixed

from bcp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.