Re: Minor flaws in the Cygwin Perl installation; missing directories (Perl 5.40.0-1)

2024-09-02 Thread Brian Inglis via Cygwin

On 2024-09-02 10:48, Soren via Cygwin wrote:

The Perl interpreter uses directories contained in the internal array @INC to
find libraries. Cygwin's Perl 5.40.0-1 installation leaves several
directories uncreated but listed in @INC.
Like so (from $perl -V):

@INC:
 /usr/local/lib/perl5/site_perl/5.40/x86_64-cygwin-threads
 /usr/local/share/perl5/site_perl/5.40
 /usr/lib/perl5/vendor_perl/5.40/x86_64-cygwin-threads
 /usr/share/perl5/vendor_perl/5.40
 /usr/lib/perl5/5.40/x86_64-cygwin-threads
 /usr/share/perl5/5.40

--

Let's look at the error messages we get.

Can't stat /usr/local/lib/perl5/site_perl/5.40/x86_64-cygwin-threads:
No such file
or directory at C:\Users\Sally\Documents\Scripts\seekinc.pl line 30.
Can't stat /usr/local/share/perl5/site_perl/5.40: No such file or directory at
C:\Users\Sally\Documents\Scripts\seekinc.pl line 30.
Can't stat /usr/share/perl5/vendor_perl/5.40: No such file or directory at
C:\Users\Sally\Documents\Scripts\seekinc.pl line 30.

It's micro-optimization, sure, but having Perl stat non-existent
directories every time it runs; this is just not nice. And this is not the
only issue.

Observe the following, please:
--
@INCCount
/usr/local/share/perl5/site_perl/5.40 0
/usr/local/lib/perl5/site_perl/5.40/x86_64-cygwin-threads 0
/usr/lib/perl5/vendor_perl/5.40/x86_64-cygwin-threads 2
/usr/lib/perl5/5.40/x86_64-cygwin-threads 112
/usr/share/perl5/5.40 1287
/usr/share/perl5/vendor_perl/5.40 0
--

The left-hand column lists Perl's @INC and the right-hand numbers are
counts of the libraries or modules found under those parent directories.
No, I did not count them manually.

I wrote a simple script in Perl to generate these.

The 3 base directories with 0 files under them don't exist. For one example
of consequences: If one were to use cpanplus, it would want to place files
under /usr/local/share/perl5/site_perl/5.40 and suchlike. I love using
cpanplus. Watching it run the builds, tests and installations automatically
is very relaxing ;-).

These examples are all from a Perl installation I did this evening, with no
Perl ever installed before; completely "clean".

Please check your own installation of cygwin-perl. By the way, the script
used to investigate @INC (I call such programs "introspective" scripts) is
on GitHub at: https://github.com/somian/seekinc/blob/main/seekinc.pl


Perhaps the perl package build could benefit from adding:

KEEPDIRS="$PERL_ARCHLIB $PERL_LIB $PERL_SITELIB $PERL_VENDORARCH 
$PERL_VENDORLIB"

where:

PERL_ARCHLIB=/usr/lib/perl5/5.40/x86_64-cygwin-threads
PERL_LIB=/usr/share/perl5/5.40
PERL_SITELIB=/usr/local/share/perl5/site_perl/5.40
PERL_VENDORARCH=/usr/lib/perl5/vendor_perl/5.40/x86_64-cygwin-threads
PERL_VENDORLIB=/usr/share/perl5/vendor_perl/5.40

for the benefit of those who do not install many perl packages?


One further anomaly: In output of cygcheck:

perl  5.40.0-1 Incomplete

How do we fix this at Cygwin package build time?


Add options -h -v to cygcheck for details on any operation:

$ cygcheck -chv xxd
Cygwin Package Information
Last downloaded files to: D:/var/cache/setup/packages
Last downloaded files from: https://mirror.cpsc.ucalgary.ca/mirror/cygwin.com/

Package  VersionStatus
Missing file: /usr/share/man/fr.ISO8859-1/man1/xxd.1.gz from package xxd
Missing file: /usr/share/man/fr.UTF-8/man1/xxd.1.gz from package xxd
Missing file: /usr/share/man/fr/man1/xxd.1.gz from package xxd
Missing file: /usr/share/man/it.ISO8859-1/man1/xxd.1.gz from package xxd
Missing file: /usr/share/man/it.UTF-8/man1/xxd.1.gz from package xxd
Missing file: /usr/share/man/it/man1/xxd.1.gz from package xxd
Missing file: /usr/share/man/ja/man1/xxd.1.gz from package xxd
Missing file: /usr/share/man/pl.ISO8859-2/man1/xxd.1.gz from package xxd
Missing file: /usr/share/man/pl.UTF-8/man1/xxd.1.gz from package xxd
Missing file: /usr/share/man/pl/man1/xxd.1.gz from package xxd
Missing file: /usr/share/man/ru.KOI8-R/man1/xxd.1.gz from package xxd
Missing file: /usr/share/man/ru.UTF-8/man1/xxd.1.gz from package xxd
xxd  9.0.2155-2 Incomplete

Looks like I blew away a bunch of non-English man locale directories at some 
point! ;^>



What thoroughly confused me recently was perl-Locale-gettext and perl-gettext 
both being installed, obsoleting each other, same package versions but newer 
package with lower release, depending on different perl versions:


$ grep 'perl-\(Locale-\)\?gettext' /etc/setup/installed.db
perl-Locale-gettext perl-Locale-gettext-1.07-1.tar.bz2 1
perl-gettext perl-gettext-1.07-5.tar.bz2 0
perl5_040 perl-Locale-gettext-1.07-1.tar.bz2 0
$ cygcheck -chv perl-{Locale-,}gettext
Cygwin Package Information
Last downloaded files to: D:/var/cache/setup/packages
Last

Minor flaws in the Cygwin Perl installation; missing directories (Perl 5.40.0-1)

2024-09-02 Thread Soren via Cygwin
The Perl interpreter uses directories contained in the internal array @INC to
find libraries. Cygwin's Perl 5.40.0-1 installation leaves several
directories uncreated but listed in @INC.
Like so (from $perl -V):

@INC:
/usr/local/lib/perl5/site_perl/5.40/x86_64-cygwin-threads
/usr/local/share/perl5/site_perl/5.40
/usr/lib/perl5/vendor_perl/5.40/x86_64-cygwin-threads
/usr/share/perl5/vendor_perl/5.40
/usr/lib/perl5/5.40/x86_64-cygwin-threads
/usr/share/perl5/5.40

--

Let's look at the error messages we get.

Can't stat /usr/local/lib/perl5/site_perl/5.40/x86_64-cygwin-threads:
No such file
or directory at C:\Users\Sally\Documents\Scripts\seekinc.pl line 30.
Can't stat /usr/local/share/perl5/site_perl/5.40: No such file or directory at
C:\Users\Sally\Documents\Scripts\seekinc.pl line 30.
Can't stat /usr/share/perl5/vendor_perl/5.40: No such file or directory at
C:\Users\Sally\Documents\Scripts\seekinc.pl line 30.

It's micro-optimization, sure, but having Perl stat non-existent
directories every time it runs; this is just not nice. And this is not the
only issue.

Observe the following, please:
--
@INCCount
/usr/local/share/perl5/site_perl/5.40 0
/usr/local/lib/perl5/site_perl/5.40/x86_64-cygwin-threads 0
/usr/lib/perl5/vendor_perl/5.40/x86_64-cygwin-threads 2
/usr/lib/perl5/5.40/x86_64-cygwin-threads 112
/usr/share/perl5/5.40 1287
/usr/share/perl5/vendor_perl/5.40 0
--

The left-hand column lists Perl's @INC and the right-hand numbers are
counts of the libraries or modules found under those parent directories.
No, I did not count them manually.

I wrote a simple script in Perl to generate these.

The 3 base directories with 0 files under them don't exist. For one example
of consequences: If one were to use cpanplus, it would want to place files
under /usr/local/share/perl5/site_perl/5.40 and suchlike. I love using
cpanplus. Watching it run the builds, tests and installations automatically
is very relaxing ;-).

These examples are all from a Perl installation I did this evening, with no
Perl ever installed before; completely "clean".

Please check your own installation of cygwin-perl. By the way, the script
used to investigate @INC (I call such programs "introspective" scripts) is
on GitHub at: https://github.com/somian/seekinc/blob/main/seekinc.pl

One further anomaly: In output of cygcheck:

perl  5.40.0-1 Incomplete

How do we fix this at Cygwin package build time?

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


Re: New installation of Cygwin64: xinit.sh exit code 3

2024-05-09 Thread Frank-Ulrich Sommer via Cygwin

I seem to have almost excatly the same problem except that I could not solve it 
by removing the Cygwin-X folder. In this case during the reinstallation of the 
xinit package the folder is recreated again and then the original error message 
(xinit.sh exit code 3) reappears. The directory again has strange permissions  
when checked with Windows Explorer and I am not allowed the enter it or see its 
contents before resetting the security settings.

When doing an "ls -l" (within Cygwin) in the "Start Menu" folder the group and 
owner for the Cygwin-X directory seem to be reversed compared to other folders manually created 
from Windows Explorer (i.e. the user name appears in the group column and vice versa) but I'm not 
sure if this is important:

d---rwxr-x+ 1 myusername Administratoren    0 May 10 02:27  Cygwin-X

For all other folders the group is displayed before the username.

I had to fix the security settings for the Cygwin-X folder and then manually execute the last two 
"mkshortcut" commands from "/etc/postinstall/xinit.sh" (replacing $CYGWINFORALL with 
"-A" and ${wow64} with an empty string).

Should this be the only problem and should my "fix" be correct? And is there 
anything I can do to help find the cause for this problem?



On 23.10.2023 17:41, Brian Inglis via Cygwin wrote:

On 2023-10-23 06:05, Fergus Daly via Cygwin wrote:

<< Detail >>


When I used Explorer to visit C:\ProgramData\Microsoft\Windows\Start 
Menu\Cygwin-X I was told:
"You don't currently have permission to access this folder"
and clicking on Continue to get access I was told:
"You have been denied permission to access this folder"
There was then offered an option to edit Permissions which I didn't feel like 
pursuing.
(I am the Administrator on my own standalone Windows machine. The denial of 
access to Cygwin-X feels odd.
PS I also have Cygwin32 installed and running. I _am_ permitted access to the 
equivalent folder Cygwin-X (32-bit).)



Please try running the following command/s, under Cygwin 32 and 64, and posting
the outputs:



$ for p in "`cygpath -A -P -U`"{,/Cygwin-X}; do for c in 'lsattr -d' 'ls -dl'
getfacl; do $c "$p"; echo; done; icacls "`cygpath -m "$p"`"; done


Thank you. (Again.)
1. Actually before reading this I had deleted both folders
(successfully, despite not being permitted entry into one
of them) and the re-ran the xinit installation with no
bother at all.
I'm guessing the Permissions glitch resulted from some local
recent accidental keypress or sequence.
2. icacls? Haven't got this though I have got getfacl; found icacl in
"Search packages" under libattica-devel and ng-spice-debuginfo?


$ /proc/cygdrive/c/WINDOWS/system32/icacls /?




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


Re: Change for the initial installation of Cygwin to set the default terminal terminal 256 color

2024-04-12 Thread Brian Inglis via Cygwin
The Cygwin native terminal emulator `mintty` is supported by Cygwin default 
`ncurses`/`terminfo` installs:


$ TERM=mintty tput colors
256

On 2024-04-12 07:27, Thomas Wolff via Cygwin wrote:

Am 12.04.2024 um 11:18 schrieb Lee via Cygwin:

On Fri, Apr 12, 2024 at 4:05 AM J M  wrote:

Some examples that I view that can do Cygwin better by default:

tput colors
8

echo $TERM
xterm

I made my mintty changes by point & click experimentation - if you
want to make system-wide changes the place to do that is in
/etc/minttyrc
   https://github.com/mintty/mintty/wiki/Tips
   Configuring mintty
   For its configuration, it reads configuration files in this order:
   /etc/minttyrc
   ... etc.

$ grep -i term .minttyrc
Term=xterm-256color

$ tput colors
256

$ echo $TERM
xterm-256color



Note that mintty always supports all modes, including 256 colours and
true-color (TERM=xterm-direct), regardless of the TERM setting or the
$TERM environment value. That value is only used by some applications
(like tput and apparently vim) as an indication which features to use.
Thomas



And if use vim, comparing with one Ubuntu terminal:

I need to set "set mouse-=a" because the copy paste is difficult.
The colors are very bright.
The cursor does not look good when doing a search and moves over the yellow
background text.

What settings would I need to make it look like Ubuntu's vim?

I'd suggest doing a 'man vim' to find out where all the possible
configuration files are & then copy them to your cygwin machine.



El jue., 11 abr. 2024 14:36, J M  escribió:

You can change in the initial install setup of Cygwin to set the default
terminal to 256 color as Ubuntu does?


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


Re: Change for the initial installation of Cygwin to set the default terminal terminal 256 color

2024-04-12 Thread Thomas Wolff via Cygwin



Am 12.04.2024 um 11:18 schrieb Lee via Cygwin:

On Fri, Apr 12, 2024 at 4:05 AM J M  wrote:

Some examples that I view that can do Cygwin better by default:

tput colors
8

echo $TERM
xterm

I made my mintty changes by point & click experimentation - if you
want to make system-wide changes the place to do that is in
/etc/minttyrc
   https://github.com/mintty/mintty/wiki/Tips
   Configuring mintty
   For its configuration, it reads configuration files in this order:
   /etc/minttyrc
   ... etc.

$ grep -i term .minttyrc
Term=xterm-256color

$ tput colors
256

$ echo $TERM
xterm-256color

Note that mintty always supports all modes, including 256 colours and
true-color (TERM=xterm-direct), regardless of the TERM setting or the
$TERM environment value. That value is only used by some applications
(like tput and apparently vim) as an indication which features to use.
Thomas




And if use vim, comparing with one Ubuntu terminal:

I need to set "set mouse-=a" because the copy paste is difficult.
The colors are very bright.
The cursor does not look good when doing a search and moves over the yellow
background text.

What settings would I need to make it look like Ubuntu's vim?

I'd suggest doing a 'man vim' to find out where all the possible
configuration files are & then copy them to your cygwin machine.

Regards,
Lee


El jue., 11 abr. 2024 14:36, J M  escribió:


Hi,

You can change in the initial install setup of Cygwin to set the default
terminal to 256 color as Ubuntu does?



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


Re: Change for the initial installation of Cygwin to set the default terminal terminal 256 color

2024-04-12 Thread Lee via Cygwin
On Fri, Apr 12, 2024 at 4:05 AM J M  wrote:
>
> Some examples that I view that can do Cygwin better by default:
>
> tput colors
> 8
>
> echo $TERM
> xterm

I made my mintty changes by point & click experimentation - if you
want to make system-wide changes the place to do that is in
/etc/minttyrc
  https://github.com/mintty/mintty/wiki/Tips
  Configuring mintty
  For its configuration, it reads configuration files in this order:
  /etc/minttyrc
  ... etc.

$ grep -i term .minttyrc
Term=xterm-256color

$ tput colors
256

$ echo $TERM
xterm-256color


> And if use vim, comparing with one Ubuntu terminal:
>
> I need to set "set mouse-=a" because the copy paste is difficult.
> The colors are very bright.
> The cursor does not look good when doing a search and moves over the yellow
> background text.
>
> What settings would I need to make it look like Ubuntu's vim?

I'd suggest doing a 'man vim' to find out where all the possible
configuration files are & then copy them to your cygwin machine.

Regards,
Lee

> El jue., 11 abr. 2024 14:36, J M  escribió:
>
> > Hi,
> >
> > You can change in the initial install setup of Cygwin to set the default
> > terminal to 256 color as Ubuntu does?

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


Re: Change for the initial installation of Cygwin to set the default terminal terminal 256 color

2024-04-12 Thread J M via Cygwin
Some examples that I view that can do Cygwin better by default:

tput colors
8

echo $TERM
xterm

And if use vim, comparing with one Ubuntu terminal:

I need to set "set mouse-=a" because the copy paste is difficult.
The colors are very bright.
The cursor does not look good when doing a search and moves over the yellow
background text.

What settings would I need to make it look like Ubuntu's vim?

I don't know if I can put screenshots to explain it better.

Regards


El jue., 11 abr. 2024 14:36, J M  escribió:

> Hi,
>
> You can change in the initial install setup of Cygwin to set the default
> terminal to 256 color as Ubuntu does?
>
> Regards
>
>
>

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


Change for the initial installation of Cygwin to set the default terminal terminal 256 color

2024-04-11 Thread J M via Cygwin
Hi,

You can change in the initial install setup of Cygwin to set the default
terminal to 256 color as Ubuntu does?

Regards

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


Re: HDF5 Installation

2024-03-18 Thread ASSI via Cygwin
Kyle Shores via Cygwin writes:
> Any chance you could use cmake for the next installation? That way more
> packages would be able to include HDF5 with cmake and pkg-config.

