|Message: Re: Geant4 build problem - can't compile||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
On Thu, 29 Sep 2011 21:13:19 GMT, Bethany wrote: > Hello, I am trying to rebuild my Geant4 installation from a new machine > in my group's cluster, and having it reference CLHEP at a different > location than it was looking at when I ran on the previous machine > (which was just decommissioned). > > Everything goes along well enough until I get to the build itself, when > I expect to see things like "making dependency for..." and "compiling > ___" and "removing library ___" as found here: > http://geant4.slac.stanford.edu/tutorial/installation/Geant4.9.3.p01/Linux/Geant4Make.txt > > However, all I get are the removing library statements plus a repeated > error that looks like this: > > Removing library libG4hepnumerics.a ... > > Removing library libG4hepnumerics.so ... > > gmake: *** [objs] Error 2 > > Removing library libG4geometrymng.a ... > > Removing library libG4geometrymng.so ... > > The gmake... error seems to appear where I would expect the dependency > and compiling statements to come up relative to the removing library > statements, according to the file at the above link. > > I've installed and rebuilt Geant4 a number of times, and am not sure > what to make of this. Googling and looking around the forum has shown a > few similar errors, but nothing I've found has only this error and > nothing else accompanying it by way of explanation or elaboration. > > Has anyone seen this/do you have ideas as to what I can check on? Any > advice would be greatly appreciated. Please let me know if there is any > other information I can add to help explain the situation.
The source of the error isn't immediately clear - what platform/OS/Version are you trying to build on? Given that you don't see the 'making dependency' and 'compiling ...' lines, it sounds like you're trying to recompile an existing build that was built on the old cluster? If that's the case I would recommend starting a new build from scratch. If not, please let us know the steps you used to build Geant4.