delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/01/03/13:38:14

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 A869B3857C66
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=Q4RsX66a c=1 sm=1 tr=0 ts=5ff20ede
a=kiZT5GMN3KAWqtYcXc+/4Q==:117 a=kiZT5GMN3KAWqtYcXc+/4Q==:17
a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=TImcKGuyeGIbufSLrCcA:9
a=7Zwj6sZBwVKJAoWSPKxL6X1jA+E=:19 a=QEXdDO2ut3YA:10 a=sRI3_1zDfAgwuvI8zelB:22
Subject: Re: Fortran Installation
To: cygwin AT cygwin DOT com
References: <b3d295a7-b7d9-9b33-0391-cc33bb39c029 DOT ref AT verizon DOT net>
<b3d295a7-b7d9-9b33-0391-cc33bb39c029 AT verizon DOT net>
<b42ca71f-feec-d782-fb18-c007b906cbab AT SystematicSw DOT ab DOT ca>
<db4e20f9-6d00-b682-b444-447ecaadbac6 AT verizon DOT net>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Organization: Systematic Software
Message-ID: <232e5e04-5a4c-2836-6839-576f64e9db25@SystematicSw.ab.ca>
Date: Sun, 3 Jan 2021 11:37:17 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.6.0
MIME-Version: 1.0
In-Reply-To: <db4e20f9-6d00-b682-b444-447ecaadbac6@verizon.net>
X-CMAE-Envelope: MS4xfCKgZsns+hVBBZc9X1CHewI+qYQvjjdFjjYWO8g8YhwxmBix9U8tAjQMGZay552LE6L3bkS0iZvfhHDJnhAiTOPQR2S9TttZZRJgT4hFN9/2DFAEIC96
32p7fSJWnOmWsh3Qtq7pj+sci/QDLMlMQYk4pe4BbTzyGlzkiuKisP/bNt6j1odjIxGQPaoLCOeHwzG8RF4P2AYoFB9Cy0kInKNMoBHF2zCuH1VoZ1nfjyMw
uis8CYs26zlyvH8cCTWvSpOfsKtamT2mOy7jcbRuWZw=
X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00, BODY_8BITS,
KAM_DMARC_STATUS, KAM_EXEURI, 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
Cc: Lou Umscheid <umscheid AT verizon DOT net>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 103IbnwE021663

On 2021-01-03 11:22, Lou Umscheid via Cygwin wrote:
> On 1/3/2021 12:28 PM, Brian Inglis wrote:
>> On 2021-01-03 09:44, Lou Umscheid via Cygwin wrote:
>>> I would like to install Fortran on newly installed Cygwin64 on my new LG 
>>> laptop. I did this 9+ years ago for Cygwin32 on my Dell T1600 which is now 
>>> fading. The process 9 years ago was long and hard over several weeks with 
>>> many fallbacks and redo's. I am competent in Fortran programming but have 
>>> only a minimum knowledge of Linux/Unix. Can anyone point me to a guide (I 
>>> searched but could not find any) to installing Fortran, including which files 
>>> to download, PATH, alias changes, etc. I know it is a lot to ask, but ANY 
>>> help would be appreciated.
>>
>> To get a list of manually picked and installed packages in your current Cygwin 
>> installation (excluding library packages except if they are devel or doc 
>> packages) run the following command against your current installation:
>>
>> $ awk '$3 && ($1 !~ /^lib/ || $1 ~ /-(devel|doc)/) {print $1}' \
>>     /etc/setup/installed.db | tee cygwin-packages-picked.txt
>>
>> * transfer the file cygwin-packages-picked.txt to your new system e.g. your 
>> Windows account Downloads folder on your new system,
>> * download https://cygwin.com/setup-x86_64.exe to e.g. your Windows account 
>> Downloads folder on your new system,
>> * run setup-x86_64 on your new system with no selections to install a basic 
>> Cygwin installation for you, then
>> * start a Cygwin shell in a terminal session, and
>> * rerun the Cygwin setup program with e.g.:
>>
>> $ cygstart /proc/cygdrive/c/Users/.../Downloads/setup-x86_64 \
>> -P "`cat /proc/cygdrive/c/Users/.../Downloads/cygwin-packages-picked.txt`"
>>
>> to start installing the manually picked packages you had on your old system 
>> (dependencies will be automatically pulled in):
>> * you *MUST* exit your Cygwin shell and terminal, and ensure that you have no 
>> other Cygwin processes still running, before allowing the Cygwin setup program 
>> to proceed; and
>> * wait patiently for all the package downloads, installations, and 
>> post-install scripts to run to completion, before trying to do anything more 
>> under Cygwin on your new system.

> wow; thanks for quick response. I tried running your first command but got
> the message:
> 
> awk: fatal: cannot open file ' /etc/setup/installed.db' for reading (No such 
> file or directory) >
> The file seems to be there and I checked my input so I do not know what when 
> wrong. Any suggestions?
File name shown is ' /etc/setup/installed.db' - includes a leading space - do 
not use any quotes or add spaces in file names - or just paste the second line 
at the end of the first line, with an (unquoted) space between if required.

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