That's an upstream issue: the HDF Group still recommends to build with
autotools on UNIX platforms (which Cygwin is most closely aligned to),
but does not provide pkgconfig files in that build yet.  Even with the
cmake build the .pc content was/is incorrect and causes breakage
elsewhere.

https://github.com/HDFGroup/hdf5/issues/8

So if you want to see this in Cygwin, please prod / help upstream to
fix this.


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

Factory and User Sound Singles for Waldorf rackAttack:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

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


Re: HDF5 Installation

2024-03-18 Thread Kyle Shores via Cygwin
Any chance you could use cmake for the next installation? That way more
packages would be able to include HDF5 with cmake and pkg-config.

Best,
Kyle

On Mon, Mar 18, 2024 at 3:23 PM marco atzeri  wrote:

> On Mon, Mar 18, 2024 at 3:28 PM Kyle Shores via Cygwin  wrote:
> >
> > Howdy!
> >
> > Looking at the list of files
> > <https://cygwin.com/packages/x86_64/libhdf5-devel/libhdf5-devel-1.12.3-1
> >
> > for the 2024 HDF5 installation 1.12.3
> > <https://cygwin.com/packages/summary/libhdf5-devel.html>, I notice that
> > neither the pkg-config or cmake files are installed. For reference,
> > mingw's installation
> > of hdf5 <https://packages.msys2.org/package/mingw-w64-x86_64-hdf5> has
> them
> > here:
> >
> >
> >- /mingw64/lib/cmake/hdf5-targets.cmake
> >- /mingw64/lib/pkgconfig/hdf5.pc
> >
> > Are these installed elsewhere? If not, what's preventing them from
> > being installed, or what can I do to help them be installed?
> >
>
> Hi Kyle
>
> the package is NOT built using cmake but is using autoconf.
> There are no special change. So upstream have not included those files
> in the 1.12.3 autoconf
>
> I have not yet tried to build using cmake nor built the 1.14.x series
>
> Regards
> Marco
>

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


Re: HDF5 Installation

2024-03-18 Thread marco atzeri via Cygwin
On Mon, Mar 18, 2024 at 3:28 PM Kyle Shores via Cygwin  wrote:
>
> Howdy!
>
> Looking at the list of files
> <https://cygwin.com/packages/x86_64/libhdf5-devel/libhdf5-devel-1.12.3-1>
> for the 2024 HDF5 installation 1.12.3
> <https://cygwin.com/packages/summary/libhdf5-devel.html>, I notice that
> neither the pkg-config or cmake files are installed. For reference,
> mingw's installation
> of hdf5 <https://packages.msys2.org/package/mingw-w64-x86_64-hdf5> has them
> here:
>
>
>- /mingw64/lib/cmake/hdf5-targets.cmake
>- /mingw64/lib/pkgconfig/hdf5.pc
>
> Are these installed elsewhere? If not, what's preventing them from
> being installed, or what can I do to help them be installed?
>

Hi Kyle

the package is NOT built using cmake but is using autoconf.
There are no special change. So upstream have not included those files
in the 1.12.3 autoconf

I have not yet tried to build using cmake nor built the 1.14.x series

Regards
Marco

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


HDF5 Installation

2024-03-18 Thread Kyle Shores via Cygwin
Howdy!

Looking at the list of files
<https://cygwin.com/packages/x86_64/libhdf5-devel/libhdf5-devel-1.12.3-1>
for the 2024 HDF5 installation 1.12.3
<https://cygwin.com/packages/summary/libhdf5-devel.html>, I notice that
neither the pkg-config or cmake files are installed. For reference,
mingw's installation
of hdf5 <https://packages.msys2.org/package/mingw-w64-x86_64-hdf5> has them
here:


   - /mingw64/lib/cmake/hdf5-targets.cmake
   - /mingw64/lib/pkgconfig/hdf5.pc

Are these installed elsewhere? If not, what's preventing them from
being installed, or what can I do to help them be installed?

-- 

Kyle Shores | Software Developer

NSF National Center for Atmospheric Research (NSF NCAR)

Atmospheric Chemistry Observations and Modeling lab (ACOM)

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


Re: Automatic Cygwin installation for CI ?

2023-12-22 Thread Andrew Schulman via Cygwin
> Is there any documentation how Cygwin 3.5.0 can be automatically (without GUI 
> and user intervention, e.g. via *.bat script) be installed as part of a CI 
> (Continuous integration) build environment ?

https://stackoverflow.com/questions/745275/can-i-script-a-cygwin-install-to-include-certain-packages/7366200#7366200


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


Re: Automatic Cygwin installation for CI ?

2023-12-16 Thread Jon Turney via Cygwin

On 16/12/2023 02:41, Marco Atzeri via Cygwin wrote:

On 15/12/2023 18:07, Mainz, Roland via Cygwin wrote:


Hi!



Is there any documentation how Cygwin 3.5.0 can be automatically 
(without GUI and user intervention, e.g. via *.bat script) be 
installed as part of a CI (Continuous integration) build environment ?




[...]


the source code of the Cygwin build server is here

    https://cygwin.com/cgit/cygwin-apps/scallywag/


I wouldn't use this as a good example of how to do things, as it's 
rather specialized, and relies on the GitHub cygwin-install-action [1] 
to do the actual installation.



But to answer the question actually asked, no, there is no specific 
documentation on this.


However, there is information on the command line options that setup 
supports (linked to from [2]), and generally using '-q' and '-P 
packagelist' can perform an automated installation.



What do you think more specific documentation could usefully say? 
Patches or suggested words are welcome.



[1] https://github.com/cygwin/cygwin-install-action
[2] https://cygwin.com/install.html#cli


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


Re: Automatic Cygwin installation for CI ?

2023-12-15 Thread Thomas Wolff via Cygwin



Am 15.12.2023 um 18:07 schrieb Mainz, Roland via Cygwin:

Hi!



Is there any documentation how Cygwin 3.5.0 can be automatically (without GUI 
and user intervention, e.g. via *.bat script) be installed as part of a CI 
(Continuous integration) build environment ?



Bye,
Roland
Appveyor CI provides a cygwin environment. You could try to find how 
they do it.


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


Re: Automatic Cygwin installation for CI ?

2023-12-15 Thread Marco Atzeri via Cygwin

On 15/12/2023 18:07, Mainz, Roland via Cygwin wrote:


Hi!



Is there any documentation how Cygwin 3.5.0 can be automatically (without GUI 
and user intervention, e.g. via *.bat script) be installed as part of a CI 
(Continuous integration) build environment ?



Bye,
Roland



the source code of the Cygwin build server is here

   https://cygwin.com/cgit/cygwin-apps/scallywag/

It builds cygwin packages and eventually also install them,
It creates the proper development environment installing the
needed package for every instance

log of the outcome are available at

 https://cygwin.com/cgi-bin2/jobs.cgi

Regards
Marco







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


Re: Automatic Cygwin installation for CI ?

2023-12-15 Thread Bill Stewart via Cygwin
On Fri, Dec 15, 2023 at 10:07 AM Mainz, Roland  wrote:

Is there any documentation how Cygwin 3.5.0 can be automatically (without
> GUI and user intervention, e.g. via *.bat script) be installed as part of a
> CI (Continuous integration) build environment ?
>

Have you looked at cygwin.com?

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


Automatic Cygwin installation for CI ?

2023-12-15 Thread Mainz, Roland via Cygwin


Hi!



Is there any documentation how Cygwin 3.5.0 can be automatically (without GUI 
and user intervention, e.g. via *.bat script) be installed as part of a CI 
(Continuous integration) build environment ?



Bye,
Roland


i. A. Roland Mainz
Entwickler Steuerungssoftware
TEE

ROVEMA GmbH

Industriestr. 1, 35463
Fernwald, Germany
 T  +49 641 409 528
 @ roland.ma...@rovema.de
 
www.rovema.com



ROVEMA GmbH
Industriestrasse 1, 35463 Fernwald, Germany
Geschäftsführer:
Christoph Gusenleitner
Dr. Dirk Panhans
Handelsregister-Eintrag/Commercial Register: Amtsgericht Gießen, HRB 8551
USt.-Ident./VAT ID No.: DE 301 430 123



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


Re: New installation of Cygwin64: xinit.sh exit code 3

2023-10-23 Thread Brian Inglis via Cygwin

On 2023-10-23 06:05, Fergus Daly via Cygwin wrote:

<< Detail >>


When I used Explorer to visit C:\ProgramData\Microsoft\Windows\Start 
Menu\Cygwin-X I was told:
"You don't currently have permission to access this folder"
and clicking on Continue to get access I was told:
"You have been denied permission to access this folder"
There was then offered an option to edit Permissions which I didn't feel like 
pursuing.
(I am the Administrator on my own standalone Windows machine. The denial of 
access to Cygwin-X feels odd.
PS I also have Cygwin32 installed and running. I _am_ permitted access to the 
equivalent folder Cygwin-X (32-bit).)



Please try running the following command/s, under Cygwin 32 and 64, and posting
the outputs:



$ for p in "`cygpath -A -P -U`"{,/Cygwin-X}; do for c in 'lsattr -d' 'ls -dl'
getfacl; do $c "$p"; echo; done; icacls "`cygpath -m "$p"`"; done


Thank you. (Again.)
1. Actually before reading this I had deleted both folders
(successfully, despite not being permitted entry into one
of them) and the re-ran the xinit installation with no
bother at all.
I'm guessing the Permissions glitch resulted from some local
recent accidental keypress or sequence.
2. icacls? Haven't got this though I have got getfacl; found icacl in
"Search packages" under libattica-devel and ng-spice-debuginfo?


$ /proc/cygdrive/c/WINDOWS/system32/icacls /?

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


RE: New installation of Cygwin64: xinit.sh exit code 3

2023-10-23 Thread Fergus Daly via Cygwin
<< Detail >>

>> When I used Explorer to visit C:\ProgramData\Microsoft\Windows\Start 
>> Menu\Cygwin-X I was told:
>> "You don't currently have permission to access this folder"
>> and clicking on Continue to get access I was told:
>> "You have been denied permission to access this folder"
>>There was then offered an option to edit Permissions which I didn't feel like 
>>pursuing.
>> (I am the Administrator on my own standalone Windows machine. The denial of 
>> access to Cygwin-X feels odd.
>> PS I also have Cygwin32 installed and running. I _am_ permitted access to 
>> the equivalent folder Cygwin-X (32-bit).)

> Please try running the following command/s, under Cygwin 32 and 64, and 
> posting 
> the outputs:

> $ for p in "`cygpath -A -P -U`"{,/Cygwin-X}; do for c in 'lsattr -d' 'ls -dl' 
> getfacl; do $c "$p"; echo; done; icacls "`cygpath -m "$p"`"; done

Thank you. (Again.)
1. Actually before reading this I had deleted both folders
(successfully, despite not being permitted entry into one 
of them) and the re-ran the xinit installation with no
bother at all. 
I'm guessing the Permissions glitch resulted from some local
recent accidental keypress or sequence.
2. icacls? Haven't got this though I have got getfacl; found icacl in 
"Search packages" under libattica-devel and ng-spice-debuginfo?

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


Re: New installation of Cygwin64: xinit.sh exit code 3

2023-10-22 Thread Brian Inglis via Cygwin

On 2023-10-21 22:46, Fergus Daly via Cygwin wrote:

Should have added: the file /var/log/setup.log shows no detail beyond
2023/10/21 09:29:46 running: G:\console64\bin\bash.exe --norc --noprofile 
"/etc/postinstall/xinit.sh"
2023/10/21 09:29:49 abnormal exit: exit code=3

-Original Message-

I made a new installation of Cygwin 64 on a new USB stick, including the 
package xinit.
(I use setup -P followed by a longish but far from complete list of required 
packages ..,..,xinit,..,..)
At this first use of setup I got a single error message:
Package: _/xinit xinit.sh exit code 3
At 2nd and all subsequent uses of setup (i.e. as update) I get the slightly 
altered error message:
Package: _/Unknown package xinit.sh exit code 3
In practice, any usage of xinit (e.g. to launch xterm) seems to work perfectly 
well, but the repeated
error message at any update transaction (including when empty) is disconcerting.
I have not tried an explicit command "bash (or dash) /etc/postinstall/xinit.sh" 
as - even if this worked -
I would prefer to canvass opinion on this minor glitch.
All the same - the glitch is recent, despite being minor .. ..



What filesystem is the drive formatted as: NTFS, ExFAT, FAT32, or other?
Try rerunning the xinit postinstall script as follows and report the failing
command(s) and error messages:
$ CYGWINFORALL=-A /bin/sh -vx /etc/postinstall/xinit.sh


Thank you!
1. The identical error msg occurs on all of NTFS, FAT32, exFAT file systems.
2. The output from your test command is identical on all file systems,
3. The failing commands are the two separate "case .. mkdir .. mkshortcut" 
sequences that occur
at the end of the xinit.sh script, with consequent error notification as 
follows:

case $(uname -s) in *-WOW*) wow64=" (32-bit)" ;; esac
+ case $(uname -s) in
++ uname -s
/usr/bin/mkdir -p "$(/usr/bin/cygpath $CYGWINFORALL -P)/Cygwin-X${wow64}"
++ /usr/bin/cygpath -A -P
+ /usr/bin/mkdir -p '/cygdrive/c/ProgramData/Microsoft/Windows/Start 
Menu/Programs/Cygwin-X'
/usr/bin/mkshortcut $CYGWINFORALL -P -w / -i /usr/bin/xwin-xdg-menu.exe -n 
"Cygwin-X${wow64}/XWin Server" -a "--quote /usr/bin/bash.exe
  -l -c \"cd; exec /usr/bin/startxwin\"" /usr/bin/run.exe
+ /usr/bin/mkshortcut -A -P -w / -i /usr/bin/xwin-xdg-menu.exe -n 
'Cygwin-X/XWin Server' -a '--quote /usr/bin/bash.exe
  -l -c "cd; exec /usr/bin/startxwin"' /usr/bin/run.exe
mkshortcut: Saving "/cygdrive/c/ProgramData/Microsoft/Windows/Start 
Menu/Programs/Cygwin-X/XWin Server.lnk" failed;
does the target directory exist?

case $(uname -s) in *-WOW*) wow64=" (32-bit)" ;; esac
+ case $(uname -s) in
++ uname -s
/usr/bin/mkdir -p "$(/usr/bin/cygpath $CYGWINFORALL -P)/Cygwin-X${wow64}"
++ /usr/bin/cygpath -A -P
+ /usr/bin/mkdir -p '/cygdrive/c/ProgramData/Microsoft/Windows/Start 
Menu/Programs/Cygwin-X'
/usr/bin/mkshortcut $CYGWINFORALL -P -w / -i /usr/bin/XWin.exe -n "Cygwin-X${wow64}/User 
script" -a "--quote /usr/bin/bash.exe
  -l -c \"cd; XSESSION_ICON= exec /usr/bin/startx /etc/X11/xinit/Xsession 
xinit-compat\"" /usr/bin/run.exe
+ /usr/bin/mkshortcut -A -P -w / -i /usr/bin/XWin.exe -n 'Cygwin-X/User script' 
-a '--quote /usr/bin/bash.exe
  -l -c "cd; XSESSION_ICON= exec /usr/bin/startx /etc/X11/xinit/Xsession 
xinit-compat"' /usr/bin/run.exe
mkshortcut: Saving "/cygdrive/c/ProgramData/Microsoft/Windows/Start 
Menu/Programs/Cygwin-X/User script.lnk" failed;
  does the target directory exist?

When I used Explorer to visit C:\ProgramData\Microsoft\Windows\Start 
Menu\Cygwin-X I was told:
"You don't currently have permission to access this folder"
and clicking on Continue to get access I was told:
"You have been denied permission to access this folder"
There was then offered an option to edit Permissions which I didn't feel like 
pursuing.

(I am the Administrator on my own standalone Windows machine. The denial of 
access to Cygwin-X feels odd.
PS I also have Cygwin32 installed and running. I _am_ permitted access to the 
equivalent folder Cygwin-X (32-bit).)


Please try running the following command/s, under Cygwin 32 and 64, and posting 
the outputs:


$ for p in "`cygpath -A -P -U`"{,/Cygwin-X}; do for c in 'lsattr -d' 'ls -dl' 
getfacl; do $c "$p"; echo; done; icacls "`cygpath -m "$p"`"; done


[I just typoed Cygwin 23 and thought - could that be a package of Cygwin, Perl, 
Python, etc. for DNA analysis? ;^> ]


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


RE: New installation of Cygwin64: xinit.sh exit code 3

2023-10-21 Thread Fergus Daly via Cygwin
>> Should have added: the file /var/log/setup.log shows no detail beyond
>> 2023/10/21 09:29:46 running: G:\console64\bin\bash.exe --norc --noprofile 
>> "/etc/postinstall/xinit.sh"
>> 2023/10/21 09:29:49 abnormal exit: exit code=3
>> 
>> -Original Message-
>> 
>> I made a new installation of Cygwin 64 on a new USB stick, including the 
>> package xinit.
>> (I use setup -P followed by a longish but far from complete list of required 
>> packages ..,..,xinit,..,..)
>> At this first use of setup I got a single error message:
>>Package: _/xinit xinit.sh exit code 3
>> At 2nd and all subsequent uses of setup (i.e. as update) I get the slightly 
>> altered error message:
>>Package: _/Unknown package xinit.sh exit code 3
>> In practice, any usage of xinit (e.g. to launch xterm) seems to work 
>> perfectly well, but the repeated
>> error message at any update transaction (including when empty) is 
>> disconcerting.
>> I have not tried an explicit command "bash (or dash) 
>> /etc/postinstall/xinit.sh" as - even if this worked -
>> I would prefer to canvass opinion on this minor glitch.
>> All the same - the glitch is recent, despite being minor .. ..

