public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Fortran Installation
       [not found] <b3d295a7-b7d9-9b33-0391-cc33bb39c029.ref@verizon.net>
@ 2021-01-03 16:44 ` Lou Umscheid
  2021-01-03 17:11   ` Marco Atzeri
                     ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Lou Umscheid @ 2021-01-03 16:44 UTC (permalink / raw)
  To: cygwin

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.

Lou


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Fortran Installation
  2021-01-03 16:44 ` Fortran Installation Lou Umscheid
@ 2021-01-03 17:11   ` Marco Atzeri
  2021-01-04  0:19     ` Lou Umscheid
  2021-01-03 17:20   ` Achim Gratz
  2021-01-03 17:28   ` Brian Inglis
  2 siblings, 1 reply; 19+ messages in thread
From: Marco Atzeri @ 2021-01-03 17:11 UTC (permalink / raw)
  To: jrsyangl, cygwin; +Cc: Lou Umscheid

On 03.01.2021 17: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.
> 
> Lou


$ cygcheck -p bin/gfortran
Found 8 matches for bin/gfortran
...
gcc-fortran-10.2.0-1 - gcc-fortran: GNU Compiler Collection (Fortran)
gcc-fortran-7.4.0-1 - gcc-fortran: GNU Compiler Collection (Fortran)
gcc-fortran-9.3.0-1 - gcc-fortran: GNU Compiler Collection (Fortran)
gcc-fortran-9.3.0-2 - gcc-fortran: GNU Compiler Collection (Fortran)

Install the gcc-fortran package.

Fortran compile was always there

$ cygcheck -l gcc-fortran | grep "usr/bin"
/usr/bin/f95
/usr/bin/gfortran.exe
/usr/bin/x86_64-pc-cygwin-gfortran.exe


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Fortran Installation
  2021-01-03 16:44 ` Fortran Installation Lou Umscheid
  2021-01-03 17:11   ` Marco Atzeri
@ 2021-01-03 17:20   ` Achim Gratz
  2021-01-03 17:28   ` Brian Inglis
  2 siblings, 0 replies; 19+ messages in thread
From: Achim Gratz @ 2021-01-03 17:20 UTC (permalink / raw)
  To: cygwin

Lou Umscheid via Cygwin writes:
> 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.

You should start by installing the gcc-fortran package via setup.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Fortran Installation
  2021-01-03 16:44 ` Fortran Installation Lou Umscheid
  2021-01-03 17:11   ` Marco Atzeri
  2021-01-03 17:20   ` Achim Gratz
@ 2021-01-03 17:28   ` Brian Inglis
  2021-01-03 18:22     ` Lou Umscheid
  2 siblings, 1 reply; 19+ messages in thread
From: Brian Inglis @ 2021-01-03 17:28 UTC (permalink / raw)
  To: cygwin; +Cc: jrsyangl, Lou Umscheid

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.

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Fortran Installation
  2021-01-03 17:28   ` Brian Inglis
@ 2021-01-03 18:22     ` Lou Umscheid
  2021-01-03 18:27       ` Achim Gratz
  2021-01-03 18:37       ` Brian Inglis
  0 siblings, 2 replies; 19+ messages in thread
From: Lou Umscheid @ 2021-01-03 18:22 UTC (permalink / raw)
  To: cygwin; +Cc: Lou Umscheid

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?

Lou

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Fortran Installation
  2021-01-03 18:22     ` Lou Umscheid
@ 2021-01-03 18:27       ` Achim Gratz
  2021-01-03 18:37       ` Brian Inglis
  1 sibling, 0 replies; 19+ messages in thread
From: Achim Gratz @ 2021-01-03 18:27 UTC (permalink / raw)
  To: cygwin

Lou Umscheid via Cygwin writes:
> awk: fatal: cannot open file ' /etc/setup/installed.db' for reading
> (No such file or directory)

You seem to have picked up a quoted or non-breaking space.

Your original installation is anyway too old for that to work as
intended, so please just do a fresh install and select gcc-fortran and
any other utilities you might want to use.  If aynthing went missing
you'll know soon and can install those later.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Fortran Installation
  2021-01-03 18:22     ` Lou Umscheid
  2021-01-03 18:27       ` Achim Gratz
@ 2021-01-03 18:37       ` Brian Inglis
  2021-01-03 18:41         ` Brian Inglis
  1 sibling, 1 reply; 19+ messages in thread
From: Brian Inglis @ 2021-01-03 18:37 UTC (permalink / raw)
  To: cygwin; +Cc: Lou Umscheid, Lou Umscheid


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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Fortran Installation
  2021-01-03 18:37       ` Brian Inglis
