首页 > 解决方案 > Cygwin Make Just 在制作 sip 包时一直输入目录

问题描述

我正在尝试按照此处的说明安装 sip 。我已经安装了 Cygwin 以允许我make在 Windows 中使用该命令(我使用的是 Windows 10)。我运行 configure.py 文件,这将创建一个 Makefile。然后我make从 Cygwin 终端运行,它所做的只是一遍又一遍地打印

make
make[####]: Entering directory 'cygdrive/c/Users/****/sip-4.19.13'
cd sipgen

哪里####随着每次迭代而不断增加。

知道这里有什么问题吗?

标签: pythonwindowspython-2.7cygwinpython-sip

解决方案


因为你没有准确地报告你是如何做这些事情的;
以下对我有用:

$ 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'

那么你有哪些不同的步骤?


推荐阅读