deepin-community / python3.12

Other
0 stars 3 forks source link

Can't build python 3.12 on Cygwin #5

Open SriniRaviKrishna opened 1 month ago

SriniRaviKrishna commented 1 month ago

make fails:

./python.exe -E -c 'import sys ; from sysconfig import get_platform ; print("%s-%d.%d" % make (get_platform(), *sys.version_info[:2]))' >platform gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I. -I./Include -c ./Modules/arraymodule.c -o Modules/arraymodule.o gcc -shared -Wl,--enable-auto-image-base Modules/arraymodule.o -L/usr/local/lib/python3.12/config-3.12 -lpython3.12 -o Modules/array.cpython-312.dll /usr/lib/gcc/x86_64-pc-cygwin/12/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lpython3.12: No such file or directory collect2: error: ld returned 1 exit status make: *** [Makefile:2969: Modules/array.cpython-312.dll] Error 1

SriniRaviKrishna commented 1 month ago

cygcheck.txt

Here are the details of the cygwin system.