我正在尝试按照说明here安装sip。我已经安装了Cygwin,以允许我在Windows(我使用Windows 10)中使用make
命令。我运行configure.py文件,这将创建一个Makefile。然后,我从Cygwin终端运行make
,它所做的就是一遍又一遍地打印
make
make[####]: Entering directory 'cygdrive/c/Users/****/sip-4.19.13'
cd sipgen
####
每次迭代都在不断增加。
有什么想法吗?
答案 0 :(得分:0)
由于您尚未确切报告您的工作方式;
以下对我有用:
$ wget https://sourceforge.net/projects/pyqt/files/sip/sip-4.19.13/sip-4.19.13.tar.gz
....
2018-11-09 18:05:09 (149 KB/s) - ‘sip-4.19.13.tar.gz’ saved [1038815/1038815]
$ tar -xf sip-4.19.13.tar.gz
$ cd sip-4.19.13
$ python2 configure.py
This is SIP 4.19.13 for Python 2.7.14 on cygwin.
The SIP code generator will be installed in /usr/bin.
The sip.h header file will be installed in /usr/include/python2.7.
The sip module will be installed in /usr/lib/python2.7/site-packages.
The sip.pyi stub file will be installed in /usr/lib/python2.7/site-packages.
The default directory to install .sip files in is /usr/share/sip.
Creating sipconfig.py...
Creating top level Makefile...
Creating sip code generator Makefile...
Creating sip module Makefile...
$ make
make[1]: Entering directory '/cygdrive/d/cyg_pub/tmp/sip-4.19.13/sipgen'
gcc -c -pipe -O2 -Wall -W -DNDEBUG -I. -o main.o main.c
...
g++ -shared -o sip.dll siplib.o apiversions.o descriptors.o qtlib.o threads.o objmap.o voidptr.o array.o int_convertors.o bool.o -L/usr/lib/python2.7/config -lpython2.7
make[1]: Leaving directory '/cygdrive/d/cyg_pub/tmp/sip-4.19.13/siplib'
那您觉得哪些步骤与众不同?