public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: wynfield@gmail.com
To: <cygwin@cygwin.com>
Subject: Build Failure for APR library
Date: Sat, 14 Sep 2013 15:31:00 -0000	[thread overview]
Message-ID: <20130914221822.2588@binki> (raw)



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

             reply	other threads:[~2013-09-14 13:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-14 15:31 wynfield [this message]
2013-09-14 21:48 ` David Rothenberger
2013-09-15 13:08   ` wynfield
2013-09-15 17:04   ` wynfield
2013-09-15 19:37     ` David Rothenberger
2013-09-16  9:56       ` d.henman
2013-09-16 16:52         ` Larry Hall (Cygwin)
2013-09-17  6:35           ` wynfield
2013-09-17 13:38             ` Larry Hall (Cygwin)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130914221822.2588@binki \
    --to=wynfield@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).