From owner-freebsd-ports Thu Jan 18 12:18:44 2001 Delivered-To: freebsd-ports@freebsd.org Received: from mail5.sc.rr.com (fe5.southeast.rr.com [24.93.67.52]) by hub.freebsd.org (Postfix) with ESMTP id E988D37B69F; Thu, 18 Jan 2001 12:18:26 -0800 (PST) Received: from sc.rr.com ([24.88.102.101]) by mail5.sc.rr.com with Microsoft SMTPSVC(5.5.1877.537.53); Thu, 18 Jan 2001 15:18:15 -0500 Received: (from dmaddox@localhost) by sc.rr.com (8.11.1/8.11.1) id f0IKJ9c45957; Thu, 18 Jan 2001 15:19:09 -0500 (EST) (envelope-from dmaddox) Date: Thu, 18 Jan 2001 15:19:09 -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: <20010118151909.A43250@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> <20010117171323.A39707@cae88-102-101.sc.rr.com> <863deg8zi3.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: <863deg8zi3.wl@cheerful.com>; from sf@FreeBSD.ORG on Fri, Jan 19, 2001 at 03:51:48AM +0900 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'd like to do that. It's pretty obvious to me why it fails for me; however, it's not at all obvious why it doesn't fail for you. In the output you posted demonstrating that the port builds for you, I see this: /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 ... On my machine, I see this: /bin/sh ../libtool --mode=link c++ -Os -mpentiumpro -march=pentiumpro -mpreferred-stack-boundary=2 -pipe -lgcc -o pyuic -L/usr/local/lib uic.o widgetdatabase.o domtool.o -lqt2 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 Looking at the Makefile, it's obvious that for some reason, on your machine, SIP_LDLIBDIRS is being set to '-L/usr/local/lib -L/usr/X11R6/lib'. For me, it is set to just '-L/usr/local/lib', and this seems to me to be right, since that's where the SIP libs are installed. Do you, for some odd reason, have SIP libs in both /usr/X11R6/lib and in /usr/local/lib? On Fri, Jan 19, 2001 at 03:51:48AM +0900, FUJISHIMA Satsuki wrote: > Please fix it yourself and send patches back. I couldn't > reproduce your problem and would never be able to fix it for you. > > At Wed, 17 Jan 2001 17:13:23 -0500, > Donald J . Maddox wrote: > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message