Date: Sun, 18 Mar 2001 18:27:54 -0600 From: Glenn Johnson <glennpj@charter.net> To: Dag-Erling Smorgrav <des@ofug.org> Cc: Will Andrews <will@physics.purdue.edu>, FreeBSD Ports <ports@FreeBSD.ORG>, sobomax@FreeBSD.ORG, knu@FreeBSD.ORG Subject: Re: Qt2X business (KDE2, GL support and XFree86 4.0.2_2+ & xthreads) Message-ID: <20010318182754.A749@gforce.homelan.net> In-Reply-To: <xzpitl64o6g.fsf@flood.ping.uio.no>; from des@ofug.org on Mon, Mar 19, 2001 at 01:06:47AM %2B0100 References: <20010318161729.M61859@ohm.physics.purdue.edu> <xzp4rwq64jn.fsf@flood.ping.uio.no> <20010318184039.V61859@ohm.physics.purdue.edu> <xzpitl64o6g.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 19, 2001 at 01:06:47AM +0100, Dag-Erling Smorgrav wrote: > Will Andrews <will@physics.purdue.edu> writes: > > > On Mon, Mar 19, 2001 at 12:27:56AM +0100, Dag-Erling Smorgrav wrote: > > > > > Have you tried to simply fix the KDE configure scripts to enable > > > threading on FreeBSD (they currently only allow threading on > > > Linux), then run aclocal and autoconf, and configure --enable-mt? > > > > What do you think the current kdelibs2/kdebase2/kdesupport2 ports > > do? > > I can't see any patches in x11/kdelibs2/files that look anything like > this: > > --- acinclude.m4.orig Mon Mar 19 01:04:13 2001 > +++ acinclude.m4 Mon Mar 19 01:04:30 2001 > @@ -855,7 +855,7 @@ > if test "x$kde_use_qt_mt" = "xyes"; then > > case $host in > - *-*-linux-*) > + *-*-linux-*|*-*-freebsd*) > if test "x$GCC" = "xyes"; then > CPPFLAGS="$CPPFLAGS -DQT_THREAD_SUPPORT -pthread" > X_EXTRA_LIBS="$X_EXTRA_LIBS -pthread" > > Neither do I see "--enable-mt" in CONFIGURE_FLAGS, nor do I see > USE_AUTOCONF being set to "YES", so you're going to have to work > harder to convince me that you're doing this correctly. If you look at the port Makefile for kdebase2 for example you will see that the equivalent is being accomplished. The problem is that although the kde2 stuff will build with the threaded support added it will not run without core dumping, hanging in loops, and other unpleasant events. Also, if you look at the configure scripts it is clearly stated that the '--enable-mt' is experimental and for Linux only. I think it is obvious at this point that it will not work with FreeBSD. I really wonder if it works with Linux but that is really irrelevant. As far as I know the only problem case is XFree86-4.0.2 (maybe 4.0.1) which builds with thread support and thus causes the linking problem. I am wondering if we really need to have XFree86-4 built with threaded support but I do not know enough about the decision to add thread support to X to comment further. -- Glenn Johnson glennpj@charter.net 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?20010318182754.A749>