portcullis icon indicating copy to clipboard operation
portcullis copied to clipboard

Compilation error with python 3.10

Open dpryan79 opened this issue 3 years ago • 0 comments

While rebuilding portcullis in Bioconda under python 3.10, I noticed the python version is incorrectly parsed in the configure script:

2022-08-02T14:01:19.5433788Z 14:01:19 BIOCONDA INFO (OUT) checking for a version of Python >= '3.1.0'... yes
2022-08-02T14:01:19.5598011Z 14:01:19 BIOCONDA INFO (OUT) checking for a version of Python >= '3.5'... no
2022-08-02T14:01:19.5600388Z 14:01:19 BIOCONDA INFO (OUT) configure: WARNING: this package requires Python >= '3.5'.
2022-08-02T14:01:19.5602719Z 14:01:19 BIOCONDA INFO (OUT) If you have it installed, but it isn't the default Python
2022-08-02T14:01:19.5605404Z 14:01:19 BIOCONDA INFO (OUT) interpreter in your system path, please pass the PYTHON_VERSION
2022-08-02T14:01:19.5608130Z 14:01:19 BIOCONDA INFO (OUT) variable to configure. See ``configure --help'' for reference.
2022-08-02T14:01:19.5610180Z 14:01:19 BIOCONDA INFO (OUT) 
2022-08-02T14:01:19.5612350Z 14:01:19 BIOCONDA INFO (OUT) configure: Environment variable 'PYTHON_VERSION' set to:
2022-08-02T14:01:19.7902613Z 14:01:19 BIOCONDA INFO (OUT) checking for the distutils Python package... yes
2022-08-02T14:01:20.2457442Z 14:01:20 BIOCONDA INFO (OUT) checking for Python include path... -I$PREFIX/include/python3.10
2022-08-02T14:01:20.9814825Z 14:01:20 BIOCONDA INFO (OUT) checking for Python library path... -L$PREFIX/lib -lpython3.10
2022-08-02T14:01:21.2067261Z 14:01:21 BIOCONDA INFO (OUT) checking for Python site-packages path... $PREFIX/lib/python3.10/site-packages
2022-08-02T14:01:21.4449043Z 14:01:21 BIOCONDA INFO (OUT) checking python extra libraries... -lcrypt -lpthread -ldl  -lutil -lrt -lm -lm
2022-08-02T14:01:21.6735506Z 14:01:21 BIOCONDA INFO (OUT) checking python extra linking flags... -Xlinker -export-dynamic
2022-08-02T14:01:21.8290233Z 14:01:21 BIOCONDA INFO (OUT) checking consistency of all components of python development environment... yes
2022-08-02T14:01:21.8292200Z 14:01:21 BIOCONDA INFO (OUT) configure: error: Python3 not detected. If running on a debian system try "sudo apt-get install python3-dev".```

dpryan79 avatar Aug 02 '22 20:08 dpryan79