Date: Wed, 10 Nov 2004 15:28:54 -0700 From: Jie Gao <jeffgaofreebsd@gmail.com> To: Michael Nottebrock <michaelnottebrock@gmx.net> Cc: freebsd-ports@freebsd.org Subject: Re: When will a thread-safe nvidia-driver be available? Message-ID: <639522fe041110142864a51759@mail.gmail.com> In-Reply-To: <200411101846.07310.michaelnottebrock@gmx.net> References: <639522fe041109143072521ecc@mail.gmail.com> <200411101114.10488.michaelnottebrock@gmx.net> <639522fe0411100929da63d9c@mail.gmail.com> <200411101846.07310.michaelnottebrock@gmx.net>
next in thread | previous in thread | raw e-mail | index | archive | help
I figured it out. I manually removed all -lpthread from Makefiles and added -D_THREAD_SAFE -pthread to where they should be. And this solved everything. The script generated from latest KDE CVS really need not the patch and it works. I slipped from this because the first time I did not have PTHREAD_LIBS environment added, and the second time I applied the patch (with only one hunk succeeded). And the patch to skim also fixes problems, including the new version I intended to update. On Wed, 10 Nov 2004 18:46:03 +0100, Michael Nottebrock <michaelnottebrock@gmx.net> wrote: > On Wednesday, 10. November 2004 18:29, Jie Gao wrote: > > Sorry, I didn't said that I was using the latest kile from CVS. > > :-/. Why are you discussing issues with KDE HEAD software on freebsd-ports...? > > > And > > the configure script was generated from Makefile.cvs. > > The admin/acinclude.m4.in from KDE HEAD has the freebsd pthread configure > check fixed, you just need to set PTHREAD_LIBS in configure's environment > (i.e. run env PTHREAD_LIBS=-pthread ./configure). > > Check configure's output, it should contain this line: > > checking whether c++ supports -pthread... yes > > It should NOT look like this: > > checking for pthread_create in -lpthread... yes > > -- > > > ,_, | Michael Nottebrock | lofi@freebsd.org > (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org > \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?639522fe041110142864a51759>