-
Notifications
You must be signed in to change notification settings - Fork 4
Description
After encountering problems with rucio installation, I traced the problem to gfal2-python, which was not installed. (I don't know whether it was supposed to be installed automatically with rucio).
So I tried to install it myself using pip3, and that failed during compilation.
Then I tried installing from the git repository and found there the same errors.
So,
I hacked two cmake files to fix this inelegantly. It seems like one problem is that these days, the python version must be appended to a find_package command, so line 19 of CMakeLists.txt
looks something like this in my inelegant hack:
-find_package(Boost COMPONENTS python REQUIRED)
+find_package(Boost COMPONENTS python38 REQUIRED)
Then in src/CMakeLists.txt, the following inelegant hack was required
include_directories(${Boost_INCLUDE_DIRS}
${GLIB2_INCLUDE_DIRS} ${GTHREAD2_INCLUDE_DIRS}
- ${GFAL2_INCLUDE_DIRS}
- ${GFAL2_INCLUDE_DIRS} /usr/include/python3.8
)
I'm sure you don't want to take my "solution" but hopefully with this post you can see that there is a problem to be fixed.
Best, Joe Boudreau