# 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
---
Then you'll probably see an error in the tests where M::B is trying to
preserve all of that from when you ran "perl Build.PL" onward.
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.
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.
--Eric
--
"Left to themselves, things tend to go from bad to worse."
--Murphy's Corollary
---------------------------------------------------
http://scratchcomputing.com
---------------------------------------------------