> What filesystem is the drive formatted as: NTFS, ExFAT, FAT32, or other?
> Try rerunning the xinit postinstall script as follows and report the failing 
> command(s) and error messages:
>   $ CYGWINFORALL=-A /bin/sh -vx /etc/postinstall/xinit.sh

Thank you!
1. The identical error msg occurs on all of NTFS, FAT32, exFAT file systems.
2. The output from your test command is identical on all file systems,
3. The failing commands are the two separate "case .. mkdir .. mkshortcut" 
sequences that occur
at the end of the xinit.sh script, with consequent error notification as 
follows:

case $(uname -s) in *-WOW*) wow64=" (32-bit)" ;; esac
+ case $(uname -s) in
++ uname -s
/usr/bin/mkdir -p "$(/usr/bin/cygpath $CYGWINFORALL -P)/Cygwin-X${wow64}"
++ /usr/bin/cygpath -A -P
+ /usr/bin/mkdir -p '/cygdrive/c/ProgramData/Microsoft/Windows/Start 
Menu/Programs/Cygwin-X'
/usr/bin/mkshortcut $CYGWINFORALL -P -w / -i /usr/bin/xwin-xdg-menu.exe -n 
"Cygwin-X${wow64}/XWin Server" -a "--quote /usr/bin/bash.exe
 -l -c \"cd; exec /usr/bin/startxwin\"" /usr/bin/run.exe
+ /usr/bin/mkshortcut -A -P -w / -i /usr/bin/xwin-xdg-menu.exe -n 
'Cygwin-X/XWin Server' -a '--quote /usr/bin/bash.exe
 -l -c "cd; exec /usr/bin/startxwin"' /usr/bin/run.exe
mkshortcut: Saving "/cygdrive/c/ProgramData/Microsoft/Windows/Start 
Menu/Programs/Cygwin-X/XWin Server.lnk" failed; 
does the target directory exist?

case $(uname -s) in *-WOW*) wow64=" (32-bit)" ;; esac
+ case $(uname -s) in
++ uname -s
/usr/bin/mkdir -p "$(/usr/bin/cygpath $CYGWINFORALL -P)/Cygwin-X${wow64}"
++ /usr/bin/cygpath -A -P
+ /usr/bin/mkdir -p '/cygdrive/c/ProgramData/Microsoft/Windows/Start 
Menu/Programs/Cygwin-X'
/usr/bin/mkshortcut $CYGWINFORALL -P -w / -i /usr/bin/XWin.exe -n 
"Cygwin-X${wow64}/User script" -a "--quote /usr/bin/bash.exe
 -l -c \"cd; XSESSION_ICON= exec /usr/bin/startx /etc/X11/xinit/Xsession 
xinit-compat\"" /usr/bin/run.exe
+ /usr/bin/mkshortcut -A -P -w / -i /usr/bin/XWin.exe -n 'Cygwin-X/User script' 
-a '--quote /usr/bin/bash.exe
 -l -c "cd; XSESSION_ICON= exec /usr/bin/startx /etc/X11/xinit/Xsession 
xinit-compat"' /usr/bin/run.exe
mkshortcut: Saving "/cygdrive/c/ProgramData/Microsoft/Windows/Start 
Menu/Programs/Cygwin-X/User script.lnk" failed;
 does the target directory exist?

When I used Explorer to visit C:\ProgramData\Microsoft\Windows\Start 
Menu\Cygwin-X I was told:
"You don't currently have permission to access this folder"
and clicking on Continue to get access I was told:
"You have been denied permission to access this folder"
There was then offered an option to edit Permissions which I didn't feel like 
pursuing.

(I am the Administrator on my own standalone Windows machine. The denial of 
access to Cygwin-X feels odd.
PS I also have Cygwin32 installed and running. I _am_ permitted access to the 
equivalent folder Cygwin-X (32-bit).)


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


Re: New installation of Cygwin64: xinit.sh exit code 3

2023-10-21 Thread Brian Inglis via Cygwin

On 2023-10-21 04:52, Fergus Daly via Cygwin wrote:

Should have added: the file /var/log/setup.log shows no detail beyond
2023/10/21 09:29:46 running: G:\console64\bin\bash.exe --norc --noprofile 
"/etc/postinstall/xinit.sh"
2023/10/21 09:29:49 abnormal exit: exit code=3

-Original Message-

I made a new installation of Cygwin 64 on a new USB stick, including the 
package xinit.
(I use setup -P followed by a longish but far from complete list of required 
packages ..,..,xinit,..,..) At this first use of setup I got a single error 
message:
   Package: _/xinit xinit.sh exit code 3 At 2nd and all subsequent uses of 
setup (i.e. as update) I get the slightly altered error message:
   Package: _/Unknown package xinit.sh exit code 3 In practice, any usage 
of xinit (e.g. to launch xterm) seems to work perfectly well, but the repeated 
error message at any update transaction (including when empty) is disconcerting.
I have not tried an explicit command "bash (or dash) /etc/postinstall/xinit.sh" 
as - even if this worked - I would prefer to canvass opinion on this minor glitch.
All the same - the glitch is recent, despite being minor .. ..


What filesystem is the drive formatted as: NTFS, ExFAT, FAT32, or other?

Try rerunning the xinit postinstall script as follows and report the failing 
command(s) and error messages:


$ CYGWINFORALL=-A /bin/sh -vx /etc/postinstall/xinit.sh

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


RE: New installation of Cygwin64: xinit.sh exit code 3

2023-10-21 Thread Fergus Daly via Cygwin
Should have added: the file /var/log/setup.log shows no detail beyond
2023/10/21 09:29:46 running: G:\console64\bin\bash.exe --norc --noprofile 
"/etc/postinstall/xinit.sh"
2023/10/21 09:29:49 abnormal exit: exit code=3

-Original Message-

I made a new installation of Cygwin 64 on a new USB stick, including the 
package xinit.
(I use setup -P followed by a longish but far from complete list of required 
packages ..,..,xinit,..,..) At this first use of setup I got a single error 
message:
  Package: _/xinit xinit.sh exit code 3 At 2nd and all subsequent uses of 
setup (i.e. as update) I get the slightly altered error message: 
  Package: _/Unknown package xinit.sh exit code 3 In practice, any usage of 
xinit (e.g. to launch xterm) seems to work perfectly well, but the repeated 
error message at any update transaction (including when empty) is disconcerting.
I have not tried an explicit command "bash (or dash) /etc/postinstall/xinit.sh" 
as - even if this worked - I would prefer to canvass opinion on this minor 
glitch.
All the same - the glitch is recent, despite being minor .. ..


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


New installation of Cygwin64: xinit.sh exit code 3

2023-10-21 Thread Fergus Daly via Cygwin
I made a new installation of Cygwin 64 on a new USB stick, including the 
package xinit.
(I use setup -P followed by a longish but far from complete list of required 
packages ..,..,xinit,..,..)
At this first use of setup I got a single error message:
  Package: _/xinit xinit.sh exit code 3
At 2nd and all subsequent uses of setup (i.e. as update) I get the slightly 
altered error message: 
  Package: _/Unknown package xinit.sh exit code 3
In practice, any usage of xinit (e.g. to launch xterm) seems to work perfectly 
well, but the 
repeated error message at any update transaction (including when empty) is 
disconcerting.
I have not tried an explicit command "bash (or dash) /etc/postinstall/xinit.sh" 
as - even if this
worked - I would prefer to canvass opinion on this minor glitch.
All the same - the glitch is recent, despite being minor .. ..

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


Re: Add single package without installation update

2023-06-20 Thread Michael Lemke via Cygwin

On Mon, 19 Jun 2023 13:04:06 +0200, Jon Turney  
wrote:


On 18/06/2023 20:58, Michael Lemke via Cygwin wrote:

I just wanted to install a package which I hadn't installed before but
since I haven't updated my installation in a while I get a huge list of
stuff to update. Is there a way in setup to install just the new package
without having to click on every package in the list? Updating
everything is just not convenient at the moment.


Select 'keep' mode in the radio buttons in the upper right of the
package chooser.  Then select your new package for installation.



Thank you, that did the trick.

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


Re: Add single package without installation update

2023-06-19 Thread Jon Turney via Cygwin

On 18/06/2023 20:58, Michael Lemke via Cygwin wrote:
I just wanted to install a package which I hadn't installed before but 
since I haven't updated my installation in a while I get a huge list of 
stuff to update. Is there a way in setup to install just the new package 
without having to click on every package in the list? Updating 
everything is just not convenient at the moment.


Select 'keep' mode in the radio buttons in the upper right of the 
package chooser.  Then select your new package for installation.




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


Add single package without installation update

2023-06-18 Thread Michael Lemke via Cygwin

I just wanted to install a package which I hadn't installed before but since I 
haven't updated my installation in a while I get a huge list of stuff to 
update. Is there a way in setup to install just the new package without having 
to click on every package in the list? Updating everything is just not 
convenient at the moment.

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


Re: Cygwin is hanged while installation

2023-02-10 Thread shaik jafrulla via Cygwin
Hi Andrey,

Thank you for your reply, FYI.. this is not the first instalation, I did
lot of installations. Will try one more time and let you know.


Regards,
Shaik Jafrulla

On Fri, Feb 10, 2023, 5:20 PM Andrey Repin  wrote:

> Greetings, shaik jafrulla!
>
> > Hi Team,
>
> > While installing latest cygwin package  and it is hanging at 0/Perpetual
> > /etc/postinstall/0p_000_autorebase.sh
>
> > I have tried multiple mirror sites and still issue the same. Please find
> > the attached screenshot. Kindly help in resolving this issue.
>
> If this is a first installation, and/or you have (re)installed many (new)
> packages at the same time, this process may take long time.
> Plus, certain antiviruses could slow it down to a crawl, considering the
> script has to open and possibly modify each executable file in the
> installation.
> Try to install just base set of packages for the starter, and incrementally
> add packages you are missing for your daily work.
>
>
> --
> With best regards,
> Andrey Repin
> Friday, February 10, 2023 14:33:22
>
> Sorry for my terrible english...
>
>

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


Re: Cygwin is hanged while installation

2023-02-10 Thread Andrey Repin via Cygwin
Greetings, shaik jafrulla!

> Hi Team,

> While installing latest cygwin package  and it is hanging at 0/Perpetual
> /etc/postinstall/0p_000_autorebase.sh

> I have tried multiple mirror sites and still issue the same. Please find
> the attached screenshot. Kindly help in resolving this issue.

If this is a first installation, and/or you have (re)installed many (new)
packages at the same time, this process may take long time.
Plus, certain antiviruses could slow it down to a crawl, considering the
script has to open and possibly modify each executable file in the
installation.
Try to install just base set of packages for the starter, and incrementally
add packages you are missing for your daily work.


-- 
With best regards,
Andrey Repin
Friday, February 10, 2023 14:33:22

Sorry for my terrible english...


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


Cygwin is hanged while installation

2023-02-09 Thread shaik jafrulla via Cygwin
Hi Team,

While installing latest cygwin package  and it is hanging at 0/Perpetual
/etc/postinstall/0p_000_autorebase.sh

I have tried multiple mirror sites and still issue the same. Please find
the attached screenshot. Kindly help in resolving this issue.


Regards,
Shaik Jafrulla

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


Re: EXTERNAL SENDER: offline installation of cygwin is impossible

2022-09-27 Thread Andrey Repin
Greetings, Dale Lobb!

>   This works for me to make a local installation repository:

>   All of the following assumes you have a working cygwin install on a machine 
> that has internet access.

> 1. Create a Cygwin install directory and cd into it.  Download the latest 
> Cygwin installer to this directory:

> # mkdir Cygwin
> # cd Cygwin
> # wget --no-check-certificate

Don't do that. Ever.
For apparent reasons.


-- 
With best regards,
Andrey Repin
Tuesday, September 27, 2022 21:06:21

Sorry for my terrible english...


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


RE: EXTERNAL SENDER: offline installation of cygwin is impossible

2022-09-26 Thread Dale Lobb via Cygwin
Lol, I copied some of the commands below from a cygwin terminal window from a 
shell script.  It looked fine before I sent it, but apparently the lack of 
CR-LF combos did a number on outlook.  Here it is again with the correct line 
CRLF line endings:

1. Create a Cygwin install directory and cd into it.  Download the latest 
Cygwin installer to this directory:

# mkdir Cygwin
# cd Cygwin
# wget --no-check-certificate https://www.cygwin.com/setup-x86_64.exe

2. Create an exclusions file.  This file should exclude any file types and 
whatever else you do not want in the new local repository. The following 
excludes source code and debug symbols:

# echo *-src.tar.*>  rsync_copy.exclusions
# echo *-debuginfo*>> rsync_copy.exclusions

3. Create a local repository mirror directory with syntax that matches one of 
the methods used for accessing an internet based Cygwin repository.  This 
should be under your Cygwin install directory.  Cd into the new directory. E.g.:

# mkdir ftp%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f
# cd ftp%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f

4. Use the rsync protocol (Actual rsync, not ssh) to download the data to your 
new local repository:

# rsync -av --progress rsync://mirrors.kernel.org/sourceware/cygwin/unsupported 
./
# rsync -av --delete --exclude-from=../rsync_copy.exclusions --progress 
rsync://mirrors.kernel.org/sourceware/cygwin/noarch  ./
# rsync -av --delete --exclude-from=../rsync_copy.exclusions --progress 
rsync://mirrors.kernel.org/sourceware/cygwin/x86_64  ./

5. Copy the entire Cygwin tree you just created to a CD ISO or flash drive.  
You now have a portable Cygwin installation.

Best Regards,

Dale Lobb



> -Original Message-
> From: Cygwin 
> On Behalf Of Dale Lobb via Cygwin
> Sent: Monday, September 26, 2022 10:47 AM
> To: 'JEROME GALLIERE' 
> Cc: 'cygwin@cygwin.com' 
> Subject: RE: EXTERNAL SENDER: offline installation of cygwin is impossible
>
> CAUTION: This email originated from outside of the organization. Do not
> click links or open attachments unless you recognize the sender.
>
>
>   This works for me to make a local installation repository:
>
>   All of the following assumes you have a working cygwin install on a
> machine that has internet access.
>
> 1. Create a Cygwin install directory and cd into it.  Download the latest
> Cygwin installer to this directory:
>
> # mkdir Cygwin
> # cd Cygwin
> # wget --no-check-certificate https://www.cygwin.com/setup-x86_64.exe

>
> 2. Create an exclusions file.  This file should exclude any file types and
> whatever else you do not want in the new local repository. The following
> excludes source code and debug symbols:
>
> # echo *-src.tar.*>  rsync_copy.exclusions # echo *-debuginfo*>>
> rsync_copy.exclusions
>
> 3. Create a local repository mirror directory with syntax that matches one
> of the methods used for accessing an internet based Cygwin repository.
> This should be under your Cygwin install directory.  Cd into the new
> directory. E.g.:
>
> # mkdir ftp%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f
> # cd ftp%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f
>
> 4. Use the rsync protocol (Actual rsync, not ssh) to download the data to
> your new local repository:
>
> # rsync -av --progress
> rsync://mirrors.kernel.org/sourceware/cygwin/unsupported ./ # rsync -av --
> delete --exclude-from=../rsync_copy.exclusions --progress
> rsync://mirrors.kernel.org/sourceware/cygwin/noarch  ./ # rsync -av --
> delete --exclude-from=../rsync_copy.exclusions --progress
> rsync://mirrors.kernel.org/sourceware/cygwin/x86_64  ./
>
> 5. Copy the entire Cygwin tree you just created to a CD ISO or flash drive.
> You now have a portable Cygwin installation.
>
> Best Regards,
>
> Dale Lobb
>
>
> > -Original Message-
> > From: Cygwin  bounces+dale.lobb=bryanhealth@cygwin.com>
> > On Behalf Of JEROME GALLIERE via Cygwin
> > Sent: Monday, September 26, 2022 3:31 AM
> > To: cygwin@cygwin.com
> > Subject: EXTERNAL SENDER: offline installation of cygwin is impossible
> >
> > CAUTION: This email originated from outside of the organization. Do
> > not click links or open attachments unless you recognize the sender.
> >
> >
> > Hello,
> >
> >
> >
> > I need to install cygwin on some machine not connected to internet so
> > I did everything I found over the internet on the subject.
> >
> > But despite I "download without installing" ALL packages from a normal
> > machine (I got almost 20G) despite I transfert that to the non
> > connected machines when trying to "Install from local directory"
> > install it is just
> &g

