ruby don't compile after 5.2 -> 5.3
Kris Kennaway
kris at obsecurity.org
Sat Apr 22 04:28:11 UTC 2006
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060422/303eb9a7/attachment.pgp
More information about the freebsd-questions
mailing list