|Message: Re: AIDAJNI problem?||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)|
Just to share my experience from using Alex's method on a different Linux distribution.
I use geant4 on Fedora 12. While the steps are similar to the website refered by Alex(http://projects.hepforge.org/cedar/trac/wiki/AIDAJNI), on my machine the JDK_HOME is located in /usr/lib/jvm/java-1.6.0-openjdk-126.96.36.199 instead. Here are the steps that I took (using jaida-3.3.0-6 and AIDAJNI-3.2.3-src):
1. export FREEHEP=/home/neohys/geant4/analysis/AIDAJNI-3.2.3-src 2. export JDK_HOME=/usr/lib/jvm/java-1.6.0-openjdk-188.8.131.52 3. export PATH=$FREEHEP/bin:$JDK_HOME/bin:$PATH 4. export OS=Linux 5. export COMPILER=g++ 6. chmod +x tools/ant 7. tools/ant -Djar=aidajni 8. make -f GNUmakefile-AIDAJNI 9. make -f GNUmakefile-AIDAJNI dist
On the 8th step, however, when I type "make -f GNUmakefile-AIDAJNI" I get the error
In file included from ProxyFactory.h:17, from CIAnnotation.cpp:7: Registry.h: In constructor 'JAIDA::Registry::Registry()': Registry.h:38: error: 'getenv' was not declared in this scope In file included from CIAnnotation.cpp:7: ProxyFactory.h: In static member function 'static JAIDA::ProxyFactory* JAIDA::ProxyFactory::getFactory()': ProxyFactory.h:191: error: 'abort' was not declared in this scope ProxyFactory.h: In static member function 'static const void* JAIDA::ProxyFactory::getCRef(jlong)': ProxyFactory.h:204: error: 'abort' was not declared in this scope make: *** [Linux-g++/CIAnnotation.o] Error 1 make: Leaving directory `/home/neohys/geant4/analysis/AIDAJNI-3.2.3-src/hep/aida/jni' make: *** [hep/aida/jni.all] Error 2
After some googling I noticed adding the line
into the files Registry.h and CIAnnotation.cpp (located in AIDAJNI-3.2.3-src/hep/aida/jni) fixed the problem. After finishing the 9th step the binary is finally produced.
Hope this piece of information is useful to some of you guys.