RE: EXTERNAL SENDER: offline installation of cygwin is impossible

2022-09-26 Thread Dale Lobb via Cygwin
  This works for me to make a local installation repository:

  All of the following assumes you have a working cygwin install on a machine 
that has internet access.

1. Create a Cygwin install directory and cd into it.  Download the latest 
Cygwin installer to this directory:

# mkdir Cygwin
# cd Cygwin
# wget --no-check-certificate https://www.cygwin.com/setup-x86_64.exe

2. Create an exclusions file.  This file should exclude any file types and 
whatever else you do not want in the new local repository. The following 
excludes source code and debug symbols:

# echo *-src.tar.*>  rsync_copy.exclusions
# echo *-debuginfo*>> rsync_copy.exclusions

3. Create a local repository mirror directory with syntax that matches one of 
the methods used for accessing an internet based Cygwin repository.  This 
should be under your Cygwin install directory.  Cd into the new directory. E.g.:

# mkdir ftp%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f
# cd ftp%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f

4. Use the rsync protocol (Actual rsync, not ssh) to download the data to your 
new local repository:

# rsync -av --progress rsync://mirrors.kernel.org/sourceware/cygwin/unsupported 
./
# rsync -av --delete --exclude-from=../rsync_copy.exclusions --progress 
rsync://mirrors.kernel.org/sourceware/cygwin/noarch  ./
# rsync -av --delete --exclude-from=../rsync_copy.exclusions --progress 
rsync://mirrors.kernel.org/sourceware/cygwin/x86_64  ./

5. Copy the entire Cygwin tree you just created to a CD ISO or flash drive.  
You now have a portable Cygwin installation.

Best Regards,

Dale Lobb


> -Original Message-
> From: Cygwin 
> On Behalf Of JEROME GALLIERE via Cygwin
> Sent: Monday, September 26, 2022 3:31 AM
> To: cygwin@cygwin.com
> Subject: EXTERNAL SENDER: offline installation of cygwin is impossible
>
> CAUTION: This email originated from outside of the organization. Do not
> click links or open attachments unless you recognize the sender.
>
>
> Hello,
>
>
>
> I need to install cygwin on some machine not connected to internet so I
> did everything I found over the internet on the subject.
>
> But despite I "download without installing" ALL packages from a normal
> machine (I got almost 20G) despite I transfert that to the non connected
> machines when trying to "Install from local directory" install it is just
> telling: "nothing to install/update" I tried any options and still the same.
>
> Does that really works recently? I asked recently because any articles I
> found on subject are years ago...
>
> Jérôme
>
> Ce message et toutes les pièces jointes (ci-après le "message") sont établis
> à l’intention exclusive des destinataires désignés. Il contient des
> informations confidentielles et pouvant être protégé par le secret
> professionnel. Si vous recevez ce message par erreur, merci d'en avertir
> immédiatement l'expéditeur et de détruire le message. Toute utilisation
> de ce message non conforme à sa destination, toute diffusion ou toute
> publication, totale ou partielle, est interdite, sauf autorisation expresse de
> l’émetteur. L'internet ne garantissant pas l'intégrité de ce message lors de
> son acheminement, Atos (et ses filiales) décline(nt) toute responsabilité
> au titre de son contenu. Bien que ce message ait fait l’objet d’un
> traitement anti-virus lors de son envoi, l’émetteur ne peut garantir
> l’absence totale de logiciels malveillants dans son contenu et ne pourrait
> être tenu pour responsable des dommages engendrés par la transmission
> de l’un d’eux.
>
> This message and any attachments (the "message") are intended solely for
> the addressee(s). It contains confidential information, that may be
> privileged. If you receive this message in error, please notify the sender
> immediately and delete the message. Any use of the message in violation
> of its purpose, any dissemination or disclosure, either wholly or partially is
> strictly prohibited, unless it has been explicitly authorized by the sender.
> As its integrity cannot be secured on the internet, Atos and its subsidiaries
> decline any liability for the content of this message. Although the sender
> endeavors to maintain a computer virus-free network, the sender does
> not warrant that this transmission is virus-free and will not be liable for
> any damages resulting from any virus transmitted.
>
> --
> Problem reports:
> https://urldefense.com/v3/__https://cygwin.com/problems.html__;!!PI4dZ
> uVR!lRiD-
> jvIGag0KyqZ8FVrkWA_Br0opC6trO8MH5VfX65x9E2tJg3ttKmRhhEkfqGmEro
> aVfv85tUSnl5j$
> FAQ:
> https://urldefense.com/v3/__https://cygwin.com/faq/__;!!PI4dZuVR!lRiD-
> jvIGag0KyqZ8FVrkWA_Br0opC6trO8MH5VfX65x9E2tJg3ttKmRhhEkfqGmEro
> aVfv85kmpsgbB$
&g

offline installation of cygwin is impossible

2022-09-26 Thread JEROME GALLIERE via Cygwin
Hello,



I need to install cygwin on some machine not connected to internet so I did 
everything I found over the internet on the subject.

But despite I "download without installing" ALL packages from a normal machine 
(I got almost 20G) despite I transfert that to the non connected machines when 
trying to "Install from local directory" install it is just telling: "nothing 
to install/update" I tried any options and still the same.

Does that really works recently? I asked recently because any articles I found 
on subject are years ago...

Jérôme

Ce message et toutes les pièces jointes (ci-après le "message") sont établis à 
l’intention exclusive des destinataires désignés. Il contient des informations 
confidentielles et pouvant être protégé par le secret professionnel. Si vous 
recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et 
de détruire le message. Toute utilisation de ce message non conforme à sa 
destination, toute diffusion ou toute publication, totale ou partielle, est 
interdite, sauf autorisation expresse de l’émetteur. L'internet ne garantissant 
pas l'intégrité de ce message lors de son acheminement, Atos (et ses filiales) 
décline(nt) toute responsabilité au titre de son contenu. Bien que ce message 
ait fait l’objet d’un traitement anti-virus lors de son envoi, l’émetteur ne 
peut garantir l’absence totale de logiciels malveillants dans son contenu et ne 
pourrait être tenu pour responsable des dommages engendrés par la transmission 
de l’un d’eux.

This message and any attachments (the "message") are intended solely for the 
addressee(s). It contains confidential information, that may be privileged. If 
you receive this message in error, please notify the sender immediately and 
delete the message. Any use of the message in violation of its purpose, any 
dissemination or disclosure, either wholly or partially is strictly prohibited, 
unless it has been explicitly authorized by the sender. As its integrity cannot 
be secured on the internet, Atos and its subsidiaries decline any liability for 
the content of this message. Although the sender endeavors to maintain a 
computer virus-free network, the sender does not warrant that this transmission 
is virus-free and will not be liable for any damages resulting from any virus 
transmitted.

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


Re: Broken links in Cygwin installation

2022-08-22 Thread Andrey Repin
Greetings, Andrey Repin!

> Small background: I've been moving my Cygwin installations around to match
> path locations between different systems. I've ended up with a lot of broken
> symlinks, between which some are actually lost.
> I've baked a PowerShell script to solve the issue (see attachment).
> Also in attachment a powershell startup wrapper for /usr/local/bin/

find -L / -xdev -type l -execdir fixmylinks.ps1 OldPathFragment 
New\\PathFragment '{}' +

In all broken links, script will look for "OldPathFragment", and if replacing
the fragment with "New\\PathFragment" produce valid existing path, it will
create a new link in place.


-- 
With best regards,
Andrey Repin
Monday, August 22, 2022 21:38:22

Sorry for my terrible english...


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


Re: Broken links in Cygwin installation

2022-08-21 Thread Ken Brown

On 8/21/2022 7:42 AM, Andrey Repin wrote:

Greetings, All!

# LC_ALL=C.UTF-8 find -L / -xdev -type l -exec ls -ld --color '{}' +
lrwxrwxrwx 1 anrdaemon None 28 Dec 26  2021 ./bin/rcs2log -> 
../share/cvs/contrib/rcs2log
lrwxrwxrwx 1 anrdaemon None 15 Nov 10  2021 ./lib/tcl8.6/tclConfig.sh -> 
../tclConfig.sh
lrwxrwxrwx 1 anrdaemon None 17 Feb  2  2020 ./lib/terminfo -> ../share/terminfo
lrwxrwxrwx 1 anrdaemon None 14 Nov 18  2021 ./lib/tk8.6/tkConfig.sh -> 
../tkConfig.sh
lrwxrwxrwx 1 anrdaemon None 15 Nov 10  2021 ./usr/lib/tcl8.6/tclConfig.sh -> 
../tclConfig.sh
lrwxrwxrwx 1 anrdaemon None 14 Nov 18  2021 ./usr/lib/tk8.6/tkConfig.sh -> 
../tkConfig.sh

Is this… normal ?


The first four are consequences of the fact that /bin is the same as /usr/bin 
and /lib is the same as /usr/lib.  The links in question were actually installed 
in /usr/bin or /usr/lib.  The package maintainers could avoid this issue by 
using absolute paths instead of relative ones in the symlink content, but I 
don't think it's likely to cause problems in practice.


The last two symlinks would get resolved if you installed tcl-devel and 
tcl-tk-devel.  I think it's fine to leave dangling symlinks in this situation.


Ken

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


Broken links in Cygwin installation

2022-08-21 Thread Andrey Repin
Greetings, All!

# LC_ALL=C.UTF-8 find -L / -xdev -type l -exec ls -ld --color '{}' +
lrwxrwxrwx 1 anrdaemon None 28 Dec 26  2021 ./bin/rcs2log -> 
../share/cvs/contrib/rcs2log
lrwxrwxrwx 1 anrdaemon None 15 Nov 10  2021 ./lib/tcl8.6/tclConfig.sh -> 
../tclConfig.sh
lrwxrwxrwx 1 anrdaemon None 17 Feb  2  2020 ./lib/terminfo -> ../share/terminfo
lrwxrwxrwx 1 anrdaemon None 14 Nov 18  2021 ./lib/tk8.6/tkConfig.sh -> 
../tkConfig.sh
lrwxrwxrwx 1 anrdaemon None 15 Nov 10  2021 ./usr/lib/tcl8.6/tclConfig.sh -> 
../tclConfig.sh
lrwxrwxrwx 1 anrdaemon None 14 Nov 18  2021 ./usr/lib/tk8.6/tkConfig.sh -> 
../tkConfig.sh

Is this… normal ?


-- 
With best regards,
Andrey Repin
Sunday, August 21, 2022 14:41:23

Sorry for my terrible english...

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


Re: Installation of cygwin failing

2021-12-16 Thread marco atzeri
On Thu, 16 Dec 2021, 10:20 Chris Macdonald,  wrote:

> Hello,
>
> I'm trying to install cygwin using the setup-x86_64.exe program I
> downloaded yesterday and am getting the error message:
>
> "Could not download mirror sites list"
>
> There seems to be an issue with various parts of the cygwin website. Please
> could you check this and perhaps suggest another way of installing it?
>
> Many thanks
>
> Chris Macdonald
>

Firewall in the middle?

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


Installation of cygwin failing

2021-12-16 Thread Chris Macdonald
Hello,

I'm trying to install cygwin using the setup-x86_64.exe program I
downloaded yesterday and am getting the error message:

"Could not download mirror sites list"

There seems to be an issue with various parts of the cygwin website. Please
could you check this and perhaps suggest another way of installing it?

Many thanks

Chris Macdonald

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


Re: CNTLM: INSTALLATION MESSAGE TO REPORT

2021-08-23 Thread cygwinautoreply--- via Cygwin
>Hi Team,
>Getting error as below on CNTLM setup as per documentation of on boardking:

>"C:\Program Files (x86)\Cntlm>cntlm -v
>   4925 [main] cntlm 13644 find_fast_cwd: WARNING: Couldn't compute FAST_CWD 
> pointer.  Please report this problem to
>the public mailing list cygwin@cygwin.com
>cygwin warning:
>  MS-DOS style path detected: C:\Program Files (x86)\Cntlm\cntlm.ini
>  Preferred POSIX equivalent is: /Cntlm/cntlm.ini
>  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
>  Consult the user's guide for more details about POSIX paths:
>http://cygwin.com/cygwin-ug-net/using.html#using-pathnames";

>Regards,
>Jaskriat Singh Bamrah
>ID :EO3133
>+91 9503238747


https://cygwin.com/faq.html#faq.using.fixing-find_fast_cwd-warnings

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


CNTLM: INSTALLATION MESSAGE TO REPORT

2021-08-23 Thread Bamrah, Jaskirat Singh (VIR) - contr via Cygwin
Hi Team,
Getting error as below on CNTLM setup as per documentation of on boardking:

"C:\Program Files (x86)\Cntlm>cntlm -v
   4925 [main] cntlm 13644 find_fast_cwd: WARNING: Couldn't compute FAST_CWD 
pointer.  Please report this problem to
the public mailing list cygwin@cygwin.com
cygwin warning:
  MS-DOS style path detected: C:\Program Files (x86)\Cntlm\cntlm.ini
  Preferred POSIX equivalent is: /Cntlm/cntlm.ini
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames";

Regards,
Jaskriat Singh Bamrah
ID :EO3133
+91 9503238747

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


Re: Fortran Installation

2021-01-05 Thread Lou Umscheid via Cygwin
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

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


Re: Fortran Installation

2021-01-04 Thread Marco Atzeri via Cygwin

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


Re: Fortran Installation

2021-01-03 Thread David Billinghurst via 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


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


Re: Fortran Installation

2021-01-03 Thread Brian Inglis

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 ~/filediff | less

and a decision made whether to:
* keep the customizatio

Re: Fortran Installation

2021-01-03 Thread Lou Umscheid via 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.



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


Re: Fortran Installation

2021-01-03 Thread Lou Umscheid via Cygwin
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


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


Re: Fortran Installation

2021-01-03 Thread Brian Inglis

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.]
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:

Re: Fortran Installation

2021-01-03 Thread Lou Umscheid via 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


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


Re: Fortran Installation

2021-01-03 Thread Brian Inglis via 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.]
--
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


Re: Fortran Installation

2021-01-03 Thread Lou Umscheid via 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!



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


Re: Fortran Installation

2021-01-03 Thread Lou Umscheid via 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!



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


Re: Fortran Installation

2021-01-03 Thread Brian Inglis

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


Re: Fortran Installation

2021-01-03 Thread Brian Inglis


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


Re: Fortran Installation

2021-01-03 Thread Achim Gratz
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
--
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


Re: Fortran Installation

2021-01-03 Thread Lou Umscheid via Cygwin
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.



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


Re: Fortran Installation

2021-01-03 Thread Brian Inglis

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


Re: Fortran Installation

2021-01-03 Thread Achim Gratz
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
--
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


Re: Fortran Installation

2021-01-03 Thread Marco Atzeri via Cygwin

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

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


Fortran Installation

2021-01-03 Thread Lou Umscheid via 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

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


RE: Cygwin installation fails in Windows 10

2020-10-16 Thread Chevva,Pramod Kumar via Cygwin
Hi David,

Can you please check at your end on the below issue.


Thanks 
Pramod 

-Original Message-
From: Brian Inglis [mailto:brian.ing...@systematicsw.ab.ca] 
Sent: Thursday, October 15, 2020 11:52 PM
To: cygwin@cygwin.com
Cc: Chevva,Pramod Kumar ; Deval,Ananth Nag 

Subject: [External] Re: Cygwin installation fails in Windows 10

To reset all Cygwin Setup program settings rm /etc/setup/setup.rc or delete the 
file from the equivalent path relative to your Cygwin root directory under 
Windows.

Please get your own IT team to diagnose why the Cygwin Setup program is not or 
is no longer working on your system, when it worked two days earlier, and works 
on thousands of others without issues.

Your own IT team most likely have added blocks to prevent it running, 
contacting the Cygwin site, or your local mirror.

Cygwin is maintained and supported totally by a global network of volunteers in 
their spare time, and is only available via email here to accommodate that.

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


On 2020-10-15 11:57, Chevva,Pramod Kumar via Cygwin wrote:
> Please join the call from the below meeting link to discuss on this issue.
> 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__teams.microsoft.c
> om_l_meetup-2Djoin_19-253ameeting-5FMGM4MDNjNDYtN2Q0Ni00MDcxLWFmNWMtOW
> Q1ZmNkMWM4M2Vl-2540thread.v2_0-3Fcontext-3D-257b-2522Tid-2522-253a-252
> 2d3a74ac8-2Defe4-2D4fe8-2Db707-2Db1bf8c6a25bd-2522-252c-2522Oid-2522-2
> 53a-2522fb3e46e2-2D56bd-2D474e-2Db8a0-2D95044bf99197-2522-257d&d=DwICa
> Q&c=MrQrGL4Bt1iC3sN_evS3dQ&r=8W125fbX-rSGJE_x2u_ToQkE5WeLjSf9l_q-6CNjJ
> 1Q&m=OSmxjdaYT0tRvemORQdEjQ3WvLXMJg7k8QO_HjI1xlo&s=A8vPs2RtfqNgpvC_Bgq
> 8II2rSuThllbnn-MZZmXFW-w&e=
> 
> 
> Thanks
> Pramod
> 
> -Original Message-
> From: Chevva,Pramod Kumar
> Sent: Thursday, October 15, 2020 1:39 PM
> To: cygwin@cygwin.com
> Cc: Deval,Ananth Nag 
> Subject: RE: [External] Re: Cygwin installation fails in Windows 10
> 
> I don't have access to the AV logs but the application is working fine 
> two days before
> 
> -Original Message-
> From: Marco Atzeri [mailto:marco.atz...@gmail.com]
> Sent: Thursday, October 15, 2020 1:02 PM
> To: Chevva,Pramod Kumar ; 
> cygwin@cygwin.com
> Cc: Deval,Ananth Nag 
> Subject: [External] Re: Cygwin installation fails in Windows 10
> 
> On 15.10.2020 18:47, Chevva,Pramod Kumar via Cygwin wrote:
>> Hi Team,
>>
>> Cygwin installation fails in windows 10 after we ran the setup-x86_64.exe 
>> and unable to see the installation window.
>>
>> Please advise.
>>
>> Thanks
>> Pramod
> 
> 
> Have you checked your Antivirus logs or settings ?
--
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