@ 2021-01-03 18:41         ` Brian Inglis
  2021-01-03 18:58           ` Lou Umscheid
  2021-01-03 19:18           ` Lou Umscheid
  0 siblings, 2 replies; 19+ messages in thread
From: Brian Inglis @ 2021-01-03 18:41 UTC (permalink / raw)
  To: cygwin; +Cc: Lou Umscheid, Lou Umscheid

On 2021-01-03 11:37, Brian Inglis wrote:
> 
> 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.

...and remove any \ continuation escape if you paste the lines together - that 
may well have been your issue!

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Fortran Installation
  2021-01-03 18:41         ` Brian Inglis
@ 2021-01-03 18:58           ` Lou Umscheid
  2021-01-03 19:18           ` Lou Umscheid
  1 sibling, 0 replies; 19+ messages in thread
From: Lou Umscheid @ 2021-01-03 18:58 UTC (permalink / raw)
  To: cygwin

YES, that continuation escape was it. On to the next step.  BTW does the 
fact that the old Cygwin is 32 bit, and the new Cygwin, that I have 
already installed, is 64 complicate things?

On 1/3/2021 1:41 PM, Brian Inglis wrote:
> On 2021-01-03 11:37, Brian Inglis wrote:
>>
>> 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.
>
> ...and remove any \ continuation escape if you paste the lines 
> together - that may well have been your issue!
>

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Fortran Installation
  2021-01-03 18:41         ` Brian Inglis
  2021-01-03 18:58           ` Lou Umscheid
@ 2021-01-03 19:18           ` Lou Umscheid
  2021-01-03 21:03             ` Brian Inglis
  1 sibling, 1 reply; 19+ messages in thread
From: Lou Umscheid @ 2021-01-03 19:18 UTC (permalink / raw)
  To: cygwin

Another question, if I may: does your procedure install both Fortran and 
Dislin which are installed on the T1600? I do not see them in 
cygwin-packages-picked.txt. Thanks again. Lou

On 1/3/2021 1:41 PM, Brian Inglis wrote:
> On 2021-01-03 11:37, Brian Inglis wrote:
>>
>> 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.
>
> ...and remove any \ continuation escape if you paste the lines 
> together - that may well have been your issue!
>

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Fortran Installation
  2021-01-03 19:18           ` Lou Umscheid
@ 2021-01-03 21:03             ` Brian Inglis
  2021-01-03 21:42               ` Lou Umscheid
                                 ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Brian Inglis @ 2021-01-03 21:03 UTC (permalink / raw)
  To: Lou Umscheid, cygwin

On 2021-01-03 12:18, Lou Umscheid via Cygwin wrote:
> On 1/3/2021 1:41 PM, Brian Inglis wrote:
>> On 2021-01-03 11:37, Brian Inglis wrote:
>>> 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.
>>
>> ...and remove any \ continuation escape if you paste the lines together - that 
>> may well have been your issue!
> Another question, if I may: does your procedure install both Fortran and
> Dislin which are installed on the T1600? I do not see them in 
> cygwin-packages-picked.txt.

The Cygwin Fortran package is gcc-fortran (gfortran/f95 symlink): you should see 
this unless you have been using a proprietary closed source compiler.
It looks like Dislin is a proprietary closed source plotting package which you 
will have to find, acquire, install, and configure separately, or migrate 
settings from your old system.

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Fortran Installation
  2021-01-03 21:03             ` Brian Inglis
@ 2021-01-03 21:42               ` Lou Umscheid
  2021-01-03 22:59                 ` Brian Inglis
  2021-01-04  0:29               ` Lou Umscheid
  2021-01-04  6:48               ` David Billinghurst
  2 siblings, 1 reply; 19+ messages in thread
From: Lou Umscheid @ 2021-01-03 21:42 UTC (permalink / raw)
  To: Brian.Inglis, cygwin


On 1/3/2021 4:03 PM, Brian Inglis wrote:
> On 2021-01-03 12:18, Lou Umscheid via Cygwin wrote:
>> On 1/3/2021 1:41 PM, Brian Inglis wrote:
>>> On 2021-01-03 11:37, Brian Inglis wrote:
>>>> 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.
>>>
>>> ...and remove any \ continuation escape if you paste the lines 
>>> together - that may well have been your issue!
>> Another question, if I may: does your procedure install both Fortran and
>> Dislin which are installed on the T1600? I do not see them in 
>> cygwin-packages-picked.txt.
>
> The Cygwin Fortran package is gcc-fortran (gfortran/f95 symlink): you 
> should see this unless you have been using a proprietary closed source 
> compiler.
> It looks like Dislin is a proprietary closed source plotting package 
> which you will have to find, acquire, install, and configure 
> separately, or migrate settings from your old system.
>
There is a gcc4-fortran listed; so is that OK? And the old 32 bit vs new 
64 bit is not a problem?

DISLIN is a free scientific plotting package(www.dislin.de). They have a 
download for 64 bit Cygwin so I hope that will work.  Lou


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Fortran Installation
  2021-01-03 21:42               ` Lou Umscheid
@ 2021-01-03 22:59                 ` Brian Inglis
  0 siblings, 0 replies; 19+ messages in thread
From: Brian Inglis @ 2021-01-03 22:59 UTC (permalink / raw)
  To: cygwin; +Cc: Lou Umscheid

On 2021-01-03 14:42, Lou Umscheid wrote:
> 
> On 1/3/2021 4:03 PM, Brian Inglis wrote:
>> On 2021-01-03 12:18, Lou Umscheid via Cygwin wrote:
>>> On 1/3/2021 1:41 PM, Brian Inglis wrote:
>>>> On 2021-01-03 11:37, Brian Inglis wrote:
>>>>> 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.
>>>>
>>>> ...and remove any \ continuation escape if you paste the lines together - 
>>>> that may well have been your issue!
>>> Another question, if I may: does your procedure install both Fortran and
>>> Dislin which are installed on the T1600? I do not see them in 
>>> cygwin-packages-picked.txt.
>>
>> The Cygwin Fortran package is gcc-fortran (gfortran/f95 symlink): you should 
>> see this unless you have been using a proprietary closed source compiler.
>> It looks like Dislin is a proprietary closed source plotting package which you 
>> will have to find, acquire, install, and configure separately, or migrate 
>> settings from your old system.
>>
> There is a gcc4-fortran listed; so is that OK? And the old 32 bit vs new 64 bit 
> is not a problem?

That will need updated to gcc-fortran - it may have been using an ancient 
package convention - you may have to check and update some package names if 
never upgraded for many years.
Cygwin is a rolling release so if you upgrade using setup at least every year or 
so, when thinsg are quiet, it will avoid you missing out when obsolete packages 
are replaced.

> DISLIN is a free scientific plotting package(www.dislin.de). They have a 
> download for 64 bit Cygwin so I hope that will work.  Lou

It is not free/libre/open source, and only provides a proprietary no cost 
licence for non-commercial binary download and use, so if you use it in any job, 
you must pay to license use of it for a period of time, or choose a truly free 
alternative.

The last update on that proprietary package was 18 months ago, so it may no 
longer be actively developed or supported: you should check its mailing list for 
recent activity; its status does not affect its licence.

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Fortran Installation
  2021-01-03 17:11   ` Marco Atzeri
@ 2021-01-04  0:19     ` Lou Umscheid
  2021-01-04  8:42       ` Marco Atzeri
  0 siblings, 1 reply; 19+ messages in thread
From: Lou Umscheid @ 2021-01-04  0:19 UTC (permalink / raw)
  To: Marco Atzeri, cygwin; +Cc: Lou Umscheid

Thank you for the information. Do you have any suggestions on which 
compiler to use ie the most recent or the tried and true? I have 4.5 
installed on my old T1600 system.

On 1/3/2021 12:11 PM, Marco Atzeri wrote:
> On 03.01.2021 17: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.
>>
>> Lou
>
>
> $ cygcheck -p bin/gfortran
> Found 8 matches for bin/gfortran
> ...
> gcc-fortran-10.2.0-1 - gcc-fortran: GNU Compiler Collection (Fortran)
> gcc-fortran-7.4.0-1 - gcc-fortran: GNU Compiler Collection (Fortran)
> gcc-fortran-9.3.0-1 - gcc-fortran: GNU Compiler Collection (Fortran)
> gcc-fortran-9.3.0-2 - gcc-fortran: GNU Compiler Collection (Fortran)
>
> Install the gcc-fortran package.
>
> Fortran compile was always there
>
> $ cygcheck -l gcc-fortran | grep "usr/bin"
> /usr/bin/f95
> /usr/bin/gfortran.exe
> /usr/bin/x86_64-pc-cygwin-gfortran.exe
>

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Fortran Installation
  2021-01-03 21:03             ` Brian Inglis
  2021-01-03 21:42               ` Lou Umscheid
@ 2021-01-04  0:29               ` Lou Umscheid
  2021-01-04  6:04                 ` Brian Inglis
  2021-01-04  6:48               ` David Billinghurst
  2 siblings, 1 reply; 19+ messages in thread
From: Lou Umscheid @ 2021-01-04  0:29 UTC (permalink / raw)
  To: Brian.Inglis, cygwin

Another concern that just occurred to me is the installation of a BASIC 
Cygwin installation. Does that mean that the files that I have 
transferred from the old system and tuning that I have already done will 
have to be redone? Can I do your cygstart step on my current 
configuration? Again many thanks for your help. Lou

On 1/3/2021 4:03 PM, Brian Inglis wrote:
> On 2021-01-03 12:18, Lou Umscheid via Cygwin wrote:
>> On 1/3/2021 1:41 PM, Brian Inglis wrote:
>>> On 2021-01-03 11:37, Brian Inglis wrote:
>>>> 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.
>>>
>>> ...and remove any \ continuation escape if you paste the lines 
>>> together - that may well have been your issue!
>> Another question, if I may: does your procedure install both Fortran and
>> Dislin which are installed on the T1600? I do not see them in 
>> cygwin-packages-picked.txt.
>
> The Cygwin Fortran package is gcc-fortran (gfortran/f95 symlink): you 
> should see this unless you have been using a proprietary closed source 
> compiler.
> It looks like Dislin is a proprietary closed source plotting package 
> which you will have to find, acquire, install, and configure 
> separately, or migrate settings from your old system.
>

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Fortran Installation
  2021-01-04  0:29               ` Lou Umscheid
@ 2021-01-04  6:04                 ` Brian Inglis
  0 siblings, 0 replies; 19+ messages in thread
From: Brian Inglis @ 2021-01-04  6:04 UTC (permalink / raw)
  To: cygwin; +Cc: Lou Umscheid

On 2021-01-03 17:29, Lou Umscheid wrote:
> On 1/3/2021 4:03 PM, Brian Inglis wrote:
>> On 2021-01-03 12:18, Lou Umscheid via Cygwin wrote:
>>> On 1/3/2021 1:41 PM, Brian Inglis wrote:
>>>> On 2021-01-03 11:37, Brian Inglis wrote:
>>>>> 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.
>>>>
>>>> ...and remove any \ continuation escape if you paste the lines together - 
>>>> that may well have been your issue!
>>> Another question, if I may: does your procedure install both Fortran and
>>> Dislin which are installed on the T1600? I do not see them in 
>>> cygwin-packages-picked.txt.
>>
>> The Cygwin Fortran package is gcc-fortran (gfortran/f95 symlink): you should 
>> see this unless you have been using a proprietary closed source compiler.
>> It looks like Dislin is a proprietary closed source plotting package which you 
>> will have to find, acquire, install, and configure separately, or migrate 
>> settings from your old system.

> Another concern that just occurred to me is the installation of a BASIC
> Cygwin installation. Does that mean that the files that I have transferred
> from the old system and tuning that I have already done will have to be
> redone? Can I do your cygstart step on my current configuration?
Cygwin customizations should normally be in your Cygwin /home/ directory under 
~/.directories.../ and in ~/.dotrc... files.

Copying those over to the equivalent directory, reviewing, and modifying their 
settings appropriately if required should keep your new system setup consistent 
with your old system.

If you have made any system wide common customizations under /etc/, you can 
check changes you may have made to those by running the command below on your 
old system:

	$ diff -qr /etc/{defaults/etc/,} | tee ~/etc.log | less

which also saves the results summary, showing settings to be copied or compared 
in the file ~/etc.log in your home directory ~/:

* lines in ~/etc.log saying
	"Only in /etc/...: file..."
indicate files that should be copied over from /etc/... on your old system to 
/etc/... on your new system;

