Open pkdcryptos opened 5 years ago
The errors i am getting from docker image build/boost compilation are similar to below: Probably these warnings can be suppressed. I will attach the whole log once the run is complete.
libs/math/build/../src/tr1/riemann_zeta.cpp:16:62: required from here
./boost/math/special_functions/zeta.hpp:928:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(n <= boost::math::max_bernoulli_b2n
Hi I tried to build an image with below command and with your Dockerfile: docker build -t pkdcryptos/liquibook .
But a lot of boost errors coming. Do you have recent Dockerfile that i can use on ubuntu 16.04 with out boost errors. Appreciate your great help. For time being i am using your docker image: zouchao2010/liquibook
Dockerfile content is below (Only change i did is: new path for : xerces https://archive.apache.org/dist/xerces/c/3/sources/xerces-c-3.1.2.tar.gz ) Other than that no changes & just tried to build docker image (docker build -t pkdcryptos/liquibook .)
Dockerfile used below:
FROM debian:jessie RUN apt-get update \ && apt-get install -y gcc g++ git make coreutils wget bzip2 libghc-bzlib-dev \ && apt-get autoremove -y \ && apt-get clean -y \ && apt-get autoclean -y \ && rm -rf /var/lib/apt/lists/*
RUN cd /root \ && wget https://archive.apache.org/dist/xerces/c/3/sources/xerces-c-3.1.2.tar.gz \ && wget http://nchc.dl.sourceforge.net/project/boost/boost/1.58.0/boost_1_58_0.tar.gz \ && wget https://github.com/DOCGroup/MPC/archive/ACE+TAO+CIAO-6_3_3.tar.gz \ && wget https://github.com/objectcomputing/quickfast/archive/V1_5.tar.gz \ && tar -xvzf xerces-c-3.1.2.tar.gz && tar -xvzf boost_1_58_0.tar.gz && tar -xvzf ACE+TAO+CIAO-6_3_3.tar.gz && tar -xvzf V1_5.tar.gz && rm -rf *.tar.gz \ && cd /root/xerces-c-3.1.2 && ./configure --prefix=/root/xerces-c-3.1.2 && make && make install && rm -rf
ls |egrep -v -w '(lib|include)'
\ && cd /root/boost_1_58_0 && ./bootstrap.sh --prefix=/root/boost_1_58_0 && ./b2 --layout=versioned && ./b2 install && rm -rfls |egrep -v -w '(lib|include)'
ENV QUICKFAST_ROOT /root/quickfast-1_5 ENV MPC_ROOT /root/MPC-ACE-TAO-CIAO-6_3_3 ENV BOOST_ROOT /root/boost_1_58_0 ENV BOOST_ROOT_LIB $BOOST_ROOT/lib ENV XERCESCROOT /root/xerces-c-3.1.2 ENV XERCES_ROOT /root/xerces-c-3.1.2 ENV XERCES_LIBNAME xerces-c-3.1 ENV XERCES_LIBPATH $XERCES_ROOT/lib ENV XERCES_INCLUDE $XERCES_ROOT/include ENV PATH $QUICKFAST_ROOT/bin:$MPC_ROOT:$PATH ENV LD_LIBRARY_PATH $XERCES_LIBPATH:$QUICKFAST_ROOT/lib:$BOOST_ROOT_LIB:$LD_LIBRARY_PATH
RUN cd /root/quickfast-1_5 \ && ./m.sh \ && make
ENV LIQUIBOOK_ROOT /root/liquibook ENV CIAO_ROOT /dev/null ENV LD_LIBRARY_PATH $LD_LIBRARY_PATH:$LIQUIBOOK_ROOT/lib
RUN cd /root \ && git clone https://github.com/pkdcryptos/objectcomputing_liquibook.git \ && cd objectcomputing_liquibook/ \ && git submodule init \ && git submodule update \ && mwc.pl -type make liquibook.mwc \ && make depend \ && make all