Re: Cygwin installation fails in Windows 10

2020-10-15 Thread Brian Inglis
To reset all Cygwin Setup program settings rm /etc/setup/setup.rc or delete the
file from the equivalent path relative to your Cygwin root directory under 
Windows.

Please get your own IT team to diagnose why the Cygwin Setup program is not or
is no longer working on your system, when it worked two days earlier, and works
on thousands of others without issues.

Your own IT team most likely have added blocks to prevent it running, contacting
the Cygwin site, or your local mirror.

Cygwin is maintained and supported totally by a global network of volunteers in
their spare time, and is only available via email here to accommodate that.

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


On 2020-10-15 11:57, Chevva,Pramod Kumar via Cygwin wrote:
> Please join the call from the below meeting link to discuss on this issue.
> 
> https://teams.microsoft.com/l/meetup-join/19%3ameeting_MGM4MDNjNDYtN2Q0Ni00MDcxLWFmNWMtOWQ1ZmNkMWM4M2Vl%40thread.v2/0?context=%7b%22Tid%22%3a%22d3a74ac8-efe4-4fe8-b707-b1bf8c6a25bd%22%2c%22Oid%22%3a%22fb3e46e2-56bd-474e-b8a0-95044bf99197%22%7d
> 
> 
> Thanks 
> Pramod 
> 
> -Original Message-
> From: Chevva,Pramod Kumar 
> Sent: Thursday, October 15, 2020 1:39 PM
> To: cygwin@cygwin.com
> Cc: Deval,Ananth Nag 
> Subject: RE: [External] Re: Cygwin installation fails in Windows 10
> 
> I don't have access to the AV logs but the application is working fine two 
> days before 
> 
> -Original Message-
> From: Marco Atzeri [mailto:marco.atz...@gmail.com] 
> Sent: Thursday, October 15, 2020 1:02 PM
> To: Chevva,Pramod Kumar ; cygwin@cygwin.com
> Cc: Deval,Ananth Nag 
> Subject: [External] Re: Cygwin installation fails in Windows 10
> 
> On 15.10.2020 18:47, Chevva,Pramod Kumar via Cygwin wrote:
>> Hi Team,
>>
>> Cygwin installation fails in windows 10 after we ran the setup-x86_64.exe 
>> and unable to see the installation window.
>>
>> Please advise.
>>
>> Thanks
>> Pramod
> 
> 
> Have you checked your Antivirus logs or settings ?
--
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


RE: Cygwin installation fails in Windows 10

2020-10-15 Thread Chevva,Pramod Kumar via Cygwin
Please join the call from the below meeting link to discuss on this issue.

https://teams.microsoft.com/l/meetup-join/19%3ameeting_MGM4MDNjNDYtN2Q0Ni00MDcxLWFmNWMtOWQ1ZmNkMWM4M2Vl%40thread.v2/0?context=%7b%22Tid%22%3a%22d3a74ac8-efe4-4fe8-b707-b1bf8c6a25bd%22%2c%22Oid%22%3a%22fb3e46e2-56bd-474e-b8a0-95044bf99197%22%7d


Thanks 
Pramod 

-Original Message-
From: Chevva,Pramod Kumar 
Sent: Thursday, October 15, 2020 1:39 PM
To: cygwin@cygwin.com
Cc: Deval,Ananth Nag 
Subject: RE: [External] Re: Cygwin installation fails in Windows 10

I don't have access to the AV logs but the application is working fine two days 
before 

-Original Message-
From: Marco Atzeri [mailto:marco.atz...@gmail.com] 
Sent: Thursday, October 15, 2020 1:02 PM
To: Chevva,Pramod Kumar ; cygwin@cygwin.com
Cc: Deval,Ananth Nag 
Subject: [External] Re: Cygwin installation fails in Windows 10

On 15.10.2020 18:47, Chevva,Pramod Kumar via Cygwin wrote:
> Hi Team,
> 
> Cygwin installation fails in windows 10 after we ran the setup-x86_64.exe and 
> unable to see the installation window.
> 
> Please advise.
> 
> Thanks
> Pramod


Have you checked your Antivirus logs or settings ?

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


RE: Cygwin installation fails in Windows 10

2020-10-15 Thread Chevva,Pramod Kumar via Cygwin
I don't have access to the AV logs but the application is working fine two days 
before 

-Original Message-
From: Marco Atzeri [mailto:marco.atz...@gmail.com] 
Sent: Thursday, October 15, 2020 1:02 PM
To: Chevva,Pramod Kumar ; cygwin@cygwin.com
Cc: Deval,Ananth Nag 
Subject: [External] Re: Cygwin installation fails in Windows 10

On 15.10.2020 18:47, Chevva,Pramod Kumar via Cygwin wrote:
> Hi Team,
> 
> Cygwin installation fails in windows 10 after we ran the setup-x86_64.exe and 
> unable to see the installation window.
> 
> Please advise.
> 
> Thanks
> Pramod


Have you checked your Antivirus logs or settings ?

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


Re: Cygwin installation fails in Windows 10

2020-10-15 Thread Marco Atzeri via Cygwin

On 15.10.2020 18:47, Chevva,Pramod Kumar via Cygwin wrote:

Hi Team,

Cygwin installation fails in windows 10 after we ran the setup-x86_64.exe and 
unable to see the installation window.

Please advise.

Thanks
Pramod



Have you checked your Antivirus logs or settings ?

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


Cygwin installation fails in Windows 10

2020-10-15 Thread Chevva,Pramod Kumar via Cygwin
Hi Team,

Cygwin installation fails in windows 10 after we ran the setup-x86_64.exe and 
unable to see the installation window.

Please advise.

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


Re: Cron installation issue

2020-09-02 Thread Anantha . Kumar
Hi Marco,

You must run service config scripts from an elevated admin shell.
Yes, I have executed using elevated admin shell but the same error I am getting.




Thanks,

Anantha Kumar

Platform Support

Elait
 Mobile: +91 9600406739

 Email :   anantha.ku...@elait.com<mailto:anantha.ku...@elait.com>

P Please consider the environment before printing this e-mail. Thank you.

Unless otherwise stated, the content of this email is confidential and intended 
for the specified recipient. Please seek permission in advance before sharing 
any of its contents. If received in error; please reply so we are aware and 
delete it.

<mailto:anantha.ku...@elait.com>



From: marco atzeri 
Sent: Wednesday, September 2, 2020 3:05 PM
To: Anantha.Kumar 
Cc: cygwin@cygwin.com 
Subject: Re: Cron installation issue

CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.


On Wed, Sep 2, 2020 at 11:13 AM Anantha.Kumar  wrote:
>
> Hi Team,
>
> Do you have any advice on this failure.

Again:
You must run service config scripts from an elevated admin shell.

It seems very simple to me. Or do you not understand its meaning ?

Regards
Marco
This E-mail is confidential. It may also be legally privileged. If you are not 
the addressee you may not copy, forward, disclose or use any part of it. If you 
have received this message in error, please delete it and all copies from your 
system and notify the sender immediately by return E-mail.

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


Re: Cron installation issue

2020-09-02 Thread marco atzeri via Cygwin
On Wed, Sep 2, 2020 at 11:13 AM Anantha.Kumar  wrote:
>
> Hi Team,
>
> Do you have any advice on this failure.

Again:
You must run service config scripts from an elevated admin shell.

It seems very simple to me. Or do you not understand its meaning ?

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


Re: Cron installation issue

2020-09-02 Thread Anantha . Kumar
Hi Team,

Do you have any advice on this failure.




Thanks,

Anantha Kumar

Platform Support

Elait
 Mobile: +91 9600406739

 Email :   anantha.ku...@elait.com<mailto:anantha.ku...@elait.com>

P Please consider the environment before printing this e-mail. Thank you.

Unless otherwise stated, the content of this email is confidential and intended 
for the specified recipient. Please seek permission in advance before sharing 
any of its contents. If received in error; please reply so we are aware and 
delete it.

<mailto:anantha.ku...@elait.com>



From: Anantha.Kumar 
Sent: Tuesday, September 1, 2020 5:47 PM
To: cygwin@cygwin.com ; brian.ing...@systematicsw.ab.ca 

Subject: Re: Cron installation issue

Hi Brain,

Yes, I was trying to run through admin shell but still facing this issue.



Thanks,

Anantha Kumar

Platform Support

Elait
 Mobile: +91 9600406739

 Email :   anantha.ku...@elait.com<mailto:anantha.ku...@elait.com>

P Please consider the environment before printing this e-mail. Thank you.

Unless otherwise stated, the content of this email is confidential and intended 
for the specified recipient. Please seek permission in advance before sharing 
any of its contents. If received in error; please reply so we are aware and 
delete it.

<mailto:anantha.ku...@elait.com>



From: Brian Inglis 
Sent: Friday, August 28, 2020 7:34 PM
To: cygwin@cygwin.com 
Cc: Anantha.Kumar 
Subject: Re: Cron installation issue

CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.


On 2020-08-28 03:35, Anantha.Kumar wrote:
> I am facing some issue while installing cron as a windows service. I have
> attached the error message and cronbug output. Could you please help us on
> this issue?

> Do you want to start the cron daemon as a service now? (yes/no) yes
> cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
> The service has not been started.


You must run service config scripts from an elevated admin shell.

--
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 IEC units and prefixes, physical quantities in SI.]
This E-mail is confidential. It may also be legally privileged. If you are not 
the addressee you may not copy, forward, disclose or use any part of it. If you 
have received this message in error, please delete it and all copies from your 
system and notify the sender immediately by return E-mail.

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


Re: Cron installation issue

2020-09-01 Thread Anantha . Kumar
Hi Brain,

Yes, I was trying to run through admin shell but still facing this issue.



Thanks,

Anantha Kumar

Platform Support

Elait
 Mobile: +91 9600406739

 Email :   anantha.ku...@elait.com<mailto:anantha.ku...@elait.com>

P Please consider the environment before printing this e-mail. Thank you.

Unless otherwise stated, the content of this email is confidential and intended 
for the specified recipient. Please seek permission in advance before sharing 
any of its contents. If received in error; please reply so we are aware and 
delete it.

<mailto:anantha.ku...@elait.com>



From: Brian Inglis 
Sent: Friday, August 28, 2020 7:34 PM
To: cygwin@cygwin.com 
Cc: Anantha.Kumar 
Subject: Re: Cron installation issue

CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.


On 2020-08-28 03:35, Anantha.Kumar wrote:
> I am facing some issue while installing cron as a windows service. I have
> attached the error message and cronbug output. Could you please help us on
> this issue?

> Do you want to start the cron daemon as a service now? (yes/no) yes
> cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
> The service has not been started.


You must run service config scripts from an elevated admin shell.

--
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 IEC units and prefixes, physical quantities in SI.]
This E-mail is confidential. It may also be legally privileged. If you are not 
the addressee you may not copy, forward, disclose or use any part of it. If you 
have received this message in error, please delete it and all copies from your 
system and notify the sender immediately by return E-mail.

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


Re: Cron installation issue

2020-08-28 Thread Brian Inglis


On 2020-08-28 03:35, Anantha.Kumar wrote:
> I am facing some issue while installing cron as a windows service. I have 
> attached the error message and cronbug output. Could you please help us on
> this issue?

> Do you want to start the cron daemon as a service now? (yes/no) yes
> cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
> The service has not been started.


You must run service config scripts from an elevated admin shell.

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


Cron installation issue

2020-08-28 Thread Anantha . Kumar
Hi Team,

I am facing some issue while installing cron as a windows service. I have 
attached the error message and cronbug output. Could you please help us on this 
issue?

/home/_PSCGRM.ABInitioTst> cron-config
Cron is already installed as a service under account DEVINT\_PSCGRM.ABInitioTst.
Do you want to remove or reinstall it? (yes/no) yes
OK. The cron service was removed.

Do you want to install the cron daemon as a service? (yes/no) yes
Enter the value of CYGWIN for the daemon: [ntsec smbntsec]

The service can run either as yourself or under a privileged account.
Running as yourself allows better access to network drives,
but does not allow to run the crontab of other users.
On Windows2003 the SYSTEM account cannot setuid to other users.
You need to have or to create a privileged account.
This script will help you do so.
Do you want to the cron daemon to run as yourself? (yes/no) yes

Please enter the password for user '_PSCGRM.ABInitioTst':
Reenter:
Running cron_diagnose ...
WARNING: You do not currently have a crontab file.

... no problem found.

Do you want to start the cron daemon as a service now? (yes/no) yes
cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
The service has not been started.


In case of problem, examine the log file for cron,
/var/log/cron.log, and the Windows event log (using /usr/bin/cronevents)
for information about the problem cron is having.

Examine also any cron.log file in the HOME directory
(or the file specified in MAILTO) and cron related files in /tmp.

If you cannot fix the problem, then report it to cygwin@cygwin.com.
Please run the script /usr/bin/cronbug and ATTACH its output
(the file cronbug.txt) to your e-mail.




Thanks,

Anantha Kumar

Platform Support

Elait
 Mobile: +91 9600406739

 Email :   anantha.ku...@elait.com

P Please consider the environment before printing this e-mail. Thank you.

Unless otherwise stated, the content of this email is confidential and intended 
for the specified recipient. Please seek permission in advance before sharing 
any of its contents. If received in error; please reply so we are aware and 
delete it.




This E-mail is confidential. It may also be legally privileged. If you are not 
the addressee you may not copy, forward, disclose or use any part of it. If you 
have received this message in error, please delete it and all copies from your 
system and notify the sender immediately by return E-mail.

Confidential

Current version

Running crons:
None

Sendmail:
lrwxrwxrwx 1 _PSCGRM.ABInitioTst Domain Users 16 Aug 11  2017 
/usr/sbin/sendmail -> /usr/bin/cronlog

Crontabs:

cron.log:
-rw-r--r--+ 1 _PSCGRM.ABInitioTst Domain Users 0 Aug 26 08:09 /var/log/cron.log

cron.pid:

Crontab:

Windows Application Events log:

Cygcheck:

Cygwin Configuration Diagnostics
Current System Time: Wed Aug 26 08:28:13 2020

Windows 2012 R2 Server Standard Ver 6.3 Build 9600 

Running in Terminal Service session

Path:   D:\apps\Java\jre1.7.0_45\bin
C:\Program Files\Python\Scripts
C:\Program Files\Python
D
D:\apps\cygwin\apps\abinitio\AbInitio-V3-1-7-0\bin
D:\apps\cygwin\bin
C:\Program Files\Python\Scripts
C:\Program Files\Python
C:\Windows
C:\Windows\System32
C:\Program Files\Java\jre7\bin
D:\apps\abinitio\AbInitio-V3-1-7-0\bin
C:\IBM\ITM\bin
C:\IBM\ITM\TMAITM6
C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn
C:\Program Files\Microsoft SQL Server\110\Tools\Binn
C:\Program Files\Microsoft SQL Server\110\DTS\Binn
C:\Program Files (x86)\Microsoft SQL Server\Client 
SDK\ODBC\130\Tools\Binn
C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn
C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn
C:\Program Files (x86)\Microsoft SQL 
Server\140\Tools\Binn\ManagementStudio
C:\IBM\ITM\InstallITM
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0
D:\apps\cygwin\bin

Output from D:\apps\cygwin\bin\id.exe
UID: 33874(_PSCGRM.ABInitioTst) GID: 10513(Domain Users)
10513(Domain Users) 544(Administrators)
559(Performance Log Users)  545(Users)
33871(APP-ABInitioTest-gs)

SysDir: C:\Windows\system32
WinDir: C:\Windows

USER = '_PSCGRM.ABInitioTst'
PWD = '/home/_PSCGRM.ABInitioTst'
CYGWIN = 'ntsec'
HOME = '/home/_PSCGRM.ABInitioTst'

