Question #643154 on Yade changed:
https://answers.launchpad.net/yade/+question/643154

mohsen posted a new comment:
I also can not install pyqt4. 
i followed the steps in :
http://pyqt.sourceforge.net/Docs/PyQt4/installation.html
i think i need a more straightforward way,although what is written there is 
quit easy:
first i installed SIP
second pyqt
------------
for example when i write in terminal 'make' for compiling SIP, this lines is 
displayed, 
a@a:~/SIP/sip-4.19.2$ make
make[1]: Entering directory `/home/a/SIP/sip-4.19.2/sipgen'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/a/SIP/sip-4.19.2/sipgen'
make[1]: Entering directory `/home/a/SIP/sip-4.19.2/siplib'
gcc -c -pipe -fPIC -O2 -Wall -W -DNDEBUG -I. -I/usr/include/python2.7 -o 
siplib.o siplib.c
siplib.c: In function ‘slot_richcompare’:
siplib.c:10968:60: warning: ‘st’ may be used uninitialized in this function 
[-Wmaybe-uninitialized]
     if ((f = (PyObject *(*)(PyObject *,PyObject *))findSlot(self, st)) == NULL)
                                                            ^
gcc -c -pipe -fPIC -O2 -Wall -W -DNDEBUG -I. -I/usr/include/python2.7 -o 
apiversions.o apiversions.c
gcc -c -pipe -fPIC -O2 -Wall -W -DNDEBUG -I. -I/usr/include/python2.7 -o 
descriptors.o descriptors.c
gcc -c -pipe -fPIC -O2 -Wall -W -DNDEBUG -I. -I/usr/include/python2.7 -o 
qtlib.o qtlib.c
qtlib.c: In function ‘sip_api_connect_rx’:
qtlib.c:474:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
     Py_INCREF(Py_True);
     ^
qtlib.c: In function ‘sip_api_disconnect_rx’:
qtlib.c:502:13: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
             Py_INCREF(Py_False);
             ^
qtlib.c:526:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
     Py_INCREF(Py_True);
     ^
qtlib.c: In function ‘sip_api_save_slot’:
qtlib.c:646:17: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
                 Py_INCREF(Py_True);
                 ^
gcc -c -pipe -fPIC -O2 -Wall -W -DNDEBUG -I. -I/usr/include/python2.7 -o 
threads.o threads.c
gcc -c -pipe -fPIC -O2 -Wall -W -DNDEBUG -I. -I/usr/include/python2.7 -o 
objmap.o objmap.c
gcc -c -pipe -fPIC -O2 -Wall -W -DNDEBUG -I. -I/usr/include/python2.7 -o 
voidptr.o voidptr.c
gcc -c -pipe -fPIC -O2 -Wall -W -DNDEBUG -I. -I/usr/include/python2.7 -o 
array.o array.c
g++ -c -pipe -fPIC -O2 -Wall -W -DNDEBUG -I. -I/usr/include/python2.7 -o bool.o 
bool.cpp
g++ -shared -Wl,--version-script=sip.exp -o sip.so siplib.o apiversions.o 
descriptors.o qtlib.o threads.o objmap.o voidptr.o array.o bool.o 
make[1]: Leaving directory `/home/a/SIP/sip-4.19.2/siplib'


------------
i think there is no error when making and installing. 
However again the mentioned error is shown

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to