[HepMCVisual] Problem configuring hepMCVisual in standalone mode

Moritz Bunse mbunse at hotmail.com
Wed Aug 26 09:41:44 BST 2009


Hi,

I actually solved the problems myself. I just want to report them.

When I tried to configure HepMCVisual with

	 ./configure --prefix /somedir --with-hepmc=/anotherdir/HepMC/2.04.02/ 
slc4_amd64_gcc34

configure claimed, that HepMCVisual had the wrong version. A deeper  
look into the configure script revealed, that it was looking for a  
header */HepMC/defs.h But it should look for a header HepMCDefs.h. And  
then it looks for #define VERSION but it should look for #define  
HEPMC_VERSION. With this two small changes in the configure script,  
everything worked fine.

This is the diff: diff HepMCVisual/configure HepMCVisual/configure.own
21337c21337
<   HEPMCDEFSH=`find $HEPMCINCPATH -path '*/HepMC/defs.h'`;
---
 >   HEPMCDEFSH=`find $HEPMCINCPATH -path '*/HepMCDefs.h'`;
21344c21344
<   HEPMCVER=`cat $HEPMCDEFSH | grep "define VERSION" \
---
 >   HEPMCVER=`cat $HEPMCDEFSH | grep "define HEPMC_VERSION" \

Another problem occurred during the make process. Make raises an  
error, that is does not know, how to create HepMC_rflx.cpp. I simply  
removed the line
am__append_1 = HepMC_rflx.cpp
from
dictionary/Makefile

Cheers,

Moritz





More information about the HepMCVisual mailing list