From owner-freebsd-questions@FreeBSD.ORG Wed Mar 26 18:22:07 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2EF4937B404 for ; Wed, 26 Mar 2003 18:22:07 -0800 (PST) Received: from mired.org (ip68-97-54-220.ok.ok.cox.net [68.97.54.220]) by mx1.FreeBSD.org (Postfix) with SMTP id 2C7FF43F85 for ; Wed, 26 Mar 2003 18:22:06 -0800 (PST) (envelope-from mwm-dated-1049163725.750fa3@mired.org) Received: (qmail 61803 invoked from network); 27 Mar 2003 02:22:05 -0000 Received: from localhost.mired.org (HELO guru.mired.org) (127.0.0.1) by localhost.mired.org with SMTP; 27 Mar 2003 02:22:05 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16002.24652.890512.972433@guru.mired.org> Date: Wed, 26 Mar 2003 20:22:04 -0600 To: Andy Akins In-Reply-To: <200303261621.31670.andy@leonidae.org> References: <200303261621.31670.andy@leonidae.org> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.71 (Hoop, Jr.) X-Spam-Status: No, hits=-19.6 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: FreeBSD-Questions@FreeBSD.org Subject: Re: Py22-Qt port problems... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2003 02:22:08 -0000 In <200303261621.31670.andy@leonidae.org>, Andy Akins typed: > 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. Ok, you've got the right version of PyQT for the port. The question is, do you have the right version of Qt? > 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 I know the Qt library was updated recently, as the Qt port tracked that. From the looks of things, you're trying to install the a PyQt meant for the previous version of Qt, and that isn't working. > Has anyone had any luck installing Py-QT from ports? Am I doing something > incorrectly? Yes, I installed it from ports. However, that was using the old version of the Qt library. Trying to build it with the new version of the Qt library results in sip failing without generating much in the way of error messages. First, make sure you've got the latest version of the PyQt port. It's possible it has been updated for the new version of PyQt. If you've got the latest version, nudge the maintainer of the port to see if he'll update it. Actually, the port maintainer is usually the right person to contanct when port builds fail. As a workaround, since there are no patch files in the port, you might try building the 3.5 version of PyQt with the port. The pkg-plist may be wrong in this case, so it may not uninstall cleanly. However, once the PyQt port gets updated, installing that should fix the pkg-plist to use the right thing. http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.