delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/05/27/07:42:44

DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 44RBgiMM671100
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=mx+Ocxef
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8C93D3883008
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1716810163;
bh=9eOomHws97G6nNqC/7/xxqVpC7+OXtYCXtoW9N5YQIk=;
h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=mx+OcxefhHA/+GTE6vJV68vZUUztCfEjJpH1ESPmhjDaGB9WLgUDWDP4MgB74SJ3V
XULWyGCkApxWGSXen+R3ai4+3R+V94KnvhNF5fo7NxhLmV73KlYXjs9CtGJ+6S7ngp
Y345DsnfWa+8Jdiyow62MoY5pZRzUPrVeOn0wZmw=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 24A6B3858D39
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 24A6B3858D39
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716810106; cv=none;
b=P8TIseLjSDSTEqEIu7cxWf/YvxQFj8jGaKZ9JiWVZ65K7KTeEtZWn018oFFHUWlCVY10mK1hEbMW3tITen4phXCSDxfADUxMzwjdyO8uBM+NIsZ0CkYFdSIUagkMEOd/MCMWk/NI15SPvh1cEo6okXHvuGE23MwbWGuv0i/gT1M=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1716810106; c=relaxed/simple;
bh=ECL9uMrbVsrsJI04RFW3jVKJel3LClSaqjmfTOaSOlE=;
h=MIME-Version:From:Date:Message-ID:Subject:To;
b=C30z3LYxtn0qwcnrJePOlTGGIyQTMj6KrROj8hsblthsLH3d9yOEVnWT6kHzZzsIpUW889XZc/l+bd3+0U1asUghFCo0ENCdlWqNT04Qyn/B0bojzJBaz0Pl1BItvuWJbTSQlKnJ4T2UnELhwh6oMgLQIb7J8Dq0qe4y8Oxe/OI=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1716810104; x=1717414904;
h=content-transfer-encoding:to:subject:message-id:date:from
:in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
:subject:date:message-id:reply-to;
bh=OZNHvBqjg7j+oPkwXJFZ2S9XTSVnHWrfcARk3o4NB28=;
b=UOml7fIOBZdfp9DyORjEmmPH8w/5LPhCzAhmifdGUSCEtSUXdiuJr+ScGRp9MIyCcW
4SqHvPqVKhPjc3MtJjoPitaTJNJJUAZWUcV9OjSuHyqjDTIQqCrKQHaK3lTujgxCWDXw
THWt8DDGVb3JaI4hvqYdvNi5dqJnLtx76v3Qgch43y56IO+nh1UtnE3Tr8FQGSD3G5JB
PJhW2Rj5wU6XTfYa0NHqqxGLbbeNhegcwsoywxre5VtJyjYKJUSwOu4cfeu5PaQsEr6a
/C636bDzB/S3DaYBjlftPBgxHqeKqlaww40HbmCpgZUZe9MnhbcifSX9Z54pU0byxe2T
2znw==
X-Gm-Message-State: AOJu0YzRuuys+UIFh1DhBMV7dLk+43YT3KEFNQgyTkXdSuPeG4TWxk8M
2YwzUSykZQhnOdQAyXJKvXUJwNqJY/ijR1/K3sZA8q7WuKDKPjDwTWZYayKjrkLtC0AmG5QwAnA
bbXVYXOgI5PzDW/JC70cmSsxTeou+sWEC
X-Google-Smtp-Source: AGHT+IHggsi+QMafgICfyK8E/1NFYjoxrspUOeOqv2e4vyqQDK9pCo/SRN1MBgMWL8wqC8YQPm2u/1lSqambXG05sV8=
X-Received: by 2002:a5d:9304:0:b0:7e1:8dad:20fb with SMTP id
ca18e2360f4ac-7e8c451dc38mr1105414939f.4.1716810103907; Mon, 27 May 2024
04:41:43 -0700 (PDT)
MIME-Version: 1.0
References: <CAKAoaQnxxoTWw+bKDbaFVAjDYgM5yKEadF-xutVe8eOt8c0cKw AT mail DOT gmail DOT com>
In-Reply-To: <CAKAoaQnxxoTWw+bKDbaFVAjDYgM5yKEadF-xutVe8eOt8c0cKw@mail.gmail.com>
Date: Mon, 27 May 2024 13:41:17 +0200
Message-ID: <CAKAoaQ=oysrMQpLJDwrFT1fGSi0kMtEna8UotvixZ0eGW7B51A@mail.gmail.com>
Subject: Re: Cygwin setup-x86_64.exe cannot install into UNC paths...
To: cygwin AT cygwin DOT com
X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,
FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,
KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,
SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
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>
From: Roland Mainz via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Roland Mainz <roland DOT mainz AT nrubsig DOT org>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 44RBgiMM671100

