|Message: Re: EXPAT_LIBRARY Error Geant4.9.5 (Mac OS X)||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 Wed, 13 Jun 2012 06:50:52 GMT, Mark Looper wrote: > from the build directory and everything looked fine, with the notation > > -- Found EXPAT: /usr/local/lib/libexpat.dylib (found version "2.0.1") > -- Found XercesC: /Users/looper/unixy/xerces-c-3.1.1/lib/libxerces-c.dylib > -- The following Geant4 features are enabled: > GEANT4_USE_SYSTEM_EXPAT: Using system install of EXPAT > GEANT4_USE_GDML: Build Geant4 with GDML support > > but when I next issued "make" I got about 80% to completion and then it > crashed with > > ld: warning: ignoring file /usr/local/lib/libexpat.dylib, missing required architecture x86_64 in file > > plus some notes as to where the linkage was needed. I deleted everything > in the build directory and tried cmake again with the -DXERCESC_ROOT_DIR > and -DGEANT4_USE_GDML parameters omitted, thinking that this would > remove the need to link against expat, but I still got the > GEANT4_USE_SYSTEM_EXPAT message (but not the GEANT4_USE_GDML one). On a > hunch I tried deleting everything in the build directory and issuing > cmake again with the additional parameter -DGEANT4_USE_SYSTEM_EXPAT=OFF, > but I still got the same confirmation that this "Geant4 feature" is > enabled. > > So -- you say that there is an internal G4Expat that could be used > instead of the system version. Is there a way to force this (my hunch > didn't work), or alternatively can you tell me how to install a 64-bit > version of expat? It would be difficult to upgrade my Mac to OS X 10.7, > if that's the fix -- it's a company computer, and they are _very_ slow > about approving OS upgrades...
Looking at the output, you've got a version of Expat in
To do that, you'll need to change the values of the CMake variables
cmake -DEXPAT_INCLUDE_DIR=/usr/include -DEXPAT_LIBRARY=/usr/lib/libexpat.dylib OTHERARGS
I shouldn't matter whether you do this with a completely fresh build or as a reconfiguration of an existing build set up. The build should then pick up the core Expat, which should be a universal library....
Hope that helps...
|Inline Depth:||Outline Depth:||Add message:|