Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failed. #5

Open
kuanyui opened this issue Nov 3, 2014 · 1 comment
Open

Build failed. #5

kuanyui opened this issue Nov 3, 2014 · 1 comment

Comments

@kuanyui
Copy link

kuanyui commented Nov 3, 2014

Build failed.

$ sudo python setup.py build
running build
running build_ext
building 'popplerqt4' extension
gcc -pthread -fno-strict-aliasing -fmessage-length=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -fmessage-leng
th=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -fPIC -I/usr/include/poppler/qt4 -I/usr/include/pop
pler -I/usr/include/python2.7 -I/usr/include/python2.7 -I/usr/include -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -c build/temp.linux-x86_64-2.7/sippopplerqt4cmodule.cpp -o b
uild/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/sippopplerqt4cmodule.o
gcc -pthread -fno-strict-aliasing -fmessage-length=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -fmessage-leng
th=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -fPIC -I/usr/include/poppler/qt4 -I/usr/include/pop
pler -I/usr/include/python2.7 -I/usr/include/python2.7 -I/usr/include -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -c build/temp.linux-x86_64-2.7/sippopplerqt4QList0101Poppler
FormField.cpp -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/sippopplerqt4QList0101PopplerFormField.o
gcc -pthread -fno-strict-aliasing -fmessage-length=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -fmessage-leng
th=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -fPIC -I/usr/include/poppler/qt4 -I/usr/include/pop
pler -I/usr/include/python2.7 -I/usr/include/python2.7 -I/usr/include -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -c build/temp.linux-x86_64-2.7/sippopplerqt4QList0101Poppler
Annotation.cpp -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/sippopplerqt4QList0101PopplerAnnotation.o
gcc -pthread -fno-strict-aliasing -fmessage-length=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -fmessage-leng
th=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -fPIC -I/usr/include/poppler/qt4 -I/usr/include/pop
pler -I/usr/include/python2.7 -I/usr/include/python2.7 -I/usr/include -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -c build/temp.linux-x86_64-2.7/sippopplerqt4QList0101Poppler
Link.cpp -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/sippopplerqt4QList0101PopplerLink.o
gcc -pthread -fno-strict-aliasing -fmessage-length=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -fmessage-leng
th=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -fPIC -I/usr/include/poppler/qt4 -I/usr/include/pop
pler -I/usr/include/python2.7 -I/usr/include/python2.7 -I/usr/include -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -c build/temp.linux-x86_64-2.7/sippopplerqt4QList0101Poppler
TextBox.cpp -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/sippopplerqt4QList0101PopplerTextBox.o
gcc -pthread -fno-strict-aliasing -fmessage-length=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -fmessage-leng
th=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -fPIC -I/usr/include/poppler/qt4 -I/usr/include/pop
pler -I/usr/include/python2.7 -I/usr/include/python2.7 -I/usr/include -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -c build/temp.linux-x86_64-2.7/sippopplerqt4QList0101Poppler
EmbeddedFile.cpp -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/sippopplerqt4QList0101PopplerEmbeddedFile.o
gcc -pthread -fno-strict-aliasing -fmessage-length=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -fmessage-leng
th=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -fPIC -I/usr/include/poppler/qt4 -I/usr/include/pop
pler -I/usr/include/python2.7 -I/usr/include/python2.7 -I/usr/include -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -c build/temp.linux-x86_64-2.7/sippopplerqt4QList0100Poppler
FontInfo.cpp -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/sippopplerqt4QList0100PopplerFontInfo.o
gcc -pthread -fno-strict-aliasing -fmessage-length=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -fmessage-leng
th=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -fPIC -I/usr/include/poppler/qt4 -I/usr/include/pop
pler -I/usr/include/python2.7 -I/usr/include/python2.7 -I/usr/include -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -c build/temp.linux-x86_64-2.7/sippopplerqt4QList0600QLinked
List0100QPointF.cpp -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/sippopplerqt4QList0600QLinkedList0100QPointF.o
gcc -pthread -fno-strict-aliasing -fmessage-length=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -fmessage-leng
th=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -fPIC -I/usr/include/poppler/qt4 -I/usr/include/pop
pler -I/usr/include/python2.7 -I/usr/include/python2.7 -I/usr/include -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -c build/temp.linux-x86_64-2.7/sippopplerqt4QList0100Poppler
HighlightAnnotationQuad.cpp -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/sippopplerqt4QList0100PopplerHighlightAnnotationQuad.o
gcc -pthread -fno-strict-aliasing -fmessage-length=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -fmessage-leng
th=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -fPIC -I/usr/include/poppler/qt4 -I/usr/include/pop
pler -I/usr/include/python2.7 -I/usr/include/python2.7 -I/usr/include -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -c build/temp.linux-x86_64-2.7/sippopplerqt4QLinkedList0100Q
PointF.cpp -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/sippopplerqt4QLinkedList0100QPointF.o
gcc -pthread -fno-strict-aliasing -fmessage-length=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -fmessage-leng
th=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -fPIC -I/usr/include/poppler/qt4 -I/usr/include/pop
pler -I/usr/include/python2.7 -I/usr/include/python2.7 -I/usr/include -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -c build/temp.linux-x86_64-2.7/sippopplerqt4PopplerOptConten
tModel.cpp -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/sippopplerqt4PopplerOptContentModel.o
build/temp.linux-x86_64-2.7/sippopplerqt4PopplerOptContentModel.cpp:418:1: error: too many initializers for ‘pyqt4ClassTypeDef {aka _pyqt4ClassTypeDef}’
 };
 ^
error: command 'gcc' failed with exit status 1
@wbsoft
Copy link
Collaborator

wbsoft commented Nov 4, 2014

which versions of SIP, PyQt4 and poppler-qt4 are used?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants