[Lemon-devel] Issues while building conda-forge package
Francesco Biscani
bluescarni at gmail.com
Mon May 22 13:50:44 CEST 2017
Hello,
I am writing here as I was unable to get an account on the trac website.
Apologies if this is the wrong list!
I am trying to create a conda-forge package for lemon, see here:
https://github.com/conda-forge/staged-recipes/pull/2964
In doing so, I ran in a couple of small issues. The first one is that the
Lemon build system tries to install, on windows, the glpk dlls, but on
conda we have a glpk package already available for windows, and thus this
step is not necessary. I have hence commented out the installation step of
glpk with this patch:
https://github.com/bluescarni/staged-recipes/blob/ba79a8432358f37b08d7a58ee31e946c94ba4ea5/recipes/lemon/glpk_win.diff
And lemon seems to build fine on windows linking to the glpk libs provided
by conda.
The second issue is that the lp_test is currently not building, at least
with the config options we have enabled for the conda package. The
compilation error is:
In file included from
/home/bluescarni/temp/lemon-1.3.1/test/lp_test.cc:43:0:
/home/bluescarni/temp/lemon-1.3.1/lemon/lp.h:89:11: error: ‘CbcMip’ does
not name a type
typedef CbcMip Mip;
We have worked around this issue by not building this test, but I am not
completely sure if this is a symptom of a deeper problem?
Thanks for the help,
Francesco.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lemon.cs.elte.hu/pipermail/lemon-devel/attachments/20170522/0c6a6fd0/attachment.html>
More information about the Lemon-devel
mailing list