> I'm building platform-specific Ruby-binaries (1.8.7-p174) for each of
> our several platforms based on a single source-code directory, that's
> available read-only.
Actually, never mind... Something else must be wrong. I copied the
source tree locally and ran the build there -- the most vanilla way to
build things.
`make check' -- as well as a single random test -- still spins...
Running under strace shows:
strace ./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb
/runruby.rb --extout=.ext -- "./test/runner.rb" --basedir="./test"
test/soap/test_basetype.rb
...
lots of output
...
open("/tmp/ruby-1.8.7-p174-x86_64-pc-linux-gnu/test/soap/test_basetype.rb",
O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=27077, ...}) = 0
close(3) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [],

= 0
open("/tmp/ruby-1.8.7-p174-x86_64-pc-linux-gnu/test/soap/test_basetype.rb",
O_RDONLY) = 3
close(3) = 0
open("/tmp/ruby-1.8.7-p174-x86_64-pc-linux-gnu/test/soap/test_basetype.rb",
O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=27077, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x2b1f51586000
read(3, "require 'test/unit'\nrequire 'soa"..., 4096) = 4096
read(3, "34567890123456789012345678901234"..., 4096) = 4096
<- HANG ->
This is on an RHEL-5.4 machine (RedHat's own older version of Ruby NOT
installed), x86_64. The configure was run thus:
env CC=gcc44 CFLAGS="-O2 -pipe -march=nocona" ./configure
--prefix=/usr/local/pub/ruby__1.8.7-p174
--mandir=/usr/local/pub/ruby__1.8.7-p174/man --enable-pthread
--disable-install-doc
The C-compiler (gcc44) is gcc version 4.4.0 20090514 (Red Hat 4.4.0-6)
(GCC).
--
Posted via
http://www.ruby-forum.com/.