Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cython is not detected by autotools on Archlinux #69

Closed
zorun opened this issue May 19, 2016 · 4 comments
Closed

Cython is not detected by autotools on Archlinux #69

zorun opened this issue May 19, 2016 · 4 comments

Comments

@zorun
Copy link
Contributor

zorun commented May 19, 2016

On Archlinux, there is no Cython3 package, the package for Python3 is simply called Cython: https://www.archlinux.org/packages/community/x86_64/cython/

This causes autotools to think that cython is not installed, even though it is:

checking for a Python interpreter with version >= 3.3... python
checking for python... /usr/bin/python
checking for python version... 3.5
checking for python platform... linux
checking for python script directory... ${prefix}/lib/python3.5/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python3.5/site-packages
checking for cython3... no
configure: WARNING: Cython not found - continuing without python support

When changing cython3 to cython in configure.ac, it gets correctly detected and the Python bindings are built.

I am not sure if this should be fixed in OpenDHT or in Archlinux. I will also try the cmake-based build system to see if it has the same issue.

@zorun
Copy link
Contributor Author

zorun commented May 19, 2016

CMake does not seem to check at all for cython, so building the Python bindings works out of the box.

@sim590
Copy link
Contributor

sim590 commented May 19, 2016

I am not sure if this should be fixed in OpenDHT or in Archlinux.

AFAIK, python distributing has the standard of providing python2 and python3 binaries/links. I personnaly assume, the same is true for cython, so IMO, Archlinux should provide the same sort of binaries/links in its packages. I've just checked and debian packages from Ubuntu do provide cython3 binary/link.

@sim590 sim590 closed this as completed May 19, 2016
@sim590
Copy link
Contributor

sim590 commented Jun 2, 2016

I have opened a support request ticket here

@szotsaki
Copy link

Subscribe. The same issue is with openSUSE (here they call it python3-Cython).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants