【问题标题】:Cygwin Make Just Keeps Entering Directory when making sip packageCygwin Make Just 在制作 sip 包时一直输入目录
【发布时间】:2018-11-09 12:47:07
【问题描述】:

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

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

#### 在每次迭代中不断增加。

知道这里有什么问题吗?

【问题讨论】:

    标签: python windows python-2.7 cygwin python-sip


    【解决方案1】:

    因为你没有准确地报告你是怎么做的;
    以下对我有用:

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

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

    【讨论】:

    • 另外请注意cygwin已经有python2-sip和python3-sip包
    猜你喜欢
    • 1970-01-01
    • 2016-09-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-07-02
    相关资源
    最近更新 更多