This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Build Failure for APR library
- From: wynfield at gmail dot com
- To: <cygwin at cygwin dot com>
- Cc:
- Date: Sat, 14 Sep 2013 22:18:22 +0900
- Subject: Build Failure for APR library
- Authentication-results: sourceware.org; auth=none
I read that Apache would build on Cygwin out-of-the-box, but found out that isn't the case now if it was before. Or my setup is wrong.
I wanted to build:
Apache VERS=2.4.6 which is httpd-2.4.6
This requires the two libraries apr and apr-util
After running configure with a success return code, I attempted to make apr, but it failed with the following message:
I'd reeally appreciate some advice on how to fix this.
Regards
....
from /cygdrive/c/cygwin/usr/src/apache/httpd-2.4.6/srclib/apr/include/arch/unix/apr_private.h:996,
from passwd/apr_getpass.c:22:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:997:46: note: previous declaration of 'getservbyname' was here -----------------
---------------------------------------------
/cygdrive/c/cygwin/usr/src/apache/httpd-2.4.6/srclib/apr/build/apr_rules.mk:202: recipe for target `passwd/apr_getpass.lo' failed
make[1]: *** [passwd/apr_getpass.lo] Error 1
make[1]: Leaving directory `/cygdrive/c/cygwin/usr/src/apache/httpd-2.4.6/srclib/apr'
/cygdrive/c/cygwin/usr/src/apache/httpd-2.4.6/srclib/apr/build/apr_rules.mk:114: recipe for target `all-recursive' failed
make: *** [all-recursive] Error 1
--- end of inserted error message
- stop
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple