[Rivet] libRivet dependency mangling during install

Andy Buckley andy.buckley at cern.ch
Sun Apr 13 13:47:56 BST 2014


Hi Oldrich and Katerina,

That's a very strange behaviour: I don't see it on my Xubuntu system,
either. In our configure script we call

fastjet-config --plugins --shared --libs

and then *slightly* mangle the output to correct an error from an
ancient version of fastjet-config regarding the format of one of the
resulting flags (in fact I will remove this since we now require
FastJet3 which doesn't have that problem). We don't do anything special
re. the installation, so that complex install-sh script is just the
autotools default and shouldn't (I think) be doing anything other than
copying files to the installation path and making sure that the
permissions are correctly set.

So sorry, I don't have an explanation or solution. Maybe one of the
other Rivet team members does...

Andy


On 11/04/14 14:47, Oldrich Kepka wrote:
> I forgot to say that this problem arises on a recent version of
> ubuntu. However, a different also ubuntu user doesn't see this
> problem. Both use Autoconf 2.69. There are probably other utilities
> that drive the exact behaviour, and we are happy to check that, but
> would need some hints where to start.
> 
> Thanks,
> Oldrich
> 
> 
> 
> On 11 April 2014 14:38, Oldrich Kepka <oldrich.kepka at cern.ch> wrote:
>> Dear rivetrs,
>>
>> we are trying to build ThePEG with Rivet and got complains about
>> unsatisfied library dependencies. The error message, brought us to
>> rivet:
>>
>> install_directory/lib/libRivet.la, which contains the following line
>> [1]. Notice especially:
>> ...... fastjet-3.0.6--enable-shared/lib/libfastjettools.la ....
>>
>> So it looks like that some flags are not handled properly, which
>> screws up the library dependence.
>>
>> If I look at src/libRivet.la, this is correct [2]. So it looks like
>> that library paths are somehow mangled during install.
>>
>> The install script is quite difficult to follow, would anyone have a
>> hint where to fix this?
>>
>> Thanks,
>> Oldrich
>>
>> [1]
>> # Libraries that this one depends upon.
>> dependency_libs=' -L/home/moudrkat/mc/yoda/YODA-1.0.6/lib
>> -L/home/moudrkat/mc/HepMc/HepMC-2.06.09/lib
>> -L/home/moudrkat/mc/fastjet/fastjet-3.0.6/lib
>> /home/moudrkat/mc/yoda/YODA-1.0.6/lib/libYODA.la
>> /home/moudrkat/mc/HepMc/HepMC-2.06.09/lib/libHepMC.la -ldl
>> /home/moudrkat/mc/fastjet/fastjet-3.0.6--enable-shared/lib/libfastjettools.la
>> /home/moudrkat/mc/fastjet/fastjet-3.0.6--enable-shared/lib/libfastjet.la
>> /home/moudrkat/mc/fastjet/fastjet-3.0.6/lib/libfastjetplugins.la
>> /home/moudrkat/mc/fastjet/fastjet-3.0.6--enable-shared/lib/libsiscone_spherical.la
>> /home/moudrkat/mc/fastjet/fastjet-3.0.6--enable-shared/lib/libsiscone.la
>> -L/usr/lib -lgsl -lgslcblas -lm'
>>
>>
>> [2]
>> # Libraries that this one depends upon.
>> dependency_libs=' -L/home/moudrkat/mc/yoda/YODA-1.0.6/lib
>> -L/home/moudrkat/mc/HepMc/HepMC-2.06.09/lib
>> -L/home/moudrkat/mc/fastjet/fastjet-3.0.6/lib
>> /home/moudrkat/mc/yoda/YODA-1.0.6/lib/libYODA.la
>> /home/moudrkat/mc/HepMc/HepMC-2.06.09/lib/libHepMC.la -ldl
>> /home/moudrkat/mc/fastjet/fastjet-3.0.6/lib/libfastjettools.la
>> /home/moudrkat/mc/fastjet/fastjet-3.0.6/lib/libfastjet.la
>> /home/moudrkat/mc/fastjet/fastjet-3.0.6/lib/libfastjetplugins.la
>> /home/moudrkat/mc/fastjet/fastjet-3.0.6/lib/libsiscone_spherical.la
>> /home/moudrkat/mc/fastjet/fastjet-3.0.6/lib/libsiscone.la -L/usr/lib
>> -lgsl -lgslcblas -lm'
> _______________________________________________
> Rivet mailing list
> Rivet at projects.hepforge.org
> https://www.hepforge.org/lists/listinfo/rivet
> 


-- 
Dr Andy Buckley, Royal Society University Research Fellow
Particle Physics Expt Group, University of Glasgow / PH Dept, CERN


More information about the Rivet mailing list