Py22-Qt port problems...

Andy Akins andy at leonidae.org
Wed Mar 26 22:24:09 PST 2003


I'm having a bit of a problem with the PyQT port...any help would be 
appreciated.

First of all, the port itself doesn't download the correct files, because they 
don't seem to be available...PyQt-x11-gpl-3.4.tar.gz has been replaced by a 
newer version, PyQt-x11-gpl-3.5.tar.gz. Assuing that usingthe newer one might 
not be such a good idea, I searched the web and found a 
PyQt-x11-gpl-3.4.tar.gz on the Gentoo Linux distfiles site. When I installed 
it into /usr/ports/distfiles, the md5 passed and the install proceeded.

The system sucessfully installed sip.

However, when trying to build py-qt, I get the following pleasantness:

===>  Building for py22-qt-3.4_1
cd qt && "/usr/bin/make" -f Makefile
c++ -c -pipe -w -O -pipe -march=k6 -pthread -D_THREAD_SAFE -fPIC  
-DSIP_MAKE_MODULE_DLL -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -fno-exceptions 
-I/usr/X11R6/share/qt/mkspecs/default -I. -I. 
-I../../../../../../local/include/python2.2 
-I../../../../../../local/include/sip -I../../../../../../local/include 
-I/usr/X11R6/include -o qthuge.o qthuge.cpp
sipqtQLayout.cpp:1853: `unlimited' is not a member of type `QLayout'
sipqtQFile.cpp: In function `struct PyObject * sipNew_QTabletEvent(PyObject *, 
PyObject *)':
sipqtQFile.cpp:6460: no matching function for call to 
`QTabletEvent::QTabletEvent (QPoint &, int &, int &, int &, int &, 
QPair<int,int> &)'
/usr/X11R6/include/qevent.h:230: candidates are: 
QTabletEvent::QTabletEvent(QEvent::Type, const QPoint &, const QPoint &, int, 
int, int, int, const QPair<int,int> &)
/usr/X11R6/include/qevent.h:233:                 
QTabletEvent::QTabletEvent(const QPoint &, const QPoint &, int, int, int, 
int, const QPair<int,int> &)
/usr/X11R6/include/qevent.h:262:                 
QTabletEvent::QTabletEvent(const QTabletEvent &)
sip/qevent.sip: In function `struct PyObject * sipSubClass_QEvent(const QEvent 
*)':
sip/qevent.sip:504: `Tablet' is not a member of type `QEvent'
sipqtQEvent.cpp: At top level:
sipqtQEvent.cpp:378: `Tablet' is not a member of type `QEvent'
*** Error code 1

Stop in /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.4/qt.
*** Error code 1

Stop in /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.4.
*** Error code 1

Stop in /usr/ports/x11-toolkits/py-qt.

With my rusty C++, I can see why this code is failing - but  don't know what 
to do about it. 

Has anyone had any luck installing Py-QT from ports? Am I doing something 
incorrectly?

Thanks for all your help.

  Andy Akins

-- 
+----------------------------------+----------------------------------+
| Andy Akins                       | email: andy at leonidae.org         |
|                                  | web:   http://www.leonidae.org   |
+----------------------------------+----------------------------------+
| public key available at: http://pgp.mit.edu/ as andy at leonidae.org   |
| GPG-FP: 7531 26C0 EB2D 4A0E DFD2  E250 D4FD FF2C 26EB 457A          |
+---------------------------------------------------------------------+
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030326/73c5caf1/attachment.bin


More information about the freebsd-questions mailing list