On 05/25/14 16:56, Larry Evans wrote:
On 05/25/14 10:01, Larry Evans wrote:
On 05/24/14 15:32, Dominik Charousset wrote:
On May 24, 2014, at 5:37 PM, Larry Evans
wrote: What Version of Boost are you using?
I'm using git. Maybe this output will tell you what I'm using:
I’ve disabled the context-switching feature per default in the master branch. This also gets rid of the context and coroutine dependency for now.
/home/evansl/prog_dev/boost/boost-modular/modular-boost/sandbox/rw/sandbox/boost.actor.dir/boost.actor/src/get_root_uuid.cpp:79:10:
fatal error: 'boost/actor/detail/algorithm.hpp' file not found #include "boost/actor/detail/algorithm.hpp" ^ 1 error generated.
What should be done about this problem?
That header was a leftover from libcppa. I’ve fixed this issue in master and tested a Linux build of Boost.Actor on Ubuntu 13.10 OpenSuSE 13.1. Have fun. :)
Thanks Dominik. That solved the problem and now `make` completes with just warnings:
~/prog_dev/boost/boost-modular/modular-boost/sandbox/rw/sandbox/boost.actor.dir/boost.actor
$ make make[1]: Entering directory `/home/evansl/prog_dev/boost/boost-modular/modular-boost/sandbox/rw/sandbox/boost.actor.dir/boost.actor/build'
make[2]: Entering directory `/home/evansl/prog_dev/boost/boost-modular/modular-boost/sandbox/rw/sandbox/boost.actor.dir/boost.actor/build'
make[3]: Entering directory `/home/evansl/prog_dev/boost/boost-modular/modular-boost/sandbox/rw/sandbox/boost.actor.dir/boost.actor/build'
Scanning dependencies of target libboost_actor make[3]: Leaving directory `/home/evansl/prog_dev/boost/boost-modular/modular-boost/sandbox/rw/sandbox/boost.actor.dir/boost.actor/build'
make[3]: Entering directory `/home/evansl/prog_dev/boost/boost-modular/modular-boost/sandbox/rw/sandbox/boost.actor.dir/boost.actor/build'
[ 0%] Building CXX object CMakeFiles/libboost_actor.dir/src/middleman_event_handler_epoll.cpp.o [ 1%] Building CXX object CMakeFiles/libboost_actor.dir/src/abstract_actor.cpp.o In file included from /home/evansl/prog_dev/boost/boost-modular/modular-boost/sandbox/rw/sandbox/boost.actor.dir/boost.actor/src/abstract_actor.cpp:31:
/home/evansl/prog_dev/boost/boost-modular/modular-boost/sandbox/rw/sandbox/boost.actor.dir/boost.actor/./boost/actor/actor_addr.hpp:116:1:
warning: 'hash' defined as a class template here but previously declared as a struct template [-Wmismatched-tags] class hashboost::actor::actor_addr { ^ /home/evansl/dwnlds/gcc/4.8.1/install/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../include/c++/4.8.1/system_error:112:5:
note: did you mean class here? struct hash; ^ . . . make[3]: Leaving directory `/home/evansl/prog_dev/boost/boost-modular/modular-boost/sandbox/rw/sandbox/boost.actor.dir/boost.actor/build'
[100%] Built target typed_calculator make[2]: Leaving directory `/home/evansl/prog_dev/boost/boost-modular/modular-boost/sandbox/rw/sandbox/boost.actor.dir/boost.actor/build'
make[1]: Leaving directory `/home/evansl/prog_dev/boost/boost-modular/modular-boost/sandbox/rw/sandbox/boost.actor.dir/boost.actor/build'
~/prog_dev/boost/boost-modular/modular-boost/sandbox/rw/sandbox/boost.actor.dir/boost.actor
$
Unfortunately, `make test` failed all the tests. Adding a -VV flag to the /usr/bin/ctest invocation, as shown here:
# Special rule for the target test test: $(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running tests..." /usr/bin/ctest -VV --force-new-ctest-process $(ARGS) .PHONY : test
in the */build/Makefile resulted in output:
~/prog_dev/boost/boost-modular/modular-boost/sandbox/rw/sandbox/boost.actor.dir/boost.actor $ make test make[1]: Entering directory `/home/evansl/prog_dev/boost/boost-modular/modular-boost/sandbox/rw/sandbox/boost.actor.dir/boost.actor/build'
Running tests... UpdateCTestConfiguration from :/home/evansl/prog_dev/boost/boost-modular/modular-boost/sandbox/rw/sandbox/boost.actor.dir/boost.actor/build/DartConfiguration.tcl
UpdateCTestConfiguration from :/home/evansl/prog_dev/boost/boost-modular/modular-boost/sandbox/rw/sandbox/boost.actor.dir/boost.actor/build/DartConfiguration.tcl
Test project /home/evansl/prog_dev/boost/boost-modular/modular-boost/sandbox/rw/sandbox/boost.actor.dir/boost.actor/build
Constructing a list of tests Done constructing a list of tests Checking test dependency graph... Checking test dependency graph end test 1 Start 1: ripemd_160
1: Test command: /home/evansl/prog_dev/boost/boost-modular/modular-boost/sandbox/rw/sandbox/boost.actor.dir/boost.actor/build/bin/test_ripemd_160
1: Test timeout computed to be: 9.99988e+06 1: /home/evansl/prog_dev/boost/boost-modular/modular-boost/sandbox/rw/sandbox/boost.actor.dir/boost.actor/build/bin/test_ripemd_160: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by /home/evansl/prog_dev/boost/boost-modular/modular-boost/sandbox/rw/sandbox/boost.actor.dir/boost.actor/build/lib/libboost_actor.so.0)
1: /home/evansl/prog_dev/boost/boost-modular/modular-boost/sandbox/rw/sandbox/boost.actor.dir/boost.actor/build/bin/test_ripemd_160: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.17' not found (required by /home/evansl/prog_dev/boost/boost-modular/modular-boost/sandbox/rw/sandbox/boost.actor.dir/boost.actor/build/lib/libboost_actor.so.0)
1: /home/evansl/prog_dev/boost/boost-modular/modular-boost/sandbox/rw/sandbox/boost.actor.dir/boost.actor/build/bin/test_ripemd_160: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.19' not found (required by /home/evansl/prog_dev/boost/boost-modular/modular-boost/sandbox/rw/sandbox/boost.actor.dir/boost.actor/build/lib/libboost_actor.so.0)
1/16 Test #1: ripemd_160 .......................***Failed 0.00 sec
How do you allow the test runs to find the libstdc++.so.6 files? Maybe modify the LD_LIBRARY_PATH? Right now, it's empty.
I hadn't installed the gcc4.8.1 and that's probably why the above didn't work. Adding $(GCC4_8_1.Install)/lib64 to the library search path worked.