delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/22/11:42:16

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <4290A88A.FDC1C1F1@dessent.net>
Date: Sun, 22 May 2005 08:43:06 -0700
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: trying to compile mod_dosevasive with cygwin and getting errors
References: <d6q62t$jqb$1 AT sea DOT gmane DOT org> <4290A40F DOT A426EB55 AT dessent DOT net> <d6q8ic$ptf$1 AT sea DOT gmane DOT org>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

Tony Guadagno wrote:
> 
> Brian,
>   Thanks for the reply.  I found this article.  it references cyghttpd.dll that needs to be linked in.  The article is old and I cannot find this dll in my installation.  Do I have to link in a cygwin lib with the apxs script to make this work?

First of all, that article is about Apache 1.3 which is vastly different
from Apache 2.  I suggest that if you plan to use Apache under Cygwin
you use 1.3, because it is known to work, whereas people have reported
problems getting 2.x running.

cyghttpd.dll is included with the apache-1.3 package.  Unfortunately,
the maintainer failed to include the import library libhttpd.dll.a for
this, which is normally required if you want to link with -lhttpd.  So,
because of this you have to link against the dll directly by adding
/usr/bin/cyghttpd.dll to the link path.  But again, this is with 1.3. 
All bets are off for 2.x, you're on your own there.

However, the error you reported has nothing to do with a missing DLL or
library, it's simply telling you that the script is looking for a
mod_dosevasive20.so when it's probably named mod_dosevasive20.dll.  If
the file is being successfully built you can probably copy it into the
apache module dir, add the appropriate config lines to activate it, and
see what happens.  That is all that apxs really is doing.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019