* lines in ~/etc.log saying
	"Files /etc/defaults/etc/file... and /etc/file... differ"
should be compared individually using commands like e.g.:

	$ diff /etc/{defaults/etc/,}file... | tee ~/file....diff | less

and a decision made whether to:
* keep the customizations by copying the file over from /etc/... on your old 
system to /etc/... on your new system,
* update the customizations by changing the file after copying to your new 
system, or
* restoring its settings to the original defaults by copying over the defaults 
on your new system using a command like e.g.:

	$ cp -fpv /etc/{defaults/etc/,}file...

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Fortran Installation
  2021-01-03 21:03             ` Brian Inglis
  2021-01-03 21:42               ` Lou Umscheid
  2021-01-04  0:29               ` Lou Umscheid
@ 2021-01-04  6:48               ` David Billinghurst
  2 siblings, 0 replies; 19+ messages in thread
From: David Billinghurst @ 2021-01-04  6:48 UTC (permalink / raw)
  To: cygwin

On 4/01/2021 08:03, Brian Inglis via Cygwin wrote:

> It looks like Dislin is a proprietary closed source plotting package 
> which you will have to find, acquire, install, and configure 
> separately, or migrate settings from your old system. 

DISLIN is a library graphics subroutines and functions -- 
https://www.dislin.de

The (binary) distribution can be used freely.  Source code is obtained 
for a small fee. Recent 32-bit and 64-bit cygwin binaries are available 
from https://www.dislin.de/downloads.html


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Fortran Installation
  2021-01-04  0:19     ` Lou Umscheid
@ 2021-01-04  8:42       ` Marco Atzeri
  2021-01-05 14:18         ` Lou Umscheid
  0 siblings, 1 reply; 19+ messages in thread
From: Marco Atzeri @ 2021-01-04  8:42 UTC (permalink / raw)
  To: Lou Umscheid, cygwin; +Cc: Lou Umscheid

On 04.01.2021 01:19, Lou Umscheid wrote:
> Thank you for the information. Do you have any suggestions on which 
> compiler to use ie the most recent or the tried and true? I have 4.5 
> installed on my old T1600 system.
> 


by default run the most recent

gcc-fortran-10.2.0-1

If you have problem, you can report here

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Fortran Installation
  2021-01-04  8:42       ` Marco Atzeri
@ 2021-01-05 14:18         ` Lou Umscheid
  0 siblings, 0 replies; 19+ messages in thread
From: Lou Umscheid @ 2021-01-05 14:18 UTC (permalink / raw)
  To: Marco Atzeri, cygwin; +Cc: Lou Umscheid

Thank you one and all for your help. 10.2.0 gfortran now seems to be 
working fine! Now on to installing DISLIN. Wish me luck.

Lou

On 1/4/2021 3:42 AM, Marco Atzeri wrote:
> On 04.01.2021 01:19, Lou Umscheid wrote:
>> Thank you for the information. Do you have any suggestions on which 
>> compiler to use ie the most recent or the tried and true? I have 4.5 
>> installed on my old T1600 system.
>>
>
>
> by default run the most recent
>
> gcc-fortran-10.2.0-1
>
> If you have problem, you can report here

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2021-01-05 14:18 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <b3d295a7-b7d9-9b33-0391-cc33bb39c029.ref@verizon.net>
2021-01-03 16:44 ` Fortran Installation Lou Umscheid
2021-01-03 17:11   ` Marco Atzeri
2021-01-04  0:19     ` Lou Umscheid
2021-01-04  8:42       ` Marco Atzeri
2021-01-05 14:18         ` Lou Umscheid
2021-01-03 17:20   ` Achim Gratz
2021-01-03 17:28   ` Brian Inglis
2021-01-03 18:22     ` Lou Umscheid
2021-01-03 18:27       ` Achim Gratz
2021-01-03 18:37       ` Brian Inglis
2021-01-03 18:41         ` Brian Inglis
2021-01-03 18:58           ` Lou Umscheid
2021-01-03 19:18           ` Lou Umscheid
2021-01-03 21:03             ` Brian Inglis
2021-01-03 21:42               ` Lou Umscheid
2021-01-03 22:59                 ` Brian Inglis
2021-01-04  0:29               ` Lou Umscheid
2021-01-04  6:04                 ` Brian Inglis
2021-01-04  6:48               ` David Billinghurst

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).