hi! when I try to compile Ruby 1.8 on Leopard, I get this: ... gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -L. main.o dmydln.o \ libruby-static.a -lpthread -ldl -lobjc -o miniruby ruby: [BUG] Segmentation fault ruby 1.8.6 (2007-12-03) [i686-darwin9.1.0] make: *** [.rbconfig.time] Abort trap I used ./configure --prefix=/usr/local --with-readline-dir=/usr/local \ --enable-pthread Disabling pthread makes it work again (but throws a warning about Tcl/Tk not working well without pthread.) how can I make it compile with pthread? [murphy]
on 2007-12-22 02:52
on 2008-01-11 00:18
I know the mac port works--you might download it and see what changes it makes to ruby in order for it to compile.
on 2008-01-11 00:22
On Dec 22, 2007 2:52 AM, murphy <murphy@rubychan.de> wrote: > make: *** [.rbconfig.time] Abort trap > It's a well-known bug, try applying the following patch, then rebuilding. http://chopine.be/lrz/ruby-osx-patches/ignore-gsetcontext.diff Laurent
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.