On 7/31/06, Eric Wilhelm <[EMAIL PROTECTED]> wrote:
# from Jay Truesdale
# on Monday 31 July 2006 11:54 am:
>On Suse I can build M::B just fine. I was going to try and update bash
>on Centos to a later version and see if the problem was solved, but I
>have not gotten back to that.
It's not a bash problem. It's a kernel issue. More specifically, it's
an issue where the distroy has defined way too many @INC entries and/or
other environment variables, but if your kernel is compiled as:
---
// include/linux/binfmts.h
/*
* MAX_ARG_PAGES defines the number of pages allocated for arguments
* and envelope for the new program. 32 should suffice, this gives
* a maximum env+arg of 128kB w/4KB pages!
*/
#define MAX_ARG_PAGES 32
---
Yes, this is how it is defined on Centos.
Ksh failed as well, so it's not bash.
The @INC entries are 1176 bytes from this command: perl -le 'print for
@INC'|wc -m
You could bump that number to something bigger and rebuild the kernel,
but there's a more direct solution somewhere in M::B's code or test
suite.
I'll try the new kernel route.
So, upgrading bash won't help. I'm sure we can find a way to solve it,
but I don't think anyone on the list has had a centos/redhat box to
test on.
Well, you can download CentOS for free... <grin>
I have a spare box to test with if you can let me know what to do/try.