python - 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
哪里####
随着每次迭代而不断增加。
知道这里有什么问题吗?
解决方案
因为你没有准确地报告你是如何做这些事情的;
以下对我有用:
$ 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'
那么你有哪些不同的步骤?
推荐阅读
- c# - 在检查它是否是子对象而不是父对象之后,如何使用特定子对象的参数/函数?
- php - PHP 是否允许在其他函数/方法中调用 getter?
- javascript - 如何从 JSON 中获取索引并将它们放入 HTML 表中?
- ios - 更改为横向时如何使文本与文本视图顶部对齐
- javascript - 在脚本加载之前停止随机元素显示的标准方法是什么?
- java - 如何对两个对象数组列表进行排序?
- java - 显示窗口后的Java OpenGL,出现无响应
- python - 运行时设置为 python37 时 dev_appserver.py 无法运行
- c# - 如何将此查询转换为不等于版本
- python - 不断收到 AttributeError: 'list' object has no attribute 'split' 错误