Skip to content

Installation problems with rucio Ubuntu 20.0.4 #1

@jfb3615

Description

@jfb3615

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions