Re: [eclipse-clp-users] How to compile eclipse under Debian:bullseye with Coin-OR

From: Kish Shen <kish.shen_at_...6...>
Date: Fri, 16 Jul 2021 15:03:08 +0100
Hi Vasily,

I don't know about Debian Dockerfile, so I don''t know if it requires
anythingextra.

When configure is run, it will look for COIN-OR related files in the
third part directory set ECLIPSETHIRDPARTY environment variable.

You probably don't have COIN-OR installed there, but after running
configure, you can build and install COIN-OR solvers from the Eplex
directory. Go into the Eplex directory, and run this

make -f Makefile.<platform> install_cbc
(<platform> is your platform, e.g. x86_64_linux)

and this should download, build, and install CBC/CLP into the third
party directory.

You can now run configure again, and it should find CBC/CLP.

 CBC/CLP is far the best supported COIN-OR solver in eplex, but eplex
also support other solvers via the generic OSI interface, and there
are Makefile rules to build SYMPHONY as well. Look at the Makefile if
you are interested.

Cheers,

Kish









On Fri, Jul 16, 2021 at 12:19 PM Vasily Kartashov <info_at_...430...> wrote:
>
> Hello,
>
> Do you have detailed step by step instructions for compiling eclipse + eplex under debian. I am working on a `Dockerfile`, but
>
> 1) it’s not clear which coinor packages are required
> 2) how to make eclipse aware of them
>
> Currently the Dockerfile looks like this
>
> FROM debian:bullseye AS builder
>
> RUN apt update && \
> apt install -y \
> build-essential \
> libgmp-dev \
> tcl-dev \
> tk-dev \
> git \
> coinor-libcbc-dev \
> coinor-libcgl-dev \
> coinor-libclp-dev \
> coinor-libdylp-dev \
> coinor-libvol-dev
>
> WORKDIR /eclipse
>
> RUN git clone https://git.code.sf.net/p/eclipse-clp/git .
>
> RUN ./configure \
> --with-osi \
> --without-cplex \
> --without-xpress \
> --without-gurobi \
> --without-gfd \
> --without-java \
> --without-flexlm \
> --without-graphviz \
> --without-mysql \
> --without-cpviz
> RUN make -f Makefile.x86_64_linux install
> RUN make -f Makefile.x86_64_linux install_documents
>
> FROM debian:bullseye-slim
>
> COPY --from=builder /eclipse/bin/x86_64_linux/eclipse /usr/local/bin/eclipse
> COPY --from=builder /eclipse/lib /eclipse/lib
> COPY --from=builder /eclipse/lib_public /eclipse/lib_public
>
> ENTRYPOINT [ "eclipse” ]
>
> _______________________________________________
> ECLiPSe-CLP-Users mailing list
> ECLiPSe-CLP-Users_at_lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/eclipse-clp-users
Received on Fri Jul 16 2021 - 14:03:40 CEST

This archive was generated by hypermail 2.3.0 : Wed Sep 25 2024 - 15:13:21 CEST