Comments (3)
Hello,
The gfal2.so
library is the one you are trying to build via the gfal2-python
project. After a successful build, it is usually installed in:
/usr/lib64/python3.6/site-packages/gfal2.so
From your CMake messages, I gather the following:
-- Could NOT find PythonCurrentInclude (missing: PYTHON_INCLUDE_PATH)
-- Could NOT find PythonCurrentLibs (missing: PYTHON_LIBRARIES)
-- Could NOT find PythonCurrentModsDir (missing: PYTHON_SITE_PACKAGES)
-- Boost Python3 library not found
Do you have python3.11-devel
installed?
Also, it looks like you're missing boost-python3
for Python3.11.
I suspect the underlying problem is running pip install gfal2-python
without having the proper dependencies in place.
I wrote a guide on what's needed to do a pip install
here [1]
I'm currently fighting to change the PyPi description to link to this guide. This will make things easier, or at least, less confusing.
I noticed you're building on Debian-based distribution. Unfortunately, we don't offer much support for that as we provide for RHEL-based distributions. Any package dependency or building problems you might run into leave you in uncharted territory.
Hope this helps!
Cheers,
Mihai
[1] https://dmc-docs.web.cern.ch/dmc-docs/gfal2-python/pip-install.html
from gfal2-python.
Hello,
Closing this issue. I believe running the pip-install guide would solve the problem.
Unfortunately, the build platform is Debian-based, which is not officially supported.
Cheers,
Mihai
from gfal2-python.
Thank you, after a while I managed to work again on this issue and at the end following your directions I fixed the issue with the following Dockerfile:
FROM almalinux:9
RUN dnf install -y git epel-release
RUN git clone --depth 1 --branch v1.12.2 https://github.com/cern-fts/gfal2-python.git
WORKDIR /gfal2-python/
RUN ./ci/fedora-packages.sh
WORKDIR /gfal2-python/packaging/
RUN RPMBUILD_SRC_EXTRA_FLAGS="--without docs --without python2" make srpm
RUN dnf builddep -y gfal2-python-1.12.2-1.el9.src.rpm
RUN pip install gfal2-python
WORKDIR /
Cheers and thank you,
Michele
from gfal2-python.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gfal2-python.