You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@celix.apache.org by GitBox <gi...@apache.org> on 2020/02/29 14:28:59 UTC

[GitHub] [celix] pnoltes edited a comment on issue #157: Unable to compile etcdlib

pnoltes edited a comment on issue #157: Unable to compile etcdlib
URL: https://github.com/apache/celix/issues/157#issuecomment-592950852
 
 
   The handling of building/linking against CURL and Jansson has been updated in Celix. 
   These changes for not applied for the etcdlib project.
   
   @andre2007 Could you check if the hotfix branch works for you?
   
   Below the Dockerfile adjusted for the celix hotfix branch:
   ```Dockerfile
   FROM debian:stretch
   
   RUN apt-get update && apt-get install -y libcurl4-openssl-dev curl unzip build-essential libidn11 zip libjansson-dev uuid-dev
   
   RUN curl -OL https://cmake.org/files/v3.2/cmake-3.2.3-Linux-x86_64.sh \
       && mkdir /opt/cmake \
       && sh /cmake-3.2.3-Linux-x86_64.sh --prefix=/opt/cmake --skip-license \
       && ln -s /opt/cmake/bin/cmake /usr/local/bin/cmake
   
   RUN curl -OL https://github.com/apache/celix/archive/hotfix/%23157-build-etcdlib-issues.zip \
       && unzip %23157-build-etcdlib-issues.zip \
       && cd celix-*/libs/etcdlib \
       && mkdir build \
       && cd build \
       && cmake ..
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services