USERDOMAIN_ROAMINGPROFILE = 'DEVINT'
HOMEPATH = '\Users\_PSCGRM.ABInitioTst'
MANPATH = '/usr/share/man:/usr/man::/usr/ssl/man'
APPDATA = 'C:\Users\_PSCGRM.ABInitioTst\AppData\Roaming'
ProgramW6432 = 'C:\Program Files'
HOSTNAME = 'pscappt00135'
AB_AG_CONFIG_DIR = 'd:/apps/abinitio/ab-deployments/ag_test/config'
PROCESSOR_IDENTIFIER = 'Intel64 Family 6 Model 79 Stepping 0, GenuineIntel'
TERM = 'cygwin'
WINDIR = 'C:\Windows'
PUBLIC = 'C:\Us

Re: Problem with output from gawk software in recent Cygwin installation

2020-07-28 Thread Brian Inglis


On 2020-07-28 09:32, Bryan VanSchouwen via Cygwin wrote:
> On Tue, Jul 28, 2020 at 12:06 AM Brian Inglis wrote:
>> On 2020-07-27 15:58, Bryan VanSchouwen wrote:
>>> On Mon, Jul 27, 2020 at 4:20 PM Brian Inglis wrote:
 On 2020-07-27 11:50, Michel LaBarre wrote:
> On July 27, 2020 12:52 PM, Eliot Moss wrote:
>> On 7/27/2020 11:47 AM, Bryan VanSchouwen wrote:
>>> I just tried executing an awk script using the most recent version
>>> of gawk, but the output did not turn out the way that it was supposed
>>> to.
>>> This script uses the following command to print the output data to
>>> the output file:
>>> print(cai[i], rpi[i], i) >
>>> "Fit_Height_correln_plot_-_cPuMP_vs_2NH2-cPuMP.dat"
>>> and previously, this command always printed the values of the three
>>> variables on a single line, separated by spaces; however, now the
>>> gawk software is automatically adding hard-returns between the
>>> values, resulting in the three values being printed on separate lines
>>> within the data file.
>>> What is going on here, and how do I permanently make it stop??
>>
> Here's a wondering: Could it have to do with line endings?  If Windows
> CRLF is getting in there, then the variables might get a CR in them,
> which might do weird things.  This assumes those are string variables,
> not numeric.
>>
 Better yet, how about an example using manifest constants in a one line
 sample to eliminate impact of arrays or changes in input data as in:
>> gawk
 'BEGIN {print(1,2,3)}' or gawk 'BEGIN {print(1,2,3) > "xxx.txt"}'>
>>> No problem with awk or gawk:
>>> $ for ((i = 0; i < 10; ++i))
>>>   do
>>> printf "%d %d %d %d\n" $((i+1)) $((i+2)) $((i+3)) $((i+4))
>>>   done > test.txt
>>> $ awk '{print($1, $2, $3)}' test.txt
>>> 1 2 3
>>> 2 3 4
>>> 3 4 5
>>> 4 5 6
>>> 5 6 7
>>> 6 7 8
>>> 7 8 9
>>> 8 9 10
>>> 9 10 11
>>> 10 11 12
>>> So the issue appears to be with your command line, script, or input data
>>> file: please show the command line used to execute the script, attach
>> the
>>> complete awk script, and input data file for diagnosis, or selections of
>> the
>>> latter piped through or output using cat -A to show control characters.
>>> Here they are (attached). The script was executed with the following
>>> command:> gawk -f peak_intensity_correln_plot_compile.awk
>> Input files have  \r\n  line terminators and those
>> are
>> carried thru at the ends of the string fields:
>>
>> $ gawk -f peak_intensity_correln_plot_compile.awk
>> $ file *cPuMP*.dat
>> 2NH2-cPuMP_nh_-_pk_Fit_Height_data.dat:ASCII text, with CRLF
>> line
>> terminators
>> cPuMP_nh_-_pk_Fit_Height_data.dat: ASCII text, with CRLF
>> line
>> terminators
>> Fit_Height_correln_plot_-_cPuMP_vs_2NH2-cPuMP.dat: ASCII text, with CR, LF
>> line
>> terminators
>> $ cat -A Fit_Height_correln_plot_-_cPuMP_vs_2NH2-cPuMP.dat | head
>> 1571697^M 1716833^M 224$
>> 2672863^M 2894992^M 225$
>> 2184902^M 9710015^M 226$
>> 4393362^M 4095908^M 227$
>> 3828609^M 4218978^M 229$
>> 6285045^M 4008320^M 233$
>> 3936959^M 4104667^M 234$
>> 1698322^M 1942553^M 237$
>> 4144791^M 4346435^M 238$
>> 2546328^M 2804338^M 239$
>>
>> You could change your input line terminators to "\r\n" e.g. option
>> -vRS="\r\n",
>> insert '{ sub( /\r$/, ""); before each 'split(x, s, " ")', convert your
>> input
>> fields from strings to numbers by adding zero i.e. cai[i] += 0; rpi[i] +=
>> 0; or
>> use belts, braces, and suspenders with all three, e.g.
>>
>> $ gawk -vRS="\r\n" -f peak_intensity_correln_plot_compile.awk
>> $ file *cPuMP*.dat
>> 2NH2-cPuMP_nh_-_pk_Fit_Height_data.dat:ASCII text, with CRLF
>> line
>> terminators
>> cPuMP_nh_-_pk_Fit_Height_data.dat: ASCII text, with CRLF
>> line
>> terminators
>> Fit_Height_correln_plot_-_cPuMP_vs_2NH2-cPuMP.dat: ASCII text
>> $ cat -A Fit_Height_correln_plot_-_cPuMP_vs_2NH2-cPuMP.dat | head
>> 1571697 1716833 224$
>> 2672863 2894992 225$
>> 2184902 9710015 226$
>> 4393362 4095908 227$
>> 3828609 4218978 229$
>> 6285045 4008320 233$
>> 3936959 4104667 234$
>> 1698322 1942553 237$
>> 4144791 4346435 238$
>> 2546328 2804338 239$

> Just out of curiosity: Could this "" issue be something new for 
> Windows 10? I ask because I don't recall having this issue with my old 
> Windows 7 computer.
If you had over 3 year old Cygwin packages on your Windows 7 system, as
changes for POSIX compatibility were made in the builds for test releases of
gawk, grep, sed coordinated and announced together in:

https://cygwin.com/legacy-ml/cygwin/2017-02/threads.html#00152

Perhaps the issue is in whatever generated/s the files, or whatever you had
installed and in your path on Windows 7. Msys and Mingw versions of gawk may
ignore extra s on input, and may possibly also be included with Git for
Windows, or other Windows Unix-like packages.

-- 
Take care. Thanks, Brian Inglis, Calgary, Al

Re: Problem with output from gawk software in recent Cygwin installation

2020-07-28 Thread Bryan VanSchouwen via Cygwin
Just out of curiosity: Could this "" issue be something new for
Windows 10?  I ask because I don't recall having this issue with my old
Windows 7 computer.

Bryan


On Tue, Jul 28, 2020 at 12:06 AM Brian Inglis <
brian.ing...@systematicsw.ab.ca> wrote:

> On 2020-07-27 15:58, Bryan VanSchouwen wrote:
> > On Mon, Jul 27, 2020 at 4:20 PM Brian Inglis wrote:
> >> On 2020-07-27 11:50, Michel LaBarre wrote:
> >>> On July 27, 2020 12:52 PM, Eliot Moss wrote:
>  On 7/27/2020 11:47 AM, Bryan VanSchouwen wrote:
> > I just tried executing an awk script using the most recent version
> > of gawk, but the output did not turn out the way that it was supposed
> > to.
> > This script uses the following command to print the output data to
> > the output file:
> > print(cai[i], rpi[i], i) >
> > "Fit_Height_correln_plot_-_cPuMP_vs_2NH2-cPuMP.dat"
> > and previously, this command always printed the values of the three
> > variables on a single line, separated by spaces; however, now the
> > gawk software is automatically adding hard-returns between the
> > values, resulting in the three values being printed on separate lines
> > within the data file.
> > What is going on here, and how do I permanently make it stop??
>
> >>> Here's a wondering: Could it have to do with line endings?  If Windows
> >>> CRLF is getting in there, then the variables might get a CR in them,
> >>> which might do weird things.  This assumes those are string variables,
> >>> not numeric.
>
> >> Better yet, how about an example using manifest constants in a one line
> >> sample to eliminate impact of arrays or changes in input data as in:
> gawk
> >> 'BEGIN {print(1,2,3)}' or gawk 'BEGIN {print(1,2,3) > "xxx.txt"}'>
> > No problem with awk or gawk:
> > $ for ((i = 0; i < 10; ++i))
> >   do
> > printf "%d %d %d %d\n" $((i+1)) $((i+2)) $((i+3)) $((i+4))
> >   done > test.txt
> > $ awk '{print($1, $2, $3)}' test.txt
> > 1 2 3
> > 2 3 4
> > 3 4 5
> > 4 5 6
> > 5 6 7
> > 6 7 8
> > 7 8 9
> > 8 9 10
> > 9 10 11
> > 10 11 12
> > So the issue appears to be with your command line, script, or input data
> > file: please show the command line used to execute the script, attach
> the
> > complete awk script, and input data file for diagnosis, or selections of
> the
> > latter piped through or output using cat -A to show control characters.
> > Here they are (attached). The script was executed with the following
> > command:> gawk -f peak_intensity_correln_plot_compile.awk
> Input files have  \r\n  line terminators and those
> are
> carried thru at the ends of the string fields:
>
> $ gawk -f peak_intensity_correln_plot_compile.awk
> $ file *cPuMP*.dat
> 2NH2-cPuMP_nh_-_pk_Fit_Height_data.dat:ASCII text, with CRLF
> line
> terminators
> cPuMP_nh_-_pk_Fit_Height_data.dat: ASCII text, with CRLF
> line
> terminators
> Fit_Height_correln_plot_-_cPuMP_vs_2NH2-cPuMP.dat: ASCII text, with CR, LF
> line
> terminators
> $ cat -A Fit_Height_correln_plot_-_cPuMP_vs_2NH2-cPuMP.dat | head
> 1571697^M 1716833^M 224$
> 2672863^M 2894992^M 225$
> 2184902^M 9710015^M 226$
> 4393362^M 4095908^M 227$
> 3828609^M 4218978^M 229$
> 6285045^M 4008320^M 233$
> 3936959^M 4104667^M 234$
> 1698322^M 1942553^M 237$
> 4144791^M 4346435^M 238$
> 2546328^M 2804338^M 239$
>
> You could change your input line terminators to "\r\n" e.g. option
> -vRS="\r\n",
> insert '{ sub( /\r$/, ""); before each 'split(x, s, " ")', convert your
> input
> fields from strings to numbers by adding zero i.e. cai[i] += 0; rpi[i] +=
> 0; or
> use belts, braces, and suspenders with all three, e.g.
>
> $ gawk -vRS="\r\n" -f peak_intensity_correln_plot_compile.awk
> $ file *cPuMP*.dat
> 2NH2-cPuMP_nh_-_pk_Fit_Height_data.dat:ASCII text, with CRLF
> line
> terminators
> cPuMP_nh_-_pk_Fit_Height_data.dat: ASCII text, with CRLF
> line
> terminators
> Fit_Height_correln_plot_-_cPuMP_vs_2NH2-cPuMP.dat: ASCII text
> $ cat -A Fit_Height_correln_plot_-_cPuMP_vs_2NH2-cPuMP.dat | head
> 1571697 1716833 224$
> 2672863 2894992 225$
> 2184902 9710015 226$
> 4393362 4095908 227$
> 3828609 4218978 229$
> 6285045 4008320 233$
> 3936959 4104667 234$
> 1698322 1942553 237$
> 4144791 4346435 238$
> 2546328 2804338 239$
>
> --
> 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 IEC 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
>
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml

Re: Problem with output from gawk software in recent Cygwin installation

2020-07-27 Thread Brian Inglis
On 2020-07-27 15:58, Bryan VanSchouwen wrote:
> On Mon, Jul 27, 2020 at 4:20 PM Brian Inglis wrote:
>> On 2020-07-27 11:50, Michel LaBarre wrote:
>>> On July 27, 2020 12:52 PM, Eliot Moss wrote:
 On 7/27/2020 11:47 AM, Bryan VanSchouwen wrote:
> I just tried executing an awk script using the most recent version
> of gawk, but the output did not turn out the way that it was supposed
> to.
> This script uses the following command to print the output data to
> the output file:
> print(cai[i], rpi[i], i) > 
> "Fit_Height_correln_plot_-_cPuMP_vs_2NH2-cPuMP.dat"
> and previously, this command always printed the values of the three 
> variables on a single line, separated by spaces; however, now the
> gawk software is automatically adding hard-returns between the
> values, resulting in the three values being printed on separate lines
> within the data file.
> What is going on here, and how do I permanently make it stop??

>>> Here's a wondering: Could it have to do with line endings?  If Windows 
>>> CRLF is getting in there, then the variables might get a CR in them, 
>>> which might do weird things.  This assumes those are string variables, 
>>> not numeric.

>> Better yet, how about an example using manifest constants in a one line
>> sample to eliminate impact of arrays or changes in input data as in: gawk
>> 'BEGIN {print(1,2,3)}' or gawk 'BEGIN {print(1,2,3) > "xxx.txt"}'>
> No problem with awk or gawk:
> $ for ((i = 0; i < 10; ++i))
>   do
> printf "%d %d %d %d\n" $((i+1)) $((i+2)) $((i+3)) $((i+4))
>   done > test.txt
> $ awk '{print($1, $2, $3)}' test.txt
> 1 2 3
> 2 3 4
> 3 4 5
> 4 5 6
> 5 6 7
> 6 7 8
> 7 8 9
> 8 9 10
> 9 10 11
> 10 11 12
> So the issue appears to be with your command line, script, or input data 
> file: please show the command line used to execute the script, attach the 
> complete awk script, and input data file for diagnosis, or selections of the
> latter piped through or output using cat -A to show control characters.
> Here they are (attached). The script was executed with the following 
> command:> gawk -f peak_intensity_correln_plot_compile.awk
Input files have  \r\n  line terminators and those are
carried thru at the ends of the string fields:

$ gawk -f peak_intensity_correln_plot_compile.awk
$ file *cPuMP*.dat
2NH2-cPuMP_nh_-_pk_Fit_Height_data.dat:ASCII text, with CRLF line
terminators
cPuMP_nh_-_pk_Fit_Height_data.dat: ASCII text, with CRLF line
terminators
Fit_Height_correln_plot_-_cPuMP_vs_2NH2-cPuMP.dat: ASCII text, with CR, LF line
terminators
$ cat -A Fit_Height_correln_plot_-_cPuMP_vs_2NH2-cPuMP.dat | head
1571697^M 1716833^M 224$
2672863^M 2894992^M 225$
2184902^M 9710015^M 226$
4393362^M 4095908^M 227$
3828609^M 4218978^M 229$
6285045^M 4008320^M 233$
3936959^M 4104667^M 234$
1698322^M 1942553^M 237$
4144791^M 4346435^M 238$
2546328^M 2804338^M 239$

You could change your input line terminators to "\r\n" e.g. option -vRS="\r\n",
insert '{ sub( /\r$/, ""); before each 'split(x, s, " ")', convert your input
fields from strings to numbers by adding zero i.e. cai[i] += 0; rpi[i] += 0; or
use belts, braces, and suspenders with all three, e.g.

$ gawk -vRS="\r\n" -f peak_intensity_correln_plot_compile.awk
$ file *cPuMP*.dat
2NH2-cPuMP_nh_-_pk_Fit_Height_data.dat:ASCII text, with CRLF line
terminators
cPuMP_nh_-_pk_Fit_Height_data.dat: ASCII text, with CRLF line
terminators
Fit_Height_correln_plot_-_cPuMP_vs_2NH2-cPuMP.dat: ASCII text
$ cat -A Fit_Height_correln_plot_-_cPuMP_vs_2NH2-cPuMP.dat | head
1571697 1716833 224$
2672863 2894992 225$
2184902 9710015 226$
4393362 4095908 227$
3828609 4218978 229$
6285045 4008320 233$
3936959 4104667 234$
1698322 1942553 237$
4144791 4346435 238$
2546328 2804338 239$

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


Re: Problem with output from gawk software in recent Cygwin installation

2020-07-27 Thread Brian Inglis
On 2020-07-27 11:50, Michel LaBarre wrote:
>> On July 27, 2020 12:52 PM, Eliot Moss wrote:
>> On 7/27/2020 11:47 AM, Bryan VanSchouwen wrote:

>>> I just tried executing an awk script using the most recent version of
> gawk,
>>> but the output did not turn out the way that it was supposed to.
>>>
>>> This script uses the following command to print the output data to the
>>> output file:
>>> print(cai[i], rpi[i], i) >
>>> "Fit_Height_correln_plot_-_cPuMP_vs_2NH2-cPuMP.dat"
>>>
>>> and previously, this command always printed the values of the three
>>> variables on a single line, separated by spaces; however, now the gawk
>>> software is automatically adding hard-returns between the values,
> resulting
>>> in the three values being printed on separate lines within the data
> file.
>>>
>>> What is going on here, and how do I permanently make it stop??

>> Here's a wondering: Could it have to do with line endings?  If Windows
>> CRLF is getting in there, then the variables might get a CR in them,
>> which might do weird things.  This assumes those are string variables,
>> not numeric.

