delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/02/15/02:18:58

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9046D3858D20
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to
:cc; bh=ez9NCBwtxRJ1uNK3hyPdLlkOCver7TYoDotZMPIzRFc=;
b=HDJxT484LkqZvaJu3kpTW/2qYrc0zXRtiTzDuEyOI8wpZpFDD3kqC44ROcNJnJWxXu
HfFYlRVDqf7uxt9L0RTfpRaIJwqa1rrIzOvD9jqHOd0rU4bh1x9VOsSYq+svnRF+LaPZ
7QvTWMGp0Me5JqK2oxE8KIHrUqxqGTcsTYY9K64lOiO2Xh7mo9zgOuVCUtZUNQ2fi59k
Npgm45dwNuipg5olk/tMG2EngB+LYzLkJa7mjsw0u3gRgSLTcseJb3E0JGfxHTEOJfKX
VIdPnmvSSoTei82W65/4E8pzHxthnLFPY8J8bUiYDDiOl/O4GXD3/KDpvOnoKtnmcGKI
AosA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=ez9NCBwtxRJ1uNK3hyPdLlkOCver7TYoDotZMPIzRFc=;
b=wdZDsUkY6fK0SKb+E2o31cAtLw/NOITVOhKCrkoJbNAn8//7kZEGR3fm7ai2EFfUNr
zQlYWYg19LbjDmNzAq/p1cfGNmUkrZdWomJtG0TVM/XHqGqaUKQkAUj6qw5yceG3LEYj
08n4bZx5XmBQgbuPIQ6OqFkjtzLDx0iBfxAxuMCBcJ2Fn87gYrLdzh/8p/3aCsTc7j9L
vE9Ge6sojSsSZu1DQmaI2he8f4MwtgkdKnhCOxEZHSYxoetxkyGrtCQ60MvumtvJct8R
mxMupBSVU666zTQIc/zsJqI0ruDnuFXUXtX0VrREEqgS2AVd2EB6ARDHX9so+PpvzXqT
2tqg==
X-Gm-Message-State: AOAM530rxrO1wzwLcpFrFgJZJmgkAhuKBn+UhbnHy74bdXQTcq/PwoqM
EmcDMrqVMad2xV3SvS4hJBjqPkzIP1qpTXR4gmA=
X-Google-Smtp-Source: ABdhPJy4hvw7VpCWS1zTkk7L479x9yzW+RSbbt/J8yfZoH8xAwNdfrC3QB6wHEUvZrk4aEFTelEeB5zoIzZFOAVV1TM=
X-Received: by 2002:aca:5f44:0:b0:2ce:6ee7:2cb6 with SMTP id
t65-20020aca5f44000000b002ce6ee72cb6mr1068548oib.228.1644909496704; Mon, 14
Feb 2022 23:18:16 -0800 (PST)
MIME-Version: 1.0
References: <CAMy1L1AYCu-M-ZyeoDtR_=k-jK7MmVyUuB3Y0xDyS9wNqQep6A AT mail DOT gmail DOT com>
In-Reply-To: <CAMy1L1AYCu-M-ZyeoDtR_=k-jK7MmVyUuB3Y0xDyS9wNqQep6A@mail.gmail.com>
From: Russell VT <russellvt AT gmail DOT com>
Date: Mon, 14 Feb 2022 23:17:59 -0800
Message-ID: <CANV2+nUQrd-wU170JMcN4bji9kzAp6uOGfnaRAQNauWHkLetOQ@mail.gmail.com>
Subject: Re: Trouble trying to compile apache2
To: Scott Wood <treii28 AT gmail DOT com>
X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Cc: cygwin AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On Mon, Feb 14, 2022 at 2:26 PM Scott Wood <treii28 AT gmail DOT com> wrote:

> I'm trying to compile a current version of apache2 httpd under the cygwin64
> environment. There is an older version of apache2 compiled in cygwin but
> it's orphaned and didn't include some of the ssl libs I needed.
>

Well, I wouldn't call it "orphaned" ... it's just a few dot revisions
behind. Both 2.4.29 and 2.4.25 seem to be in the package list, and current
is 2.4.52 (2021/12/20)

In order to get TLS 1.3 / OpenSSL 1.1.1, you'll want 2.4.43+ (which I
assume is effectively what you're saying, here).

Strangely enough, OpenSSL 1.1.1m is already in the Cygwin setup.

I think the "easiest" is just to ask the package maintainer to update the
Cygwin repo. If you want to compile it yourself, you may want to check the
package repository to see what options they used, previously, to get a
successful build.

When I try to compile it's failing when trying to compile the
> mod_cache_disk module:
>

That said, the nightly builds of mod_cache_socache (under mod_cache) for
Apache also seem to have had issues, perhaps since Apache 2.4.34 (that may
have just been "Arch" though ... I didn't dig too hard).

You might need to verify you're getting the right module and/or the module
code, especially if you're downloading this as an outside module. Your
compilation dump seems to be complaining it can't find the symbols... which
means you may need mod_cache, just to start.

Ref: https://nightlies.apache.org/httpd/trunk/doxygen/group__MOD__CACHE.html

Hope that helps in some fashion...

Russell VT


Oh damn... I didn't see this prior to my reply, above (because of the long
stack trace posted, here).

Digging up the old version in the cygwin ports, I found the patch files,
> but trying to manually apply a patch to the modules/cache/config.m4 didn't
> seem to fix the problem. It appears the patch is saying that the symbols
> I'm getting the errors upon exist in the 'main cache module' and thus it's
> changing a value of 'cache_disk_objs' in the m4 file to include mod_cache
> symbols when compiling/linking mod_disk_cache (but as you can see above,
> there appears to be no mention of mod_cache.* anything in the gcc or linker
> calls for mod_disk_cache)
>
> patched lines from modules/cache/config.m4 is primarily adding cygwin to
> the OS/2 rule:
>
...


-- 
Russell M. Van Tassell <russellvt AT gmail DOT com>

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

- Raw text -


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