freetdi / tdlib

Other
12 stars 5 forks source link

configure fails to detect cython 3 #32

Closed spth closed 3 years ago

spth commented 4 years ago

configure only finds cython for Python 2, not cython for Python 3. Example from a Debian GNU/Linuxtesting system with cython3 package and no python2 installed:

checking for python3... /usr/bin/python3 checking for python3 version... 3.7 checking for python3 platform... linux checking for python3 script directory... ${prefix}/lib/python3.7/site-packages checking for python3 extension module directory... ${exec_prefix}/lib/python3.7/site-packages checking for cython... no configure: error: cannot find cython.

felix-salfelder commented 4 years ago

On Fri, Mar 06, 2020 at 07:49:22AM -0800, Philipp Klaus Krause wrote:

configure: error: cannot find cython.

Please, could you check if it works and close the issue?

$ configure CYTHON=cython3

spth commented 4 years ago

Works for me. Thanks.

spth commented 4 years ago

I'd suggest to document CYTHON somewhere. Maybe ./configure --help should mention it?

felix-salfelder commented 3 years ago

Maybe ./configure --help should mention it?

done, thanks