delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/02/13/23:59:44

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.3.2 sourceware.org 503C43858024
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=SystematicSw.ab.ca
Authentication-Results: sourceware.org;
spf=none smtp.mailfrom=brian DOT inglis AT systematicsw DOT ab DOT ca
X-Authority-Analysis: v=2.4 cv=MaypB7zf c=1 sm=1 tr=0 ts=6028ae38
a=kiZT5GMN3KAWqtYcXc+/4Q==:117 a=kiZT5GMN3KAWqtYcXc+/4Q==:17
a=IkcTkHD0fZMA:10 a=uYT-Tk0qkVT609LjNaIA:9 a=QEXdDO2ut3YA:10
Subject: Re: compilation errors trying to build unzip on cygwin
To: cygwin AT cygwin DOT com
References: <CAGB_HuTwX8t78dufYdvRAc5uX5dpGuc7RwJ2c0U=g_GiUg=doQ AT mail DOT gmail DOT com>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Organization: Systematic Software
Message-ID: <879d697e-6d01-eda2-724a-975beab17104@SystematicSw.ab.ca>
Date: Sat, 13 Feb 2021 21:59:34 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.7.1
MIME-Version: 1.0
In-Reply-To: <CAGB_HuTwX8t78dufYdvRAc5uX5dpGuc7RwJ2c0U=g_GiUg=doQ@mail.gmail.com>
X-CMAE-Envelope: MS4xfGXnCKjUUwcFcftVKbqoiTfbZeudrt3/NTeOeEN0d6k6dsUf2HgPYS97wEPocja18MV31PvyO0E1k66ssRmVCE74RP9yEIUPlOvjVlwXSC7oMJnL8zDr
9Ch663dbIaHWitAt0ouc3SqhWvpNsmvWPFxyNKo/y8P+8967sNXq0WBRwAxhkcvt1G2AUmuQs+t8/pwaC0qYOvZNZK/PiZ9YXNU=
X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,
RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE,
TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
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-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
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>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On 2021-02-13 19:34, Soren via Cygwin wrote:
> Hi, again. I sent a request for help with this build. Then I put on my
> thinking cap and snatched in the cygwin src for this pkg, which is new
> (6.0). Yet I still cannot build. Thus, here is the output on my console:
> But first, weirdly we are finding a different make:
> $  which make
> /usr/bin/make
>   ((alright))
> $ make -f unix/Makefile cygwin
> C:/ix/gnuwin32/bin/make unzips CC=gcc LD=gcc AS=gcc\
>           CFLAGS="-O3 -DASM_CRC -DNO_LCHOWN -DNO_LCHMOD"\
>           AF="-Di386  " CRCA_O=crc_gcc.o\
>           E=".exe" CP="cp" LN="ln -s"
> C:\ix\gnuwin32\bin\make: invalid option -- A
> C:\ix\gnuwin32\bin\make: invalid option -- M
> C:\ix\gnuwin32\bin\make: invalid option -- _
> C:\ix\gnuwin32\bin\make: invalid option -- N
> C:\ix\gnuwin32\bin\make: invalid option -- O
> C:\ix\gnuwin32\bin\make: invalid option -- _
> C:\ix\gnuwin32\bin\make: invalid option -- N
> C:\ix\gnuwin32\bin\make: invalid option -- O
> C:\ix\gnuwin32\bin\make: invalid option -- _
> Usage: make [options] [target] ...
> Options:
>   ...
> 
> My PATH before cygwin manages it looks like:
> [1] C:\windows\system32
> [2] C:\windows
> [3] C:\windows\System32\Wbem
> [4] C:\windows\System32\WindowsPowerShell\v1.0\
> [5] C:\windows\System32\OpenSSH\
> [6] C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
> [7] C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR
> [8] C:\ix\putty\
> [9] C:\perl\c\bin
> [10] C:\perl\perl\site\bin
> [11] C:\perl\perl\bin
> [12] C:\ix\gnuwin32\bin
> [13] C:\Users\somia\AppData\Local\Microsoft\WindowsApps
> [14] C:\ix\mingw\bin
> [15] C:\Perl\bin
> 
> After diving into Cygwin-dom:
> PATH=/usr/local/bin:/usr/bin:/cygdrive/c/windows/system32:/cygdrive/c/windows:/cygdrive/c/windows/System32/Wbem
> :/cygdrive/c/windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/windows/System32/OpenSSH:/cygdrive/c/Program
> F
> iles (x86)/NVIDIA Corporation/PhysX/Common:/cygdrive/c/Program Files/NVIDIA
> Corporation/NVIDIA NvDLISR:/cygdriv
> e/c/ix/putty:/cygdrive/c/perl/c/bin:/cygdrive/c/perl/perl/site/bin:/cygdrive/c/perl/perl/bin:/cygdrive/c/ix/gnu
> win32/bin:/cygdrive/c/Users/somia/AppData/Local/Microsoft/WindowsApps:/cygdrive/c/ix/mingw/bin:/cygdrive/c/Perl
> /bin
> 
> Hmmm, right? Why would make spawn submakes that don't come earlier in PATH?

Install cygport, libbz2-devel, and any other unzip build dependencies, then in 
the source unzip.cygport directory, run:

	$ cygport unzip.cygport download all check

and you should have a successful build in five minutes or less.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]
--
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