[PyQt] Installing SIP snapshot - 'install' fails

Timothy W. Grove tim_grove at sil.org
Sat Oct 12 19:55:59 BST 2013


I'm getting a little nearer to installing SIP. I've downloaded the 
latest snapshot and entered the commands into a MYSYS terminal:

$ /c/python33/python.exe configure.py --platform win32-g++
$ make
$ make install

Configure and Make seem okay but Install fails.
  /bin/sh: -c: line 1: syntax error: unexpected end of file
make[1]: *** [install] Error 2

Any ideas what to try? Next post will hopefully report success...

Best regards,
Tim Grove


Timothy at Timothy-Laptop 
/c/Users/Timothy/Downloads/sip-4.15.3-snapshot-5dc8c370157e/sip-4.15.3-snapshot-5dc8c370157e
$ /c/python33/python.exe configure.py --platform win32-g++
This is SIP 4.15.3-snapshot-5dc8c370157e for Python 3.3.2 on win32.
The SIP code generator will be installed in c:\python33.
The sip module will be installed in c:\python33\Lib\site-packages.
The sip.h header file will be installed in c:\python33\include.
The default directory to install .sip files in is c:\python33\sip.
The platform/compiler configuration is win32-g++.
Creating siplib\sip.h...
Creating siplib\siplib.c...
Creating siplib\siplib.sbf...
Creating sipconfig.py...
Creating top level Makefile...
Creating sip code generator Makefile...
Creating sip module Makefile...

Timothy at Timothy-Laptop 
/c/Users/Timothy/Downloads/sip-4.15.3-snapshot-5dc8c370157e/sip-4.15.3-snapshot-5dc8c370157e
$ make
make[1]: Entering directory 
`/c/Users/Timothy/Downloads/sip-4.15.3-snapshot-5dc8c370157e/sip-4.15.3-snapshot-5dc8c370157e/sipgen'
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -o main.o main.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -o 
transform.o transform.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -o gencode.o 
gencode.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -o 
extracts.o extracts.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -o export.o 
export.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -o heap.o heap.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -o parser.o 
parser.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -o lexer.o 
lexer.c
g++ -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import 
-Wl,-enable-runtime-pseudo-reloc -Wl,-subsystem,console -Wl,-s -o 
sip.exe main.o transform.o gen                        code.o extracts.o 
export.o heap.o parser.o lexer.o
make[1]: Leaving directory 
`/c/Users/Timothy/Downloads/sip-4.15.3-snapshot-5dc8c370157e/sip-4.15.3-snapshot-5dc8c370157e/sipgen'
make[1]: Entering directory 
`/c/Users/Timothy/Downloads/sip-4.15.3-snapshot-5dc8c370157e/sip-4.15.3-snapshot-5dc8c370157e/siplib'
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. 
-Ic:\python33\include -o siplib.o siplib.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. 
-Ic:\python33\include -o apiversions.o apiversions.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. 
-Ic:\python33\include -o descriptors.o descriptors.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. 
-Ic:\python33\include -o qtlib.o qtlib.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. 
-Ic:\python33\include -o threads.o threads.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. 
-Ic:\python33\include -o objmap.o objmap.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. 
-Ic:\python33\include -o voidptr.o voidptr.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. 
-Ic:\python33\include -o array.o array.c
g++ -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. 
-Ic:\python33\include -o bool.o bool.cpp
g++ -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import 
-Wl,-enable-runtime-pseudo-reloc -shared -Wl,-subsystem,console -Wl,-s 
-o sip.pyd siplib.o apiversions.o descriptors.o qtlib.o threads.o 
objmap.o voidptr.o array.o bool.o -Lc:\python33\libs -lpython33
make[1]: Leaving directory 
`/c/Users/Timothy/Downloads/sip-4.15.3-snapshot-5dc8c370157e/sip-4.15.3-snapshot-5dc8c370157e/siplib'

Timothy at Timothy-Laptop 
/c/Users/Timothy/Downloads/sip-4.15.3-snapshot-5dc8c370157e/sip-4.15.3-snapshot-5dc8c370157e
$ make install
make[1]: Entering directory 
`/c/Users/Timothy/Downloads/sip-4.15.3-snapshot-5dc8c370157e/sip-4.15.3-snapshot-5dc8c370157e/sipgen'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make[1]: *** [install] Error 2
make[1]: Leaving directory 
`/c/Users/Timothy/Downloads/sip-4.15.3-snapshot-5dc8c370157e/sip-4.15.3-snapshot-5dc8c370157e/sipgen'
make: *** [install] Error 2

Timothy at Timothy-Laptop 
/c/Users/Timothy/Downloads/sip-4.15.3-snapshot-5dc8c370157e/sip-4.15.3-snapshot-5dc8c370157e
$



More information about the PyQt mailing list