From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x233.google.com (mail-oi1-x233.google.com [IPv6:2607:f8b0:4864:20::233]) by sourceware.org (Postfix) with ESMTPS id 9046D3858D20 for ; Tue, 15 Feb 2022 07:18:18 +0000 (GMT) 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 Received: by mail-oi1-x233.google.com with SMTP id x24so132131oie.9 for ; Mon, 14 Feb 2022 23:18:18 -0800 (PST) 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: In-Reply-To: From: Russell VT Date: Mon, 14 Feb 2022 23:17:59 -0800 Message-ID: Subject: Re: Trouble trying to compile apache2 To: Scott Wood Cc: cygwin@cygwin.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 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Feb 2022 07:18:20 -0000 On Mon, Feb 14, 2022 at 2:26 PM Scott Wood 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