On Mon, May 27, 2024 at 1:11 PM Roland Mainz <roland DOT mainz AT nrubsig DOT org> wrote:
> I tried to install Cygwin on a network share using the UNC path name
> (e.g. \\derfwnb4966_ipv4 AT 2049\nfs4\storagetek\cygwintest001\), but got
> this response: "The install directory must be absolute, with both a
> drive letter and leading slash, like C:\Cygwin" ...
> ... is it possible to remove this restriction, so Cygwin can be
> installed into UNC paths, please ?

Quick&dirty workaround:
$ subst W: '\\derfwnb4966_ipv4 AT 2049\nfs4\storagetek\cygwintest001\' # ...

... but then all hell breaks loose:
--------- snip --------
# Cygwin version globally installed in C:\cygwin64 is
"3.6.0-0.115.g579064bf4d40.x86_64"
# Cygwin version installed in W:\ is 3.5.3-release
$ (export PATH=$PWD/bin ; ldd ./bin/file --help)
      1 [main] ldd (9340)
\\derfwnb4966_ipv4 AT 2049\nfs4\storagetek\cygwintest001\bin\ldd.exe: ***
fatal error - fhandler size mismatch detected - 0x290/0x288.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.

$ ldd ./bin/file
        ntdll.dll => /cygdrive/c/Windows/SYSTEM32/ntdll.dll (0x7ffb59ef0000)
        KERNEL32.DLL => /cygdrive/c/Windows/System32/KERNEL32.DLL
(0x7ffb595d0000)
        KERNELBASE.dll => /cygdrive/c/Windows/System32/KERNELBASE.dll
(0x7ffb57a90000)
        cygmagic-1.dll =>
//derfwnb4966_ipv4 AT 2049/nfs4/storagetek/cygwintest001/bin/cygmagic-1.dll
(0x4d9220000)
        cygwin1.dll =>
//derfwnb4966_ipv4 AT 2049/nfs4/storagetek/cygwintest001/bin/cygwin1.dll
(0x7ffb39240000)
        cyglzma-5.dll =>
//derfwnb4966_ipv4 AT 2049/nfs4/storagetek/cygwintest001/bin/cyglzma-5.dll
(0x593420000)
        cygbz2-1.dll =>
//derfwnb4966_ipv4 AT 2049/nfs4/storagetek/cygwintest001/bin/cygbz2-1.dll
(0x5bd7a0000)
        cygz.dll =>
//derfwnb4966_ipv4 AT 2049/nfs4/storagetek/cygwintest001/bin/cygz.dll
(0x597fd0000)
        cygzstd-1.dll =>
//derfwnb4966_ipv4 AT 2049/nfs4/storagetek/cygwintest001/bin/cygzstd-1.dll
(0x5d5150000)
--------- snip --------

Looking at |get_cygwin_startup_info()| - is it possible that somehow
the cygwin1.dll from Cygwin 3.5.3 and Cygwin 3.6 get mixed ?

----

Bye,
Roland
-- 
  __ .  . __
 (o.\ \/ /.o) roland DOT mainz AT nrubsig DOT org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)

-- 
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