How to build from source #225
Unanswered
bug-catcher
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My question is actually related to the Coin-OR framework in general, although Clp is one of the dependencies for the project(Symphony) that I'm trying to build. I'm on a fairly recent Oracle Linux distro(basically Red Hat) with a 5.4 kernel. I don't understand how I'm supposed to build all the dependencies of a particular project and manage versioning. The instructions are a bit vague on this:
Can I build and install the dependencies, including Cgl, using coinbrew? If so, how do I set PKG_CONFIG_PTH? Coinbrew just built & installed each dependency inside a couple of folders called "dist" and "build". When I tried setting PKG_CONFIG_PTH appropriately(SYMPHONY-releases-5.6.18), it didn't affect the configure script at all. I also tried manually setting the command line parameters of the configure script as follows:
./configure --enable-static --enable-sensitivity-analysis=yes --with-osi-incdir="/home/opc/dist/include/coin/" --with-osi-lib="/home/opc/build/Osi/0.108.7/src/Osi/libOsi.la" --with-osi-datadir="/home/opc/build/Osi/" --with-cgl-incdir="/home/opc/dist/include/coin/" --with-cgl-lib="/home/opc/build/Cgl/0.60.4/src/libCgl.la" --with-clp-incdir="/home/opc/dist/include/coin/" --with-clp-lib="/home/opc/build/Clp/1.17/src/libClpSolver.la /home/opc/build/Clp/1.17/src/libClp.la" --with-coinutils-incdir="/home/opc/dist/include/coin/" --with-coinutils-lib="/home/opc/build/CoinUtils/master/CoinUtils/src/libCoinUtils.la" --with-coinutils-datadir="/home/opc/build/CoinUtils"but the script failed midway saying "configure: error: Required package CoinUtils or Osi not available."
Beta Was this translation helpful? Give feedback.
All reactions