> Better yet, how about an example using manifest constants
> in a one line sample to eliminate impact of arrays or changes in input data
> as in: 
>gawk 'BEGIN {print(1,2,3)}'
> or
>   gawk 'BEGIN {print(1,2,3) > "xxx.txt"}'

No problem with awk or gawk:

$ for ((i = 0; i < 10; ++i))
  do
printf "%d %d %d %d\n" $((i+1)) $((i+2)) $((i+3)) $((i+4))
  done > test.txt
$ awk '{print($1, $2, $3)}' test.txt
1 2 3
2 3 4
3 4 5
4 5 6
5 6 7
6 7 8
7 8 9
8 9 10
9 10 11
10 11 12

So the issue appears to be with your command line, script, or input data file:
please show the command line used to execute the script, attach the complete awk
script, and input data file for diagnosis, or selections of the latter piped
through or output using cat -A to show control characters.

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


RE: Problem with output from gawk software in recent Cygwin installation

2020-07-27 Thread Michel LaBarre



> -Original Message-
> From: Cygwin [mailto:cygwin-boun...@cygwin.com] On Behalf Of Eliot Moss
> Sent: July 27, 2020 12:52 PM
> To: Bryan VanSchouwen; cygwin@cygwin.com
> Subject: Re: Problem with output from gawk software in recent Cygwin
> installation
> 
> On 7/27/2020 11:47 AM, Bryan VanSchouwen via Cygwin wrote:
> > Hello.
> >
> > I just tried executing an awk script using the most recent version of
gawk,
> > but the output did not turn out the way that it was supposed to.
> >
> > This script uses the following command to print the output data to the
> > output file:
> > print(cai[i], rpi[i], i) >
> > "Fit_Height_correln_plot_-_cPuMP_vs_2NH2-cPuMP.dat"
> >
> > and previously, this command always printed the values of the three
> > variables on a single line, separated by spaces; however, now the gawk
> > software is automatically adding hard-returns between the values,
resulting
> > in the three values being printed on separate lines within the data
file.
> >
> > What is going on here, and how do I permanently make it stop??
> 
> Here's a wondering: Could it have to do with line endings?  If Windows
> CRLF is getting in there, then the variables might get a CR in them,
> which might do weird things.  This assumes those are string variables,
> not numeric.
[Michel LaBarre] Better yet, how about an example using manifest constants
in a one line sample to eliminate impact of arrays or changes in input data
as in: 
   gawk 'BEGIN {print(1,2,3)}'
or
  gawk 'BEGIN {print(1,2,3) > "xxx.txt"}'
> 
> Best - EM
> --
> 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

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


Re: Problem with output from gawk software in recent Cygwin installation

2020-07-27 Thread Eliot Moss

On 7/27/2020 11:47 AM, Bryan VanSchouwen via Cygwin wrote:

Hello.

I just tried executing an awk script using the most recent version of gawk,
but the output did not turn out the way that it was supposed to.

This script uses the following command to print the output data to the
output file:
print(cai[i], rpi[i], i) >
"Fit_Height_correln_plot_-_cPuMP_vs_2NH2-cPuMP.dat"

and previously, this command always printed the values of the three
variables on a single line, separated by spaces; however, now the gawk
software is automatically adding hard-returns between the values, resulting
in the three values being printed on separate lines within the data file.

What is going on here, and how do I permanently make it stop??


Here's a wondering: Could it have to do with line endings?  If Windows
CRLF is getting in there, then the variables might get a CR in them,
which might do weird things.  This assumes those are string variables,
not numeric.

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


Re: Problem with output from gawk software in recent Cygwin installation

2020-07-27 Thread Henry S. Thompson via Cygwin
Bryan VanSchouwen via Cygwin writes:

> I just tried executing an awk script using the most recent version of gawk,
> but the output did not turn out the way that it was supposed to.

...

> and previously, this command always printed the values of the three
> variables on a single line, separated by spaces; however, now the gawk
> software is automatically adding hard-returns between the values

The script hasn't changed, but before we know it's gawk that's changed,
we need to check that the _input_ hasn't changed.  Can you show us a
sample?

ht
-- 
   Henry S. Thompson, School of Informatics, University of Edinburgh
  10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: h...@inf.ed.ac.uk
   URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

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


Problem with output from gawk software in recent Cygwin installation

2020-07-27 Thread Bryan VanSchouwen via Cygwin
Hello.

I just tried executing an awk script using the most recent version of gawk,
but the output did not turn out the way that it was supposed to.

This script uses the following command to print the output data to the
output file:
print(cai[i], rpi[i], i) >
"Fit_Height_correln_plot_-_cPuMP_vs_2NH2-cPuMP.dat"

and previously, this command always printed the values of the three
variables on a single line, separated by spaces; however, now the gawk
software is automatically adding hard-returns between the values, resulting
in the three values being printed on separate lines within the data file.

What is going on here, and how do I permanently make it stop??
--
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


Re: Problem with "xmgrace" graphing software in recent Cygwin installation

2020-07-24 Thread Marco Atzeri via Cygwin

On 24.07.2020 14:00, Ken Brown via Cygwin wrote:


This problem was reported 2 1/2 years ago, and its solution was posted 
here:


   https://sourceware.org/pipermail/cygwin/2018-March/236345.html

The problem and solution have been rediscovered several times since 
then.  Maybe one of the xmgrace users who has reported this would be 
willing to adopt the grace package and finally fix it.


Ken



version -3 on the way...
--
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


Re: Problem with "xmgrace" graphing software in recent Cygwin installation

2020-07-24 Thread Ken Brown via Cygwin

On 7/24/2020 1:19 AM, Marco Atzeri via Cygwin wrote:

On 24.07.2020 05:00, Bryan VanSchouwen via Cygwin wrote:

Hello.

I recently installed a copy of the Cygwin software package on my new
Windows 10 laptop.  However, whenever I try to access the "xmgrace"
graphing software (by entering the command "xmgrace &" in the xterm command
shell, as I did on my old Windows 7 laptop), I get the following error
message:

[vansc@LAPTOP-OHN2RCVM ~]$ xmgrace &
[1] 1183
[vansc@LAPTOP-OHN2RCVM ~]$ --> Broken or incomplete installation - read the
FAQ!
[1]    Exit 1    xmgrace
[vansc@LAPTOP-OHN2RCVM ~]$




I tried reading the FAQ, but it was unhelpful for this particular issue.
Does anyone have any ideas about why this might be happening??  Also, if it
is an incomplete installation, then does anyone know what set of Cygwin
utilities I need to install to obtain a fully-functioning copy of the
"xmgrace" graphing software?


there is an entry about Fonts, and

a strace output shows that xmgrace is looking for type1 fonts on



   /usr/share/ghostscript/fonts

   /usr/share/grace/fonts/type1



in the past ghostscript provided them, but not anymore,
so I *guess* you need this workaround


install "urw-base35-fonts-legacy" package

$ cd  /usr/share/grace/fonts/
$ ln -s /usr/share/X11/fonts/urw-fonts type1


the fonts looked by xgrace are :

/usr/share/grace/fonts/type1/d05l.pfa
/usr/share/grace/fonts/type1/n019003l.pfa
/usr/share/grace/fonts/type1/n019004l.pfa
/usr/share/grace/fonts/type1/n019023l.pfa
/usr/share/grace/fonts/type1/n019024l.pfa
/usr/share/grace/fonts/type1/n021003l.pfa
/usr/share/grace/fonts/type1/n021004l.pfa
/usr/share/grace/fonts/type1/n021023l.pfa
/usr/share/grace/fonts/type1/n021024l.pfa
/usr/share/grace/fonts/type1/n022003l.pfa
/usr/share/grace/fonts/type1/n022004l.pfa
/usr/share/grace/fonts/type1/n022023l.pfa
/usr/share/grace/fonts/type1/n022024l.pfa
/usr/share/grace/fonts/type1/s05l.pfa

and their pfb counterpart.


This problem was reported 2 1/2 years ago, and its solution was posted here:

  https://sourceware.org/pipermail/cygwin/2018-March/236345.html

The problem and solution have been rediscovered several times since then.  Maybe 
one of the xmgrace users who has reported this would be willing to adopt the 
grace package and finally fix it.


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


Re: Problem with "xmgrace" graphing software in recent Cygwin installation

2020-07-24 Thread Markus Hoenicka

Am 2020-07-24 07:19, schrieb Marco Atzeri via Cygwin:

On 24.07.2020 05:00, Bryan VanSchouwen via Cygwin wrote:

Hello.

I recently installed a copy of the Cygwin software package on my new
Windows 10 laptop.  However, whenever I try to access the "xmgrace"
graphing software (by entering the command "xmgrace &" in the xterm 
command

shell, as I did on my old Windows 7 laptop), I get the following error
message:

[vansc@LAPTOP-OHN2RCVM ~]$ xmgrace &
[1] 1183
[vansc@LAPTOP-OHN2RCVM ~]$ --> Broken or incomplete installation - 
read the

FAQ!
[1]Exit 1xmgrace
[vansc@LAPTOP-OHN2RCVM ~]$




I tried reading the FAQ, but it was unhelpful for this particular 
issue.
Does anyone have any ideas about why this might be happening??  Also, 
if it
is an incomplete installation, then does anyone know what set of 
Cygwin

utilities I need to install to obtain a fully-functioning copy of the
"xmgrace" graphing software?


there is an entry about Fonts, and

a strace output shows that xmgrace is looking for type1 fonts on



  /usr/share/ghostscript/fonts

  /usr/share/grace/fonts/type1



in the past ghostscript provided them, but not anymore,
so I *guess* you need this workaround


install "urw-base35-fonts-legacy" package

$ cd  /usr/share/grace/fonts/
$ ln -s /usr/share/X11/fonts/urw-fonts type1


the fonts looked by xgrace are :

/usr/share/grace/fonts/type1/d05l.pfa
/usr/share/grace/fonts/type1/n019003l.pfa
/usr/share/grace/fonts/type1/n019004l.pfa
/usr/share/grace/fonts/type1/n019023l.pfa
/usr/share/grace/fonts/type1/n019024l.pfa
/usr/share/grace/fonts/type1/n021003l.pfa
/usr/share/grace/fonts/type1/n021004l.pfa
/usr/share/grace/fonts/type1/n021023l.pfa
/usr/share/grace/fonts/type1/n021024l.pfa
/usr/share/grace/fonts/type1/n022003l.pfa
/usr/share/grace/fonts/type1/n022004l.pfa
/usr/share/grace/fonts/type1/n022023l.pfa
/usr/share/grace/fonts/type1/n022024l.pfa
/usr/share/grace/fonts/type1/s05l.pfa

and their pfb counterpart.

Regards
Marco


Hi,

