Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: dev AT apr DOT apache DOT org Cc: cygwin AT cygwin DOT com, dev AT subversion DOT tigris DOT org Subject: cygwin: when `crypt' is not installed, configuring apr fails with `decision on anonymous shared memory allocation method... FAILED' From: Eric Hanchrow Date: 10 Apr 2003 14:44:58 -0700 Message-ID: <8765pm3u3p.fsf@blarg.net> Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii This is apr version 0.9.2. I'd downloaded `subversion' (version 0.20.1, if it matters), which includes a copy of apr. I didn't have the `crypt' package installed, because I didn't know that I needed it. `configure' failed like the Subject line says. Once I installed the `crypt' package, everything worked fine. I suspect the problem is that, on Cygwin, build/apr_hints.m4 unconditionally adds `-lcrypt' to LIBS; since I didn't have that library, its test for the presence of `mmap' and `munmap' failed at link time, and `configure' incorrectly assumed that the reason for the failure was the lack of those functions. (In fact, the reason was the lack of the `crypt' library.) It's not clear that the `crypt' library is necessary. If it isn't necessary, then of course the fix is to remove the APR_ADDTO. But if it is, then ideally configure should die with a message to the effect of "-lcrypt is required". -- People studying literature rarely say anything that would be of the slightest use to those producing it. -- Paul Graham -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/