GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » AGATA » AGATA - AGAPRO » Install (Place to discuss installation/compilation problems)
Re: Install [message #18145 is a reply to message #17718] Mon, 20 April 2015 21:39 Go to previous messageGo to previous message
Angel is currently offline  Angel
Messages: 6
Registered: March 2015
occasional visitor
From: *ikp.physik.tu-darmstadt.de
Hello Olivier,

Recently I run the folowing commands to recompile the agapro:
python scripts/AgataSoftware.py --agapro= clean
python scripts/AgataSoftware.py --agapro= config
python scripts/AgataSoftware.py --agapro= compile

After the last one I've got an error:
...
CMake Error at /usr/share/cmake-2.8/Modules/FindSubversion.cmake:83 (message):
Command "/usr/bin/svn info
/agata/AgataSoftware/agapro" failed with output:

svn: E155036: Please see the 'svn upgrade' command
...

The svn version I am using is 1.7.9 (r1462340). Then i run
the command 'svn upgrade' in agapro folder. After that I repeated
the previous commands. And again the compilation process failed with error:
...
/agata/AgataSoftware/agapro/common/cycleServer.cpp:67:39: error: 'unlink' was not declared in this scope
int done = unlink(comFile.c_str());
^
make[2]: *** [common/CMakeFiles/AgaProCommon.dir/cycleServer.cpp.o] Error 1
make[1]: *** [common/CMakeFiles/AgaProCommon.dir/all] Error 2
make: *** [all] Error 2
...

With the previous version of the 'svn' program (1.6) there was no such error.
Also in compiling of the femul again with the same python script:
python scripts/AgataSoftware.py --femul= compile

I've got the following error:
...
/agata/AgataSoftware/LNL/../include/adetParams.h:38:18: error: expected unqualified-id before numeric constant
static const int NCC = 2; // number of core signals
^
make[2]: *** [CMakeFiles/femul.dir/femul/femul.cpp.o] Error 1
make[1]: *** [CMakeFiles/femul.dir/all] Error 2
make: *** [all] Error 2
...

The detiled view of the error messages you can find in the attached file error-log.txt
Could you give any suggestions how to fix these errors?
 
Read Message
Read Message
Read Message
Read Message
Read Message icon9.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: femul emulator
Goto Forum:
  


Current Time: Thu Mar 28 21:49:23 CET 2024

Total time taken to generate the page: 0.01286 seconds