Comment 3 for bug 1753514

Revision history for this message
Leif Gellersen (leifgellersen) wrote : Re: [Bug 1753514] Re: Failing HEPTools installation of some programs

Since I solved it by hand in the meantime, I do a fresh install and try
the installation of ninja with it. Now I get an AttributeError: 'list'
object has no attribute 'endswith' in line 901 of the
HEPToolInstaller.py: all_lib = [lib for lib in all_lib if not
any(lib.endswith(ext) for ext in ['.so','.la','.dylib'])].

In case of hepmc, I now get an AttributeError: 'list' object has no
attribute 'rfind' in the HEPToolInstaller.py on line 915: if
os.path.islink(pjoin(_prefix,'lib',os.path.basename(path))):

Cheers,

Leif

On 03/09/2018 01:23 PM, Valentin Hirschi wrote:
> I have pushed what I think will be the fix.
>
> Leif, could you try it by doing the following (you will need the
> revision tool bzr installed):
>
> cd <you_MG_distribution_path>/..
> bzr branch lp:~maddevelopers/mg5amcnlo/HEPToolsInstallers HEPToolsInstallers
> cd <you_MG_distribution_path>
> ./bin/mg5_aMC
> MG5_aMC>install ninja --keep_source --logging=DEBUG --local
>
> And tell me if it goes through now on SUSE Linux.
>