Date: Thu, 18 Jan 2001 15:19:09 -0500 From: "Donald J . Maddox" <dmaddox@sc.rr.com> To: FUJISHIMA Satsuki <sf@FreeBSD.ORG> 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> In-Reply-To: <863deg8zi3.wl@cheerful.com>; from sf@FreeBSD.ORG on Fri, Jan 19, 2001 at 03:51:48AM %2B0900 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <dmaddox@sc.rr.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010118151909.A43250>