1:BUILD_BY[name] student5 1:BUILD_ENVIRONMENT[operating system 32 vs 64] 1:END_BUILD_ENVIRONMENT 1:DEPENDENCIES[list of dependencies with where to get them] 1.scons $sudo apt-get install scons 2. other dependencies as mentioned in the readme of the project. 1:END_DEPENDENCIES 1:NOTES[notes on attempted build] make failed and returned multiple errors. Compiling build/Event/File.cc scons: *** [build/Client/Client.o] Error 1 scons: *** [build/Core/Checksum.o] Error 1 scons: *** [build/Client/LeaderRPC.o] Error 1 scons: *** [build/Client/ClientImpl.o] Error 1 In file included from build/Core/ProtoBufTest.cc:18:0: ./Core/ProtoBuf.h:16:37: fatal error: google/protobuf/message.h: No such file or directory compilation terminated. scons: *** [build/Core/ProtoBufTest.pb.o] Error 1 scons: *** [build/Core/ProtoBuf.o] Error 1 scons: *** [build/Client/LeaderRPCTest.o] Error 1 scons: *** [build/Client/ClientTest.o] Error 1 scons: *** [build/Client/LeaderRPCMock.o] Error 1 scons: *** [build/Client/MockClientImplTest.o] Error 1 scons: *** [build/Core/ProtoBufTest.o] Error 1 scons: building terminated because of errors. make: *** [logcabin] Error 2 1:END_NOTES 2:BUILD_BY[name] student4 2:BUILD_ENVIRONMENT[operating system 32 vs 64] >>>> lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.4 LTS Release: 12.04 Codename: precise >>>> uname -a Linux student-VPCSE13FX 3.2.0-60-generic #91-Ubuntu SMP Wed Feb 19 03:54:44 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux >>>> lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 2 Core(s) per socket: 2 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 42 Stepping: 7 CPU MHz: 800.000 BogoMIPS: 4789.10 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 3072K NUMA node0 CPU(s): 0-3 >>>> javac -version javac 1.7.0_51 >>>> gcc --version gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 >>>> ./boost #gives version (special exec) Using Boost 1.46.1 2:END_BUILD_ENVIRONMENT 2:DEPENDENCIES[list of dependencies with where to get them] From README: 64-bit linux g++ (at least 4.4) git python perl sudo apt-get install build-essential git-core libcppunit-dev libcppunit-doc doxygen libboost1.42-all-dev libprcre3-dev protobuf-compiler libprotobuf-dev libcrypto++-dev Should be libpcre3-dev 2:END_DEPENDENCIES 2:NOTES[notes on attempted build] README says to just run: > make however this gives an error: In file included from /home/student/temp/repro/googletest-read-only//include/gtest/gtest-param-test.h:192:0, from /home/student/temp/repro/googletest-read-only//include/gtest/gtest.h:62, from /home/student/temp/repro/OnagroRSOR11/ramcloud/src/MockTransport.h:16, from /home/student/temp/repro/OnagroRSOR11/ramcloud/src/TransportManager.h:24, from /home/student/temp/repro/OnagroRSOR11/ramcloud/src/CoordinatorClient.h:28, from /home/student/temp/repro/OnagroRSOR11/ramcloud/src/RamCloud.h:20, from /home/student/temp/repro/OnagroRSOR11/ramcloud/src/ClusterMetrics.h:21, from /home/student/temp/repro/OnagroRSOR11/ramcloud/src/ClientMain.cc:21: /home/student/temp/repro/googletest-read-only//include/gtest/internal/gtest-param-util.h: At global scope: /home/student/temp/repro/googletest-read-only//include/gtest/internal/gtest-param-util.h: In instantiation of ‘testing::internal::ValuesInIteratorRangeGenerator::Iterator’: /home/student/temp/repro/googletest-read-only//include/gtest/internal/gtest-param-util.h:276:49: instantiated from ‘testing::internal::ParamIteratorInterface* testing::internal::ValuesInIteratorRangeGenerator::Begin() const [with T = bool]’ /home/student/temp/repro/OnagroRSOR11/ramcloud/src/ClientMain.cc:169:1: instantiated from here /home/student/temp/repro/googletest-read-only//include/gtest/internal/gtest-param-util.h:285:9: error: ‘class testing::internal::ValuesInIteratorRangeGenerator::Iterator’ has pointer data members [-Werror=effc++] /home/student/temp/repro/googletest-read-only//include/gtest/internal/gtest-param-util.h:285:9: error: but does not override ‘operator=(const testing::internal::ValuesInIteratorRangeGenerator::Iterator&)’ [-Werror=effc++] /home/student/temp/repro/googletest-read-only//include/gtest/internal/gtest-param-util.h: In constructor ‘testing::internal::ValuesInIteratorRangeGenerator::Iterator::Iterator(const testing::internal::ParamGeneratorInterface*, typename testing::internal::ValuesInIteratorRangeGenerator::ContainerType::const_iterator) [with T = bool, typename testing::internal::ValuesInIteratorRangeGenerator::ContainerType::const_iterator = std::_Bit_const_iterator]’: /home/student/temp/repro/googletest-read-only//include/gtest/internal/gtest-param-util.h:276:49: instantiated from ‘testing::internal::ParamIteratorInterface* testing::internal::ValuesInIteratorRangeGenerator::Begin() const [with T = bool]’ /home/student/temp/repro/OnagroRSOR11/ramcloud/src/ClientMain.cc:169:1: instantiated from here /home/student/temp/repro/googletest-read-only//include/gtest/internal/gtest-param-util.h:287:5: error: ‘testing::internal::ValuesInIteratorRangeGenerator::Iterator::value_’ should be initialized in the member initialization list [-Werror=effc++] /home/student/temp/repro/googletest-read-only//include/gtest/internal/gtest-param-util.h: In copy constructor ‘testing::internal::ValuesInIteratorRangeGenerator::Iterator::Iterator(const testing::internal::ValuesInIteratorRangeGenerator::Iterator&) [with T = bool, testing::internal::ValuesInIteratorRangeGenerator::Iterator = testing::internal::ValuesInIteratorRangeGenerator::Iterator]’: /home/student/temp/repro/googletest-read-only//include/gtest/internal/gtest-param-util.h:300:32: instantiated from ‘testing::internal::ParamIteratorInterface* testing::internal::ValuesInIteratorRangeGenerator::Iterator::Clone() const [with T = bool]’ /home/student/temp/repro/OnagroRSOR11/ramcloud/src/ClientMain.cc:169:1: instantiated from here /home/student/temp/repro/googletest-read-only//include/gtest/internal/gtest-param-util.h:325:5: error: ‘testing::internal::ValuesInIteratorRangeGenerator::Iterator::value_’ should be initialized in the member initialization list [-Werror=effc++] cc1plus: all warnings being treated as errors make: *** [obj.master/ClientMain.o] Error 1 However the googletest project compiles: student@student-VPCSE13FX:~/temp/repro/googletest-read-only$ mkdir buildstudent@student-VPCSE13FX:~/temp/repro/googletest-read-only$ cd buildstudent@student-VPCSE13FX:~/temp/repro/googletest-read-only/build$ cmake ${GTEST_DIR} -- The CXX compiler identification is GNU -- The C compiler identification is GNU -- 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 -- 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 -- Found PythonInterp: /usr/bin/python (found version "2.7.3") -- Looking for include files CMAKE_HAVE_PTHREAD_H -- Looking for include files CMAKE_HAVE_PTHREAD_H - found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Configuring done -- Generating done -- Build files have been written to: /home/student/temp/repro/googletest-read-only/build student@student-VPCSE13FX:~/temp/repro/googletest-read-only/build$ ls CMakeCache.txt CMakeFiles cmake_install.cmake Makefile student@student-VPCSE13FX:~/temp/repro/googletest-read-only/build$ make Scanning dependencies of target gtest [ 50%] Building CXX object CMakeFiles/gtest.dir/src/gtest-all.cc.o Linking CXX static library libgtest.a [ 50%] Built target gtest Scanning dependencies of target gtest_main [100%] Building CXX object CMakeFiles/gtest_main.dir/src/gtest_main.cc.o Linking CXX static library libgtest_main.a [100%] Built target gtest_main Ran out of time, unsure how to resolve issue with googletest. README does not indicate how to use it or that it is a dependency. 2:END_NOTES