[ 
https://issues.apache.org/jira/browse/PROTON-1547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16176871#comment-16176871
 ] 

Irina Boverman commented on PROTON-1547:
----------------------------------------

I am running in the docker container,  and yes, libuv is installed:

docker run -it fedora:latest bash

dnf update
dnf -y install make gcc gcc-c++ cmake git valgrind swig pkgconfig doxygen 
libuuid-devel openssl-devel python-devel python3 python3-devel ruby-devel 
perl-devel epydoc python cyrus-sasl-devel cyrus-sasl-lib cyrus-sasl-gssapi 
cyrus-sasl-plain cyrus-sasl-md5 rubygem-rspec rubygem-simplecov 
rubygem-minitest rubygem-test-unit python2-tox redhat-rpm-config libuv-devel 
libuv python-pip

git clone git://git.apache.org/qpid-proton.git
cd qpid-proton/
mkdir -p build
cd build
cmake ..
make 
make install
 
cd ..
git clean -f -x -d
cd examples
 cmake .

Result:
- The C compiler identification is GNU 7.2.1
-- The CXX compiler identification is GNU 7.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:24 (set_search_path):
  Unknown CMake command "set_search_path".


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 3.9)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!



> Proton examples
> ---------------
>
>                 Key: PROTON-1547
>                 URL: https://issues.apache.org/jira/browse/PROTON-1547
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 0.17.0
>         Environment: Fedora 26, RHEL 
>            Reporter: Irina Boverman
>
> examples directory contains CMakeLists.txt. I was expecting to be able to 
> build all examples and execute them using these commands:
> cmake .
> make
> ctest -v
> make 
> This is what happens when I try the above:
> # cmake .
> -- The C compiler identification is GNU 7.1.1
> -- The CXX compiler identification is GNU 7.1.1
> -- Check for working C compiler: /usr/bin/cc
> -- Check for working C compiler: /usr/bin/cc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> CMake Warning at c/proactor/CMakeLists.txt:26 (find_package):
>   By not providing "FindLibuv.cmake" in CMAKE_MODULE_PATH this project has
>   asked CMake to find a package configuration file provided by "Libuv", but
>   CMake did not find one.
>   Could not find a package configuration file provided by "Libuv" with any of
>   the following names:
>     LibuvConfig.cmake
>     libuv-config.cmake
>   Add the installation prefix of "Libuv" to CMAKE_PREFIX_PATH or set
>   "Libuv_DIR" to a directory containing one of the above files.  If "Libuv"
>   provides a separate development package or SDK, be sure it has been
>   installed.
> CMake Warning (dev) in CMakeLists.txt:
>   No cmake_minimum_required command is present.  A line of code such as
>     cmake_minimum_required(VERSION 3.9)
>   should be added at the top of the file.  The version specified may be lower
>   if you wish to support older CMake versions for this project.  For more
>   information run "cmake --help-policy CMP0000".
> This warning is for project developers.  Use -Wno-dev to suppress it.
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /root/rh-qpid-proton/examples
> # make
> Scanning dependencies of target send-async
> [  8%] Building C object c/messenger/CMakeFiles/send-async.dir/send-async.o
> [ 16%] Linking C executable send-async
> [ 16%] Built target send-async
> Scanning dependencies of target recv-async
> [ 25%] Building C object c/messenger/CMakeFiles/recv-async.dir/recv-async.o
> [ 33%] Linking C executable recv-async
> [ 33%] Built target recv-async
> Scanning dependencies of target recv
> [ 41%] Building C object c/messenger/CMakeFiles/recv.dir/recv.o
> [ 50%] Linking C executable recv
> [ 50%] Built target recv
> Scanning dependencies of target send
> [ 58%] Building C object c/messenger/CMakeFiles/send.dir/send.o
> [ 66%] Linking C executable send
> [ 66%] Built target send
> Scanning dependencies of target sender
> [ 75%] Building C object c/reactor/CMakeFiles/sender.dir/sender.o
> [ 83%] Linking C executable sender
> [ 83%] Built target sender
> Scanning dependencies of target receiver
> [ 91%] Building C object c/reactor/CMakeFiles/receiver.dir/receiver.o
> [100%] Linking C executable receiver
> [100%] Built target receiver
> Only "c" examples were built, but not "cpp".
> ctest -v
> Test project /root/rh-qpid-proton/examples
> No tests were found!!!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to