|Message: Re: EXPAT library missing||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, 07 Feb 2013 18:35:10 GMT, Bethany wrote: > Hi there, I have been doing a lot of reading to try to figure out what's > going on with a few problems with my Geant install, and wanted to > clarify something and ask advice on what to do to let things work > properly. > > When I look at installation instructions for Geant, it says all I need > is g++ compiler, Geant source code, cmake, make. > > http://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/InstallationGuide/html/ch01s02.html > > However, both my previous install of Geant4.9.5.p01 and the new one I am > trying to get working (Geant4.9.6.p01) both complain about not finding > EXPAT. From my reading, it seems that this should be something that's > internal to Geant, but that doesn't seem to be the case? > > First off, could someone let me know whether I need EXPAT installed on > my computer?
We do ship EXPAT with Geant4 for use in cases where the system doesn't provide it - so the short answer is, no, you don't need it installed. On Linux though, the configuration defaults to searching for a system install of expat because it is generally, though not universally, a stock package in most distributions. That default is also used because if your application has other components that use EXPAT, you'll generally want Geant4 to link against that EXPAT, not the Geant4 internal one.
> The error I get looks like this: "Could NOT find EXPAT (missing: > EXPAT_LIBRARY EXPAT_INCLUDE_DIR)"
In this case, your system (probably) does not have EXPAT installed, or at least not the development package. It's not completely clear what distribution you are running on, but the package will be named something like
Either install that package, or you can force Geant4 to build and use its
internal EXPAT by adding
Hope that helps,
|Inline Depth:||Outline Depth:||Add message:|