fortinp@bwdls56.bnr.ca (Pierre Fortin) (02/14/91)
Has anyone tried setting up perl (by Larry Wahl) on MINIX? On MINIX ST 1.5.10.3, I have the following problems just trying to get the Configure program to run: 1. Where Configure tries to run awk to verify the files, I get a message like "awk: too many arguments" (I don't recall the exact text). I traced this as far back as the E2BIG error coming from the library. OK, easy bypass: comment out that line. 2. Configure has a "while" loop which gets executed continuously until the system complains about too many files opened. :^( This one is nasty; I traced it to the shell "read" command which appears to get skipped/executed depending on which part of the Configure code it's in. The strange part is that apparently identical code in one section works, while it fails in another. In the case where it fails, "read ans" leaves $ans completely untouched. So far, I've not been able to determine the magic incantation which decides whether "read" will work/fail; it's certainly not obvious (to me anyway). Has anyone managed to get past the Configure program on perl (or any other program) on a current version of MINIX? I will appreciate any assistance... Cheers, Pierre Fortin fortinp@bnr.ca (613)763-2598
meulenbr@cst.prl.philips.nl (Frans Meulenbroeks) (02/14/91)
In the past I looked at perl too. I don't think configure will run under minix. As you already found out awk and sh are just not good enough. I believe expr also caused problems, but maybe that's fixed by now. I tried this more than a year ago. Anyway, I just ran configure on a Sun, and hand edited the changes required for minix. That seemed to be the fastest way. Unfortunately, that will not give you perl. Perl relies on the existence of things like floating point and so on, which is not available with the MINIX C compiler. Of course if you use gcc and a PD lib, you might get somewhere. Let me know if you succeed. -- Frans Meulenbroeks (meulenbr@cst.prl.philips.nl) Centre for Software Technology