maidsafe-archive / MaidSafe

This is the super-project in which each MaidSafe library resides. Some information is common to all libraries, and is detailed here. Library-specific information can be found in each library's wiki.
Other
583 stars 101 forks source link

make: *** [ExperCommon] Error 2 #234

Open stupidcache opened 9 years ago

stupidcache commented 9 years ago

Hello. I want to start my Local_Network_Controller in order to test the network but I have no idea if I'm doing something wrong or not.

In the last step of "Building Instructions" I got 3 error messages (terminal and dashboard sides)

1) TERMINAL SIDE

stupidcache@stupidcache ~/MaidSafe/build_maidsafe $ make ExperCommon Run dashboard with model Experimental Source directory: /home/stupidcache/MaidSafe Build directory: /home/stupidcache/MaidSafe/build_maidsafe Track: Experimental Reading ctest configuration file: /home/stupidcache/MaidSafe/CTestConfig.cmake Site: stupidcache Build name: Common Debug Linux, GNU 4.8.2 Use Experimental tag: 20150423-1820 Submit files (using http) Send to track: Experimental Using HTTP submit method Drop site:http://dash.maidsafe.net/submit.php?project=MaidSafe Uploaded: /home/stupidcache/MaidSafe/Project.xml Submission successful Configure project Each . represents 1024 bytes of output .... Size of output: 3K Error(s) when configuring the project Submit files (using http) Send to track: Experimental Using HTTP submit method Drop site:http://dash.maidsafe.net/submit.php?project=MaidSafe Uploaded: /home/stupidcache/MaidSafe/build_maidsafe/Testing/20150423-1820/Configure.xml Submission successful Error in read script: /home/stupidcache/MaidSafe/build_maidsafe/src/common/run_experimental_Debug.cmake make[3]: * [src/common/CMakeFiles/ExperCommon] Error 255 make[2]: * [src/common/CMakeFiles/ExperCommon.dir/all] Error 2 make[1]: * [src/common/CMakeFiles/ExperCommon.dir/rule] Error 2 make: * [ExperCommon] Error 2

2) AT SIDEBOARD http://dash.maidsafe.net/viewConfigure.php?buildid=113707

3) make local_network_controller (Terminal)

~/MaidSafe/build_maidsafe $ make local_network_controller -- Build type set to Debug -- This system is called Linux. -- ccache not found - consider using ccache to speed up recompilation. -- Undefined behaviour sanitiser not available in this compiler.

-- BOOTSTRAP not set.

Configuring third party projects on 'next' of super-project at commit 'a414bb8'

Configuring MaidSafe Common project on 'HEAD' at commit 'a4d74e4'

-- GTests included: All. 321 Google test(s) enabled.

Configuring MaidSafe Passport project on 'HEAD' at commit '245c556'

-- GTests included: All. 36 Google test(s) enabled.

Configuring MaidSafe Crux project on 'HEAD' at commit '240acca'

-- GTests included: All. 0 Google test(s) enabled.

Configuring MaidSafe Routing project on 'HEAD' at commit '4a7e261'

-- GTests included: All. 28 Google test(s) enabled.

Configuring MaidSafe Encrypt project on 'HEAD' at commit '79186bf'

-- GTests included: All. 121 Google test(s) enabled.

Configuring MaidSafe Vault project on 'HEAD' at commit '9168134'

-- GTests included: All. 15 Google test(s) enabled.

Configuring MaidSafe VaultManager project on 'HEAD' at commit '005b26a'

-- GTests included: All. 4 Google test(s) enabled.

Configuring MaidSafe Api project on 'next' at commit 'cccb95d'

-- GTests included: All. 2 Google test(s) enabled.

Configuring MaidSafe Launcher project on 'HEAD' at commit '02288b2'

-- GTests included: All. 14 Google test(s) enabled.

-- Didn't find all required modules of Qt5. Not building Launcher UI.

-- To see values of cached CMake variables, run 'cmake . -N -LH' -- Installers unavailable with Debug configuration -- Configuring done CMake Error at cmake_modules/add_protoc_command.cmake:108 (add_custom_command): Error evaluating generator expression:

$<TARGET_FILE:protoc>

No target "protoc" Call Stack (most recent call first): cmake_modules/utils.cmake:131 (ms_add_protoc_command) src/encrypt/CMakeLists.txt:42 (ms_glob_dir)

-- Generating done -- Build files have been written to: /home/stupidcache/MaidSafe/build_maidsafe make: *\ [cmake_check_build_system] Error 1

irflashrex commented 9 years ago

I'm getting that on my arch box too On Apr 23, 2015 1:24 PM, "stupidcache" notifications@github.com wrote:

Hello. I want to start my Local_Network_Controller in order to test the network but I have no idea if I'm doing something wrong or not.

In the last step of "Building Instructions" I got two error messages (terminal and dashboard sides)

1) TERMINAL SIDE

stupidcache@stupidcache ~/MaidSafe/build_maidsafe $ make ExperCommon Run dashboard with model Experimental Source directory: /home/stupidcache/MaidSafe Build directory: /home/stupidcache/MaidSafe/build_maidsafe Track: Experimental Reading ctest configuration file: /home/stupidcache/MaidSafe/CTestConfig.cmake Site: stupidcache Build name: Common Debug Linux, GNU 4.8.2 Use Experimental tag: 20150423-1820 Submit files (using http) Send to track: Experimental Using HTTP submit method Drop site:http://dash.maidsafe.net/submit.php?project=MaidSafe Uploaded: /home/stupidcache/MaidSafe/Project.xml Submission successful Configure project Each . represents 1024 bytes of output .... Size of output: 3K Error(s) when configuring the project Submit files (using http) Send to track: Experimental Using HTTP submit method Drop site:http://dash.maidsafe.net/submit.php?project=MaidSafe Uploaded: /home/stupidcache/MaidSafe/build_maidsafe/Testing/20150423-1820/Configure.xml Submission successful Error in read script: /home/stupidcache/MaidSafe/build_maidsafe/src/common/run_experimental_Debug.cmake make[3]: * [src/common/CMakeFiles/ExperCommon] Error 255 make[2]: * [src/common/CMakeFiles/ExperCommon.dir/all] Error 2 make[1]: * [src/common/CMakeFiles/ExperCommon.dir/rule] Error 2 make: * [ExperCommon] Error 2

2) AT SIDEBOARD http://dash.maidsafe.net/viewConfigure.php?buildid=113707

Thanks!

— Reply to this email directly or view it on GitHub https://github.com/maidsafe/MaidSafe/issues/234.

stupidcache commented 9 years ago

Please if you found the way to solve this explain that here. I wil do the same.

alexbubly commented 9 years ago

yes, me too.

happybeing commented 9 years ago

It looks like you are not entirely on "next" (lots of refs to "HEAD" in the dashboard output) so I think you need to start again. Try this:

Starting with an empty ~/MaidSafe directory... cd ~/MaidSafe

First build git submodule update --init

Don't repeat the above afterwards unless you do the following again, because it puts submodules back on 'master'

Update to next

git submodule foreach "git checkout next; git pull"
git checkout next; git pull

Go

cd ..
cmake -HMaidSafe -Bbuild_maidsafe

Or if you want to build the launcher, you'll need to have QT installed and use the following command instead of the above (with your path to QT inserted): cmake -HMaidSafe -Bbuild_maidsafe -DQT_BIN_DIR=/opt/Qt5.4.0/5.4/gcc_64/bin

Then

cd ~/build_maidsafe
make