From owner-freebsd-ports Mon Jan 29 6:10:35 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 787F337B404 for ; Mon, 29 Jan 2001 06:10:06 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0TEA6Q70835; Mon, 29 Jan 2001 06:10:06 -0800 (PST) (envelope-from gnats) Date: Mon, 29 Jan 2001 06:10:06 -0800 (PST) Message-Id: <200101291410.f0TEA6Q70835@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: FUJISHIMA Satsuki Subject: Re: ports/23186: The py-qt port fails to compile Reply-To: FUJISHIMA Satsuki Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/23186; it has been noted by GNATS. From: FUJISHIMA Satsuki To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: Re: ports/23186: The py-qt port fails to compile Date: Mon, 29 Jan 2001 23:02:30 +0900 Date: Sun, 28 Jan 2001 14:22:52 -0500 From: "Donald J . Maddox" To: FUJISHIMA Satsuki Subject: Re: ports/23186: The py-qt port fails to compile Message-ID: <20010128142252.A23615@cae88-102-101.sc.rr.com> Ok, finally, problem solved :) The 'configure' script checks for the qt libs in this brain-dead fashion: echo $ac_n "checking for -lqt""... $ac_c" 1>&6 echo "configure:2592: checking for -lqt" >&5 libdir= for d in $libdirs do ls $d/libqt* 2>/dev/null >/dev/null if test $? = 0 then libdir=$d break fi done If you happen to have the lang/guile port installed (I do), you will have a libqthreads.so.0 installed in /usr/local/lib. The configure script, because of the lame test above, then concludes that you have QT installed in /usr/local :( So... It's not surprising that the build succeeds on a pure tree with no other ports installed, but it will always fail for those of us with guile installed :( Bummer... On Fri, Jan 26, 2001 at 06:16:51AM +0900, FUJISHIMA Satsuki wrote: > At Wed, 24 Jan 2001 03:16:02 -0500, > Donald J . Maddox wrote: > > SIP_LDLIBDIRS is defined by this section of 'configure': > [snip] > > You will notice that it *doesn't even check* /usr/X11R6/lib! > > Read more after this section. configure adds to SLIB_LDLIBDIRS > directory where libqt2 installed in. (line 2592 and following) > For me -L/usr/X11R6/lib added to this variable here. > > echo $ac_n "checking for -lqt""... $ac_c" 1>&6 > echo "configure:2592: checking for -lqt" >&5 > > libdir= > > for d in $libdirs > do > ls $d/libqt* 2>/dev/null >/dev/null > > if test $? = 0 > then > libdir=$d > break > fi > done > > if test "X$libdir" = "X" > then > { echo "configure: error: not found" 1>&2; exit 1; } > fi > > echo "$ac_t""$libdir" 1>&6 > > > if test "$libdir" = "/usr/lib" > then > libflag= > else > libflag="-L$libdir" > > for d in $SIP_LDLIBDIRS > do > if test "$d" = "$libflag" > then > libflag= > break > fi > done > fi > > SIP_LDLIBDIRS="$SIP_LDLIBDIRS $libflag" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message