delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/04/20/00:13:01

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DEE453858415
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1713586379;
bh=9QSS6+uBFdKwbOXgCR2DErxc2ADPDob73pFa99aVFpM=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=M9P0jWrfld/dr/02VEJijWey/3n6f4ev8NDHIPocXA54K+Nt0Y3MSU3PppS/waZQl
tG+p6Ydh15mF07hY998BBfnh2NIMOlFK5fVeZjGpOhhYPwb5YhNMyvliZHE9kMKS4R
uISrM6CEAp3kGtTNr9a+7vlhJ94iof+9KJ4COji4=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DB68C3858D33
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org DB68C3858D33
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713586360; cv=none;
b=cP5/9b/IXZiODjuLhnoklNfKl0iVDqECLd3kAaQX2s76C8252SAg7HiEXyl0XFANFsZK+yGHPYzdMj0mQuHgPmEED8Q/g/Pc2e218IWXxtgNtNadf6rACS15Ke2yZk3WsQ+GSqCgwy8WIn7Wmbq1bt3n1xuw1EqbcEfI4N86nwY=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1713586360; c=relaxed/simple;
bh=uyUafCBgFxkATx47LfDWAFisdFcrh+d3owfXRk4vzAA=;
h=Message-ID:Date:MIME-Version:Subject:To:From;
b=bWvwAyg9AdrBk0yCodGedhBhwfEVcl+Wy/dHJvITBpCJEy2IbUSG7Hkn5pXsrB+bTCHaPTc0egtmSpwu80s6dWfmQGLTZEugsz3CEW40K/Qg0fzT1Xk9zj+9XAdLDoH9GFiOZcC6kq9bN3YOxyT7Q+qFDmCtBigqYSuxrz6gFPo=
ARC-Authentication-Results: i=1; server2.sourceware.org
Message-ID: <3c0ccdc1-efba-47b9-a840-afb90c200014@SystematicSW.ab.ca>
Date: Fri, 19 Apr 2024 22:12:35 -0600
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: problem with make 4.4.1-2 or gcc-fortran 11.4.0-1
To: cygwin AT cygwin DOT com
References: <CAFDmfcNq0cdHGsNBjk8LDW8XDLQ=Ww=JW17BwDoTBd7ssvLwzg AT mail DOT gmail DOT com>
<41dde458-48e4-4a3e-888e-94ceab735371 AT gmail DOT com>
Organization: Systematic Software
In-Reply-To: <41dde458-48e4-4a3e-888e-94ceab735371@gmail.com>
X-Rspamd-Queue-Id: 14D272000D
X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,
SPF_HELO_PASS, SPF_PASS, TXREP,
UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6
X-Stat-Signature: ur1toa5rkqz5jipax6aipnwfss4dycs8
X-Rspamd-Server: rspamout07
X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361
X-Session-ID: U2FsdGVkX1/xykJ433IQwvCfNDqy8YfEEpR96QaKGj4=
X-HE-Tag: 1713586355-526076
X-HE-Meta: U2FsdGVkX19FAEZo1TQPK9qp0OLCsQRf/udikaF/4XRqk5pXf3Jz26r1akStj/xJblMwW7K+0oJye4azoGlHQgmV9uOxOdNZUrOgNsEh8syCjXKkUFtWw80LaFUza8YHQPj7oSN+8LStY+CfAagfZDEcnQbRNCiDhWiaXDQ2UX57XZHLwD4LoUK8NurgWcRHvJCLbDS30RcySsBaycCNiRIw+ODQECdv860XlMZdt28rvVHZe0mpa8zTvhOhSPgB/UJ5EN1yPgw89OBVUy3YUssUidphtwlw3RB9gmxsVSTgbKF8Gvj8gs23goE6FxAOimklpG32qau7kJURY6DNZvrFofL2TdXwBIn0otqWP0wWI1eC6V0wTg==
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-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>
From: Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Brian Inglis <Brian DOT Inglis AT SystematicSW DOT ab DOT ca>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 43K4D08q4124434

On 2024-04-19 15:39, René Berber via Cygwin wrote:
> On 4/19/2024 2:59 PM, Arnab Paul via Cygwin wrote:
> 
>> Hello,
>> I am trying to install a software which requires the libraries gcc-fortran,
>> make, libarpack-devel, liblapack-devel, libnetcdf-fortran-devel, git.
>> As I did and ran the commands given below,
>>
>> git clone https://github.com/Aida-Alvera/DINEOF
>> cd DINEOF/
>> cp config.mk.template config.mk
>> make
>>
>> The make command is showing the problem as
>> Makefile:30: Compilers/Windows_NT-gfortran.mk: No such file or directory
>> make: *** No rule to make target 'Compilers/Windows_NT-gfortran.mk'.  Stop.
>>
>> I am keeping Linux as my default OS but it is asking for the
>> Windows_NT-gfortran.mk
> 
> Looking at the Makefile, lines 13 to 15, and 30:
> 
> The problem is that Makefile optionally sets OS to Linux (line 13) but in Cygwin 
> OS is set to Windows_NT.  i.e.
> $ echo $OS
> Windows_NT
> 
> The solution is to change that environment variable.
> 
> There are several ways try correct that, try: make OS=Linux

Better - first try:

	$ uname -o
	Cygwin

but Linux shows *GNU/Linux*, so then try e.g.:

	$ uname -s
	Linux

and only then see if $OS is defined and use it.

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

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry


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