Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: "Ralf Habacker" <Ralf.Habacker@saght.tessag.com>
To: "Cygwin" <cygwin@cygwin.com>
Cc: "Don Sharp" <dwsharp@iee.org>
Subject: AW: Apache 1.3.9 builds but won't serve
Date: Thu, 10 May 2001 08:28:05 +0200
Message-ID: <001d01c0d91a$5f350060$6e032bb7@BRAMSCHE>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
In-Reply-To: <3AF94C77.FBB8AFAB@iee.org>
Importance: Normal

> -----Ursprüngliche Nachricht-----
> Von: cygwin-owner@sources.redhat.com
> [mailto:cygwin-owner@sources.redhat.com]Im Auftrag von Don Sharp
> Gesendet am: Mittwoch, 9. Mai 2001 15:56
> An: gnuwin32
> Betreff: Apache 1.3.9 builds but won't serve
>
> Greetings,
> 	I have built Apache 1.3.9 from a
> ./configure --enable-rule=SHARED_CORE
>
> as per the README.cygwin
>
> It builds OK after the following patch is made
>
> *** src/support/logresolve.c.old	Mon Jul 13 12:33:00 1998
> --- src/support/logresolve.c	Thu May  3 12:01:14 2001
> ***************
> *** 96,102 ****
> --- 96,106 ----
>    */
>
>   #ifndef h_errno
> + #ifdef __CYGWIN__
> + #include <netdb.h>
> + #else
>   extern int h_errno; /* some machines don't have this in their headers
> */
> + #endif
>   #endif
>
>   /* largeste value for h_errno */
>
> The .exes, (and the .dll) have to be copied to /usr/local/apache/bin by
> hand.
>
> Although it starts up OK, pointing my browser at
> http://localhost/
> doesn't get me the test web page, the request times out.
>
> Have I forgotten something?
>
> Cheers
>
> Don Sharp
>
Does the dll provides any global vars and does this vars are defined with
__declspec(dllexport) ?
If no and you don't like to patch every header, you need an ld with the
auto-import-patch from Paul Sokolovsky.
If you like, I can send you an archiv which a patched ld version.

Regards

Ralf Habacker
EMail: Ralf@habacker.de
       Ralf.Habacker@saght.tessag.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

