[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg bootstrapping



On Wed, 13 Mar 2002, Adam Heath wrote:

> ps: I note you are not using mmap(the above line is #ifdef'd out when mmap is
> enabled.  Does aix not work with mmap?
> 
Adam,

	I think I see the problem. Here is the doc to the mmap function on
AIX :
http://publib.boulder.ibm.com/doc_link/en_US/a_doc_lib/libs/basetrf1/mmap.htm
. I compiled and ran the program that 'configure' uses to test for mmap,
and found that it fails with an ENOMEM. Of the two explanations mentioned
on the page above, the second one seems to match the current situation.

	Some random thoughts on the matter : (1) dpkg might not be using
mmap to map over an existing mmap and so this test might not be valid. I
dont know if this is the case - I'll have to investigate this further. (2)
The test is an accurate assessment of the mmap deficiencies on AIX - in
which case I'll either have to live without mmap, or figure out how to
request "X/Open UNIX95 Specification compliant bahavior" - whatever that
means. The AIX docs are silent on what that means. I guess I'll have to
head over to the good 'ol library to look up the X/Open specs.

Regards,
Jor-el



Reply to: