<HTML dir=ltr><HEAD><TITLE>Re: [Rivet] AGILe</TITLE>
<META content="text/html; charset=unicode" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18904"></HEAD>
<BODY>
<DIV dir=ltr id=idOWAReplyText68936>
<DIV dir=ltr><FONT color=#000000 size=2 face=Arial>Hi Eike,</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT size=2 face=Arial>I tried this but still get the same error...</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT size=2 face=Arial>[pcalicebhm09] /home/snavin/my_work/rivet_test &gt; export LD_LIBRARY_PATH=/afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/lib:$LD_LIBRARY_PATH<BR>[pcalicebhm09] /home/snavin/my_work/rivet_test &gt; agile-runmc --list-gens<BR>Traceback (most recent call last):<BR>&nbsp; File "/home/snavin/my_work/rivet_test/local/bin/agile-runmc", line 95, in &lt;module&gt;<BR>&nbsp;&nbsp;&nbsp; import AGILe<BR>&nbsp; File "/home/snavin/my_work/rivet_test/local/lib/python2.6/site-packages/AGILe.py", line 25, in &lt;module&gt;<BR>&nbsp;&nbsp;&nbsp; _AGILe = swig_import_helper()<BR>&nbsp; File "/home/snavin/my_work/rivet_test/local/lib/python2.6/site-packages/AGILe.py", line 21, in swig_import_helper<BR>&nbsp;&nbsp;&nbsp; _mod = imp.load_module('_AGILe', fp, pathname, description)<BR>ImportError: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /home/snavin/my_work/rivet_test/local/lib/python2.6/site-packages/_AGILe.so)<BR></FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial>Notice that I included /afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/lib as /afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc34-opt/lib was not an option.</FONT></DIV>
<DIV dir=ltr><FONT size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT size=2 face=Arial>[pcalicebhm09] /home/snavin/my_work/rivet_test &gt; echo $LD_LIBRARY_PATH<BR>/afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/lib:</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial>/home/snavin/my_work/rivet_test/local/lib:</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial>/afs/cern.ch/sw/lcg/external/HepMC/2.05.00/x86_64-slc5-gcc43-opt/lib:</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial>/afs/cern.ch/sw/lcg/external/fastjet/2.4.2/x86_64-slc5-gcc43-opt/lib<BR></DIV></FONT>
<DIV dir=ltr><FONT size=2 face=Arial>Sparsh</DIV></FONT></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> Eike von Seggern [mailto:jan.eike.von.seggern@physik.hu-berlin.de]<BR><B>Sent:</B> Wed 5/19/2010 2:59 PM<BR><B>To:</B> Sparsh Navin<BR><B>Cc:</B> Hendrik Hoeth; Rivet<BR><B>Subject:</B> Re: [Rivet] AGILe<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Hi,<BR><BR>what's the contents of $LD_LIBRARY_PATH ? Since you've compiled with a<BR>"non-system" compiler you have to set this environment variable to<BR>contain the appropriate version of the system libraries (libstdc++.so in<BR>this case). Usually there is a "setup.sh" script in the directory of the<BR>compiler version that does this for you.<BR><BR>You can also try to do<BR><BR>export LD_LIBRARY_PATH=/afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc34-opt/lib:$LD_LIBRARY_PATH<BR><BR>Hope this helps,<BR><BR>&nbsp;&nbsp;&nbsp; eike<BR><BR><BR>On Wed, May 19, 2010 at 14:32 +0200, Sparsh Navin wrote:<BR>&gt; Hi,<BR>&gt;&nbsp;<BR>&gt; I try to list the generators to use...<BR>&gt;&nbsp;<BR>&gt; [pcalicebhm09] /home/snavin/my_work/rivet_test &gt; agile-runmc --list-gens<BR>&gt; Traceback (most recent call last):<BR>&gt;&nbsp;&nbsp; File "/home/snavin/my_work/rivet_test/local/bin/agile-runmc", line 95, in &lt;module&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; import AGILe<BR>&gt;&nbsp;&nbsp; File "/home/snavin/my_work/rivet_test/local/lib/python2.6/site-packages/AGILe.py", line 25, in &lt;module&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; _AGILe = swig_import_helper()<BR>&gt;&nbsp;&nbsp; File "/home/snavin/my_work/rivet_test/local/lib/python2.6/site-packages/AGILe.py", line 21, in swig_import_helper<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; _mod = imp.load_module('_AGILe', fp, pathname, description)<BR>&gt; ImportError: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /home/snavin/my_work/rivet_test/local/lib/python2.6/site-packages/_AGILe.so)<BR>&gt; portError: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /home/snavin/my_work/rivet_test/local/lib/python2.6/site-packages/_AGILe.so)<BR>&gt;<BR>&gt; My paths are set as follows<BR>&gt;&nbsp;<BR>&gt; [pcalicebhm09] /home/snavin/my_work/rivet_test &gt; echo $PATH<BR>&gt; /afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc34-opt/bin:/home/snavin/my_work/rivet_test/local/bin:/afs/cern.ch/sw/lcg/contrib/gcc/4.3.2p1/x86_64-slc5-gcc34-opt/bin:/afs/cern.ch/user/s/snavin/bin:/afs/cern.ch/user/s/snavin/scripts:/usr/sue/bin:/usr/local/bin/:/usr/local/bin/X11:/usr/bin:/bin:/cern/pro/bin:/usr/kerberos/bin<BR>&gt;<BR>&gt; [pcalicebhm09] /home/snavin/my_work/rivet_test &gt; echo $PYTHONPATH<BR>&gt; /home/snavin/my_work/rivet_test/local/lib/python2.6/site-packages:/afs/cern.ch/alice/library/afs_volumes/vol12/root/lib:<BR>&gt; [pcalicebhm09] /home/snavin/my_work/rivet_test &gt;<BR>&gt;<BR>&gt; Sparsh<BR>&gt;&nbsp;<BR>&gt;&nbsp;<BR>&gt;<BR>&gt; ________________________________<BR>&gt;<BR>&gt; From: Sparsh Navin<BR>&gt; Sent: Wed 5/19/2010 12:44 PM<BR>&gt; To: Hendrik Hoeth<BR>&gt; Cc: Rivet<BR>&gt; Subject: RE: [Rivet] AGILe<BR>&gt;<BR>&gt;<BR>&gt; Hi Hendrik,<BR>&gt;&nbsp;<BR>&gt; I removed the alice parts of my PATH and then retried to install agile. It worked and ended with a message saying "All done. Now set some variables in your shell."<BR>&gt;&nbsp;<BR>&gt; I set these variables.<BR>&gt;&nbsp;<BR>&gt; What next?<BR>&gt;&nbsp;<BR>&gt; Sparsh<BR>&gt;&nbsp;<BR>&gt;<BR>&gt; ________________________________<BR>&gt;<BR>&gt; From: Hendrik Hoeth [<A href="mailto:hendrik.hoeth@cern.ch">mailto:hendrik.hoeth@cern.ch</A>]<BR>&gt; Sent: Wed 5/19/2010 11:58 AM<BR>&gt; To: Sparsh Navin<BR>&gt; Cc: Rivet<BR>&gt; Subject: Re: [Rivet] AGILe<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; Hi,<BR>&gt;<BR>&gt; Thus spake Sparsh Navin (Sparsh.Navin@cern.ch):<BR>&gt;<BR>&gt; &gt; I am struggling to get AGILe locally. Below is what I get...<BR>&gt; &gt;<BR>&gt; &gt; [pcalicebhm09] /home/snavin/my_work/rivet_test &gt; . /afs/cern.ch/sw/lcg/contrib/gcc/4.3/x86_64-slc5-gcc43-opt/setup.sh<BR>&gt; &gt; [pcalicebhm09] /home/snavin/my_work/rivet_test &gt; export PATH=/afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/bin:$PATH<BR>&gt; &gt; [pcalicebhm09] /home/snavin/my_work/rivet_test &gt; ./rivet-bootstrap --no-install-rivet --install-agile --dev-mode on --force on<BR>&gt; &gt; Checking for developer mode programs<BR>&gt; &gt; Updating AGILe SVN working copy<BR>&gt; &gt; Bootstrapping autoconf files<BR>&gt; &gt; libtoolize: `/afs/cern.ch/alice/library/local/share/aclocal/libtool.m4' is serial 47, less than 48 in `aclocal.m4'<BR>&gt; &gt; Use `--force' to replace newer libtool files with this version.<BR>&gt; &gt; autoreconf: libtoolize failed with exit status: 1<BR>&gt;<BR>&gt; Welcome to Alice. Looking at your PATH you probably pick up<BR>&gt; /afs/cern.ch/alice/library/afs_volumes/vol12/local/bin/libtoolize.<BR>&gt; Try removing /afs/cern.ch/alice/library/afs_volumes/vol12/bin and<BR>&gt; /afs/cern.ch/alice/library/afs_volumes/vol12/local/bin from your PATH.<BR>&gt;<BR>&gt; You also seem to mix gcc-3.4 with gcc-4.3. Depending on what exactly you<BR>&gt; do this might or might not work. But let's sort out the libtoolize issue<BR>&gt; first.<BR>&gt;<BR>&gt; Cheers,<BR>&gt;<BR>&gt;&nbsp;&nbsp;&nbsp; Hendrik<BR>&gt;<BR>&gt; --<BR>&gt; Don't knock the weather. If it didn't change once in a while, nine<BR>&gt; out of ten people couldn't start a conversation.&nbsp;&nbsp;&nbsp; -- Kin Hubbard<BR>&gt;<BR>&gt;<BR><BR>&gt; _______________________________________________<BR>&gt; Rivet mailing list<BR>&gt; Rivet@projects.hepforge.org<BR>&gt; <A href="http://www.hepforge.org/lists/listinfo/rivet">http://www.hepforge.org/lists/listinfo/rivet</A><BR><BR></FONT></P></DIV></BODY></HTML>