[Rivet] Mac installation issues

Malin Sjodahl malin at particle.uni-karlsruhe.de
Thu Feb 24 17:02:32 GMT 2011


Hi (Hendrik or Andy or David or whoever is hiding behind "rivet")

I am trying to install Rivet on my mac (10.5.8) without success. I have 
read the mac hints on 
http://projects.hepforge.org/rivet/trac/wiki/MacInstallationIssues, and 
the issues with boost, but my problems seem to be different. I have 
tried both your ./rivet-bootstrap script and the traditional 
(configure, make, make install) installation method but nothing works.

For the traditional install I do

"./configure 
--prefix=/Users/malin/Documents/Annatjobb/HerwigTry/opt/Rivet-1.4.0  
--with-hepmc=/Users/malin/Documents/Annatjobb/HerwigTry3/opt/HepMC-2.06.04 
--with-gsl=/Users/malin/Documents/Annatjobb/Herwig/libgsl/gsl-1.13 
--with-fastjet=/Users/malin/Documents/Annatjobb/HerwigTry3/opt/fastjet-2.4.2 
CC=/usr/local/bin/gcc CXX=/usr/local/bin/g++ FC=/usr/local/bin/gfortran"

(which seems to work) and then

"make"

which gives me lots of malloc_errors then...
...
"
*** set a breakpoint in malloc_error_break to debug
Python(4585) malloc: *** error for object 0xa095e6d8: Non-aligned 
pointer being freed
*** set a breakpoint in malloc_error_break to debug
Python(4585) malloc: *** error for object 0xa095e6d8: Non-aligned 
pointer being freed
*** set a breakpoint in malloc_error_break to debug
LD_LIBRARY_PATH=../src/.libs:/Users/malin/Documents/Annatjobb/HerwigTry3/opt/fastjet-2.4.2/lib:/Users/malin/Documents/Annatjobb/HerwigTry3/opt/HepMC-2.06.04/lib: 
\
DYLD_LIBRARY_PATH=../src/.libs:/Users/malin/Documents/Annatjobb/HerwigTry3/opt/fastjet-2.4.2/lib:/Users/malin/Documents/Annatjobb/HerwigTry3/opt/HepMC-2.06.04/lib: 
\
RIVET_INFO_PATH=../data/anainfo \
./mk-analysis-latex
Traceback (most recent call last):
  File "./mk-analysis-latex", line 43, in <module>
    import rivet
  File 
"/Users/malin/Documents/Annatjobb/HerwigTry3/Rivet-1.4.0/pyext/build/lib.macosx-10.5-i386-2.5/rivet/__init__.py", line 16, in 
<module>
    from rivetwrap import *
  File 
"/Users/malin/Documents/Annatjobb/HerwigTry3/Rivet-1.4.0/pyext/build/lib.macosx-10.5-i386-2.5/rivet/rivetwrap.py", line 7, in 
<module>
    import _rivetwrap
ImportError: 
dlopen(/Users/malin/Documents/Annatjobb/HerwigTry3/Rivet-1.4.0/pyext/build/lib.macosx-10.5-i386-2.5/rivet/_rivetwrap.so, 10): Library not loaded: 
/Users/malin/Documents/Annatjobb/HerwigTry3/opt/Rivet-1.4.0/lib/libyaml-cpp.0.dylib
  Referenced from: 
/Users/malin/Documents/Annatjobb/HerwigTry3/Rivet-1.4.0/src/.libs/libRivet.7.dylib
  Reason: image not found
make[1]: *** [analyses.tex] Error 1
make: *** [all-recursive] Error 1
bash-3.2$
"

Alternatively i run the script (in another initially empty subdirectory)

"./rivet-bootstrap 
--prefix=/Users/malin/Documents/Annatjobb/HerwigTry3/src/Rivet-1.4.0/ 
CC=/usr/local/bin/gcc CXX=/usr/local/bin/g++ FC=/usr/local/bin/gfortran"

but in this case I don't even get past the configure step.

Do these problems seem familiar to you?

Best Regards
Malin



More information about the Rivet mailing list