celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [celix] pnoltes edited a comment on issue #157: Unable to compile etcdlib
Date Sat, 29 Feb 2020 14:32:48 GMT
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 where 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

Mime
View raw message