Missing ROOT files after cmake installation

Hello,

I’m interested in using PyROOT with Python 3.6 and root6. In order to do so, I understand that I must build my root distribution with python3 support activated (not python2, which is by default).

I use cmake (ver. 3.9.1) to build root (from root source ver. 10.10.04). To build I use:

$ cmake …/root-6.10.04/ -DPYTHON_EXECUTABLE=/Users/jstreet/anaconda/bin/Python3.6 --target …/RootBuild_P3/

Once the build is finished, I check ROOTSYS/bin/ and find that there are no root executables… Any ideas why? I only have the following files present:

-rwxr-xr-x 1 jstreet staff 8443 Aug 24 09:03 memprobe
-rwxr-xr-x 1 jstreet staff 3140 Aug 24 09:03 proofserv
-rwxr-xr-x 1 jstreet staff 28302 Aug 24 09:45 root-config
-rwxr-xr-x 1 jstreet staff 714 Aug 24 09:45 rootbrowse
-rwxr-xr-x 1 jstreet staff 1891 Aug 24 09:45 rootcp
-rwxr-xr-x 1 jstreet staff 2486 Aug 24 09:45 rootdrawtree
-rwxr-xr-x 1 jstreet staff 3419 Aug 24 09:45 rooteventselector
-rwxr-xr-x 1 jstreet staff 1995 Aug 24 09:45 rootls
-rwxr-xr-x 1 jstreet staff 1221 Aug 24 09:45 rootmkdir
-rwxr-xr-x 1 jstreet staff 1883 Aug 24 09:45 rootmv
-rwxr-xr-x 1 jstreet staff 2677 Aug 24 09:45 rootprint
-rwxr-xr-x 1 jstreet staff 1321 Aug 24 09:45 rootrm
-rwxr-xr-x 1 jstreet staff 821 Aug 24 09:03 roots
-rwxr-xr-x 1 jstreet staff 2441 Aug 24 09:45 rootslimtree
-rw-r–r-- 1 jstreet staff 3834 Aug 24 09:03 setxrd.csh
-rw-r–r-- 1 jstreet staff 3002 Aug 24 09:03 setxrd.sh
-rw-r–r-- 1 jstreet staff 6810 Aug 24 09:03 thisroot.csh
-rw-r–r-- 1 jstreet staff 4404 Aug 24 09:03 thisroot.sh
-rwxr-xr-x 1 jstreet staff 643 Aug 24 09:03 xproofd

Is there more information I should provide?

Thanks for reading!
Joseph

Hello,

Just an update… Using instead the line:

$cmake --build . – python3=ON

All files are present and ROOT works! :slight_smile: l will now attempt to setup PyROOT for Python 3.6 and root6.

Cheers,
Joseph

Hello,

Another update… PyROOT works (using root 6.10.04 and Python 3.6)!

Hopefully this short thread will be useful for people who aren’t certain this combination of versions work (at the moment).

Cheers,
Joseph

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