Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2001 06:10:06 -0800 (PST)
From:      FUJISHIMA Satsuki <sf@FreeBSD.org>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/23186: The py-qt port fails to compile
Message-ID:  <200101291410.f0TEA6Q70835@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/23186; it has been noted by GNATS.

From: FUJISHIMA Satsuki <sf@FreeBSD.org>
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" <dmaddox@sc.rr.com>
 To: FUJISHIMA Satsuki <sf@FreeBSD.org>
 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101291410.f0TEA6Q70835>