Date: Wed, 17 Jan 2001 17:13:23 -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: <20010117171323.A39707@cae88-102-101.sc.rr.com> In-Reply-To: <86y9wagc91.wl@cheerful.com>; from sf@FreeBSD.ORG on Thu, Jan 18, 2001 at 05:22:18AM %2B0900 References: <200101171622.f0HGMAw64244@freefall.freebsd.org> <20010117123816.A38458@cae88-102-101.sc.rr.com> <86y9wagc91.wl@cheerful.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010117171323.A39707>