ruby don't compile after 5.2 -> 5.3

Kris Kennaway kris at
Fri Apr 21 22:15:15 UTC 2006

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

portupgrade -af


P.S. Why are you using an old version like 5.3 though?  It's not
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list