Support #42300
Unable to build python binding in CentOS 8
Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Catégorie:
-
Version cible:
-
Début:
29 avril 2020
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Non
Description
I tried to build packages for CentOS 8 but I did not manage to have the python binding files, so it fails at the end with:
Erreur de construction de RPM : Fichier non trouvé : /home/ow2/build/BUILDROOT/lasso-2.6.1-1.el8.x86_64/usr/lib64/python2.7/site-packages/lasso.py* Fichier non trouvé : /home/ow2/build/BUILDROOT/lasso-2.6.1-1.el8.x86_64/usr/lib64/python2.7/site-packages/_lasso.so
I join a full log it this can help.
Fichiers
Historique
Mis à jour par Frédéric Péters il y a presque 4 ans
checking for Python development files... no
Probably just that; python3-devel (I guess) should be added to build-depends.
Mis à jour par Clément Oudot il y a presque 4 ans
Thanks a lot, I was trying to build with python2, but this does not seems to work on CentOS 8. I had no issue with this on CentOS 7.
I'm trying with python3 now.
Mis à jour par Clément Oudot il y a presque 4 ans
It works with python3 and these adaptations in spec file: https://github.com/LemonLDAPNG/lasso-rpm/commit/a34e89993f0a65ca6376dc11edca44660ab595d4
Thanks for the quick support and good night ;)