* [9fans] ruby port 1.8.1 ready to use @ 2008-01-07 10:00 prem 2008-01-07 16:57 ` ron minnich 2008-01-08 13:40 ` [9fans] " prem 0 siblings, 2 replies; 17+ messages in thread From: prem @ 2008-01-07 10:00 UTC (permalink / raw) To: 9fans Hi All, I have seen some posts asking if there is ruby port for plan9. Here is one (apologies if this is already posted) ------------------ fetching and building ------------------ % hget http://www1.plala.or.jp/anraku/ruby-1.8.1-plan9.tar.gz | gnuzip | tar x % cd ruby-1.8.1-plan9 % ape/psh # CFLAGS='-D_BSD_EXTENSION -D_LIMITS_EXTENSION' \ ./configure --prefix=$home --bindir=$home/bin/$objtype --libdir= $home/lib --build=i386 # make # make install # exit % ruby -v ruby 1.8.1 (2003-12-25) [i386-none] ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [9fans] ruby port 1.8.1 ready to use 2008-01-07 10:00 [9fans] ruby port 1.8.1 ready to use prem @ 2008-01-07 16:57 ` ron minnich 2008-01-07 23:41 ` Christopher Nielsen 2008-01-08 13:40 ` [9fans] " prem 1 sibling, 1 reply; 17+ messages in thread From: ron minnich @ 2008-01-07 16:57 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs On Jan 7, 2008 2:00 AM, prem <prem.mallappa@gmail.com> wrote: > Hi All, > I have seen some posts asking if there is ruby port for plan9. Here is > one (apologies if this is already posted) Hi, do you think the Ruby folks will take your mods back into mainline? That would be really neat if so. thanks ron ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [9fans] ruby port 1.8.1 ready to use 2008-01-07 16:57 ` ron minnich @ 2008-01-07 23:41 ` Christopher Nielsen 0 siblings, 0 replies; 17+ messages in thread From: Christopher Nielsen @ 2008-01-07 23:41 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs 1.8.1 is a little old (2003). The current stable version is 1.8.6p111, so my guess is they probably won't accept a patch that isn't against a current version. Just my $0.02 On Jan 7, 2008 8:57 AM, ron minnich <rminnich@gmail.com> wrote: > On Jan 7, 2008 2:00 AM, prem <prem.mallappa@gmail.com> wrote: > > Hi All, > > I have seen some posts asking if there is ruby port for plan9. Here is > > one (apologies if this is already posted) > > Hi, do you think the Ruby folks will take your mods back into > mainline? That would be really neat if so. > > thanks > > ron > -- Christopher Nielsen "They who can give up essential liberty for temporary safety, deserve neither liberty nor safety." --Benjamin Franklin ^ permalink raw reply [flat|nested] 17+ messages in thread
* [9fans] Re: ruby port 1.8.1 ready to use 2008-01-07 10:00 [9fans] ruby port 1.8.1 ready to use prem 2008-01-07 16:57 ` ron minnich @ 2008-01-08 13:40 ` prem 2008-01-10 2:28 ` Pietro Gagliardi 1 sibling, 1 reply; 17+ messages in thread From: prem @ 2008-01-08 13:40 UTC (permalink / raw) To: 9fans First of all, I did not port this, the Japanese Plan9 user group had done the port (thanks to the original porter). I made some more module to get compiled in that (but my changes are not visible in the above tgz) I am trying to port the changes to 1.8.6, but gave up after a while (I though it was not a quick hack) I will take it back up whenever I find little time /Prem > On Jan 7, 11:57 pm, rminn...@gmail.com (ron minnich) wrote: > On Jan 7, 2008 2:00 AM, prem <prem.malla...@gmail.com> wrote: > > > Hi All, > > I have seen some posts asking if there is ruby port for plan9. Here is > > one (apologies if this is already posted) > > Hi, do you think the Ruby folks will take your mods back into > mainline? That would be really neat if so. > > thanks > > ron ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [9fans] Re: ruby port 1.8.1 ready to use 2008-01-08 13:40 ` [9fans] " prem @ 2008-01-10 2:28 ` Pietro Gagliardi 2008-01-10 2:36 ` Pietro Gagliardi 0 siblings, 1 reply; 17+ messages in thread From: Pietro Gagliardi @ 2008-01-10 2:28 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs Well, the Japanese Plan 9 group may not stop. I'm working on 1.9.0, and the only thing I had to change so far was the configure file. It invoked ls with the -i option (print inodes), which Plan 9 does not have. On Jan 8, 2008, at 8:40 AM, prem wrote: > First of all, I did not port this, the Japanese Plan9 user group had > done the port (thanks to the original porter). I made some more module > to get compiled in that (but my changes are not visible in the above > tgz) > I am trying to port the changes to 1.8.6, but gave up after a while (I > though it was not a quick hack) > I will take it back up whenever I find little time > > /Prem > >> On Jan 7, 11:57 pm, rminn...@gmail.com (ron minnich) wrote: >> On Jan 7, 2008 2:00 AM, prem <prem.malla...@gmail.com> wrote: >> >>> Hi All, >>> I have seen some posts asking if there is ruby port for plan9. >>> Here is >>> one (apologies if this is already posted) >> >> Hi, do you think the Ruby folks will take your mods back into >> mainline? That would be really neat if so. >> >> thanks >> >> ron ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [9fans] Re: ruby port 1.8.1 ready to use 2008-01-10 2:28 ` Pietro Gagliardi @ 2008-01-10 2:36 ` Pietro Gagliardi 2008-01-10 9:11 ` Federico G. Benavento 0 siblings, 1 reply; 17+ messages in thread From: Pietro Gagliardi @ 2008-01-10 2:36 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs Update #2 - Plan 9 uses grep, not egrep, so whole check is skipped. If I don't need to change any of the source files, I'll just post the configure in my contrib directory (/n/sources/contrib/pietro). On Jan 9, 2008, at 9:28 PM, Pietro Gagliardi wrote: > Well, the Japanese Plan 9 group may not stop. I'm working on 1.9.0, > and the only thing I had to change so far was the configure file. > It invoked ls with the -i option (print inodes), which Plan 9 does > not have. > > On Jan 8, 2008, at 8:40 AM, prem wrote: > >> First of all, I did not port this, the Japanese Plan9 user group had >> done the port (thanks to the original porter). I made some more >> module >> to get compiled in that (but my changes are not visible in the above >> tgz) >> I am trying to port the changes to 1.8.6, but gave up after a >> while (I >> though it was not a quick hack) >> I will take it back up whenever I find little time >> >> /Prem >> >>> On Jan 7, 11:57 pm, rminn...@gmail.com (ron minnich) wrote: >>> On Jan 7, 2008 2:00 AM, prem <prem.malla...@gmail.com> wrote: >>> >>>> Hi All, >>>> I have seen some posts asking if there is ruby port for plan9. >>>> Here is >>>> one (apologies if this is already posted) >>> >>> Hi, do you think the Ruby folks will take your mods back into >>> mainline? That would be really neat if so. >>> >>> thanks >>> >>> ron > ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [9fans] Re: ruby port 1.8.1 ready to use 2008-01-10 2:36 ` Pietro Gagliardi @ 2008-01-10 9:11 ` Federico G. Benavento 2008-01-10 19:52 ` ron minnich 0 siblings, 1 reply; 17+ messages in thread From: Federico G. Benavento @ 2008-01-10 9:11 UTC (permalink / raw) To: 9fans I was bored, so I tried... the ready to use ruby doesn't have either a mkfile or a Makefile, so 1) I downloaded the latest ruby realease run /n/sources/contrib/fgb/rc/config and sent the output to rc; I got my config.h and Makefile, then % echo make | ape/psh but it didn't end there, ruby building process is broken it expects to find files in the current dir which they aren't. thinking that this might had been solved in the cvs I 2) downloaded the latest stable cvs snapshot, same problem, this time I just edited the Makefile by hand, the thing is that to make the extensions a miniruby creates the other Makefile's, which end up broken too! so, I fixed every Makefile by haand and started to compile it what were the changes? 1) APE doesn't have fchown() 2) lot's of casts (char *) != (unsigned char *) 3) the bignum extension divides by 0, it has something like "One()/Zero()"! here the fn() that initializes the extensions, just for you to know which ones are in my ruby void Init_ext _((void)) { init(Init_bigdecimal, "bigdecimal.so"); init(Init_curses, "curses.so"); init(Init_digest, "digest.so"); init(Init_bubblebabble, "digest/bubblebabble.so"); init(Init_md5, "digest/md5.so"); init(Init_rmd160, "digest/rmd160.so"); init(Init_sha1, "digest/sha1.so"); init(Init_sha2, "digest/sha2.so"); init(Init_enumerator, "enumerator.so"); init(Init_etc, "etc.so"); init(Init_fcntl, "fcntl.so"); init(Init_wait, "io/wait.so"); init(Init_nkf, "nkf.so"); init(Init_openssl, "openssl.so"); init(Init_pty, "pty.so"); init(Init_cparse, "racc/cparse.so"); init(Init_sdbm, "sdbm.so"); init(Init_stringio, "stringio.so"); init(Init_strscan, "strscan.so"); init(Init_syck, "syck.so"); init(Init_thread, "thread.so"); init(Init_zlib, "zlib.so"); } I'll clean it up, create some nice mkfiles and put it in my contrib oh, btw, I won't send a diff to the author saying "dude, char * isn't the same as unsigned char *!" Federico G. Benavento PS: yes, I know it's confusing --- /bin/fortune: The problem is not getting ksh to execute any particular command, the problem is recognizing that there might be a problem. ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [9fans] Re: ruby port 1.8.1 ready to use 2008-01-10 9:11 ` Federico G. Benavento @ 2008-01-10 19:52 ` ron minnich 2008-01-10 20:06 ` Pietro Gagliardi 2008-01-10 22:37 ` Federico G. Benavento 0 siblings, 2 replies; 17+ messages in thread From: ron minnich @ 2008-01-10 19:52 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs On Jan 10, 2008 1:11 AM, Federico G. Benavento <benavento@gmail.com> wrote: > oh, btw, I won't send a diff to the author saying "dude, char * isn't the same > as unsigned char *!" I will if you want me to. Maybe he'll ask me to fix his laptop. ron ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [9fans] Re: ruby port 1.8.1 ready to use 2008-01-10 19:52 ` ron minnich @ 2008-01-10 20:06 ` Pietro Gagliardi 2008-01-10 20:15 ` ron minnich 2008-01-10 21:11 ` Russ Cox 2008-01-10 22:37 ` Federico G. Benavento 1 sibling, 2 replies; 17+ messages in thread From: Pietro Gagliardi @ 2008-01-10 20:06 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs Does anyone have any details on POSIX threads in APE? I looked in Trickey's paper but it doesn't say much. Without it, Ruby does not compile (the new VM needs it). On Jan 10, 2008, at 2:52 PM, ron minnich wrote: > Maybe he'll ask me to fix his laptop. Okay, but first you'll need a ticket to Japan. Can you read the language, and any questions? ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [9fans] Re: ruby port 1.8.1 ready to use 2008-01-10 20:06 ` Pietro Gagliardi @ 2008-01-10 20:15 ` ron minnich 2008-01-10 21:02 ` Jack Johnson 2008-01-10 21:11 ` Russ Cox 1 sibling, 1 reply; 17+ messages in thread From: ron minnich @ 2008-01-10 20:15 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs On Jan 10, 2008 12:06 PM, Pietro Gagliardi <pietro10@mac.com> wrote: > Okay, but first you'll need a ticket to Japan. Can you read the > language, and any questions? I'm a US citizen. For these cases, we just talk louder. ron ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [9fans] Re: ruby port 1.8.1 ready to use 2008-01-10 20:15 ` ron minnich @ 2008-01-10 21:02 ` Jack Johnson 2008-01-10 23:31 ` Joel C. Salomon 0 siblings, 1 reply; 17+ messages in thread From: Jack Johnson @ 2008-01-10 21:02 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs On Jan 10, 2008 11:15 AM, ron minnich <rminnich@gmail.com> wrote: > On Jan 10, 2008 12:06 PM, Pietro Gagliardi <pietro10@mac.com> wrote: > > Okay, but first you'll need a ticket to Japan. Can you read the > > language, and any questions? > > I'm a US citizen. For these cases, we just talk louder. English to Louder English = Universal Translator -Jack ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [9fans] Re: ruby port 1.8.1 ready to use 2008-01-10 21:02 ` Jack Johnson @ 2008-01-10 23:31 ` Joel C. Salomon 0 siblings, 0 replies; 17+ messages in thread From: Joel C. Salomon @ 2008-01-10 23:31 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs On Jan 10, 2008 4:02 PM, Jack Johnson <knapjack@gmail.com> wrote: > English to Louder English = Universal Translator So *that's* why all those emails from Mbambmwne Mgumgntu are in ALL CAPS; I was wondering. ;) --Joel ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [9fans] Re: ruby port 1.8.1 ready to use 2008-01-10 20:06 ` Pietro Gagliardi 2008-01-10 20:15 ` ron minnich @ 2008-01-10 21:11 ` Russ Cox 1 sibling, 0 replies; 17+ messages in thread From: Russ Cox @ 2008-01-10 21:11 UTC (permalink / raw) To: 9fans > Does anyone have any details on POSIX threads in APE? I looked in > Trickey's paper but it doesn't say much. Without it, Ruby does not > compile (the new VM needs it). There is no support for POSIX threads in APE. Russ ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [9fans] Re: ruby port 1.8.1 ready to use 2008-01-10 19:52 ` ron minnich 2008-01-10 20:06 ` Pietro Gagliardi @ 2008-01-10 22:37 ` Federico G. Benavento 2008-01-10 22:42 ` Pietro Gagliardi 1 sibling, 1 reply; 17+ messages in thread From: Federico G. Benavento @ 2008-01-10 22:37 UTC (permalink / raw) To: 9fans > I will if you want me to. Maybe he'll ask me to fix his laptop. ok, I can't get make install to work well, + I had to edit some .rb files, since the whole building/installation process uses ruby itself. I tried building it with a standard /sys/include/ape, since I have lot's of libs there (openssl, zlib, curses, etc) and it worked, if you have those it will use them. I can edit rbconfig.rb by hand, but it's deleted when you do "make clean", so if anyone cares: /n/sources/contrib/fgb/tar/ruby.tgz can be diffed against ftp://ftp.ruby-lang.org/pub/ruby/stable-snapshot.tar.gz enjoy! Federico G. Benavento --- /bin/fortune: If I had to choose between System V and 4.2, I'd resign. - Peter Honeyman ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [9fans] Re: ruby port 1.8.1 ready to use 2008-01-10 22:37 ` Federico G. Benavento @ 2008-01-10 22:42 ` Pietro Gagliardi 2008-01-10 22:46 ` Federico G. Benavento 0 siblings, 1 reply; 17+ messages in thread From: Pietro Gagliardi @ 2008-01-10 22:42 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs What version of Ruby are you building? I'm working on 1.9.0. On Jan 10, 2008, at 5:37 PM, Federico G. Benavento wrote: >> I will if you want me to. Maybe he'll ask me to fix his laptop. > > ok, I can't get make install to work well, + I had to edit some > .rb files, since the whole building/installation process uses ruby > itself. > I tried building it with a standard /sys/include/ape, since I have > lot's > of libs there (openssl, zlib, curses, etc) and it worked, if you > have those > it will use them. > > I can edit rbconfig.rb by hand, but it's deleted when you do "make > clean", > so if anyone cares: > /n/sources/contrib/fgb/tar/ruby.tgz can be diffed against > ftp://ftp.ruby-lang.org/pub/ruby/stable-snapshot.tar.gz > > enjoy! > > Federico G. Benavento > > --- > /bin/fortune: > If I had to choose between System V and 4.2, I'd resign. - Peter > Honeyman > ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [9fans] Re: ruby port 1.8.1 ready to use 2008-01-10 22:42 ` Pietro Gagliardi @ 2008-01-10 22:46 ` Federico G. Benavento 2008-01-10 23:46 ` Pietro Gagliardi 0 siblings, 1 reply; 17+ messages in thread From: Federico G. Benavento @ 2008-01-10 22:46 UTC (permalink / raw) To: 9fans > What version of Ruby are you building? I'm working on 1.9.0. >> /n/sources/contrib/fgb/tar/ruby.tgz can be diffed against >> ftp://ftp.ruby-lang.org/pub/ruby/stable-snapshot.tar.gz ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [9fans] Re: ruby port 1.8.1 ready to use 2008-01-10 22:46 ` Federico G. Benavento @ 2008-01-10 23:46 ` Pietro Gagliardi 0 siblings, 0 replies; 17+ messages in thread From: Pietro Gagliardi @ 2008-01-10 23:46 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs You're working with 1.8.6, which is the latest stable. Unfortunately, 1.9.0, the latest version, is what I am using, and it needs some sort of thread library. Are there any special requirements for linking the Plan 9 libraries into APE so I can do so myself? On Jan 10, 2008, at 5:46 PM, Federico G. Benavento wrote: >> What version of Ruby are you building? I'm working on 1.9.0. > >>> /n/sources/contrib/fgb/tar/ruby.tgz can be diffed against >>> ftp://ftp.ruby-lang.org/pub/ruby/stable-snapshot.tar.gz > ^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2008-01-10 23:46 UTC | newest] Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2008-01-07 10:00 [9fans] ruby port 1.8.1 ready to use prem 2008-01-07 16:57 ` ron minnich 2008-01-07 23:41 ` Christopher Nielsen 2008-01-08 13:40 ` [9fans] " prem 2008-01-10 2:28 ` Pietro Gagliardi 2008-01-10 2:36 ` Pietro Gagliardi 2008-01-10 9:11 ` Federico G. Benavento 2008-01-10 19:52 ` ron minnich 2008-01-10 20:06 ` Pietro Gagliardi 2008-01-10 20:15 ` ron minnich 2008-01-10 21:02 ` Jack Johnson 2008-01-10 23:31 ` Joel C. Salomon 2008-01-10 21:11 ` Russ Cox 2008-01-10 22:37 ` Federico G. Benavento 2008-01-10 22:42 ` Pietro Gagliardi 2008-01-10 22:46 ` Federico G. Benavento 2008-01-10 23:46 ` Pietro Gagliardi
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).