Boost logo

Boost :

Subject: Re: [boost] Is there any interest in a library for actor programming?
From: Larry Evans (cppljevans_at_[hidden])
Date: 2014-05-15 16:14:14


On 05/14/14 14:58, Charousset, Dominik wrote:
> Yes, sh is an alias for bash on my test machines. I fixed the configure script in the master branch.
>
> The FindBoost script supports hints about search paths, in particular BOOST_LIBRARYDIR might be useful: http://www.cmake.org/cmake/help/git-master/module/FindBoost.html. Hope that helps.
>
>
I tried the attached wrapper around boost.actor/configure; however,
despite setting all the relevant environment variables, cmake still
fails to find the boost libraries:

~/prog_dev/boost/sandbox $ . boost.actor.configure.sh
("BOOST_ROOT=" "/home/evansl/prog_dev/boost/boost-modular/modular-boost")
("Boost_DIR=" "/home/evansl/prog_dev/boost/boost-modular/modular-boost")
("BOOST_INCLUDEDIR="
"/home/evansl/prog_dev/boost/boost-modular/modular-boost")
("BOOST_LIBRARYDIR="
"/home/evansl/prog_dev/boost/boost-modular/modular-boost")
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - 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
-- Found g++ version 4.8

-- Looking for C++ include valgrind/valgrind.h
-- Looking for C++ include valgrind/valgrind.h - found
-- Build type:
CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1202 (message):
   Unable to find the requested Boost libraries.

   Boost version: 1.56.0

   Boost include path:
/home/evansl/prog_dev/boost/boost-modular/modular-boost

   The following Boost libraries could not be found:

           boost_system
           boost_context
           boost_coroutine
           boost_thread

   No Boost libraries were found. You may need to set BOOST_LIBRARYDIR
to the
   directory containing Boost libraries or BOOST_ROOT to the location of
   Boost.
Call Stack (most recent call first):
   CMakeLists.txt:235 (find_package)

CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1202 (message):
   Unable to find the requested Boost libraries.

   Boost version: 1.56.0

   Boost include path:
/home/evansl/prog_dev/boost/boost-modular/modular-boost

   The following Boost libraries could not be found:

           boost_program_options

   No Boost libraries were found. You may need to set BOOST_LIBRARYDIR
to the
   directory containing Boost libraries or BOOST_ROOT to the location of
   Boost.
Call Stack (most recent call first):
   examples/CMakeLists.txt:4 (find_package)

-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)

====================| Build Summary |====================

Build type: RelWithDebInfo
Debug mode: no
Log level: none
Context switching: yes
Valgrind: yes
Build examples: yes
Build unit tests: yes
Build static: no
Bulid static only: no
Build OpenCL: no
With mem. mgmt.: yes

CXX: /usr/bin/c++
CXXFLAGS: -std=c++11 -Wextra -Wall -pedantic
-ftemplate-backtrace-limit=0 -pthread -O2 -g
LD_DIRS:
LIBRARIES:
Boost_COROUTINE_LIBRARY-NOTFOUND;Boost_CONTEXT_LIBRARY-NOTFOUND;Boost_SYSTEM_LIBRARY-NOTFOUND

Source directory: /home/evansl/prog_dev/boost/sandbox/boost.actor
Build directory: /home/evansl/prog_dev/boost/sandbox/boost.actor/build
Executable path: /home/evansl/prog_dev/boost/sandbox/boost.actor/build/bin
Library path: /home/evansl/prog_dev/boost/sandbox/boost.actor/build/lib
Install prefix: /usr/local

Boost: /home/evansl/prog_dev/boost/boost-modular/modular-boost

===========================================================

CMake Error: The following variables are used in this project, but they
are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the
CMake files:
Boost_CONTEXT_LIBRARY (ADVANCED)
     linked by target "libboost_actor" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor
     linked by target "announce_1" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "announce_2" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "announce_3" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "announce_4" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "announce_5" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "aout" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "calculator" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "dancing_kirby" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "dining_philosophers" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "distributed_calculator" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "group_chat" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "group_server" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "hello_world" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "typed_calculator" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
Boost_COROUTINE_LIBRARY (ADVANCED)
     linked by target "libboost_actor" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor
     linked by target "announce_1" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "announce_2" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "announce_3" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "announce_4" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "announce_5" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "aout" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "calculator" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "dancing_kirby" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "dining_philosophers" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "distributed_calculator" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "group_chat" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "group_server" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "hello_world" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "typed_calculator" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
Boost_PROGRAM_OPTIONS_LIBRARY (ADVANCED)
     linked by target "announce_1" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "announce_2" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "announce_3" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "announce_4" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "announce_5" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "aout" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "calculator" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "dancing_kirby" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "dining_philosophers" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "distributed_calculator" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "group_chat" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "group_server" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "hello_world" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "typed_calculator" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
Boost_SYSTEM_LIBRARY (ADVANCED)
     linked by target "libboost_actor" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor
     linked by target "announce_1" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "announce_2" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "announce_3" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "announce_4" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "announce_5" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "aout" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "calculator" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "dancing_kirby" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "dining_philosophers" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "distributed_calculator" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "group_chat" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "group_server" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "hello_world" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples
     linked by target "typed_calculator" in directory
/home/evansl/prog_dev/boost/sandbox/boost.actor/examples

-- Configuring incomplete, errors occurred!
~/prog_dev/boost/sandbox $

Any cmake experts out there know what I'm doing wrong?

TIA.

-regards,
Larry




Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk