From: Brendan Oakley Date: 2008-09-18T23:37:31+09:00 Subject: [ruby-core:18707] Re: Ruby for OS/2 Maintainer ------=_Part_17499_16114029.1221749108891 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello. I am reporting back with results on building Ruby on OS/2 (eComStation). Apparently, Ruby 1.9.0 requires a working Ruby to build. So I have not gotten very far with it, yet. Ruby 1.8.7 failed to compile. i did not look at it closely because I decided to re-try 1.8.6 first. Ruby 1.8.6 builds, and passes 'make test'. I am attaching a small patch which updates the compile and link flags for the more recent toolchain. It should be applicable to the 1.8.7 and 1.9.0 branches as well. The problem, and the reason I'd had trouble with rubygems before, is that the 'ext' libs do not build. There seem to be some odd general issues with this process. I expected to be able to comment libs out in setup.emx to skip them, but this had no effect. I also tried various --disable- switches without any luck. Am I missing something? Perhaps to make this work smoother I might need to debug and repair some of this build process? Some of the strange things I encountered did not appear necessarily platform-specific. A friend of mine was able, with some effort, to build the libs statically into ruby.exe, but then encountered some errors with 'make test' that needed to be fixed. I am still working on reproducing what he did. He was able to fix much of it, so when complete I will provide a patch for that. As for threads_.c, it turns out we do have an implementation of pthreads, so if I understand correctly that should be covered. So, what remains at this point: - Fix issues with 'ext' libs on 1.8.6 - Correct the process of building the 'ext' libs statically - Get 1.8.7 and 1.9.0 branches to compile - Work on fixing the results of 'make test-all'. Please let me know if there is something else I should look at, or if anything is of particularly high priority, or what else I need to do so that my efforts prevent the removal of OS/2 from Ruby. Thanks. Brendan ------=_Part_17499_16114029.1221749108891 Content-Type: application/octet-stream; name=ruby186-os2-1.patch Content-Transfer-Encoding: base64 X-Attachment-Id: f_fl8wvcee0 Content-Disposition: attachment; filename=ruby186-os2-1.patch SW5kZXg6IGNvbmZpZ3VyZS5pbg0KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KLS0tIGNvbmZpZ3VyZS5pbgkocmV2aXNp b24gMTk0MDIpDQorKysgY29uZmlndXJlLmluCSh3b3JraW5nIGNvcHkpDQpAQCAtMTE1OSw3ICsx MTU5LDcgQEANCiAJaGl1eG1wcCkJOiAke0xEU0hBUkVEPSdsZCAtcid9IDs7CiAJYXRoZW9zKikg CTogJHtMRFNIQVJFRD0iJENDIC1zaGFyZWQifQogCQkJcmJfY3ZfZGxvcGVuPXllcyA7OwotCW9z Mi1lbXgqKQlMREZMQUdTPSIkTERGTEFHUyAtWmJzZC1zaWduYWxzIgorCW9zMi1lbXgqKQlMREZM QUdTPSIkTERGTEFHUyAtWm9tZiIKIAkJCTs7CiAJKikgCQk6ICR7TERTSEFSRUQ9J2xkJ30gOzsK ICAgZXNhYwpAQCAtMTQ4Nyw3ICsxNDg3LDcgQEANCiAJTUlOSU9CSlM9ZG15ZGxuLm8KIAk7Owog ICAgIG9zMi1lbXgpCi0gICAgCUNGTEFHUz0iJENGTEFHUyAtRE9TMiAtWm10cyIKKyAgICAJQ0ZM QUdTPSIkQ0ZMQUdTIC1ET1MyIgogCUxJQlJVQllfQT1gZWNobyAkTElCUlVCWV9BIHwgc2VkICdz L15saWIvLydgCiAJTElCUlVCWV9TTz1gZWNobyAkTElCUlVCWV9TTyB8IHNlZCAncy9ebGliLy8n YAogCUxJQlJVQllfQUxJQVNFUz1gZm9yIGkgaW4gJExJQlJVQllfQUxJQVNFUzsgZG8gZWNobyAi JGkiOyBkb25lIHwgc2VkICdzL15saWIvLydgCg== ------=_Part_17499_16114029.1221749108891--