GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » External Packages » Problem building external packages Jan12
Problem building external packages Jan12 [message #13105] Tue, 28 February 2012 16:38 Go to next message
Christian Pauly is currently offline  Christian Pauly
Messages: 3
Registered: February 2012
occasional visitor
From: *physik.uni-wuppertal.de
Hi
I tried several times now to compile the recent external-packages, checked out from repositiory, release/jan12
After an hour or so of compiling i get the error message attached below, obviously there is a problem building the VGM package. (or maybe already building Geant4 ??)

Any idea ?
I checked the prerequisites, but they look fine.

Any idea what is going wrong here ???


Thanks for any help
best regards,

Christian



-----------log--------------------------
[...]
TGeant3/TGeant3f77.cxx
TGeant3/TGeant3gu.cxx
TGeant3/TGeant3TGeo.cxx
Generating /common/cbma/users/pauly/software/fairsoft/jan12/transport/geant3/tgt_li nuxx8664gcc/TGeant3/geant3Cint.cxx
/common/cbma/users/pauly/software/fairsoft/jan12/transport/geant3/tgt_li nuxx8664gcc/TGeant3/geant3Cint.cxx
Generating /common/cbma/users/pauly/software/fairsoft/jan12/transport/geant3/lib/tg t_linuxx8664gcc/libgeant321.so
**** Checking libraries in /common/cbma/users/pauly/software/fairsoft/jan12/transport/geant3/lib ****
*** Geant3 compiled successfully ***
*** Compiling VGM ................
Patch CMake stuff
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- 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
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for CLHEP ...
-- Found CLHEP in /common/cbma/users/pauly/software/fairsoft/jan12/cern/clhep/lib
-- Looking for GEANT4 ...
CMake Warning (dev) at CMakeLists.txt:34 (find_package):
A logical block opening on the line

/common/cbma/users/pauly/software/fairsoft/jan12/transport/vgm/cmake/Fin dGeant4.cmake:87 (if)

closes on the line

/common/cbma/users/pauly/software/fairsoft/jan12/transport/vgm/cmake/Fin dGeant4.cmake:89 (endif)

with mis-matching arguments.
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Error at cmake/FindGeant4.cmake:88 (message):
Geant4 required, but not found
Call Stack (most recent call first):
CMakeLists.txt:34 (find_package)


-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
*** ERROR: VGM could not be created.
**** Checking libraries in /common/cbma/users/pauly/software/fairsoft/jan12/transport/vgm/lib ****
scripts/functions.sh: line 233: cd: /common/cbma/users/pauly/software/fairsoft/jan12/transport/vgm/lib: No such file or directory
*** End installation of external packages with Errors***
Re: Problem building external packages Jan12 [message #13106 is a reply to message #13105] Tue, 28 February 2012 22:02 Go to previous messageGo to next message
Christian Pauly is currently offline  Christian Pauly
Messages: 3
Registered: February 2012
occasional visitor
From: *physik.uni-wuppertal.de
I tried the older versions now,
both Feb11 and May11 compile without problems.
The problem only occurs with the latest release.

Noone any ideas ?

Re: Problem building external packages Jan12 [message #13112 is a reply to message #13105] Thu, 01 March 2012 11:29 Go to previous messageGo to next message
Christian Pauly is currently offline  Christian Pauly
Messages: 3
Registered: February 2012
occasional visitor
From: *physik.uni-wuppertal.de
I found the problem:

There is a bug in the cmake-script in

fairsoft/transport/vgm/cmake/FindGeant4.cmake

in line 17,
it must be: ${GEANT4_DIR}/bin
instead of: $GEANT4_DIR/bin

The file is unpacked only during installation from
fairsoft/transport/vgm_cmake.tar.gz

After changing that it compiles without further problems.

Re: Problem building external packages Jan12 [message #13116 is a reply to message #13112] Fri, 02 March 2012 07:37 Go to previous message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *pools.arcor-ip.net
Hi Christian,

thanks for reporting the problem. I found the same problem and solution yesterday and fix it already. The newest version from the repository should work now without problems.

Ciao

Florian
Next Topic: Problem building FairBase libraries with clang
Goto Forum:
  


Current Time: Thu Mar 28 14:49:18 CET 2024

Total time taken to generate the page: 0.00946 seconds