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 22.12.2007 02:52
on 11.01.2008 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 11.01.2008 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