Hi all,
I have a set of scripts that I use to update ROOT on my local machine (usually the latest version of Fedora, currently 25)
They are set up such that I can specify whether to build with gcc or clang, and can also specify which python version to build bindings for.
I have done this and built against both python versions, and can specify whether to use one or the other, but if I setup the version I compiled against python2, the python3 bindings are not there, and vice versa (as expected)
So I then thought I’d be clever in setting up my python bindings, by creating soft links from the generated files into the appropriate site-packages, but this was still not correct. I suspect that I’m missing a library path somewhere, as the complaint is always with importing ROOT into the python version that was not “set up” in the script that sources the ROOT setup.
However in the end, I would like to be able to have it set up that I build bindings for both python2 (2.7) and python3 (3.5), rather than duplicating the build, and having the bindings work for either python2 or python3.
I know this must be possible as the version of ROOT that ships with Fedora has both of these bindings available (and working), however I can’t seem to dig up the build process that Fedora uses (yes, I could take the version of ROOT that Fedora ships, but I don’t want to be handcuffed if version migration within the distribution doesn’t keep up with ROOT upstream).
If anyone has any ideas or suggestions, I’d appreciate them.
Thanks for your time!
Cheers,
Jared