ROOT version 6.16.00 make error

ROOT version - 6.16.00
OS - Manjaro
GCC - 7.4
Python 3.7.2

/usr/bin/ld: CMakeFiles/cppyy.dir/src/Pythonize.cxx.o: in function `(anonymous namespace)::vector_iter(_object*)':
/home/reik/Downloads/root-6.16.00/bindings/pyroot_experimental/cppyy/CPyCppyy/src/Pythonize.cxx:326: undefined reference to `_PyGC_generation0'
collect2: error: ld returned 1 exit status
make[2]: *** [bindings/pyroot_experimental/cppyy/CPyCppyy/CMakeFiles/cppyy.dir/build.make:492: lib/] Error 1
make[1]: *** [CMakeFiles/Makefile2:30138: bindings/pyroot_experimental/cppyy/CPyCppyy/CMakeFiles/cppyy.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

I downloaded the ROOT 6.16.00 tar file and tried to build it from source using CMake, and I encountered the above errors regarding pyroot_experimental during the make step.


It should be fix in (I see it is a part of 6.16)

@etejedor Can you verify it please? I was trying to find Mattias on ROOT forum to be able to ask him but unsuccessfully :frowning:

Hi Reik

Thank you for reporting the issue. This looks like a problem building experimental PyROOT with Python3.7, since we have nightly builds with Python2.7 and Python3.6 that work ok.

I have opened a ticket to follow this issue:


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.