Message: Problem Making g4gogdml (Geant4/GDML "Fresh" Install) Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Problem Making g4gogdml (Geant4/GDML "Fresh" Install) 

Forum: Installation and Configuration
Date: 01 Jul, 2008
From: Bryan C. Callahan <Bryan C. Callahan>

Hey Everyone,

I'm running into a bear of a problem. I installed geant4 (and am able to test that it is functioning correctly via the examples) but GDML is being stubborn. I'm attempting to compile g4gogdml so that I can test my GDML installation. However, when I try to make it (see Make Status) it gives me an odd build error.

Here is the software I'm using:

  • Ubuntu 8.04 (Hardy Heron) Released April 2008
  • XercesC Parser 2.8.0 Released August 31, 2007
  • Autoconf 2.6.1 Released April 8, 2008
  • Automake 1.10.1 Released January 21, 2008
  • CLHEP 2.0.3.3 Released May 1, 2008
  • Geant4 4.9.1.p02 Released May 9, 2008
  • GDML 2.10.0 Released September 14, 2007

I would /really/ appreciate any help or insight!

Regards,
Bryan

============================================================
Steps Taken to Build Example
============================================================
  source ~/geant4/setup_env.csh
  source ~/geant4/gdml2.10.0/CPPGDML/Examples/setup.csh
  setenv PROJECT_TOP ~/geant4/gdml2.10.0/CPPGDML
  setenv APP_NAME myApp

  cd ~/geant4/gdml2.10.0/CPPGDML/Examples/g4gogdml
  make
============================================================
My Environmental Variables
============================================================
[callahan:g4gogdml]#env
GNOME_KEYRING_SOCKET=/tmp/keyring-Gis8rD/socket
LOGNAME=callahan
GDMSESSION=default
GDM_XSERVER_LOCATION=local
GNOME_DESKTOP_SESSION_ID=Default
TERM=xterm
GNOME_KEYRING_PID=6059
USERNAME=callahan
XAUTHORITY=/home/callahan/.Xauthority
GPG_AGENT_INFO=/tmp/seahorse-qRM7Po/S.gpg-agent:6171:1
USER=callahan
DESKTOP_STARTUP_ID=
SSH_AUTH_SOCK=/tmp/keyring-Gis8rD/ssh
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-QkrsABTQQb,guid=18e877e7c0870739ffc77df6486a6c51
XDG_SESSION_COOKIE=2bec0e8de41fa567e704140a4827af7f-1214934095.557823-1195331503
PWD=/home/callahan/geant4/gdml2.10.0/CPPGDML/Examples/g4gogdml
WINDOWID=54526044
SHELL=/bin/tcsh
SESSION_MANAGER=local/callahan-laptop:/tmp/.ICE-unix/6061
HOME=/home/callahan
DISPLAY=:0.0
LANG=en_US.UTF-8
DESKTOP_SESSION=default
WINDOWPATH=7
GDM_LANG=en_US.UTF-8
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/callahan/geant4/bin/Linux-g++
COLORTERM=gnome-terminal
GTK_RC_FILES=/etc/gtk/gtkrc:/home/callahan/.gtkrc-1.2-gnome2
XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/
HOSTTYPE=i486-linux
VENDOR=intel
OSTYPE=linux
MACHTYPE=i486
SHLVL=1
GROUP=callahan
HOST=callahan-laptop
G4SYSTEM=Linux-g++
G4INSTALL=/home/callahan/geant4/geant4.9.1.p02
G4INCLUDE=/home/callahan/geant4/geant4.9.1.p02/include
G4LIB=/home/callahan/geant4/geant4.9.1.p02/lib
G4LEVELGAMMADATA=/home/callahan/geant4/geant4.9.1.p02/data/PhotonEvaporation2.0
G4RADIOACTIVEDATA=/home/callahan/geant4/geant4.9.1.p02/data/RadioactiveDecay3.2
G4LEDATA=/home/callahan/geant4/geant4.9.1.p02/data/G4EMLOW5.1
G4NEUTRONHPDATA=/home/callahan/geant4/geant4.9.1.p02/data/G4NDL3.12
G4ABLADATA=/home/callahan/geant4/geant4.9.1.p02/data/G4ABLA3.0
CLHEP_BASE_DIR=/usr/local
CLHEP_INCLUDE_DIR=/usr/local/include
CLHEP_LIB_DIR=/usr/local/lib
CLHEP_LIB=CLHEP
G4VIS_BUILD_DAWN_DRIVER=1
G4VIS_BUILD_VRML_DRIVER=1
G4VIS_USE_DAWN=1
G4VIS_USE_VRML=1
XMFLAGS=
XMLIBS=
XAWFLAGS=
XAWLIBS=
G4LIB_BUILD_GDML=1
XERCESCROOT=
G4LIB_BUILD_ZLIB=1
G4LIB_BUILD_STATIC=1
G4LIB_USE_GRANULAR=1
G4UI_USE_TCSH=1
G4WORKDIR=/home/callahan/geant4
LD_LIBRARY_PATH=/usr/local/lib
PROJECT_TOP=/home/callahan/geant4/gdml2.10.0/CPPGDML
APP_NAME=myApp


