On Tue, Apr 22, 2008 at 01:09:10PM -0600, Jeremy Huntwork wrote: > I removed the line where it includes the header and Perl built > successfully and all tests passed. This is also what Gentoo does: > https://bugs.gentoo.org/show_bug.cgi?id=168312 > > However, there's likely a better and more robust solution. I haven't dug > any deeper yet.
Actually, removing the line may just be good enough. PAGE_SIZE doesn't really seem to be used anywhere relevant: grep PAGE_SIZE . -R ./ext/IPC/SysV/SysV.xs:/* Required in BSDI to get PAGE_SIZE definition for SHMLBA. ./os2/os2.c: "PAGE_SIZE", ./os2/Changes: MAX_WAIT, MIN_SLICE, MAX_SLICE, PAGE_SIZE, ./pod/perl571delta.pod:For getpagesize(), though you should prefer POSIX::sysconf(_SC_PAGE_SIZE)) ./README.os2: MAX_WAIT, MIN_SLICE, MAX_SLICE, PAGE_SIZE, ./perlio.c:#if defined(HAS_SYSCONF) && (defined(_SC_PAGESIZE) || defined(_SC_PAGE_SIZE)) ./perlio.c: page_size = sysconf(_SC_PAGE_SIZE); -- JH -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page