<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>installation woes continued:</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Thanks for all the advice, it seemed I didn't have the directory for the OpenGL installation correct (pointed to the OpenGL libraries instead).</FONT></P>
<P><FONT SIZE=2>I've tried to run the geant4 example novice #1, copying the directory but can't get it to compile</FONT>
</P>
<P><FONT SIZE=2>error list follows:</FONT>
<BR><FONT SIZE=2>Making dependency for file src/ExN01DetectorConstruction.cc ...</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:31:20: error: G4Box.hh: No such file or directory</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:32:21: error: G4Tubs.hh: No such file or directory</FONT>
<BR><FONT SIZE=2>Compiling ExN01DetectorConstruction.cc ...</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:31:20: error: G4Box.hh: No such file or directory</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:32:21: error: G4Tubs.hh: No such file or directory</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc: In member function ‘virtual G4VPhysicalVolume* ExN01DetectorConstruction::Construct()’:</FONT></P>
<P><FONT SIZE=2>src/ExN01DetectorConstruction.cc:75: error: ‘G4Box’ was not declared in this scope</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:75: error: ‘experimentalHall_box’ was not declared in this scope</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:76: error: expected type-specifier before ‘G4Box’</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:76: error: expected `;' before ‘G4Box’</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:89: error: ‘G4Tubs’ was not declared in this scope</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:89: error: ‘tracker_tube’ was not declared in this scope</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:89: error: expected type-specifier before ‘G4Tubs’</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:89: error: expected `;' before ‘G4Tubs’</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:105: error: ‘calorimeterBlock_box’ was not declared in this scope</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:105: error: expected type-specifier before ‘G4Box’</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:105: error: expected `;' before ‘G4Box’</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:121: error: ‘calorimeterLayer_box’ was not declared in this scope</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:121: error: expected type-specifier before ‘G4Box’</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:121: error: expected `;' before ‘G4Box’</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:72: warning: unused variable ‘expHall_x’</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:73: warning: unused variable ‘expHall_y’</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:74: warning: unused variable ‘expHall_z’</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:84: warning: unused variable ‘innerRadiusOfTheTube’</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:85: warning: unused variable ‘outerRadiusOfTheTube’</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:86: warning: unused variable ‘hightOfTheTube’</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:87: warning: unused variable ‘startAngleOfTheTube’</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:88: warning: unused variable ‘spanningAngleOfTheTube’</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:102: warning: unused variable ‘block_x’</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:103: warning: unused variable ‘block_y’</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:104: warning: unused variable ‘block_z’</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:118: warning: unused variable ‘calo_x’</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:119: warning: unused variable ‘calo_y’</FONT>
<BR><FONT SIZE=2>src/ExN01DetectorConstruction.cc:120: warning: unused variable ‘calo_z’</FONT>
<BR><FONT SIZE=2>make: *** [/home/daniel/geant4/tmp/Linux-g++/exampleN01/ExN01DetectorConstruction.o] Error 1</FONT>
</P>
<BR>
<P><FONT SIZE=2>It seems the compiler can't find G4Tubs.hh and G4Box.hh, even though there are there in the install dir (at /usr/local/bin/geant4.8.0/src/geant4). I checked the environment, seems ok:</FONT></P>
<P><FONT SIZE=2>setenv |grep G4</FONT>
<BR><FONT SIZE=2>G4LEVELGAMMADATA=/usr/local/bin/geant_data/PhotonEvaporation</FONT>
<BR><FONT SIZE=2>G4INSTALL=/usr/local/bin/geant4.8.0/src/geant4</FONT>
<BR><FONT SIZE=2>G4ELASTICDATA=/usr/local/bin/geant_data/G4ELASTIC1.1</FONT>
<BR><FONT SIZE=2>G4LEDATA=/usr/local/bin/geant_data/G4EMLOW3.0</FONT>
<BR><FONT SIZE=2>G4RADIOACTIVEDATA=/usr/local/bin/geant_data/RadiativeDecay</FONT>
<BR><FONT SIZE=2>G4LIB=/usr/local/bin/geant4.8.0/lib/geant4</FONT>
<BR><FONT SIZE=2>G4SYSTEM=Linux-g++</FONT>
<BR><FONT SIZE=2>G4WORKDIR=/home/daniel/geant4</FONT>
<BR><FONT SIZE=2>NeutronHPCrossSections=/usr/local/bin/geant_data/G4NDL3.7</FONT>
</P>
<P><FONT SIZE=2>the path seems ok too, I even tried putting the exact location of the missing files in the path, to no effect...</FONT>
</P>
<P><FONT SIZE=2>echo $path</FONT>
<BR><FONT SIZE=2>/usr/kerberos/bin /usr/local/bin /usr/bin /bin /usr/X11R6/bin /usr/local/bin/gate_v3.0.0/ /usr/local/bin/geant4.8.0/src/geant4 /usr/local /home/daniel/geant4 /usr/local/bin/geant4.8.0/src/geant4 /usr/local/bin/gate_v3.0.0/ /usr/local/bin/geant4.8.0/src/geant4 /usr/local /home/daniel/geant4 </FONT></P>
<P><FONT SIZE=2>My guess is that something is misconfigured, but I can't figure out what ...</FONT>
</P>
<BR>
<P><FONT SIZE=2>--</FONT>
<BR><FONT SIZE=2>Daniel Badger</FONT>
<BR><FONT SIZE=2>Physicist</FONT>
<BR><FONT SIZE=2>Dept of Nuclear Medicine </FONT>
<BR><FONT SIZE=2>The Queen Elizabeth Hospital</FONT>
</P>
</BODY>
</HTML>