Bug #325
scons build on Ubuntu 10.04: error: recpack/RecpackManager.h: No such file or directory
100%
Description
Running "scons build" produces:
scons: done reading SConscript files.
scons: Building targets ...
g++ -o src/common/Interface/MiceEventManager.os -c -m32 -pthread -rdynamic -g -pg -fPIC -Ithird_party/install/include -Ithird_party/install/include/python2.7 -Isrc/common -Ithird_party/install/include/root -Ithird_party/build/geant4.9.2.p04/include src/common/Interface/MiceEventManager.cc
In file included from src/common/Interface/MiceEventManager.cc:13:
src/common/Recon/SciFi/SciFiKalTrack.hh:22:36: error: recpack/RecpackManager.h: No such file or directory
In file included from src/common/Interface/MiceEventManager.cc:13:
src/common/Recon/SciFi/SciFiKalTrack.hh:55: error: ISO C++ forbids declaration of 'Trajectory' with no type
src/common/Recon/SciFi/SciFiKalTrack.hh:55: error: expected ';' before '*' token
src/common/Recon/SciFi/SciFiKalTrack.hh:67: error: ISO C++ forbids declaration of 'State' with no type
src/common/Recon/SciFi/SciFiKalTrack.hh:67: error: expected ';' before '*' token
src/common/Recon/SciFi/SciFiKalTrack.hh:102: error: 'measurement_vector' does not name a type
src/common/Recon/SciFi/SciFiKalTrack.hh:104: error: ISO C++ forbids declaration of 'Trajectory' with no type
src/common/Recon/SciFi/SciFiKalTrack.hh:104: error: expected ';' before '*' token
src/common/Recon/SciFi/SciFiKalTrack.hh:106: error: 'Recpack' has not been declared
src/common/Recon/SciFi/SciFiKalTrack.hh:106: error: ISO C++ forbids declaration of 'RecpackManager' with no type
src/common/Recon/SciFi/SciFiKalTrack.hh:106: error: expected ';' before '*' token
scons: *** [src/common/Interface/MiceEventManager.os] Error 1
scons: building terminated because of errors.
emstrsp@rsp-01:~/maus$ locate RecpackManager.h
/home/emstrsp/mice/gcc4.3.2/RecPack/20090424/include/recpack/RecpackManager.h
Files
Updated by Tunnell, Christopher over 12 years ago
Are you using a: nightly, bzr trunk, or release (if so, which?).
When you run the command:
./third_party/bash/27recpack.bash
what output do you see? The issue (it appears) is that recpack failed to build. There is now a test in the bzr trunk that checks for recpack when you run 'scons build' in r335
Updated by Powell, Roger over 12 years ago
Whatever bzr branch lp:maus brings down (presumably not a nightly)
The output you want is in the attached file
Updated by Tunnell, Christopher over 12 years ago
libtoolize can't be found in the recpack. Did you run the command:
sudo apt-get install build-essential xorg-dev automake autoconf libtool
from the prereqs? I think you need:
sudo apt-get install libtool
Updated by Powell, Roger over 12 years ago
The original build_all seemed to be OK, with the help of some additional installs but I have now run sudo apt-get install build-essential xorg-dev automake autoconf libtool
So I guess recpack needs to be rebuilt as just rerunning scons build returns the same error.
Unfortunately the server is rejecting me:
Connecting to wwwcache.rl.ac.uk|130.246.132.179|:8080... failed: Connection timed out
Updated by Tunnell, Christopher over 12 years ago
The 'apt-get' command I sent is in the install instructions: did you have to run anything else?
When you run:
./third_party/bash/27recpack.bash
you get a wwwcache error? Are you running within RAL? Type:
echo $http_proxy
and let me know if you have the proxy set (which should only be true within RAL). If you are outside of RAL, then you can make sure it doesn't try to use a proxy:
export http_proxy= ./third_party/bash/27recpack.bash
Do you want to be using the RAL HTTP cache?
Updated by Powell, Roger over 12 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
It's OK now; builds fine. Trying to install xorg dev manually instead of following instructions. Should have used sudo apt-get install build-essential xorg-dev automake autoconf libtool instead.
Ran unittests, all OK until...
test_bad_geometry (test_geometry.MapCppSimulationTestCase) ... ERROR - G4Box()::G4Box(): null
Dimensions too small ! - 0, 0, 0
- G4Exception : InvalidSetup
issued by : G4Box::G4Box()
Invalid dimensions. Too small. - Fatal Exception * core dump *
- G4Exception: Aborting execution ***
ok
test_geometries (test_geometry.MapCppSimulationTestCase) ... Module with Volume None cannot have daughters. They will not be placed.
Module with Volume None cannot have daughters. They will not be placed.
ok
test_forever_nearly (test_InputPyEmptyDocument.InputPyEmptyDocumentTestCase) ... ok
test_read100 (test_InputPyEmptyDocument.InputPyEmptyDocumentTestCase) ... ok
test_twice (test_InputPyEmptyDocument.InputPyEmptyDocumentTestCase) ... ok
----------------------------------------------------------------------
Ran 45 tests in 499.260s
OK
Updated by Tunnell, Christopher over 12 years ago
That's meant to be an error; it checks to see if an error happens with bad geometries. Glad it works now!
Updated by Tunnell, Christopher over 12 years ago
- Target version changed from Future MAUS release to MAUS-v0.0.1