Open xuhengdada opened 1 year ago
Hmmm. I can't reproduce this on RHEL7 using python3.7 (which is the most recent that I have access to). I was able to "pip install pyslalib" into a virtual environment with no issues. I notice that you are using miniconda. I wonder if it is related to that? (although note that I am successfully using miniconda to compile pyslalib on a couple other machines)
It does seem to be related to your C compiler. Are you using gcc? And do you know what version it is? And did you try by adding -std=c99
as well as the gnu99 version? The fact that it compiled fine for me on pure RHEL7 (which is a very old one!) makes it seem like that might not be the actual issue, though.
Yes, I'm using the miniconda, since on the CentOS7, yum could only install python3.6 which is lower than the required version. Here I was using gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44), probably the version is too low? I can try to have a gcc with high version then give feedback.
Thank you very much!
I am trying to install presto on CentOS7 and encounter "ERROR: Failed building wheel for pyslalib" problem, the problem here is basically:
and I tried to install pyslablib by hand, and add -std=gnu99 to CFLAGS in the Makefile of pyslablib, but does not solve that issue.
Any suggestion to solve this issue? Many thanks!