From owner-freebsd-stable@FreeBSD.ORG Wed Nov 10 22:29:30 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB45F16A4CE for ; Wed, 10 Nov 2004 22:29:30 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1211343D3F for ; Wed, 10 Nov 2004 22:29:30 +0000 (GMT) (envelope-from jeffgaofreebsd@gmail.com) Received: by rproxy.gmail.com with SMTP id a36so249414rnf for ; Wed, 10 Nov 2004 14:29:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=YmGbqwogN/fZrKM1IpyHIE27fvWvLJVNtnYTC3X8ZwwbCpdlmOG0kyEyYlbsQ8/SGijGeyjEawwlyyumPYDsC2jvwT2SXU/sprsB3N9kL9PA91On4LbtNBaxdgriC4eZyvanwFxU0bFqQ9DzNHL4kBEvrWKbzLDbW3NB2puig3s= Received: by 10.38.74.5 with SMTP id w5mr388762rna; Wed, 10 Nov 2004 14:28:54 -0800 (PST) Received: by 10.38.74.3 with HTTP; Wed, 10 Nov 2004 14:28:54 -0800 (PST) Message-ID: <639522fe041110142864a51759@mail.gmail.com> Date: Wed, 10 Nov 2004 15:28:54 -0700 From: Jie Gao To: Michael Nottebrock In-Reply-To: <200411101846.07310.michaelnottebrock@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <639522fe041109143072521ecc@mail.gmail.com> <200411101114.10488.michaelnottebrock@gmx.net> <639522fe0411100929da63d9c@mail.gmail.com> <200411101846.07310.michaelnottebrock@gmx.net> cc: freebsd-stable@freebsd.org cc: freebsd-ports@freebsd.org Subject: Re: When will a thread-safe nvidia-driver be available? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jie Gao List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 22:29:31 -0000 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 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 > > >