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 <[EMAIL PROTECTED]> 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 | [EMAIL PROTECTED] > (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org > \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org > > > _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
