Skip site navigation (1)Skip section navigation (2)
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

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060422042810.GA77451>