I ran into this problem yesterday, but I had to ask our IT service for 
admin permissions before I could fiddle with my installation. Therefore 
your answer (and the OP's question) came in faster than I could even 
ask. This is just to confirm that your suggested changes fixed the 
problem here. Would it make sense to add a dependency on the fonts to 
the grace package?


regards,
Markus

--
Markus Hoenicka
http://www.mhoenicka.de
AQ score 38
--
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


Re: Problem with "xmgrace" graphing software in recent Cygwin installation

2020-07-23 Thread Marco Atzeri via Cygwin

On 24.07.2020 05:00, Bryan VanSchouwen via Cygwin wrote:

Hello.

I recently installed a copy of the Cygwin software package on my new
Windows 10 laptop.  However, whenever I try to access the "xmgrace"
graphing software (by entering the command "xmgrace &" in the xterm command
shell, as I did on my old Windows 7 laptop), I get the following error
message:

[vansc@LAPTOP-OHN2RCVM ~]$ xmgrace &
[1] 1183
[vansc@LAPTOP-OHN2RCVM ~]$ --> Broken or incomplete installation - read the
FAQ!
[1]Exit 1xmgrace
[vansc@LAPTOP-OHN2RCVM ~]$




I tried reading the FAQ, but it was unhelpful for this particular issue.
Does anyone have any ideas about why this might be happening??  Also, if it
is an incomplete installation, then does anyone know what set of Cygwin
utilities I need to install to obtain a fully-functioning copy of the
"xmgrace" graphing software?


there is an entry about Fonts, and

a strace output shows that xmgrace is looking for type1 fonts on



  /usr/share/ghostscript/fonts

  /usr/share/grace/fonts/type1



in the past ghostscript provided them, but not anymore,
so I *guess* you need this workaround


install "urw-base35-fonts-legacy" package

$ cd  /usr/share/grace/fonts/
$ ln -s /usr/share/X11/fonts/urw-fonts type1


the fonts looked by xgrace are :

/usr/share/grace/fonts/type1/d05l.pfa
/usr/share/grace/fonts/type1/n019003l.pfa
/usr/share/grace/fonts/type1/n019004l.pfa
/usr/share/grace/fonts/type1/n019023l.pfa
/usr/share/grace/fonts/type1/n019024l.pfa
/usr/share/grace/fonts/type1/n021003l.pfa
/usr/share/grace/fonts/type1/n021004l.pfa
/usr/share/grace/fonts/type1/n021023l.pfa
/usr/share/grace/fonts/type1/n021024l.pfa
/usr/share/grace/fonts/type1/n022003l.pfa
/usr/share/grace/fonts/type1/n022004l.pfa
/usr/share/grace/fonts/type1/n022023l.pfa
/usr/share/grace/fonts/type1/n022024l.pfa
/usr/share/grace/fonts/type1/s05l.pfa

and their pfb counterpart.

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


Problem with "xmgrace" graphing software in recent Cygwin installation

2020-07-23 Thread Bryan VanSchouwen via Cygwin
Hello.

I recently installed a copy of the Cygwin software package on my new
Windows 10 laptop.  However, whenever I try to access the "xmgrace"
graphing software (by entering the command "xmgrace &" in the xterm command
shell, as I did on my old Windows 7 laptop), I get the following error
message:

[vansc@LAPTOP-OHN2RCVM ~]$ xmgrace &
[1] 1183
[vansc@LAPTOP-OHN2RCVM ~]$ --> Broken or incomplete installation - read the
FAQ!
[1]Exit 1xmgrace
[vansc@LAPTOP-OHN2RCVM ~]$

I tried reading the FAQ, but it was unhelpful for this particular issue.
Does anyone have any ideas about why this might be happening??  Also, if it
is an incomplete installation, then does anyone know what set of Cygwin
utilities I need to install to obtain a fully-functioning copy of the
"xmgrace" graphing software?
--
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


Re: Emacs gud not working on new installation

2020-03-05 Thread William M. (Mike) Miller
On Thu, Mar 5, 2020 at 5:40 AM Takashi Yano 
wrote:

> On Wed, 4 Mar 2020 10:39:11 -0500
> "William M. (Mike) Miller" wrote:
> > On Wed, Mar 4, 2020 at 9:58 AM Ken Brown wrote:
> >
> > > On 3/4/2020 9:44 AM, William M. (Mike) Miller wrote:
> > > > I installed Cygwin on a new computer last weekend. On my previous
> > > computer,
> > > > I used gud with gdb in emacs (M-x gdb) for debugging. However, on
> the new
> > > > computer it is not working. I suspect that gdb is producing output
> that
> > > is
> > > > not formatted correctly for gud to parse.
> >
> >   [...snip...]
> >
> > >
> > > I don't know whether this is an emacs problem or a Cygwin problem.
> Here
> > > are two things you can try:
> > >
> > > 1. Roll back the cygwin package to 3.0.7 to see if that fixes the
> > > problem.  If so, the problem is likely related to the pty changes in
> > > cygwin-3.1.x.
> > >
> >
> > This worked. Thanks for the tip!
>
> I guess starting emacs with:
> CYGWIN=disable_pcon emacs
> helps in cygwin 3.1.4.
>

Thanks! I will keep that in mind in case I update to a newer version of
Cygwin before this issue is addressed.

-- 
William M. (Mike) Miller | Edison Design Group
william.m.mil...@gmail.com

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Emacs gud not working on new installation

2020-03-05 Thread Takashi Yano
On Wed, 4 Mar 2020 10:39:11 -0500
"William M. (Mike) Miller" wrote:
> On Wed, Mar 4, 2020 at 9:58 AM Ken Brown wrote:
> 
> > On 3/4/2020 9:44 AM, William M. (Mike) Miller wrote:
> > > I installed Cygwin on a new computer last weekend. On my previous
> > computer,
> > > I used gud with gdb in emacs (M-x gdb) for debugging. However, on the new
> > > computer it is not working. I suspect that gdb is producing output that
> > is
> > > not formatted correctly for gud to parse.
> 
>   [...snip...]
> 
> >
> > I don't know whether this is an emacs problem or a Cygwin problem.  Here
> > are two things you can try:
> >
> > 1. Roll back the cygwin package to 3.0.7 to see if that fixes the
> > problem.  If so, the problem is likely related to the pty changes in
> > cygwin-3.1.x.
> >
> 
> This worked. Thanks for the tip!

I guess starting emacs with:
CYGWIN=disable_pcon emacs
helps in cygwin 3.1.4.

-- 
Takashi Yano 

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Emacs gud not working on new installation

2020-03-04 Thread William M. (Mike) Miller
On Wed, Mar 4, 2020 at 9:58 AM Ken Brown  wrote:

> On 3/4/2020 9:44 AM, William M. (Mike) Miller wrote:
> > I installed Cygwin on a new computer last weekend. On my previous
> computer,
> > I used gud with gdb in emacs (M-x gdb) for debugging. However, on the new
> > computer it is not working. I suspect that gdb is producing output that
> is
> > not formatted correctly for gud to parse.

  [...snip...]

>
> I don't know whether this is an emacs problem or a Cygwin problem.  Here
> are two things you can try:
>
> 1. Roll back the cygwin package to 3.0.7 to see if that fixes the
> problem.  If so, the problem is likely related to the pty changes in
> cygwin-3.1.x.
>

This worked. Thanks for the tip!

-- 
William M. (Mike) Miller | Edison Design Group
william.m.mil...@gmail.com

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Emacs gud not working on new installation

2020-03-04 Thread Ken Brown

On 3/4/2020 9:44 AM, William M. (Mike) Miller wrote:

I installed Cygwin on a new computer last weekend. On my previous computer,
I used gud with gdb in emacs (M-x gdb) for debugging. However, on the new
computer it is not working. I suspect that gdb is producing output that is
not formatted correctly for gud to parse.

When I start gud in emacs on the new computer, I get the usual 6-pane
configuration, and gdb puts out its usual configuration and start-up
information. When I type the "run" command, however, the program being
debugged starts and runs, the command pane correctly displays the usual
"Starting program" messaged, but the "[New thread...", etc. messages and
any further gdb output (breakpoint messages, output of "info", etc.) do
not. The program input/output pane updates, but none of the others do. I
can type commands that are correctly passed through to gdb, but no gdb
output ever appears in the command pane.

I also tried just the plain "M-x gud-gdb" interface, and that may give a
hint as to what is going on. I did get the gdb output, but with only
newlines, no carriage returns, in the command pane. That is, each
successive line of output from gdb began one character to the right of the
last character of the previous line instead of beginning in column 0, as it
did on the old computer.

Any suggestions for how to diagnose or fix the problem would be most
appreciated.


I don't know whether this is an emacs problem or a Cygwin problem.  Here 
are two things you can try:


1. Roll back the cygwin package to 3.0.7 to see if that fixes the 
problem.  If so, the problem is likely related to the pty changes in 
cygwin-3.1.x.


2. Try updating emacs to the test release for the upcoming emacs-27, 
which I will be uploading shortly.


Ken

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Emacs gud not working on new installation

2020-03-04 Thread William M. (Mike) Miller
I installed Cygwin on a new computer last weekend. On my previous computer,
I used gud with gdb in emacs (M-x gdb) for debugging. However, on the new
computer it is not working. I suspect that gdb is producing output that is
not formatted correctly for gud to parse.

When I start gud in emacs on the new computer, I get the usual 6-pane
configuration, and gdb puts out its usual configuration and start-up
information. When I type the "run" command, however, the program being
debugged starts and runs, the command pane correctly displays the usual
"Starting program" messaged, but the "[New thread...", etc. messages and
any further gdb output (breakpoint messages, output of "info", etc.) do
not. The program input/output pane updates, but none of the others do. I
can type commands that are correctly passed through to gdb, but no gdb
output ever appears in the command pane.

I also tried just the plain "M-x gud-gdb" interface, and that may give a
hint as to what is going on. I did get the gdb output, but with only
newlines, no carriage returns, in the command pane. That is, each
successive line of output from gdb began one character to the right of the
last character of the previous line instead of beginning in column 0, as it
did on the old computer.

Any suggestions for how to diagnose or fix the problem would be most
appreciated.

-- 
William M. (Mike) Miller | Edison Design Group
william.m.mil...@gmail.com

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



SYBYL-X 2.1.1 (winnt_os5x) software installation problem

2020-02-24 Thread 李静
The software installation has ended, bur some functions cannot run normally. 
Please help me to check, thanks!


A file "keyfile.txt"daisplay:


OS Info:
TA_ROOT: D:/Triops/sybylx2.1.1
SYBYL-X 2.1.1 (winnt_os5x), Created Oct 30, 2013 10:44:25 PM
Active MinCygwin Shells Detected: 1
  0 [main] uname 14604 find_fast_cwd: WARNING: Couldn't compute FAST_CWD 
pointer.  Please report this problem to
the public mailing list cygwin@cygwin.com
  0 [main] mount 1728 find_fast_cwd: WARNING: Couldn't compute FAST_CWD 
pointer.  Please report this problem to
the public mailing list cygwin@cygwin.com
  0 [main] mount 10180 find_fast_cwd: WARNING: Couldn't compute FAST_CWD 
pointer.  Please report this problem to
the public mailing list cygwin@cygwin.com
  0 [main] mount 12648 find_fast_cwd: WARNING: Couldn't compute FAST_CWD 
pointer.  Please report this problem to
the public mailing list cygwin@cygwin.com
  0 [main] bash 14748 find_fast_cwd: WARNING: Couldn't compute FAST_CWD 
pointer.  Please report this problem to
the public mailing list cygwin@cygwin.com
/usr/bin/bash: line 0: cd: D:/Software/Tripos.SYBYL-X.v2.1.1/Tripos: No such 
file or directory

Re: Problem with installation of Octave

2020-02-07 Thread Marco Atzeri

Am 07.02.2020 um 22:47 schrieb Jay Abel:

I'm using tcsh and for some reason the default configuration for X11 keeps
leaving zombie dbus processes, none of which seem to be reachable.  For
example, when running Octave I get an error that dbus wasn't replying.  Now,
if within the open xterm window I type dbus-launch and then I run octave,
there is no error.  I noticed that running dbus-launch in the xterm window
creates three environment variables beginning with DBUS_ but the default
startup only creates the first one, DBUS_SESSION or some such.

Any idea what I'm doing wrong?




How are you runnig X and which type of Octave are you running ?

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Problem with installation of Octave

2020-02-07 Thread Jay Abel
I'm using tcsh and for some reason the default configuration for X11 keeps
leaving zombie dbus processes, none of which seem to be reachable.  For
example, when running Octave I get an error that dbus wasn't replying.  Now,
if within the open xterm window I type dbus-launch and then I run octave,
there is no error.  I noticed that running dbus-launch in the xterm window
creates three environment variables beginning with DBUS_ but the default
startup only creates the first one, DBUS_SESSION or some such.

Any idea what I'm doing wrong?



--
Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: grace broken installation

2020-01-28 Thread Ken Brown
On 1/28/2020 1:38 AM, Brian Inglis wrote:
> Links should only be applied during build processes to allow building and
> testing to complete successfully.
> Build link types may not be compatible with tar or the target file system and
> should not be included in packages for distribution e.g. they may only work on
> systems configured for WSL and with WSL installed.
> Distributed package links should be generated during post-install processing 
> and
> should fall back to file copies if links are unsupported on the target file 
> system.

Many Cygwin packages contain symlinks that are not generated during 
post-install.  setup handles them just fine.

Ken

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: grace broken installation

2020-01-27 Thread Brian Inglis
On 2020-01-27 16:24, Hans-Bernhard Bröker wrote:
> Am 27.01.2020 um 13:58 schrieb Ken Brown:
>> On 1/26/2020 10:25 PM, Hans-Bernhard Bröker wrote:
>>> Am 25.01.2020 um 15:23 schrieb Rodrigo Medina:
>>>> Hi,
>>>> Both   installations of grace-5.1.24 and grace-5.1.245 are  broken.
>>>> /usr/bin/xmgrace.exe runs but gives the message:
>>>> --> Broken or incomplete installation - read the FAQ!
>>>> and then quits.
> 
>>> After reading the FAQ and comparing with a direct build from upstream 
>>> sources, I
>>> find the reason for that is that the FontDataBase file of the distributed
>>> package is, indeed, wrong.
> 
>>> Apparently the type1 font directory supplied by grace was replaced by a 
>>> link to
>>> ghostscript's type1 font repository.  But the FontDataBase wasn't updated to
>>> match this change.  This mismatch causes xmgrace to baulk.  This change was 
>>> made
>>> between revisions 5.1.24 and 5.1.25 of the cygwin package, which neatly 
>>> explains
>>> why 5.1.24 works, but 5.1.25 does not.
>>
>> See
>>
>> https://cygwin.com/ml/cygwin/2018-03/msg00142.html
>> https://cygwin.com/ml/cygwin/2018-03/msg00156.html
> 
> Yes, that's about what I figured.  The fonts supplied by xmgrace were replaced
> (in the cygport file) by a link to ghostscript's fonts, but then those were
> replaced by URW fonts, which broke xmgrace.
> 
> OTOH the particular font files xmgrace is looking for are in yet another place
> on Cygwin:
> 
>     /usr/share/X11/fonts/urw-fonts
> 
> And indeed, making the /usr/share/grace/fonts/type1 symlink point there
> does appear to fix the breakage.
> 
> So the minimal patch to grace.cygport (other than just leaving the type1
> directory of xmgrace alone) would be:
> 
> $ diff -uwp grace.cygport{~,}
> --- grace.cygport~  2017-06-27 09:43:32.0 +0200
> +++ grace.cygport   2020-01-28 00:08:56.345429500 +0100
> @@ -78,7 +78,7 @@ src_install() {
>     rmdir doc
>     ln -sf ../doc/${NAME} doc
>     rm -fr fonts/type1
> -   ln -sf /usr/share/ghostscript/fonts fonts/type1
> +   ln -sf /usr/share/X11/fonts/urw-fonts fonts/type1
>     popd
> 
>     make_desktop_entry xmgrace Grace xmgrace
> "Education;Science;DataVisualization;Motif"
> 
> An additional/changed dependency on the urw-base35-fonts-legacy package would
> probably be needed, but I'll have to leave that to people who understand 
> Cygwin
> packaging.

Links should only be applied during build processes to allow building and
testing to complete successfully.
Build link types may not be compatible with tar or the target file system and
should not be included in packages for distribution e.g. they may only work on
systems configured for WSL and with WSL installed.
Distributed package links should be generated during post-install processing and
should fall back to file copies if links are unsupported on the target file 
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.

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: grace broken installation

2020-01-27 Thread Hans-Bernhard Bröker

Am 27.01.2020 um 13:58 schrieb Ken Brown:

On 1/26/2020 10:25 PM, Hans-Bernhard Bröker wrote:

Am 25.01.2020 um 15:23 schrieb Rodrigo Medina:

Hi,
Both   installations of grace-5.1.24 and grace-5.1.245 are  broken.
/usr/bin/xmgrace.exe runs but gives the message:
--> Broken or incomplete installation - read the FAQ!
and then quits.



After reading the FAQ and comparing with a direct build from upstream sources, I
find the reason for that is that the FontDataBase file of the distributed
package is, indeed, wrong.



Apparently the type1 font directory supplied by grace was replaced by a link to
ghostscript's type1 font repository.  But the FontDataBase wasn't updated to
match this change.  This mismatch causes xmgrace to baulk.  This change was made
between revisions 5.1.24 and 5.1.25 of the cygwin package, which neatly explains
why 5.1.24 works, but 5.1.25 does not.


See

https://cygwin.com/ml/cygwin/2018-03/msg00142.html
https://cygwin.com/ml/cygwin/2018-03/msg00156.html


Yes, that's about what I figured.  The fonts supplied by xmgrace were 
replaced (in the cygport file) by a link to ghostscript's fonts, but 
then those were replaced by URW fonts, which broke xmgrace.


OTOH the particular font files xmgrace is looking for are in yet another 
place on Cygwin:


/usr/share/X11/fonts/urw-fonts

And indeed, making the /usr/share/grace/fonts/type1 symlink point there
does appear to fix the breakage.

So the minimal patch to grace.cygport (other than just leaving the type1 
directory of xmgrace alone) would be:


$ diff -uwp grace.cygport{~,}
--- grace.cygport~  2017-06-27 09:43:32.0 +0200
+++ grace.cygport   2020-01-28 00:08:56.345429500 +0100
@@ -78,7 +78,7 @@ src_install() {
rmdir doc
ln -sf ../doc/${NAME} doc
rm -fr fonts/type1
-   ln -sf /usr/share/ghostscript/fonts fonts/type1
+   ln -sf /usr/share/X11/fonts/urw-fonts fonts/type1
popd

make_desktop_entry xmgrace Grace xmgrace 
"Education;Science;DataVisualization;Motif"


An additional/changed dependency on the urw-base35-fonts-legacy package 
would probably be needed, but I'll have to leave that to people who 
understand Cygwin packaging.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: grace broken installation

2020-01-27 Thread Ken Brown
On 1/26/2020 10:25 PM, Hans-Bernhard Bröker wrote:
> Am 25.01.2020 um 15:23 schrieb Rodrigo Medina:
>> Hi,
>> Both   installations of grace-5.1.24 and grace-5.1.245 are  broken.
>> /usr/bin/xmgrace.exe runs but gives the message:
>> --> Broken or incomplete installation - read the FAQ!
>> and then quits.
> 
> After reading the FAQ and comparing with a direct build from upstream 
> sources, I 
> find the reason for that is that the FontDataBase file of the distributed 
> package is, indeed, wrong.
> 
> Apparently the type1 font directory supplied by grace was replaced by a link 
> to 
> ghostscript's type1 font repository.  But the FontDataBase wasn't updated to 
> match this change.  This mismatch causes xmgrace to baulk.  This change was 
> made 
> between revisions 5.1.24 and 5.1.25 of the cygwin package, which neatly 
> explains 
> why 5.1.24 works, but 5.1.25 does not.

See

https://cygwin.com/ml/cygwin/2018-03/msg00142.html
https://cygwin.com/ml/cygwin/2018-03/msg00156.html

Ken

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: grace broken installation

2020-01-26 Thread Brian Inglis
On 2020-01-26 20:25, Hans-Bernhard Bröker wrote:
> Am 25.01.2020 um 15:23 schrieb Rodrigo Medina:
>> Hi,
>> Both   installations of grace-5.1.24 and grace-5.1.245 are  broken.
>> /usr/bin/xmgrace.exe runs but gives the message:
>> --> Broken or incomplete installation - read the FAQ!
>> and then quits.
> 
> After reading the FAQ and comparing with a direct build from upstream 
> sources, I
> find the reason for that is that the FontDataBase file of the distributed
> package is, indeed, wrong.
> 
> Apparently the type1 font directory supplied by grace was replaced by a link 
> to
> ghostscript's type1 font repository.  But the FontDataBase wasn't updated to
> match this change.  This mismatch causes xmgrace to baulk.  This change was 
> made
> between revisions 5.1.24 and 5.1.25 of the cygwin package, which neatly 
> explains
> why 5.1.24 works, but 5.1.25 does not.
> 
>> For both versions the link grace-->xmgrace.exe is missing.
> 
> This was most likely caused by the cygport file not doing the (rather unusual)
> 'make links' step of the original Makefiles, but rather doing their own
> tweaking.  The 'grace' link is only created by 'make links' --- there is no
> 'grace' created in ${GRACE_HOME}/bin.  I would consider that an upstream bug,
> albeit it a small one.

/usr/share/doc/cygwin-doc/html/cygwin-ug-net/using.html#pathnames-symlinks
/usr/share/doc/cygwin-doc/html/cygwin-ug-net/using-cygwinenv.html
https://wiki.samba.org/index.php/UNIX_Extensions#Minshall.2BFrench_symlinks

Because of potential differences from user customization of symbolic link types
thru the CYGWIN environment variable winsymlinks:{lnk,native,nativestrict} and
file system type dependencies, ranging from lack of any symlink support on
CIFS/Samba to real symlinks on NFS, symlinks are created in Cygwin package
postinstall scripts to honour customizations or work around limitations.

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

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: grace broken installation

2020-01-26 Thread Hans-Bernhard Bröker

Am 25.01.2020 um 15:23 schrieb Rodrigo Medina:

Hi,
Both   installations of grace-5.1.24 and grace-5.1.245 are  broken.
/usr/bin/xmgrace.exe runs but gives the message:
--> Broken or incomplete installation - read the FAQ!
and then quits.


After reading the FAQ and comparing with a direct build from upstream 
sources, I find the reason for that is that the FontDataBase file of the 
distributed package is, indeed, wrong.


Apparently the type1 font directory supplied by grace was replaced by a 
link to ghostscript's type1 font repository.  But the FontDataBase 
wasn't updated to match this change.  This mismatch causes xmgrace to 
baulk.  This change was made between revisions 5.1.24 and 5.1.25 of the 
cygwin package, which neatly explains why 5.1.24 works, but 5.1.25 does not.



For both versions the link grace-->xmgrace.exe is missing.


This was most likely caused by the cygport file not doing the (rather 
unusual) 'make links' step of the original Makefiles, but rather doing 
their own tweaking.  The 'grace' link is only created by 'make links' 
--- there is no 'grace' created in ${GRACE_HOME}/bin.  I would consider 
that an upstream bug, albeit it a small one.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



  1   2   3   4   5   6   7   8   9   10   >