Date: Sat, 22 Apr 2006 00:28:10 -0400 From: Kris Kennaway <kris@obsecurity.org> To: Albert Shih <shih@math.jussieu.fr> Cc: freebsd-questions@FreeBSD.org, Kris Kennaway <kris@obsecurity.org> Subject: Re: ruby don't compile after 5.2 -> 5.3 Message-ID: <20060422042810.GA77451@xor.obsecurity.org> In-Reply-To: <20060422042115.GA16683@math.jussieu.fr> References: <20060421195837.GB7214@math.jussieu.fr> <20060421221448.GA72601@xor.obsecurity.org> <20060422042115.GA16683@math.jussieu.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Sat, Apr 22, 2006 at 06:21:15AM +0200, Albert Shih wrote: > Le 21/04/2006 18:14:48-0400, Kris Kennaway a écrit > > On Fri, Apr 21, 2006 at 09:58:37PM +0200, Albert Shih wrote: > > > Hi all > > > > > > After upgrade from 5.2.1-p* to 5.3-p29 I can't compile ruby18, I got this > > > error > > > > > > Generating callback.func > > > Fatal error 'Spinlock called when not threaded.' at line 83 in file /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 2) > > > > > > And I don't have compile with thread (just like the advise). > > > > > > Any one have a solution ? > > > > You need to rebuild *all* your ports after performing major upgrades > > (despite both being in the 5.x branch, 5.2.1 to 5.3 was such a "major > > upgrade"). > > > > portupgrade -af > > OK. > > > > > Kris > > > > P.S. Why are you using an old version like 5.3 though? It's not > > recommended. > > No I prefere make upgrade from 5.2.1 to 5.3 before 5.4, step by step > 5.2.1 --> 5.3 > 5.3 --> 5.4 > 5.4 --> 5.5 > > ;-) > > Thanks for your answer. Well, if you're just trying to upgrade to 5.5, there's no need to upgrade all your ports in between, and you'll save a lot of time that way. Quickest of all is to do a binary upgrade direct to 5.5, of course. Kris [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFESbDZWry0BWjoQKURApYLAJ4qfmkei10fAooVYLb+31Dzq/qMPgCggFid yhh8qBx3ndDQMfyz3qJ8emo= =R3eg -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060422042810.GA77451>
