From: Joel VanderWerf Date: 2007-04-05T06:19:27+09:00 Subject: Re: Install problems under QNX Martin Gagnon wrote: > Hi all, > I'm facing install problems under QNX 6.3.0. [QNX QNX-DEV 6.3.0 > 2004/04/29-21:23:19UTC x86pc x86] > The compile works well and the 'make test' succeeds. So that's a good > start. > However, during 'make install', I get the following error: I haven't tried to get ruby to work on QNX since the days of ruby-1.7 and 1.8.0 and QNX 6.2.1 (IIRC). I don't recall that error with truncate, but there were other problems: 1. socket.so didn't build (or maybe it built but didn't run) 2. all of ext/ had to be built statically, because dynamic loading didn't work. (This was a problem for the "official" builds of both python and ruby from the QNX repos, as well.) Have you checked this? For example: $ ruby -r socket -e 1 3. There was a problem with sysread. For example, this call: FileUtils.copy_file "a", "b" would error with: fileutils.rb:409:in `sysread': sysread for buffered IO (IOError) It wasn't a total waste of time for me, even though I didn't end up using ruby on QNX. I wrote bindings for the Cogent Datahub (a nice publish/subscribe IPC for QNX and linux). But I only used them on linux (with the SRR IPC kernel module). If you do get ruby/qnx working, let us know on the list. It would still be useful to me, at least. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407