* NOTE: I tweaked my ~/geant4/setup_env.csh file with the 
        below lines at its bottom. I did this because 
        geant4's example applications had troubles locating 
        the CLHEP library.

  if ( ${?LD_LIBRARY_PATH} ) then
    setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/usr/local/lib
  else
    setenv LD_LIBRARY_PATH /usr/local/lib
  endif
============================================================
Make Status
============================================================

[callahan:g4gogdml]#make

Building application myApp for platform Linux-g++

Compiling g4gogdml.cpp
Compiling gogdmlDetectorConstruction.cpp
Compiling gogdmlPhysicsList.cpp
Compiling gogdmlPrimaryGeneratorAction.cpp

Building shared application binary /home/callahan/geant4/gdml2.10.0/CPPGDML/build/Linux-g++/bin/myApp

g++ -o /home/callahan/geant4/gdml2.10.0/CPPGDML/build/Linux-g++/bin/myApp /home/callahan/geant4/gdml2.10.0/CPPGDML/build/Linux-g++//myApp/g4gogdml.o /home/callahan/geant4/gdml2.10.0/CPPGDML/build/Linux-g++//myApp/gogdmlDetectorConstruction.o /home/callahan/geant4/gdml2.10.0/CPPGDML/build/Linux-g++//myApp/gogdmlPhysicsList.o /home/callahan/geant4/gdml2.10.0/CPPGDML/build/Linux-g++//myApp/gogdmlPrimaryGeneratorAction.o -D_GNU_SOURCE -pipe -ansi -pedantic -W -Wall -Wno-non-virtual-dtor -Wno-long-long -Wwrite-strings -Wpointer-arith -Woverloaded-virtual -ftemplate-depth-256 -fmessage-length=0 -O2 -g -fPIC -DPACKAGE_NAME=\"CPPGDML\" -DPACKAGE_TARNAME=\"cppgdml\" -DPACKAGE_VERSION=\"2.9.0\" -DPACKAGE_STRING=\"CPPGDML\ 2.9.0\" -DPACKAGE_BUGREPORT=\"jeremym@slac.stanford.edu\" -DGDML_VERBOSE=1 -DG4LIB_USE_GRANULAR=1 -DHAVE_NIST=1 -DHAVE_G4TESSELLATEDSOLID=1 -DHAVE_G4TET=1 -DHAVE_G4TWISTEDBOX=1 -DHAVE_G4TWISTEDTRD=1 -DHAVE_G4TWISTEDTRAP=1 -DHAVE_G4TWISTEDTUBS=1 -DHAVE_G4ELLIPSOID=1 -DHAVE_G4EXTRUDEDSOLID=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -I/home/callahan/geant4/gdml2.10.0/CPPGDML/Common/Schema -I/home/callahan/geant4/gdml2.10.0/CPPGDML//myApp -I/home/callahan/geant4/geant4.9.1.p02/include -I/usr/local/include -I/usr/include -I/home/callahan/geant4/gdml2.10.0/CPPGDML/Common/Saxana -I/home/callahan/geant4/gdml2.10.0/CPPGDML/Common/Processes -I/home/callahan/geant4/gdml2.10.0/CPPGDML/Common/Writer -I/home/callahan/geant4/gdml2.10.0/CPPGDML/G4Binding/G4Evaluator -I/home/callahan/geant4/gdml2.10.0/CPPGDML/G4Binding/G4Processor -I/home/callahan/geant4/gdml2.10.0/CPPGDML/G4Binding/G4Subscribers -I/home/callahan/geant4/gdml2.10.0/CPPGDML/G4Binding/G4Writer -Wl,-E -L/home/callahan/geant4/gdml2.10.0/CPPGDML/build/Linux-g++/lib/ -lgdml -L/home/callahan/geant4/geant4.9.1.p02/lib/Linux-g++ -lG4geomdivision -lG4brep -lG4geomBoolean -lG4decay -lG4muons -lG4emstandard -lG4partutils -lG4parameterisation -lG4run -lG4event -lG4tracking -lG4mesons -lG4transportation -lG4emutils -lG4ions -lG4baryons -lG4leptons -lG4detector -lG4bosons -lG4hits -lG4navigation -lG4procman -lG4magneticfield -lG4digits -lG4track -lG4cuts -lG4specsolids -lG4csg -lG4hepnumerics -lG4volumes -lG4geometrymng -lG4geombias -lG4materials -lG4partman -lG4intercoms -lG4graphics_reps -lG4globman -L/usr/local/lib -lCLHEP -L/usr/lib -lxerces-c
/usr/bin/ld: cannot find -lgdml
collect2: ld returned 1 exit status
make: *** [/home/callahan/geant4/gdml2.10.0/CPPGDML/build/Linux-g++/bin/myApp] Error 1

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Problem Making g4gogdml (Geant4/GDML   (John Allison - 02 Jul, 2008)
1 None: Re: Problem Making g4gogdml (Geant4/GDML   (Ben Morgan - 02 Jul, 2008)
1 Question: Re: Problem Making g4gogdml (Geant4/GDML   (Bryan C. Callahan - 02 Jul, 2008)
2 Feedback: Re: Problem Making g4gogdml (Geant4/GDML   (Bryan C. Callahan - 02 Jul, 2008)
 Add Message Add Message
to: "Problem Making g4gogdml (Geant4/GDML "Fresh" Install)"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]