celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [celix] andre2007 opened a new issue #157: Unable to compile etcdlib
Date Tue, 25 Feb 2020 12:53:59 GMT
andre2007 opened a new issue #157: Unable to compile etcdlib
URL: https://github.com/apache/celix/issues/157
   I tried different released versions of celix. Every version returns another error message.
   This is my dockerfile for recent version 2.2.0
   ``` 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/rel/celix-2.2.0.zip \
       && unzip celix-2.2.0.zip \
       && cd celix-rel-celix-2.2.0/libs/etcdlib \
       && mkdir build \
       && cd build \
       && cmake .. \
       && make
   It fails with
   > CMake Error at CMakeLists.txt:44 (add_library):
     Target "etcdlib" links to target "CURL::libcurl" but the target was not
     found.  Perhaps a find_package() call is missing for an IMPORTED target, or
     an ALIAS target is missing?
   What do I miss?

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:

With regards,
Apache Git Services

View raw message