From owner-freebsd-stable@FreeBSD.ORG Thu Nov 11 00:15:29 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 B3B7516A4CF for ; Thu, 11 Nov 2004 00:15:29 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25BB243D41 for ; Thu, 11 Nov 2004 00:15:29 +0000 (GMT) (envelope-from jeffgaofreebsd@gmail.com) Received: by rproxy.gmail.com with SMTP id a36so259033rnf for ; Wed, 10 Nov 2004 16:15:28 -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=XF3mojbYddib2/biTVV7M8J1zIyhCv9cwO/AHxZ6uMy5jEoMxyTngyXgG5RaqgrePsF04RYStw17apb/bACpRIkhl2BNtvHQCY/obi3KxEYWQowN4gn2z8/IQrgWE3HcKr9/ehCqSY23CDszDNsAvexOrO25RT2PGqwHtGq+wf4= Received: by 10.38.78.13 with SMTP id a13mr433615rnb; Wed, 10 Nov 2004 16:15:28 -0800 (PST) Received: by 10.38.74.3 with HTTP; Wed, 10 Nov 2004 16:15:28 -0800 (PST) Message-ID: <639522fe041110161561053731@mail.gmail.com> Date: Wed, 10 Nov 2004 17:15:28 -0700 From: Jie Gao To: Michael Nottebrock In-Reply-To: <639522fe041110142864a51759@mail.gmail.com> 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> <639522fe041110142864a51759@mail.gmail.com> 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: Thu, 11 Nov 2004 00:15:29 -0000 Additionally, I found multimedia/kaffeine and audio/amarok also need patching configure. kaffeine needs extrapatch-old_configure while amarok needs extrapatch-configure. On Wed, 10 Nov 2004 15:28:54 -0700, Jie Gao wrote: > 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 > > > > > > >