From owner-freebsd-ports Wed Jan 17 14:12:57 2001 Delivered-To: freebsd-ports@freebsd.org Received: from Mail6.sc.rr.com (fe6.southeast.rr.com [24.93.67.53]) by hub.freebsd.org (Postfix) with ESMTP id 3543D37B402; Wed, 17 Jan 2001 14:12:40 -0800 (PST) Received: from sc.rr.com ([24.88.102.101]) by Mail6.sc.rr.com with Microsoft SMTPSVC(5.5.1877.537.53); Wed, 17 Jan 2001 17:12:30 -0500 Received: (from dmaddox@localhost) by sc.rr.com (8.11.1/8.11.1) id f0HMDNd39751; Wed, 17 Jan 2001 17:13:23 -0500 (EST) (envelope-from dmaddox) Date: Wed, 17 Jan 2001 17:13:23 -0500 From: "Donald J . Maddox" To: FUJISHIMA Satsuki Cc: freebsd-ports@freebsd.org Subject: Re: ports/23186: The py-qt port fails to compile Message-ID: <20010117171323.A39707@cae88-102-101.sc.rr.com> Reply-To: dmaddox@sc.rr.com Mail-Followup-To: FUJISHIMA Satsuki , freebsd-ports@freebsd.org References: <200101171622.f0HGMAw64244@freefall.freebsd.org> <20010117123816.A38458@cae88-102-101.sc.rr.com> <86y9wagc91.wl@cheerful.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <86y9wagc91.wl@cheerful.com>; from sf@FreeBSD.ORG on Thu, Jan 18, 2001 at 05:22:18AM +0900 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Jan 18, 2001 at 05:22:18AM +0900, FUJISHIMA Satsuki wrote: > > mkdir .libs > > c++ -Os -mpentiumpro -march=pentiumpro -mpreferred-stack-boundary=2 -pipe -lgcc -o pyuic -L/usr/local/lib uic.o widgetdatabase.o domtool.o -lqt2 > > /usr/libexec/elf/ld: cannot find -lqt2 > > gmake[2]: *** [pyuic] Error 1 > > Apparently libqt2 is in /usr/X11R6/lib. > You should have -L/usr/X11R6/lib passed to c++. > > quotes from my log: > /bin/sh ../libtool --mode=link c++ -O -pipe -lgcc -o pyuic -L/usr/local/lib -L/usr/X11R6/lib uic.o widgetdatabase.o domtool.o -lqt2 > mkdir .libs > c++ -O -pipe -lgcc -o pyuic -L/usr/local/lib -L/usr/X11R6/lib uic.o widgetdatabase.o domtool.o -lqt2 > gmake[2]: Leaving directory `/usr/obj/ports/home/k5/work/Z/py-qt/work/PyQt-2.2/pyuic' > > Problem is your configuration. I'm sorry, but I don't understand. I haven't *done* any configuration that should affect this. The qt2 library is, indeed, in /usr/X11R6/lib, which is where it was installed by the qt22 port when I installed it. I can see in the Makefile for qt22 that this has changed, and if you try to rebuild qt22, *the qt22 port* will catch this problem and warn you about it; however, the py-qt port does *not* catch the problem, and is eventually going to confuse a lot of people. Again, I think this port is broken. It should check for an old, incompatible installation of qt22 in the same manner that the qt22 port itself does. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message