From owner-freebsd-questions@FreeBSD.ORG Sat Apr 22 04:28:11 2006 Return-Path: X-Original-To: freebsd-questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4BE4C16A4AC for ; Sat, 22 Apr 2006 04:28:11 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05A3043D48 for ; Sat, 22 Apr 2006 04:28:11 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id E09EC1A3C1B; Fri, 21 Apr 2006 21:28:10 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 45CA55530C; Sat, 22 Apr 2006 00:28:10 -0400 (EDT) Date: Sat, 22 Apr 2006 00:28:10 -0400 From: Kris Kennaway To: Albert Shih Message-ID: <20060422042810.GA77451@xor.obsecurity.org> References: <20060421195837.GB7214@math.jussieu.fr> <20060421221448.GA72601@xor.obsecurity.org> <20060422042115.GA16683@math.jussieu.fr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline In-Reply-To: <20060422042115.GA16683@math.jussieu.fr> User-Agent: Mutt/1.4.2.1i Cc: freebsd-questions@FreeBSD.org, Kris Kennaway Subject: Re: ruby don't compile after 5.2 -> 5.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Apr 2006 04:28:11 -0000 --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 22, 2006 at 06:21:15AM +0200, Albert Shih wrote: > Le 21/04/2006 18:14:48-0400, Kris Kennaway a =E9crit > > On Fri, Apr 21, 2006 at 09:58:37PM +0200, Albert Shih wrote: > > > Hi all > > >=20 > > > After upgrade from 5.2.1-p* to 5.3-p29 I can't compile ruby18, I got = this > > > error=20 > > >=20 > > > Generating callback.func > > > Fatal error 'Spinlock called when not threaded.' at line 83 in file /= usr/src/lib/libpthread/thread/thr_spinlock.c (errno =3D 2) > > >=20 > > > And I don't have compile with thread (just like the advise). > > >=20 > > > Any one have a solution ? > >=20 > > 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"). > >=20 > > portupgrade -af >=20 > OK. >=20 > >=20 > > Kris > >=20 > > P.S. Why are you using an old version like 5.3 though? It's not > > recommended. >=20 > 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 >=20 > ;-) >=20 > 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 --n8g4imXOkfNTN/H1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFESbDZWry0BWjoQKURApYLAJ4qfmkei10fAooVYLb+31Dzq/qMPgCggFid yhh8qBx3ndDQMfyz3qJ8emo= =R3eg -----END PGP SIGNATURE----- --n8g4imXOkfNTN/H1--