Re: Installing Cygwin as normal user in nonstandard location?

2024-05-27 Thread Andrey Repin via Cygwin
Greetings, Martin Wege!

> On Sun, May 26, 2024 at 7:35 PM Andrey Repin  wrote:
>>
>> Greetings, Martin Wege!
>>
>> >> Can Cygwin be installed as a normal user (without Admin rights) in a
>> >> > nonstandard location, like C.\Users\martinwege\cygwinroot36\...)?
>> >> >
>> >> > Also, can this be done for more than one Cygwin version, e.g. I'd like
>> >> > to test multiple Cygwin versions in parallel.
>> >> >
>> >>
>> >> (?) Why ask when you can just try both scenarios pretty easily?
>>
>> > Simple example for possible issues (might be more):
>> > Cygwin seems to modify the global REGISTRY with a "Install for
>> > everyone" (as Admin). What will happen then?
>>
>> Why would you try to "install for everyone" if you don't have an admin 
>> rights?
>>
>> > Can Cygwin installations installed as non-admin interact via Windows
>> > REGISTRY, or other unexpected ways?
>>
>> That's pretty strange question.

> Why?

Cygwin is a userland library and what you asking would be an exploit to the
underlying system.

>>
>> > So testing by a non-expert like me might not uncover
>> > such things immediately, so I better ask the experts here
>>
>> What do you ACTUALLY want to do?

> We want to install multiple Cygwin installations, so we can do
> (automated) regression testing. Also, the machines in question might
> already have one admin-installed Cygwin installation for all
> users, which should not interact with any of the per-user
> installations used for testing.

If that admin-installed Cygwin version is out of control of your automated
testing setup, the chances it would interfere with it are far from zero.

My suggestion would be to not mess with user systems in such a way.
Use dedicated systems for automated testing.

If you still want your users to test with multiple Cygwin versions locally,
give them specific instructions to avoid collisions, s.a.:

  1. Clean environment.

%PATH%, %TEMP%, %TMP% and other relevant variables should not contain
reference to specific Cygwin installation. Use an appropriate CMD/PShell
wrapper script for environment sanitization to start testing instances.

  2.Clean start.

Don't launch Cygwin environments one from another. It IS possible to do so
cleanly, but better don't. Save your sanity.


-- 
With best regards,
Andrey Repin
Monday, May 27, 2024 15:58:34

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: Installing Cygwin as normal user in nonstandard location?

2024-05-27 Thread Roland Mainz via Cygwin
On Sat, May 25, 2024 at 11:53 PM Martin Wege via Cygwin
 wrote:
> Can Cygwin be installed as a normal user (without Admin rights) in a
> nonstandard location, like C.\Users\martinwege\cygwinroot36\...)?
>
> Also, can this be done for more than one Cygwin version, e.g. I'd like
> to test multiple Cygwin versions in parallel.

I just started to experiment with that...
... please try this:
 snip 
setup-x86_64 --no-admin --no-write-registry --site
https://mirrors.kernel.org/sourceware/cygwin/ --root
'C.\Users\martinwege\cygwinroot36\' -P
cygwin,cygwin-devel,cygrunsrv,cygutils,cygutils-extra,bash,bzip2,coreutils,procps-ng,time,util-linux
 snip 



Bye,
Roland
-- 
  __ .  . __
 (o.\ \/ /.o) roland.ma...@nrubsig.org
  \__\/\/__/  MPEG specialist, C&&& programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)

-- 
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: Installing Cygwin as normal user in nonstandard location?

2024-05-27 Thread Martin Wege via Cygwin
On Sun, May 26, 2024 at 7:35 PM Andrey Repin  wrote:
>
> Greetings, Martin Wege!
>
> >> Can Cygwin be installed as a normal user (without Admin rights) in a
> >> > nonstandard location, like C.\Users\martinwege\cygwinroot36\...)?
> >> >
> >> > Also, can this be done for more than one Cygwin version, e.g. I'd like
> >> > to test multiple Cygwin versions in parallel.
> >> >
> >>
> >> (?) Why ask when you can just try both scenarios pretty easily?
>
> > Simple example for possible issues (might be more):
> > Cygwin seems to modify the global REGISTRY with a "Install for
> > everyone" (as Admin). What will happen then?
>
> Why would you try to "install for everyone" if you don't have an admin rights?
>
> > Can Cygwin installations installed as non-admin interact via Windows
> > REGISTRY, or other unexpected ways?
>
> That's pretty strange question.

Why?

>
> > So testing by a non-expert like me might not uncover
> > such things immediately, so I better ask the experts here
>
> What do you ACTUALLY want to do?

We want to install multiple Cygwin installations, so we can do
(automated) regression testing. Also, the machines in question might
already have one admin-installed Cygwin installation for all
users, which should not interact with any of the per-user
installations used for testing.

Thanks,
Martin

-- 
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: Installing Cygwin as normal user in nonstandard location?

2024-05-26 Thread Andrey Repin via Cygwin
Greetings, Martin Wege!

>> Can Cygwin be installed as a normal user (without Admin rights) in a
>> > nonstandard location, like C.\Users\martinwege\cygwinroot36\...)?
>> >
>> > Also, can this be done for more than one Cygwin version, e.g. I'd like
>> > to test multiple Cygwin versions in parallel.
>> >
>>
>> (?) Why ask when you can just try both scenarios pretty easily?

> Simple example for possible issues (might be more):
> Cygwin seems to modify the global REGISTRY with a "Install for
> everyone" (as Admin). What will happen then?

Why would you try to "install for everyone" if you don't have an admin rights?

> Can Cygwin installations installed as non-admin interact via Windows
> REGISTRY, or other unexpected ways?

That's pretty strange question.

> So testing by a non-expert like me might not uncover
> such things immediately, so I better ask the experts here

What do you ACTUALLY want to do?


-- 
With best regards,
Andrey Repin
Sunday, May 26, 2024 20:25:48

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: Installing Cygwin as normal user in nonstandard location?

2024-05-26 Thread Martin Wege via Cygwin
On Sun, May 26, 2024 at 2:14 AM Bill Stewart via Cygwin
 wrote:
>
> On Sat, May 25, 2024 at 3:54 PM Martin Wege wrote:
>
> Can Cygwin be installed as a normal user (without Admin rights) in a
> > nonstandard location, like C.\Users\martinwege\cygwinroot36\...)?
> >
> > Also, can this be done for more than one Cygwin version, e.g. I'd like
> > to test multiple Cygwin versions in parallel.
> >
>
> (?) Why ask when you can just try both scenarios pretty easily?

Simple example for possible issues (might be more):
Cygwin seems to modify the global REGISTRY with a "Install for
everyone" (as Admin). What will happen then? Can Cygwin installations
installed as non-admin interact via Windows REGISTRY, or other
unexpected ways? So testing by a non-expert like me might not uncover
such things immediately, so I better ask the experts here

@Corinna Vinschen ?

Thanks,
Martin

-- 
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: Installing Cygwin as normal user in nonstandard location?

2024-05-26 Thread Andrey Repin via Cygwin
Greetings, Martin Wege!

> Can Cygwin be installed as a normal user (without Admin rights) in a
> nonstandard location, like C.\Users\martinwege\cygwinroot36\...)?

Yes, and there's no such thing as "standard location".

> Also, can this be done for more than one Cygwin version, e.g. I'd like
> to test multiple Cygwin versions in parallel.

Yes, Cygwin by default does not integrate into %PATH% and multiple different
versions can be run even at the same time.


-- 
With best regards,
Andrey Repin
Sunday, May 26, 2024 08:55:34

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: Installing Cygwin as normal user in nonstandard location?

2024-05-25 Thread Bill Stewart via Cygwin
On Sat, May 25, 2024 at 3:54 PM Martin Wege wrote:

Can Cygwin be installed as a normal user (without Admin rights) in a
> nonstandard location, like C.\Users\martinwege\cygwinroot36\...)?
>
> Also, can this be done for more than one Cygwin version, e.g. I'd like
> to test multiple Cygwin versions in parallel.
>

(?) Why ask when you can just try both scenarios pretty easily?

Bill

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


Installing Cygwin as normal user in nonstandard location?

2024-05-25 Thread Martin Wege via Cygwin
Hello,

Can Cygwin be installed as a normal user (without Admin rights) in a
nonstandard location, like C.\Users\martinwege\cygwinroot36\...)?

Also, can this be done for more than one Cygwin version, e.g. I'd like
to test multiple Cygwin versions in parallel.

Thanks,
Martin

-- 
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: Error in installing cygwin

2019-11-25 Thread cygwinautoreply
> 2 [main] bash 12628 find_fast_cwd: WARNING: Couldn't compute FAST_CWD
>pointer.  Please report this problem to
>the public mailing list.


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

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



Error in installing cygwin

2019-11-25 Thread khushbu kumari
 2 [main] bash 12628 find_fast_cwd: WARNING: Couldn't compute FAST_CWD
pointer.  Please report this problem to
the public mailing list.

--
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: Issue installing Cygwin in quite mode

2019-04-26 Thread Calder, Christopher
Hello,

I would like to install Cygwin via an install shield as part of a third party 
app for my main windows application.
To do this I am using the command "-- quite mode", which is working to a point.
The issue is that the last part of the Cygwin installation (that does not 
require user input) is being displayed on the screen, i.e. the window that 
shows the progress (This page displays the progress of the download or 
installation).

This allows the user to press the cancel button, which messes up the whole 
install process.
Is there a way to hide/remove the above process window from view or disable the 
cancel button during install?

Thanks in advance,

Regards
Chris Calder



--
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 installing Cygwin/X on Windows 10 PC: no icon created

2018-08-02 Thread Zuowei Wang
Dear Marco (and R0b0t1),

Following your suggestions, I have tried to re-install X11 in the Windows Safe 
Mode to exclude the influence of AV. The X icons still didn't show up. So I am 
not sure the problem was caused by AV.

On the other hand, I tried to run the \etc\postinstall\xinit.sh.done and 
\etc\postinstall\xlaunch.sh.done commands in the Cygwin terminal. Now both the 
Xwin Server and XLaunch icons showed up under the Cygwin-X direction in the 
Start Menu. Thanks for the guidance in the previous email!

However, when trying to run XLaunch, I got the problem of "A fatal error has 
occurred and Cygwin/X will now exit. Can't read lock file /tmp/.X0-lock".  I 
have tried the following to resolve the problem (as instructed in FAQ Q. 2.3 
and Q. 4.2):


1)  In the start menu shortcut,  amended the target of Xwin Server to add 
an "-- -nolock" option, which didn't work;

2)  In the Cygwin terminal, ran "startxwin -- -nolock", but got the error

" cat: /tmp/.X0-lock: No such file or directory
 xauth:  error in locking authority file 
/home/xp902121/.serverauth.5048
 xauth:  timeout in locking authority file 
/home/xp902121/.Xauthority"

So far, I still couldn't solve the problem. If you have any suggestions, that 
will be very appreciated. If needed, I may send separate email to the mailing 
list.

Many thanks,

Zuowei

From: Zuowei Wang
Sent: 02 August 2018 15:17
To: cygwin@cygwin.com
Subject: RE: Problem with installing Cygwin/X on Windows 10 PC: no icon created

Dear Marco,

Thank you very much for the suggestions.

Concerning your questions:

1. What system and AV do you have ?

System type: 64-bit Operating System, x64-based processor (Intel(r) Core(tm) 
i7-6700CPU @3.40GHz)
Operating system: Windows 10 Enterprise
AV: Sophos Anti-Virus; Windows firewall

2. Can you follow https://cygwin.com/problems.html and provide as attachment 
the cygcheck.out ?

The cygcheck.out file is 891KB in size, so when being attached as a plain-text 
attachment, the email was rejected. Would it be possible to send this output 
file to a different email address or in two separate files?

There is no "/var/log/xwin/XWin.0.log" file in the related directory.

3. What is the output of rebase -si | grep cygiconv-2.dll

$ rebase -si | grep cygiconv-2.dll
/usr/bin/cygiconv-2.dll
base 0x0003e3ca size 0x00105000

4. and of grep System32 /proc/self/maps | head -n 5

$ grep System32 /proc/self/maps | head -n 5
0261-026D5000 r--s  5AE2:1602 281474976813647 
/cygdrive/c/Windows/System32/locale.nls
7FF92828-7FF928281000 r--p  5AE2:1602 281474976813532   
/cygdrive/c/Windows/System32/authz.dll
7FF928281000-7FF9282AB000 r-xp 1000 5AE2:1602 281474976813532   
/cygdrive/c/Windows/System32/authz.dll
7FF9282AB000-7FF9282C4000 r--p 0002B000 5AE2:1602 281474976813532   
/cygdrive/c/Windows/System32/authz.dll
7FF9282C4000-7FF9282C5000 rw-p 00044000 5AE2:1602 281474976813532   
/cygdrive/c/Windows/System32/authz.dll


Many thanks,

Zuowei


From: Zuowei Wang
Sent: 02 August 2018 11:10
To: cygwin@cygwin.com<mailto:cygwin@cygwin.com>
Subject: RE: Problem with installing Cygwin/X on Windows 10 PC: no icon created

Sorry to both again. Below is what I got when running the command in the Cygwin 
terminal :

$ /etc/postinstall/xinit-1.3.4-14.sh
  1 [main] bash 4160 child_info_fork::abort: 
C:\cygwin64\bin\cygiconv-2.dll: Loaded to different address: 
parent(0x3FD99) != child(0x3E3CA)
-bash: fork: retry: Resource temporarily unavailable
  1 [main] bash 4316 child_info_fork::abort: 
C:\cygwin64\bin\cygiconv-2.dll: Loaded to different address: 
parent(0x3FD99) != child(0x3E3CA)
-bash: fork: retry: Resource temporarily unavailable
  1 [main] bash 6092 child_info_fork::abort: 
C:\cygwin64\bin\cygiconv-2.dll: Loaded to different address: 
parent(0x3FD99) != child(0x3E3CA)
-bash: fork: retry: Resource temporarily unavailable
  1 [main] bash 10672 child_info_fork::abort: 
C:\cygwin64\bin\cygiconv-2.dll: Loaded to different address: 
parent(0x3FD99) != child(0x3E3CA)
-bash: fork: retry: Resource temporarily unavailable
  1 [main] bash 10408 child_info_fork::abort: 
C:\cygwin64\bin\cygiconv-2.dll: Loaded to different address: 
parent(0x3FD99) != child(0x3E3CA)
-bash: fork: Resource temporarily unavailable

Zuowei

From: Zuowei Wang
Sent: 02 August 2018 10:19
To: cygwin@cygwin.com<mailto:cygwin@cygwin.com>
Subject: RE: Problem with installing Cygwin/X on Windows 10 PC: no icon created

Dear Marco,

Thank you very much for the suggestion!

I have run the command line as you suggested and got the output of 
xinit-1.3.4-14, but nothing else happened. Is there anything else I need to do, 
say reboot the PC?

Many thanks,

Zuowei

the Cygwin-X entries in the Menu are created by the
script:

/etc/postinstall/xinit.sh{.done}

It belongs to the package
$ cyg

Re: Problem with installing Cygwin/X on Windows 10 PC: no icon created

2018-08-02 Thread Marco Atzeri

Am 02.08.2018 um 16:17 schrieb Zuowei Wang:

Dear Marco,

Thank you very much for the suggestions.

Concerning your questions:

1. What system and AV do you have ?

System type: 64-bit Operating System, x64-based processor (Intel(r) Core(tm) 
i7-6700CPU @3.40GHz)
Operating system: Windows 10 Enterprise
AV: Sophos Anti-Virus; Windows firewall


can you disable it or exclude the cygwin directory ?
I bet it is the AV as it is known to create problems:

https://cygwin.com/faq.html#faq.using.bloda


2. Can you follow https://cygwin.com/problems.html and provide as attachment 
the cygcheck.out ?

The cygcheck.out file is 891KB in size, so when being attached as a plain-text 
attachment, the email was rejected. Would it be possible to send this output 
file to a different email address or in two separate files?


send it to my personal address,
together with maps.txt

  cat  /proc/self/maps > maps.txt



There is no "/var/log/xwin/XWin.0.log" file in the related directory.

3. What is the output of rebase -si | grep cygiconv-2.dll

$ rebase -si | grep cygiconv-2.dll
/usr/bin/cygiconv-2.dll
 base 0x0003e3ca size 0x00105000


this looks fine but the BLODA is interfering with the
first process load:
Loaded to different address: parent(0x3FD99) != child(0x3E3CA)



---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


--
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 installing Cygwin/X on Windows 10 PC: no icon created

2018-08-02 Thread Zuowei Wang
Dear Marco,

Thank you very much for the suggestions.

Concerning your questions:

1. What system and AV do you have ?

System type: 64-bit Operating System, x64-based processor (Intel(r) Core(tm) 
i7-6700CPU @3.40GHz)
Operating system: Windows 10 Enterprise
AV: Sophos Anti-Virus; Windows firewall

2. Can you follow https://cygwin.com/problems.html and provide as attachment 
the cygcheck.out ?

The cygcheck.out file is 891KB in size, so when being attached as a plain-text 
attachment, the email was rejected. Would it be possible to send this output 
file to a different email address or in two separate files?

There is no "/var/log/xwin/XWin.0.log" file in the related directory.

3. What is the output of rebase -si | grep cygiconv-2.dll

$ rebase -si | grep cygiconv-2.dll
/usr/bin/cygiconv-2.dll
base 0x0003e3ca size 0x00105000

4. and of grep System32 /proc/self/maps | head -n 5

$ grep System32 /proc/self/maps | head -n 5
0261-026D5000 r--s  5AE2:1602 281474976813647 
/cygdrive/c/Windows/System32/locale.nls
7FF92828-7FF928281000 r--p  5AE2:1602 281474976813532   
/cygdrive/c/Windows/System32/authz.dll
7FF928281000-7FF9282AB000 r-xp 1000 5AE2:1602 281474976813532   
/cygdrive/c/Windows/System32/authz.dll
7FF9282AB000-7FF9282C4000 r--p 0002B000 5AE2:1602 281474976813532   
/cygdrive/c/Windows/System32/authz.dll
7FF9282C4000-7FF9282C5000 rw-p 00044000 5AE2:1602 281474976813532   
/cygdrive/c/Windows/System32/authz.dll


Many thanks,

Zuowei


From: Zuowei Wang
Sent: 02 August 2018 11:10
To: cygwin@cygwin.com<mailto:cygwin@cygwin.com>
Subject: RE: Problem with installing Cygwin/X on Windows 10 PC: no icon created

Sorry to both again. Below is what I got when running the command in the Cygwin 
terminal :

$ /etc/postinstall/xinit-1.3.4-14.sh
  1 [main] bash 4160 child_info_fork::abort: 
C:\cygwin64\bin\cygiconv-2.dll: Loaded to different address: 
parent(0x3FD99) != child(0x3E3CA)
-bash: fork: retry: Resource temporarily unavailable
  1 [main] bash 4316 child_info_fork::abort: 
C:\cygwin64\bin\cygiconv-2.dll: Loaded to different address: 
parent(0x3FD99) != child(0x3E3CA)
-bash: fork: retry: Resource temporarily unavailable
  1 [main] bash 6092 child_info_fork::abort: 
C:\cygwin64\bin\cygiconv-2.dll: Loaded to different address: 
parent(0x3FD99) != child(0x3E3CA)
-bash: fork: retry: Resource temporarily unavailable
  1 [main] bash 10672 child_info_fork::abort: 
C:\cygwin64\bin\cygiconv-2.dll: Loaded to different address: 
parent(0x3FD99) != child(0x3E3CA)
-bash: fork: retry: Resource temporarily unavailable
  1 [main] bash 10408 child_info_fork::abort: 
C:\cygwin64\bin\cygiconv-2.dll: Loaded to different address: 
parent(0x3FD99) != child(0x3E3CA)
-bash: fork: Resource temporarily unavailable

Zuowei

From: Zuowei Wang
Sent: 02 August 2018 10:19
To: cygwin@cygwin.com<mailto:cygwin@cygwin.com>
Subject: RE: Problem with installing Cygwin/X on Windows 10 PC: no icon created

Dear Marco,

Thank you very much for the suggestion!

I have run the command line as you suggested and got the output of 
xinit-1.3.4-14, but nothing else happened. Is there anything else I need to do, 
say reboot the PC?

Many thanks,

Zuowei

the Cygwin-X entries in the Menu are created by the
script:

/etc/postinstall/xinit.sh{.done}

It belongs to the package
$ cygcheck -f /etc/postinstall/xinit.sh
xinit-1.3.4-14

You can run it again by the cygwin terminal.




From: Zuowei Wang
Sent: 02 August 2018 09:28
To: 'cygwin@cygwin.com'
Subject: Problem with installing Cygwin/X on Windows 10 PC: no icon created

Dear All,

I have been trying multiple times to install Cygwin/X on my Windows 10 PC using 
setup-x86_64.exe and as an administrator. Even though the installation was 
shown to be successful, there was NO Cygwin-X icons such as XLaunch/Xwin Server 
icons created either on Desktop or Start menu. I have followed the installation 
instructions precisely and read through many posts about installation of 
Cygwin/X, but couldn't find any solutions.

To give some more background: I have been installing Cygwin and Cygwin/X many 
times on different windows PCs and never had such a problem before. On this 
Windows 10 PC, the Cgywin64 Terminal was installed successfully and is running 
properly. But Cygwin/X does seem to be installed properly.

Any suggestions will be high appreciated.

Best regards,

Zuowei Wang
University of Reading, UK


--
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 installing Cygwin/X on Windows 10 PC: no icon created

2018-08-02 Thread R0b0t1
On Thu, Aug 2, 2018 at 5:10 AM, Zuowei Wang  wrote:
> Sorry to both again. Below is what I got when running the command in the 
> Cygwin terminal :
>
> $ /etc/postinstall/xinit-1.3.4-14.sh
>   1 [main] bash 4160 child_info_fork::abort: 
> C:\cygwin64\bin\cygiconv-2.dll: Loaded to different address: 
> parent(0x3FD99) != child(0x3E3CA)
> -bash: fork: retry: Resource temporarily unavailable
>   1 [main] bash 4316 child_info_fork::abort: 
> C:\cygwin64\bin\cygiconv-2.dll: Loaded to different address: 
> parent(0x3FD99) != child(0x3E3CA)
> -bash: fork: retry: Resource temporarily unavailable
>   1 [main] bash 6092 child_info_fork::abort: 
> C:\cygwin64\bin\cygiconv-2.dll: Loaded to different address: 
> parent(0x3FD99) != child(0x3E3CA)
> -bash: fork: retry: Resource temporarily unavailable
>   1 [main] bash 10672 child_info_fork::abort: 
> C:\cygwin64\bin\cygiconv-2.dll: Loaded to different address: 
> parent(0x3FD99) != child(0x3E3CA)
> -bash: fork: retry: Resource temporarily unavailable
>   1 [main] bash 10408 child_info_fork::abort: 
> C:\cygwin64\bin\cygiconv-2.dll: Loaded to different address: 
> parent(0x3FD99) != child(0x3E3CA)
> -bash: fork: Resource temporarily unavailable
>
> Zuowei
>

Hello,

These errors are from an AV. Many AVs try to block "stack pivots"
which interferes with Cygwin's implementation of fork(2). AV vendors
are becoming rather brazen and their products rather annoying; I've
had to threaten to just keep reinstalling the OS on work machines to
get rid of the AV.

But also once IT added a policy that should have allowed X11 it was
still not working. AVs can silently kill things with no warning, but I
am not sure if that is it or if Cygwin's X11 is broken.

I had to use Xming with DISPLAY=localhost:0.0. In restrospect Xming is
likely the reason Cygwin's DISPLAY defaults to "ocalhost:0.0."

Cheers,
R0b0t1

--
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 installing Cygwin/X on Windows 10 PC: no icon created

2018-08-02 Thread Marco Atzeri

Am 02.08.2018 um 12:10 schrieb Zuowei Wang:

Sorry to both again. Below is what I got when running the command in the Cygwin 
terminal :

$ /etc/postinstall/xinit-1.3.4-14.sh
   1 [main] bash 4160 child_info_fork::abort: 
C:\cygwin64\bin\cygiconv-2.dll: Loaded to different address: 
parent(0x3FD99) != child(0x3E3CA)
-bash: fork: retry: Resource temporarily unavailable
   1 [main] bash 4316 child_info_fork::abort: 
C:\cygwin64\bin\cygiconv-2.dll: Loaded to different address: 
parent(0x3FD99) != child(0x3E3CA)
-bash: fork: retry: Resource temporarily unavailable
   1 [main] bash 6092 child_info_fork::abort: 
C:\cygwin64\bin\cygiconv-2.dll: Loaded to different address: 
parent(0x3FD99) != child(0x3E3CA)
-bash: fork: retry: Resource temporarily unavailable
   1 [main] bash 10672 child_info_fork::abort: 
C:\cygwin64\bin\cygiconv-2.dll: Loaded to different address: 
parent(0x3FD99) != child(0x3E3CA)
-bash: fork: retry: Resource temporarily unavailable
   1 [main] bash 10408 child_info_fork::abort: 
C:\cygwin64\bin\cygiconv-2.dll: Loaded to different address: 
parent(0x3FD99) != child(0x3E3CA)
-bash: fork: Resource temporarily unavailable

Zuowei



Hi Zouwei,
it seems something is interfering on your Cygwin.

What system and AV do you have ?

Can you follow https://cygwin.com/problems.html
and provide as attachment the cygcheck.out ?

What is the output of
  rebase -si | grep cygiconv-2.dll

and of
  grep System32 /proc/self/maps | head -n 5


Regards
Marco

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


--
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 installing Cygwin/X on Windows 10 PC: no icon created

2018-08-02 Thread Zuowei Wang
Sorry to both again. Below is what I got when running the command in the Cygwin 
terminal :

$ /etc/postinstall/xinit-1.3.4-14.sh
  1 [main] bash 4160 child_info_fork::abort: 
C:\cygwin64\bin\cygiconv-2.dll: Loaded to different address: 
parent(0x3FD99) != child(0x3E3CA)
-bash: fork: retry: Resource temporarily unavailable
  1 [main] bash 4316 child_info_fork::abort: 
C:\cygwin64\bin\cygiconv-2.dll: Loaded to different address: 
parent(0x3FD99) != child(0x3E3CA)
-bash: fork: retry: Resource temporarily unavailable
  1 [main] bash 6092 child_info_fork::abort: 
C:\cygwin64\bin\cygiconv-2.dll: Loaded to different address: 
parent(0x3FD99) != child(0x3E3CA)
-bash: fork: retry: Resource temporarily unavailable
  1 [main] bash 10672 child_info_fork::abort: 
C:\cygwin64\bin\cygiconv-2.dll: Loaded to different address: 
parent(0x3FD99) != child(0x3E3CA)
-bash: fork: retry: Resource temporarily unavailable
  1 [main] bash 10408 child_info_fork::abort: 
C:\cygwin64\bin\cygiconv-2.dll: Loaded to different address: 
parent(0x3FD99) != child(0x3E3CA)
-bash: fork: Resource temporarily unavailable

Zuowei

From: Zuowei Wang
Sent: 02 August 2018 10:19
To: cygwin@cygwin.com
Subject: RE: Problem with installing Cygwin/X on Windows 10 PC: no icon created

Dear Marco,

Thank you very much for the suggestion!

I have run the command line as you suggested and got the output of 
xinit-1.3.4-14, but nothing else happened. Is there anything else I need to do, 
say reboot the PC?

Many thanks,

Zuowei

the Cygwin-X entries in the Menu are created by the
script:

/etc/postinstall/xinit.sh{.done}

It belongs to the package
$ cygcheck -f /etc/postinstall/xinit.sh
xinit-1.3.4-14

You can run it again by the cygwin terminal.




From: Zuowei Wang
Sent: 02 August 2018 09:28
To: 'cygwin@cygwin.com'
Subject: Problem with installing Cygwin/X on Windows 10 PC: no icon created

Dear All,

I have been trying multiple times to install Cygwin/X on my Windows 10 PC using 
setup-x86_64.exe and as an administrator. Even though the installation was 
shown to be successful, there was NO Cygwin-X icons such as XLaunch/Xwin Server 
icons created either on Desktop or Start menu. I have followed the installation 
instructions precisely and read through many posts about installation of 
Cygwin/X, but couldn't find any solutions.

To give some more background: I have been installing Cygwin and Cygwin/X many 
times on different windows PCs and never had such a problem before. On this 
Windows 10 PC, the Cgywin64 Terminal was installed successfully and is running 
properly. But Cygwin/X does seem to be installed properly.

Any suggestions will be high appreciated.

Best regards,

Zuowei Wang
University of Reading, UK


--
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 installing Cygwin/X on Windows 10 PC: no icon created

2018-08-02 Thread Zuowei Wang
Dear Marco,

Thank you very much for the suggestion!

I have run the command line as you suggested and got the output of 
xinit-1.3.4-14, but nothing else happened. Is there anything else I need to do, 
say reboot the PC?

Many thanks,

Zuowei

the Cygwin-X entries in the Menu are created by the
script:

/etc/postinstall/xinit.sh{.done}

It belongs to the package
$ cygcheck -f /etc/postinstall/xinit.sh
xinit-1.3.4-14

You can run it again by the cygwin terminal.




From: Zuowei Wang
Sent: 02 August 2018 09:28
To: 'cygwin@cygwin.com'
Subject: Problem with installing Cygwin/X on Windows 10 PC: no icon created

Dear All,

I have been trying multiple times to install Cygwin/X on my Windows 10 PC using 
setup-x86_64.exe and as an administrator. Even though the installation was 
shown to be successful, there was NO Cygwin-X icons such as XLaunch/Xwin Server 
icons created either on Desktop or Start menu. I have followed the installation 
instructions precisely and read through many posts about installation of 
Cygwin/X, but couldn't find any solutions.

To give some more background: I have been installing Cygwin and Cygwin/X many 
times on different windows PCs and never had such a problem before. On this 
Windows 10 PC, the Cgywin64 Terminal was installed successfully and is running 
properly. But Cygwin/X does seem to be installed properly.

Any suggestions will be high appreciated.

Best regards,

Zuowei Wang
University of Reading, UK


--
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 installing Cygwin/X on Windows 10 PC: no icon created

2018-08-02 Thread Marco Atzeri

Am 02.08.2018 um 10:28 schrieb Zuowei Wang:

Dear All,

I have been trying multiple times to install Cygwin/X on my Windows 10 PC using 
setup-x86_64.exe and as an administrator. Even though the installation was 
shown to be successful, there was NO Cygwin-X icons such as XLaunch/Xwin Server 
icons created either on Desktop or Start menu. I have followed the installation 
instructions precisely and read through many posts about installation of 
Cygwin/X, but couldn't find any solutions.

To give some more background: I have been installing Cygwin and Cygwin/X many 
times on different windows PCs and never had such a problem before. On this 
Windows 10 PC, the Cgywin64 Terminal was installed successfully and is running 
properly. But Cygwin/X does seem to be installed properly.
Any suggestions will be high appreciated.

Best regards,

Zuowei Wang
University of Reading, UK



the Cygwin-X entries in the Menu are created by the
script:

 /etc/postinstall/xinit.sh{.done}

It belongs to the package
$ cygcheck -f /etc/postinstall/xinit.sh
xinit-1.3.4-14

You can run it again by the cygwin terminal.







---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


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



Problem with installing Cygwin/X on Windows 10 PC: no icon created

2018-08-02 Thread Zuowei Wang
Dear All,

I have been trying multiple times to install Cygwin/X on my Windows 10 PC using 
setup-x86_64.exe and as an administrator. Even though the installation was 
shown to be successful, there was NO Cygwin-X icons such as XLaunch/Xwin Server 
icons created either on Desktop or Start menu. I have followed the installation 
instructions precisely and read through many posts about installation of 
Cygwin/X, but couldn't find any solutions.

To give some more background: I have been installing Cygwin and Cygwin/X many 
times on different windows PCs and never had such a problem before. On this 
Windows 10 PC, the Cgywin64 Terminal was installed successfully and is running 
properly. But Cygwin/X does seem to be installed properly.
Any suggestions will be high appreciated.

Best regards,

Zuowei Wang
University of Reading, UK


--
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: Error when installing cygwin software

2018-07-24 Thread Marco Atzeri

Am 24.07.2018 um 13:39 schrieb Ngọc Anh Phạm:

Hi,I'm install cygwin 2.35 and now I am getting the following error:


Hi Phạm,

there is no version 2.35 as last one is 2.10.0-1
So I suspect you are installing something else or a very old version,
or you are confusing the version fo cygwin setup with the version of
the cygwin library.


+ Bash 872 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer.


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


I am using windows 10
I tried reinstalling
I tried againg uninstalling and installing in a different directory


Are you using the cygwin setup and following the guideline:
https://cygwin.com/cygwin-ug-net/setup-net.html


Can you give me a way to solve this problem?
Thanks so much!


Phạm Thị Ngọc Anh-0983693062


In case you have still problem and are you really trying
to install cygwin, please follow

Problem reports:   http://cygwin.com/problems.html


and provide as attachement the cygcheck.out

Regards
Marco

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


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



Error when installing cygwin software

2018-07-24 Thread Ngọc Anh Phạm
Hi,I'm install cygwin 2.35 and now I am getting the following error:
+ Bash 872 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer.
I am using windows 10
I tried reinstalling
I tried againg uninstalling and installing in a different directory
Can you give me a way to solve this problem?
Thanks so much!


Phạm Thị Ngọc Anh-0983693062
Học viện Công nghệ Bưu chính Viễn thông

--
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: Installing Cygwin on XP-SP3 with setup-x86.exe 2.874

2016-11-07 Thread Lee
On 11/6/16, Tom P  wrote:
> Hi all, first time posting.
>
> I first installed Cygwin a few months ago on my XP SP3 machine, don't
> know much about Linux but wanted to use ddrescue to image some disks
> and I found it to work great! Thanks for this great solution!
>
> The other day I wanted to add the lsblk command, which I tried by
> running setup-x86.exe again and searching for a lsblk package to add,
> but after installing packages it broke Cygwin completely.

Right.  The current version of cygwin doesn't support WinXP.

> Now I get the following error when trying to run it:
> "mintty.exe - Entry Point Not Found. The procedure entry point
> CancelSynchronousIo could not be located in the dynamic link library
> KERNEL32.dll"
>
>
> Is there a way to get v2.874 of setup-x86.exe to only download the
> older, XP-compatible packages? Because right now aside from the fact
> the first few steps of the installer actually run, 2.874 doesn't
> really work on XP either.

Probably not.

I don't know which would be better - trying to revert everything that
was upgraded or wipe the install and start over from scratch.  Either
way, you need to use the cygwin time machine
http://www.fruitbat.org/Cygwin/timemachine.html
to install/update cygwin on winXP.

Regards,
Lee


> As a warning to anyone else running Cygwin on XP - I'm guessing my big
> mistake was not noticing and leaving the default option of "Curr"
> checked, which means update all parts of Cygwin to the latest version?
> I should have selected "Keep", so that only the new lsblk package I
> wanted would be downloaded?

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



Installing Cygwin on XP-SP3 with setup-x86.exe 2.874

2016-11-06 Thread Tom P
Hi all, first time posting.

I first installed Cygwin a few months ago on my XP SP3 machine, don't
know much about Linux but wanted to use ddrescue to image some disks
and I found it to work great! Thanks for this great solution!

The other day I wanted to add the lsblk command, which I tried by
running setup-x86.exe again and searching for a lsblk package to add,
but after installing packages it broke Cygwin completely.

Now I get the following error when trying to run it:
"mintty.exe - Entry Point Not Found. The procedure entry point
CancelSynchronousIo could not be located in the dynamic link library
KERNEL32.dll"


Is there a way to get v2.874 of setup-x86.exe to only download the
older, XP-compatible packages? Because right now aside from the fact
the first few steps of the installer actually run, 2.874 doesn't
really work on XP either.

As a warning to anyone else running Cygwin on XP - I'm guessing my big
mistake was not noticing and leaving the default option of "Curr"
checked, which means update all parts of Cygwin to the latest version?
I should have selected "Keep", so that only the new lsblk package I
wanted would be downloaded?

Thanks,
Tom

--
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: Error Installing Cygwin (setup-x86_64.exe & setup-x86) - No setup.ini.sig found.

2015-10-19 Thread Achim Gratz
Ken Brown writes:
> On 10/18/2015 1:47 PM, Achim Gratz wrote:
>> I think it's now fixed and sorry for the trouble.
>
> Thanks for the quick fix.  All the problems I reported seem to be gone.

Great.  Thanks to you and David for letting me know what exactly you
were operating from and how, since otherwise I would not have found that
code-path as quickly.

If anybody has an idea how to generate coverage reports while testing
and/or automate the testing for setup, please let me know.


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

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada

--
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: Error Installing Cygwin (setup-x86_64.exe & setup-x86) - No setup.ini.sig found.

2015-10-18 Thread Ken Brown

On 10/18/2015 1:47 PM, Achim Gratz wrote:

I think it's now fixed and sorry for the trouble.


Thanks for the quick fix.  All the problems I reported seem to be gone.

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: Error Installing Cygwin (setup-x86_64.exe & setup-x86) - No setup.ini.sig found.

2015-10-18 Thread Achim Gratz
David Stacey writes:
> Same here. I maintain a local mirror and use my own setup.ini files
> (created with genini); these do not have 'sig' files. Directory
> structure is as follows:
>
> cygwin-2015-10-16
>   /cygwin
> /x86
> /x86_64
>   /cygwinports
> /noarch
> /x86
> /x86_64
>
> The 'setup.ini' files are located in the 'x86' and 'x86_64'
> directories; setup is pointed at the 'cygwin-2015-10-16'
> directory.

If that is the complete directory structure at those two levels then I
don't see how it can't work.  I'm doing exactly the same, save for the
exact directory names.  I'm using the "-mX" switches when invoking
setup.  If you have an x86 or x86_64 directory under cygwin-2015-10-16
however, then setup would never look any further (you can't nest mirror
directories).

Setup does essentially this (and finds the following setup files on my
system when it gets started in the top-level mirror directory, provided
that $arch="x86"):

$ find -mindepth 1 -maxdepth 1 -name $arch | \
  xargs -I: sh -c 'for f in :/setup.{xz,bz2,ini}; \
  do [ -e $f ] && { echo $f ; break; } done' && \
  find -mindepth 2 -maxdepth 2 -name $arch | \
  xargs -I: sh -c 'for f in :/setup.{xz,bz2,ini}; \
  do [ -e $f ] && { echo $f ; break; } done'

./cygport/x86/setup.bz2
./cygwin/x86/setup.bz2
./maint/x86/setup.xz
./patch/x86/setup.xz
./perl/x86/setup.ini

What's the result you're getting?

Just in case you want to try the setup.exe I have compiled locally:

--8<---cut here---start->8---
wget="wget -rxnH --cut-dirs=1 http://cygwin.stromeko.net;;
$wget/x86/setup-x86.exe
$wget/x86_64/setup-x86_64.exe
sha512sum setup*.exe
--8<---cut here---end--->8---

d22875c8d22fc241499e0e9ff13758770c263590bf5ac4bc919118d15a37a02719fd46f81b8216a4b4e9e09e63e2ea7007c2071856f2cf9a0c8e022afdc40f9e
  x86_64/setup-x86_64.exe
ae66fe28b976a5fd59b119c0eddc2a74c77def858debf49890a382b4ddf707a79490b977684abfb92446932f1c710eda12b3b83bf1d7fa291c376c32970f683e
  x86/setup-x86.exe


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:   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: Error Installing Cygwin (setup-x86_64.exe & setup-x86) - No setup.ini.sig found.

2015-10-18 Thread Ken Brown

On 10/18/2015 7:47 AM, Achim Gratz wrote:

David Stacey writes:

Same here. I maintain a local mirror and use my own setup.ini files
(created with genini); these do not have 'sig' files. Directory
structure is as follows:

cygwin-2015-10-16
   /cygwin
 /x86
 /x86_64
   /cygwinports
 /noarch
 /x86
 /x86_64

The 'setup.ini' files are located in the 'x86' and 'x86_64'
directories; setup is pointed at the 'cygwin-2015-10-16'
directory.


If that is the complete directory structure at those two levels then I
don't see how it can't work.  I'm doing exactly the same, save for the
exact directory names.  I'm using the "-mX" switches when invoking
setup.


Are you saying you've never tested local installs without the -m switch?  If so, 
that explains why you haven't been able to reproduce the problems that several 
of us have reported.  I just verified that setup does indeed correctly descend 
into subdirectories with the -m switch.


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: Error Installing Cygwin (setup-x86_64.exe & setup-x86) - No setup.ini.sig found.

2015-10-18 Thread Ken Brown

On 10/18/2015 9:28 AM, Achim Gratz wrote:

Ken Brown writes:

Are you saying you've never tested local installs without the -m
switch?


No, I'm saying that the "-m" switch should reduce the possibility of
setup doing something unwanted, because it eliminates the possibility of
it switching into ad-hoc mode (where it searches the subdirs for
setup.ini and package files to full depth).


If so, that explains why you haven't been able to reproduce
the problems that several of us have reported.  I just verified that
setup does indeed correctly descend into subdirectories with the -m
switch.


That still doesn't tell me what about your mirror directories triggers
it to not use local mirror mode when not using that switch.  If the
directory structure is correct that is in theory impossible since it
tries mirror mode first and only if it doesn't find a useable setup file
that way would it fall back to ad-hoc mode.  Please run the commands in
my other replay to David Stacey and tell me the result.


$ find -mindepth 1 -maxdepth 1 -name $arch | \
> xargs -I: sh -c 'for f in :/setup.{xz,bz2,ini}; \
> do [ -e $f ] && { echo $f ; break; } done' && \
> find -mindepth 2 -maxdepth 2 -name $arch | \
> xargs -I: sh -c 'for f in :/setup.{xz,bz2,ini}; \
> do [ -e $f ] && { echo $f ; break; } done'
./http%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f/x86/setup.ini
./http%3a%2f%2fsanibeltranquility.com%2fcygwin%2f/x86/setup.ini
./myrepo/x86/setup.xz

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: Error Installing Cygwin (setup-x86_64.exe & setup-x86) - No setup.ini.sig found.

2015-10-18 Thread Achim Gratz
Ken Brown writes:
> Are you saying you've never tested local installs without the -m
> switch?

No, I'm saying that the "-m" switch should reduce the possibility of
setup doing something unwanted, because it eliminates the possibility of
it switching into ad-hoc mode (where it searches the subdirs for
setup.ini and package files to full depth).

> If so, that explains why you haven't been able to reproduce
> the problems that several of us have reported.  I just verified that
> setup does indeed correctly descend into subdirectories with the -m
> switch.

That still doesn't tell me what about your mirror directories triggers
it to not use local mirror mode when not using that switch.  If the
directory structure is correct that is in theory impossible since it
tries mirror mode first and only if it doesn't find a useable setup file
that way would it fall back to ad-hoc mode.  Please run the commands in
my other replay to David Stacey and tell me the result.


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

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada

--
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: Error Installing Cygwin (setup-x86_64.exe & setup-x86) - No setup.ini.sig found.

2015-10-18 Thread David Stacey

On 18/10/2015 12:47, Achim Gratz wrote:

David Stacey writes:

Same here. I maintain a local mirror and use my own setup.ini files
(created with genini); these do not have 'sig' files. Directory
structure is as follows:

cygwin-2015-10-16
   /cygwin
 /x86
 /x86_64
   /cygwinports
 /noarch
 /x86
 /x86_64

The 'setup.ini' files are located in the 'x86' and 'x86_64'
directories; setup is pointed at the 'cygwin-2015-10-16'
directory.

If that is the complete directory structure at those two levels then I
don't see how it can't work.  I'm doing exactly the same, save for the
exact directory names.  I'm using the "-mX" switches when invoking
setup.  If you have an x86 or x86_64 directory under cygwin-2015-10-16
however, then setup would never look any further (you can't nest mirror
directories).

Setup does essentially this (and finds the following setup files on my
system when it gets started in the top-level mirror directory, provided
that $arch="x86"):

$ find -mindepth 1 -maxdepth 1 -name $arch | \
   xargs -I: sh -c 'for f in :/setup.{xz,bz2,ini}; \
   do [ -e $f ] && { echo $f ; break; } done' && \
   find -mindepth 2 -maxdepth 2 -name $arch | \
   xargs -I: sh -c 'for f in :/setup.{xz,bz2,ini}; \
   do [ -e $f ] && { echo $f ; break; } done'

./cygport/x86/setup.bz2
./cygwin/x86/setup.bz2
./maint/x86/setup.xz
./patch/x86/setup.xz
./perl/x86/setup.ini

What's the result you're getting?


Thank you for your help. Here is the output from running your command:

For arch="x86":
./cygwin/x86/setup.ini
./cygwinports/x86/setup.ini

For arch="x86_64":
./cygwin/x86_64/setup.ini
./cygwinports/x86_64/setup.ini

This is as described above by my ASCII art. I have been using this 
directory structure successfully with previous versions of setup. Is 
this layout incorrect?


Dave.



--
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: Error Installing Cygwin (setup-x86_64.exe & setup-x86) - No setup.ini.sig found.

2015-10-18 Thread Ken Brown

On 10/18/2015 9:47 AM, Ken Brown wrote:

On 10/18/2015 9:28 AM, Achim Gratz wrote:

Ken Brown writes:

Are you saying you've never tested local installs without the -m
switch?


No, I'm saying that the "-m" switch should reduce the possibility of
setup doing something unwanted, because it eliminates the possibility of
it switching into ad-hoc mode (where it searches the subdirs for
setup.ini and package files to full depth).


If so, that explains why you haven't been able to reproduce
the problems that several of us have reported.  I just verified that
setup does indeed correctly descend into subdirectories with the -m
switch.


That still doesn't tell me what about your mirror directories triggers
it to not use local mirror mode when not using that switch.  If the
directory structure is correct that is in theory impossible since it
tries mirror mode first and only if it doesn't find a useable setup file
that way would it fall back to ad-hoc mode.  Please run the commands in
my other replay to David Stacey and tell me the result.


$ find -mindepth 1 -maxdepth 1 -name $arch | \
 > xargs -I: sh -c 'for f in :/setup.{xz,bz2,ini}; \
 > do [ -e $f ] && { echo $f ; break; } done' && \
 > find -mindepth 2 -maxdepth 2 -name $arch | \
 > xargs -I: sh -c 'for f in :/setup.{xz,bz2,ini}; \
 > do [ -e $f ] && { echo $f ; break; } done'
./http%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f/x86/setup.ini
./http%3a%2f%2fsanibeltranquility.com%2fcygwin%2f/x86/setup.ini
./myrepo/x86/setup.xz


Just for the record, I did a git bisection, showing (unsurprisingly) that the 
first bad commit is one of the following two:


commit 18837afa64984e98476401e99dcd772970cf9736
Author: Achim Gratz 
Date:   Sat Jul 11 21:58:30 2015 +0200

Refactor setup search and implement XZ compressed setup files

* ini.cc: Construct setup_ext_list from array until we can use
C++11 aggregate initializers.  Clean up function parenthesis.
(decompress_ini): Refactored for use from do_local_ini and
do_remote_ini.  Change outdated comment about setup.ini
uncompressed size.
(check_ini_sig): Factor out signature check.
(fetch_remote_ini): Refactored for use from do_remote_ini.
(do_local_ini): Iterate over search results in found_ini_list.
Use decompress_ini and check_ini_sig.
(do_remote_ini): Iterate over known setup file extensions from
setup_ext_list with early-out semantics, preferring ".xz" over
".bz2" over ".ini" extension.  Use fetch_remote_ini and
check_ini_sig.
* ini.h: Remove unused macros.
* IniParseFindVisitor.cc: Remove, the search is already done by
SetupFindVisitor in do_from_local_dir.
* IniParseFindVisitor.cc: Ditto.
* Makefile.am (@SETUP@_SOURCES): Ditto.

commit 35addac4a65a1d70ab02b8d175f71efa83cf74ba
Author: Achim Gratz 
Date:   Wed Jul 1 21:36:12 2015 +0200

Correct local directory search

* fromcwd.cc: Remove unused includes.  Add global found_ini_list
to record the search result.
(SetupFindVisitor): Make setup.{ini,bz2,xz} known and provide bool
private variables to record whether we found them.  Another bool
inidir to indicate whether we are currently inside a directory
where setup.ini files should exist.
(SetupFindVisitor::visitFile): When inidir is true, check if a
setup file with one of the known extensions was found and set the
corresponding bool variables.
(SetupFindVisitor::visitDirectory): Set inidir when appropriate.
Recurse into directories only if they are potential mirror dirs,
based on level. Truncate search and recurse into inidir.  Record
any setup files in found_ini_list while preferring ".xz" over
".bz2" over ".ini" extension.
(SetupFindVisitor::operator bool): Return true when found_ini_list
is non-empty.
(do_from_local_dir): Restrict search to either a single mirror
hierarchy or multiple mirror hierarchy; setup files directly in
local directory or mixed hierarchies are no longer recognized.
The setup files must be present in an architecture dependent
directory of "x86/" or "x86_64/", either in the local directory
for single mirror or one level down for multiple mirrors.

This patch already finds setup.xz files, but the code to deal with
them will be in a later patch.  The current code re-does the search
and ignores the results from here.

setup didn't build after 35addac, so I can't pin it down further. 
Unfortunately, those two commits seem to involve fairly substantial changes.


As test case for the bisection, I used step 4 of the recipe I posted in 
https://www.cygwin.com/ml/cygwin/2015-10/msg00267.html.


Ken

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/

Re: Error Installing Cygwin (setup-x86_64.exe & setup-x86) - No setup.ini.sig found.

2015-10-18 Thread Achim Gratz
Robert Pace writes:
> I did install an older version of Cygwin which I had downloaded back
> in January 2015 without issue.  Indicating that there is an issue with
> the latest cygwin setup application.

I think it's now fixed and sorry for the trouble.

The signature check has been changed to not complain about a missing
signature file when installing from a local directory for the moment.
This may be changed again if and when the "download only" mode gets
smart enough to actually download the signature and ini file from the
mirror.

The other bug was showing up only for multi-mirror hierarchies (with any
number of mirror directories present, including a single one).  In this
situation setup would fail to verify the packages (unless you switched
that verification off with "-m") and hence you wouldn't be able to
install any new packages.

Until a new version makes it's way to the official site, you can try the
bugfixed setup.exe I've compiled locally:

--8<---cut here---start->8---
wget="wget -rxnH --cut-dirs=1 http://cygwin.stromeko.net;;
$wget/x86/setup-x86.exe
$wget/x86_64/setup-x86_64.exe
sha512sum setup*.exe
--8<---cut here---end--->8---

fa35136f7dd3beec303f5690af092a036ef59f180292b9649d9190513a3d15354a0ee805178787a5a59b2b12e1cadd7fcb38cd66aa0a23945d033c2e067ffc69
  x86_64/setup-x86_64.exe
e878a6ca6959ec1fbc916bde40f5089d12024b6f8d47ce1cd1db8f0d6f3fbaa152d640eb5bc664dae561199a919e7d9d927c5bef6ddbd494e5b64669af824270
  x86/setup-x86.exe


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

Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables

--
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: Error Installing Cygwin (setup-x86_64.exe & setup-x86) - No setup.ini.sig found.

2015-10-18 Thread Achim Gratz
Ken Brown writes:
> ./http%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f/x86/setup.ini
> ./http%3a%2f%2fsanibeltranquility.com%2fcygwin%2f/x86/setup.ini
> ./myrepo/x86/setup.xz

I've checked again what exactly --mirror-mode does: if it's set, then it
basically tells setup to believe the ini file and assume the existence
of all files that are listed there.  If it's unset, then it checks if
the file is available on disk (first starting from local_dir, then
iterating thorough all mirrors) and tries to validate it.  The latter
part fails in multi-mirror mode since it doesn't seem to find the mirror
names while doing that.  I'll have to trawl the Git history to see where
and how this was dropped (it must have been a side-effect of something
else) and how to fix it.  In the meantime, please use "-mX" for local
multi-mirrors.


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

SD adaptation for Waldorf rackAttack V1.04R1:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

--
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: Error Installing Cygwin (setup-x86_64.exe & setup-x86) - No setup.ini.sig found.

2015-10-17 Thread Andrey Repin
Greetings, Ken Brown!

> 1. Download setup-x86.exe from the Cygwin website, and put it in an empty
> directory c:/download-test.

> 2. Run setup-x86.exe.  Choose "Install from Internet".

Choose "download only".
Makes the test simpler.


-- 
With best regards,
Andrey Repin
Sunday, October 18, 2015 05:30:52

Sorry for my terrible english...


--
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: Error Installing Cygwin (setup-x86_64.exe & setup-x86) - No setup.ini.sig found.

2015-10-17 Thread Ken Brown

On 10/17/2015 10:31 PM, Andrey Repin wrote:

Greetings, Ken Brown!


1. Download setup-x86.exe from the Cygwin website, and put it in an empty
directory c:/download-test.



2. Run setup-x86.exe.  Choose "Install from Internet".


Choose "download only".
Makes the test simpler.


I tried that first, but it didn't work.  setup was confused by a previous run 
with a different root directory and didn't offer to do a full base install.


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: Error Installing Cygwin (setup-x86_64.exe & setup-x86) - No setup.ini.sig found.

2015-10-17 Thread Ken Brown

On 10/17/2015 5:14 PM, David Stacey wrote:

On 17/10/15 13:13, Ken Brown wrote:

On 10/17/2015 3:28 AM, Achim Gratz wrote:

Ken Brown writes:

Could you check if the setup.ini.sig file is just not stored to disk and
that setup would commence installing if you downloaded it manually and
put alongside the setup.ini file?


Is there a new requirement that a local repository has to have a
signature file?  And does it have to be setup.ini.sig (rather than,
for example, setup.bz2.sig)?


You can always tell it to not check the signature (--no-verify / -X),
but if the directory you set it upon looks like a mirror and has a setup
file, then it will by default want to check the signature (belonging to
the actual suffix used: .xz, .bz2 and lastly .ini).


I maintain my own small repository at a remote site and mirror it on my local
machine.  It contains, for each architecture, setup.ini, setup.xz, and
setup.xz.sig.  Installation from the remote site works fine.  If I try to
install from my local mirror, setup complains that it can't find
setup.ini.sig.  I can install from the local mirror only if I add setup.ini.sig.


Same here. I maintain a local mirror and use my own setup.ini files (created
with genini); these do not have 'sig' files. Directory structure is as follows:

cygwin-2015-10-16
   /cygwin
 /x86
 /x86_64
   /cygwinports
 /noarch
 /x86
 /x86_64

The 'setup.ini' files are located in the 'x86' and 'x86_64' directories; setup
is pointed at the 'cygwin-2015-10-16' directory. Eventually managed to install
using an older version of setup that I had downloaded previously.


Thanks for the confirmation, Dave.  Since Achim can't reproduce the problem, 
maybe we should temporarily forget about local mirrors and go back to the 
simpler situation reported by the OP.  I just reproduced that problem in a 
simpler form as follows:


1. Download setup-x86.exe from the Cygwin website, and put it in an empty 
directory c:/download-test.


2. Run setup-x86.exe.  Choose "Install from Internet".  Choose the nonexistent 
c:\cygwin-test as root directory.   Choose c:/download-test as local package 
directory.  Choose http://mirrors.kernel.org as the only download site. 
Repeatedly click "Next" while setup does a base install.


At this point, the download directory looks like this:

download-test
  setup-x86.exe
  http%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f
x86
  setup.ini
  release
_autorebase
...

3. Run setup-x86.exe again, this time choosing "Install from Local Directory". 
setup complains that it can't get 
c:/download-test/http%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f//x86/setup.ini.sig 
from .  [This is the first bug; if setup expects to find signature 
files in local directories, it should save the ones it downloads.]


4. Retry, this time using setup-x86.exe -X.  The "Select Packages" screen lists 
all the installed packages, but for each package the only options are "Keep" and 
"Uninstall".  [This is the second bug; setup has apparently failed to descend 
into http%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f.]


5. Repeat, but this time change the local package directory from the default 
c:/download-test to 
c:/download-test/http%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f.  Now 
each package has the additional option "Reinstall" (which works).


Achim, can you reproduce this?  Please use the official setup-x86.exe rather 
than the one you built, in case your local setup repo is somehow different from 
the upstream repo.


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: Error Installing Cygwin (setup-x86_64.exe & setup-x86) - No setup.ini.sig found.

2015-10-17 Thread Achim Gratz
Ken Brown writes:
>> I maintain my own small repository at a remote site and mirror it on my local
>> machine.  It contains, for each architecture, setup.ini, setup.xz, and
>> setup.xz.sig.  Installation from the remote site works fine.  If I try to
>> install from my local mirror, setup complains that it can't find 
>> setup.ini.sig.
>>   I can install from the local mirror only if I add setup.ini.sig.

I install also from a local mirror, not signed ini files (yet) and I
haven't had any problems.  I happen to have installed a new machine just
this week so I know this also works OK.  If there is a setup.xz,
setup.ini shouldn't even be looked at and consequently no setup.ini.xz
file should be required.

> And even then, setup doesn't seem to work right on the local mirror.
> The only choices it gives me on the local packages are "Keep" and
> "Uninstall".

That would indicate it hasn't actually found any packages in whatever it
used as setup.ini.  What's your directory layout?  I can't make any
sense of what's happening for you.  Your local mirror should look like:

mirror
 /x86
   /setup.xz
   /setup.xz.sig
 /x86_64
   /setup.xz
   /setup.xz.sig

and setup should be pointed at "mirror".

I've just went through a whole battery of testing setup in both local
mirror mode, both using my usual scripts and via a shortcut to add an
"-mX" option to the invocation.  Leaving out the "-X" has setup complain
about the missing signature as intended.  Everything else works
correctly for me.

For download-only mode, setup doesn't write the signature file to disk,
so that will have to be corrected.

Oh and another thing: I always compile my own setup.exe, so if you can
do that  to see if it makes a difference for you?


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

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada

--
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: Error Installing Cygwin (setup-x86_64.exe & setup-x86) - No setup.ini.sig found.

2015-10-17 Thread Achim Gratz
Ken Brown writes:
>> Could you check if the setup.ini.sig file is just not stored to disk and
>> that setup would commence installing if you downloaded it manually and
>> put alongside the setup.ini file?
>
> Is there a new requirement that a local repository has to have a
> signature file?  And does it have to be setup.ini.sig (rather than,
> for example, setup.bz2.sig)?

You can always tell it to not check the signature (--no-verify / -X),
but if the directory you set it upon looks like a mirror and has a setup
file, then it will by default want to check the signature (belonging to
the actual suffix used: .xz, .bz2 and lastly .ini).


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

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada

--
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: Error Installing Cygwin (setup-x86_64.exe & setup-x86) - No setup.ini.sig found.

2015-10-17 Thread Nicolas Roche

> You can always tell it to not check the signature (--no-verify / -X),
> but if the directory you set it upon looks like a mirror and has a setup
> file, then it will by default want to check the signature (belonging to
> the actual suffix used: .xz, .bz2 and lastly .ini).
> 

Even with -X the installation from local directory does not work. 
In semi-attended mode I can see that the installer does not see any of the 
local packages. So the installer just  create the c:/cygwin directory 
but do nothing more.

This was working before the update of the 16th of October

Nicolas


--
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: Error Installing Cygwin (setup-x86_64.exe & setup-x86) - No setup.ini.sig found.

2015-10-17 Thread Achim Gratz
Robert Pace writes:
> I can verify that the setup.ini.sig is not stored in the download
> folder.  I earlier today downloaded the setup.ini.sig from the mirror
> site and put that file in the mirror folder and it complained that the
> setup.ini was corrupt.

Can you put both setup.ini and setup.ini.sig there (or setup.bz2 and
setup.bz2.sig), from the same mirror and downloaded at the same time?


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

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

--
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: Error Installing Cygwin (setup-x86_64.exe & setup-x86) - No setup.ini.sig found.

2015-10-17 Thread Ken Brown

On 10/17/2015 8:13 AM, Ken Brown wrote:

On 10/17/2015 3:28 AM, Achim Gratz wrote:

Ken Brown writes:

Could you check if the setup.ini.sig file is just not stored to disk and
that setup would commence installing if you downloaded it manually and
put alongside the setup.ini file?


Is there a new requirement that a local repository has to have a
signature file?  And does it have to be setup.ini.sig (rather than,
for example, setup.bz2.sig)?


You can always tell it to not check the signature (--no-verify / -X),
but if the directory you set it upon looks like a mirror and has a setup
file, then it will by default want to check the signature (belonging to
the actual suffix used: .xz, .bz2 and lastly .ini).


I maintain my own small repository at a remote site and mirror it on my local
machine.  It contains, for each architecture, setup.ini, setup.xz, and
setup.xz.sig.  Installation from the remote site works fine.  If I try to
install from my local mirror, setup complains that it can't find setup.ini.sig.
  I can install from the local mirror only if I add setup.ini.sig.


And even then, setup doesn't seem to work right on the local mirror.  The only 
choices it gives me on the local packages are "Keep" and "Uninstall".


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: Error Installing Cygwin (setup-x86_64.exe & setup-x86) - No setup.ini.sig found.

2015-10-17 Thread Ken Brown

On 10/17/2015 3:28 AM, Achim Gratz wrote:

Ken Brown writes:

Could you check if the setup.ini.sig file is just not stored to disk and
that setup would commence installing if you downloaded it manually and
put alongside the setup.ini file?


Is there a new requirement that a local repository has to have a
signature file?  And does it have to be setup.ini.sig (rather than,
for example, setup.bz2.sig)?


You can always tell it to not check the signature (--no-verify / -X),
but if the directory you set it upon looks like a mirror and has a setup
file, then it will by default want to check the signature (belonging to
the actual suffix used: .xz, .bz2 and lastly .ini).


I maintain my own small repository at a remote site and mirror it on my local 
machine.  It contains, for each architecture, setup.ini, setup.xz, and 
setup.xz.sig.  Installation from the remote site works fine.  If I try to 
install from my local mirror, setup complains that it can't find setup.ini.sig. 
 I can install from the local mirror only if I add setup.ini.sig.


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: Error Installing Cygwin (setup-x86_64.exe & setup-x86) - No setup.ini.sig found.

2015-10-17 Thread Achim Gratz
Ken Brown writes:
> OK, doing it that way works.  But if I add setup.ini alongside
> setup.xz and setup.xz.sig, then setup complains about not finding
> setup.ini.sig.

It shouldn't, at least not without complaining about a missing
setup.xz.sig first.  Does it make a difference if you use the "-m"
switch?

> Also, having to point setup at "mirror" is a major change from the way
> local installs used to work.  I have the following structure:
>
> download directory
>   http%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f/
>   http...
>   http...
>   mirror
>
> and I have always pointed setup at "download directory" for a local
> install.  In the past, this would then pick up the packages from all
> the http directories as well as from "mirror".  Was it a deliberate
> change that this no longer works? This change is probably what's
> behind the problem the others in this thread have reported.

No, that is explicitly supported (multiple mirrors), setup iterates
through the mirror list (first level of your download directory) in this
case.  I've just tested again that this works for me, with my local
Cygwin+Cygport mirror.  They work as expected with (adding the
ports.pgp) and without (using the "-X" switch).

All your subdirectories should have the structure discussed previously.
Please pay attention as to what files setup actually complains about
(for instance if it cannot read or decompress setup.bz or doesn't find
the signature file in one mirror, it will try to use setup.ini as
fallback).


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

SD adaptation for Waldorf rackAttack V1.04R1:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

--
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: Error Installing Cygwin (setup-x86_64.exe & setup-x86) - No setup.ini.sig found.

2015-10-17 Thread Ken Brown

On 10/17/2015 1:06 PM, Achim Gratz wrote:

Ken Brown writes:

I maintain my own small repository at a remote site and mirror it on my local
machine.  It contains, for each architecture, setup.ini, setup.xz, and
setup.xz.sig.  Installation from the remote site works fine.  If I try to
install from my local mirror, setup complains that it can't find setup.ini.sig.
   I can install from the local mirror only if I add setup.ini.sig.


I install also from a local mirror, not signed ini files (yet) and I
haven't had any problems.  I happen to have installed a new machine just
this week so I know this also works OK.  If there is a setup.xz,
setup.ini shouldn't even be looked at and consequently no setup.ini.xz
file should be required.


And even then, setup doesn't seem to work right on the local mirror.
The only choices it gives me on the local packages are "Keep" and
"Uninstall".


That would indicate it hasn't actually found any packages in whatever it
used as setup.ini.  What's your directory layout?  I can't make any
sense of what's happening for you.  Your local mirror should look like:

mirror
  /x86
/setup.xz
/setup.xz.sig
  /x86_64
/setup.xz
/setup.xz.sig

and setup should be pointed at "mirror".


OK, doing it that way works.  But if I add setup.ini alongside setup.xz and 
setup.xz.sig, then setup complains about not finding setup.ini.sig.


Also, having to point setup at "mirror" is a major change from the way local 
installs used to work.  I have the following structure:


download directory
  http%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f/
  http...
  http...
  mirror

and I have always pointed setup at "download directory" for a local install.  In 
the past, this would then pick up the packages from all the http directories as 
well as from "mirror".  Was it a deliberate change that this no longer works? 
This change is probably what's behind the problem the others in this thread have 
reported.


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: Error Installing Cygwin (setup-x86_64.exe & setup-x86) - No setup.ini.sig found.

2015-10-17 Thread David Stacey

On 17/10/15 13:13, Ken Brown wrote:

On 10/17/2015 3:28 AM, Achim Gratz wrote:

Ken Brown writes:
Could you check if the setup.ini.sig file is just not stored to 
disk and

that setup would commence installing if you downloaded it manually and
put alongside the setup.ini file?


Is there a new requirement that a local repository has to have a
signature file?  And does it have to be setup.ini.sig (rather than,
for example, setup.bz2.sig)?


You can always tell it to not check the signature (--no-verify / -X),
but if the directory you set it upon looks like a mirror and has a setup
file, then it will by default want to check the signature (belonging to
the actual suffix used: .xz, .bz2 and lastly .ini).


I maintain my own small repository at a remote site and mirror it on 
my local machine.  It contains, for each architecture, setup.ini, 
setup.xz, and setup.xz.sig.  Installation from the remote site works 
fine.  If I try to install from my local mirror, setup complains that 
it can't find setup.ini.sig.  I can install from the local mirror only 
if I add setup.ini.sig.


Same here. I maintain a local mirror and use my own setup.ini files 
(created with genini); these do not have 'sig' files. Directory 
structure is as follows:


cygwin-2015-10-16
  /cygwin
/x86
/x86_64
  /cygwinports
/noarch
/x86
/x86_64

The 'setup.ini' files are located in the 'x86' and 'x86_64' directories; 
setup is pointed at the 'cygwin-2015-10-16' directory. Eventually 
managed to install using an older version of setup that I had downloaded 
previously.


Hope this helps,

Dave.


--
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: Error Installing Cygwin (setup-x86_64.exe & setup-x86) - No setup.ini.sig found.

2015-10-16 Thread Ken Brown

On 10/16/2015 4:52 PM, Achim Gratz wrote:

Robert Pace writes:

I downloaded the very latest setup-x86_64.exe and setup-x86.exe from
www.cygwin.com yesterday (version 2.872). I started trying to install
the 64bit version of cygwin and selected "download only".  I chose a
mirror from the list, and the download concluded fine.  I then re-ran
the setup application and chose "install from local directory" and
selected the folder which held the downloaded files.  The setup
application then halts installation due to a missing setup.ini.sig.


Could you check if the setup.ini.sig file is just not stored to disk and
that setup would commence installing if you downloaded it manually and
put alongside the setup.ini file?


Is there a new requirement that a local repository has to have a 
signature file?  And does it have to be setup.ini.sig (rather than, for 
example, setup.bz2.sig)?


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: Error Installing Cygwin (setup-x86_64.exe & setup-x86) - No setup.ini.sig found.

2015-10-16 Thread Achim Gratz
Robert Pace writes:
> I downloaded the very latest setup-x86_64.exe and setup-x86.exe from
> www.cygwin.com yesterday (version 2.872). I started trying to install
> the 64bit version of cygwin and selected "download only".  I chose a
> mirror from the list, and the download concluded fine.  I then re-ran
> the setup application and chose "install from local directory" and
> selected the folder which held the downloaded files.  The setup
> application then halts installation due to a missing setup.ini.sig.

Could you check if the setup.ini.sig file is just not stored to disk and
that setup would commence installing if you downloaded it manually and
put alongside the setup.ini file?


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

Wavetables for the Terratec KOMPLEXER:
http://Synth.Stromeko.net/Downloads.html#KomplexerWaves

--
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: Error Installing Cygwin (setup-x86_64.exe & setup-x86) - No setup.ini.sig found.

2015-10-16 Thread Robert Pace
I can verify that the setup.ini.sig is not stored in the download
folder.  I earlier today downloaded the setup.ini.sig from the mirror
site and put that file in the mirror folder and it complained that the
setup.ini was corrupt.

On Fri, Oct 16, 2015 at 4:52 PM, Achim Gratz  wrote:
> Robert Pace writes:
>> I downloaded the very latest setup-x86_64.exe and setup-x86.exe from
>> www.cygwin.com yesterday (version 2.872). I started trying to install
>> the 64bit version of cygwin and selected "download only".  I chose a
>> mirror from the list, and the download concluded fine.  I then re-ran
>> the setup application and chose "install from local directory" and
>> selected the folder which held the downloaded files.  The setup
>> application then halts installation due to a missing setup.ini.sig.
>
> Could you check if the setup.ini.sig file is just not stored to disk and
> that setup would commence installing if you downloaded it manually and
> put alongside the setup.ini file?
>
>
> Regards,
> Achim.
> --
> +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
>
> Wavetables for the Terratec KOMPLEXER:
> http://Synth.Stromeko.net/Downloads.html#KomplexerWaves
>
> --
> 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
>



-- 
Robert Pace
Cell: (606) 621-9012
Moore #125 Spatial Data Research Lab
EKU Herbarium Memorial Science #170
robert_pa...@mymail.eku.edu
robert.p...@eku.edu
http://people.eku.edu/pacer/
Richmond, KY
USA
--

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



Error Installing Cygwin (setup-x86_64.exe & setup-x86) - No setup.ini.sig found.

2015-10-16 Thread Robert Pace
Hi all,

I downloaded the very latest setup-x86_64.exe and setup-x86.exe from
www.cygwin.com yesterday (version 2.872). I started trying to install
the 64bit version of cygwin and selected "download only".  I chose a
mirror from the list, and the download concluded fine.  I then re-ran
the setup application and chose "install from local directory" and
selected the folder which held the downloaded files.  The setup
application then halts installation due to a missing setup.ini.sig.  I
downloaded the setup application again, and chose a different mirror
site and and had the setup application save to a different folder.
Again the installation failed due to setup.ini.sig.  I tried three
more different mirror sites with the same problem.  I then tried using
the 32bit setup application and again received the same missing
setup.ini.sig error.  I read that one can also try running the setup
application with the -X argument which setup the subfolders for the
cygwin directory but did not populate them with any of the packages.

I am running Windows 10 Professional (64bit) build 10565.

I did install an older version of Cygwin which I had downloaded back
in January 2015 without issue.  Indicating that there is an issue with
the latest cygwin setup application.

--
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: Error Installing Cygwin (setup-x86_64.exe & setup-x86) - No setup.ini.sig found.

2015-10-16 Thread Andrey Repin
Greetings, Robert Pace!

> I downloaded the very latest setup-x86_64.exe and setup-x86.exe from
> www.cygwin.com yesterday (version 2.872). I started trying to install
> the 64bit version of cygwin and selected "download only".  I chose a
> mirror from the list, and the download concluded fine.  I then re-ran
> the setup application and chose "install from local directory" and
> selected the folder which held the downloaded files.  The setup
> application then halts installation due to a missing setup.ini.sig.  I
> downloaded the setup application again, and chose a different mirror
> site and and had the setup application save to a different folder.
> Again the installation failed due to setup.ini.sig.  I tried three
> more different mirror sites with the same problem.  I then tried using
> the 32bit setup application and again received the same missing
> setup.ini.sig error.  I read that one can also try running the setup
> application with the -X argument which setup the subfolders for the
> cygwin directory but did not populate them with any of the packages.

> I am running Windows 10 Professional (64bit) build 10565.

> I did install an older version of Cygwin which I had downloaded back
> in January 2015 without issue.  Indicating that there is an issue with
> the latest cygwin setup application.

I can confirm the issue.

---
Cygwin Setup
---
Unable to get
...\cygwin\install/http%3a%2f%2fftp-stud.hs-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwinports%2f//x86_64/setup.ini.sig
from 
---
ОК   
---


-- 
With best regards,
Andrey Repin
Friday, October 16, 2015 18:44:11

Sorry for my terrible english...

Installing Cygwin on Windows 8.1

2015-09-28 Thread Design-Discount
I want to install Cygwin on Windows 8.1 64bit but got no success using 
any variant. I tried:


1) I downloaded fresh setup-x86_x64 from cygwin site and then tried to 
install from Internet but got empty mirror list.


2) Then I tried manually add mirror from https://cygwin.com/mirrors.lst 
(this file accessible from my computer) but got "unable to get 
setup.ini" error.


3) then I tried to download WHOLE package manually from one of the 
mirrors (all mirrors normally accessible from my computer via FTP or 
HTTP) to setup from local package. When I downloaded all packages (about 
30 Gigs) I ran setup with local package option. Package folder was 
scanned and I got list of categories. But there was no package in any 
category.


4) also I tried to run setup on my Windows 7 notebook. It got mirror 
list normally. Also I downloaded packages by setup program using my 
notebook, then transfered them to my Win 8.1 desktop, but the story was 
the same: I saw list of categories without packages. But on Win7 
notebook I saw packages in categoies when I tried to install from the 
same directory.


5) Also I tried to turn off or even uninstall my firewall and antivirus 
software, but all results was the same.


6) I tried to run setup with administrator rights or without them, tried 
to use different folders and HDD paths, tried to use x86 setup instead 
of x64 setup.


But nothing helped me.

Any ideas?


--
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: problems installing Cygwin/x‏‏

2014-09-17 Thread Jon TURNEY

On 04/09/2014 18:46, Marco Atzeri wrote:

On 04/09/2014 19:33, t s wrote:

I can't get cygwin/x to run. I downloaded the latest revision. Here is
what happened.



(EE) Fatal server error:
(EE) Can't read lock file /tmp/.X0-lock


This is covered in the FAQ [1].

[1] http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-cant-read-lock-file

Start the server with the -nolock option.

This option is turned on automatically when you have a FAT filesystem, 
but it seems this doesn't happen for exFAT filesystems.


Thanks for reporting this problem.

--
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

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



problems installing Cygwin/x‏‏

2014-09-04 Thread t s
I can't get cygwin/x to run. I downloaded the latest revision. Here is what 
happened.
 
 
 
$ Xwin :0 -multiwindow -clipboard -wgl

Welcome to the XWin X Server

Vendor: The Cygwin/X Project

Release: 1.15.1.0

OS: CYGWIN_NT-6.1 SONYZ 1.7.32(0.274/5/3) 2014-08-13 23:06 x86_64

OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601] (Win64)

Package: version 1.15.1-4 built 2014-07-18

XWin was started with the following command line:

Xwin :0 -multiwindow -clipboard -wgl

_XSERVTransmkdir: Mode of /tmp/.X11-unix should be set to 1777

_XSERVTransmkdir: this may cause subsequent errors

(EE) Fatal server error:

(EE) Can't read lock file /tmp/.X0-lock

(EE) Server terminated with error (1). Closing log file.

winDeinitMultiWindowWM - Noting shutdown in progress
 
$
 

Help, please?
 
My post to this mailing list of two weeks ago was deleted. It's impolite to 
delete a post without giving a reason. Please allow this post. Thank you.   
  

Re: problems installing Cygwin/x‏‏

2014-09-04 Thread Marco Atzeri

On 04/09/2014 19:33, t s wrote:

I can't get cygwin/x to run. I downloaded the latest revision. Here is what 
happened.



$ Xwin :0 -multiwindow -clipboard -wgl

Welcome to the XWin X Server

Vendor: The Cygwin/X Project

Release: 1.15.1.0

OS: CYGWIN_NT-6.1 SONYZ 1.7.32(0.274/5/3) 2014-08-13 23:06 x86_64

OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601] (Win64)

Package: version 1.15.1-4 built 2014-07-18

XWin was started with the following command line:

Xwin :0 -multiwindow -clipboard -wgl

_XSERVTransmkdir: Mode of /tmp/.X11-unix should be set to 1777

_XSERVTransmkdir: this may cause subsequent errors

(EE) Fatal server error:

(EE) Can't read lock file /tmp/.X0-lock

(EE) Server terminated with error (1). Closing log file.

winDeinitMultiWindowWM - Noting shutdown in progress

$


Help, please?

My post to this mailing list of two weeks ago was deleted. It's impolite to 
delete a post without giving a reason. Please allow this post. Thank you.   




Hi TS
your mail was probably rejected by the SPAM filter. possibly as there as 
something looking


as a raw email address.

Can you also please also follow
Run cygcheck -s -v -r  cygcheck.out and include that file as an 
attachment in your report. Please do not compress or otherwise encode 
the output. Just attach it as a straight text file so that it can be 
easily viewed. 


as reported
https://cygwin.com/problems.html

Regards
Marco








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



Installing Cygwin on Server 2012 R2 failing

2014-08-28 Thread Sam Townsend
Hello,

I've been trying to install Cygwin on a Server 2012 R2 box, but the install 
keeps failing. I am using the latest installer (2.850, 32-bit), and I have 
tried multiple mirrors.

Relevant portion of setup.log.full: http://pastebin.ca/2836397

After the install, I have a broken cygwin. mintty fails to run (it pops up a 
window briefly which then disappears). I can run bash, but commands don't work 
because $PATH is not set up properly.

Thanks in advance for any help,

Sam


--
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: Installing Cygwin on Server 2012 R2 failing

2014-08-28 Thread Andrey Repin
Greetings, Sam Townsend!

 I've been trying to install Cygwin on a Server 2012 R2 box, but the install
 keeps failing. I am using the latest installer (2.850, 32-bit), and I have
 tried multiple mirrors.

 Relevant portion of setup.log.full: http://pastebin.ca/2836397

man-db failures on a new install are a known issue.
There was some discoveries that might help the situation, once relevant
packages are reuploaded, but for now, you can try manually running update
command with -dc switch.

What to

 Creating /etc/fstab.d directory failed.
 Please fix that manually.

are you running setup as admin?

 After the install, I have a broken cygwin. mintty fails to run (it pops up a
 window briefly which then disappears). I can run bash, but commands don't
 work because $PATH is not set up properly.


--
WBR,
Andrey Repin (anrdae...@yandex.ru) 28.08.2014, 21:03

Sorry for my terrible english...


--
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: Installing Cygwin on Server 2012 R2 failing

2014-08-28 Thread Sam Townsend
Hello Andrey,

Thanks for your rather quick response.


 man-db failures on a new install are a known issue.
 There was some discoveries that might help the situation, once relevant
 packages are reuploaded, but for now, you can try manually running update
 command with -dc switch.

What is the update command to which you are referring? 

 What to

  Creating /etc/fstab.d directory failed.
  Please fix that manually.

 are you running setup as admin?



Yes, I am running it as administrator. I really don't understand why it would 
be unable to create that directory.

Sam


--
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: Installing Cygwin on Server 2012 R2 failing

2014-08-28 Thread Achim Gratz
Sam Townsend writes:
 I've been trying to install Cygwin on a Server 2012 R2 box, but the
 install keeps failing. I am using the latest installer (2.850,
 32-bit), and I have tried multiple mirrors.

I've done multiple installs (for testing purposes) on just such a box,
both 32bit and 64bit and have had no such problems.

 Relevant portion of setup.log.full: http://pastebin.ca/2836397

It seems you are trying to install into the root directory of the C:
drive.  Move it down a directory, maybe into C:\Freeware\Cygwin and
install there and I guess it will work.


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:   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: Installing Cygwin on Server 2012 R2 failing

2014-08-28 Thread Sam Townsend
Hi Achim,


 I've done multiple installs (for testing purposes) on just such a box,
 both 32bit and 64bit and have had no such problems.

I don't doubt that it has been tested to work, but I have no idea why I can't 
get it working on this box.

 It seems you are trying to install into the root directory of the C:
 drive.  Move it down a directory, maybe into C:\Freeware\Cygwin and
 install there and I guess it will work.

I tried installing to C:\sv\cygwin, and got the same problem.

Sam

--
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: Installing Cygwin on Server 2012 R2 failing

2014-08-28 Thread Achim Gratz
Sam Townsend writes:
 It seems you are trying to install into the root directory of the C:
 drive.  Move it down a directory, maybe into C:\Freeware\Cygwin and
 install there and I guess it will work.

 I tried installing to C:\sv\cygwin, and got the same problem.

With that out of the way, the next most likely culprit would be BLODA
(virus scanner or something like that).  Since the installation itself
seems to have worked, you can also try to do a full rebase on the
installation, removing all the .done extensions you may find in
/etc/postinstall, then running setup again without installing anything
to trigger the postinstall phase again.  Finally, the first install
might have left some process hanging so if you want to start over with
yet another installation a reboot seems in order before trying yet
another install.


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

SD adaptation for Waldorf rackAttack V1.04R1:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

--
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: Installing Cygwin on Server 2012 R2 failing

2014-08-28 Thread Sam Townsend


 It seems you are trying to install into the root directory of the C:
 drive. Move it down a directory, maybe into C:\Freeware\Cygwin and
 install there and I guess it will work.

 I tried installing to C:\sv\cygwin, and got the same problem.

 With that out of the way, the next most likely culprit would be BLODA
 (virus scanner or something like that).  Since the installation itself
 seems to have worked, you can also try to do a full rebase on the
 installation, removing all the .done extensions you may find in
 /etc/postinstall, then running setup again without installing anything
 to trigger the postinstall phase again.  Finally, the first install
 might have left some process hanging so if you want to start over with
 yet another installation a reboot seems in order before trying yet
 another install.

I'd normally suspect BLODA, except there really isn't much installed on this 
system:
http://i.imgur.com/YBFQx5p.png

Anyway, I rebooted, removed the .done extension from base-files-profile.sh 
(the only file that had one), and ran the installer again. Unfortunately, I'm 
still getting the same errors.

Sam


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



Installing Cygwin problem??

2014-07-17 Thread David Masterson
I attempted to reinstall Cygwin on my system.  The reinstall kept
seeming to get locked up.  So, after downloading all of Cygwin to a
local directory, I moved the install directory out of the way and tried
to install from (I guess) scratch.  Cygwin seemed to always get stuck in
the man-db.sh script during the post-install process.  I'm not sure if
the process was conflicting with the McAfee virus scanner.  I was
finally able to kill the man-db.sh script after ~12 hours of running and
the installer seemed to go on and finish the installation.  I'm not
sure, though, what the state of the install is.

1. Is this a known problem?
2. Can I rerun the postinstall/man-db.sh script by hand?  If so, how?
3. Or is there a script that I could run instead?

-- 
David Masterson
Programmer At Large


--
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: Installing Cygwin problem??

2014-07-17 Thread Larry Hall (Cygwin)

On 07/17/2014 08:10 PM, David Masterson wrote:

I attempted to reinstall Cygwin on my system.  The reinstall kept
seeming to get locked up.  So, after downloading all of Cygwin to a
local directory, I moved the install directory out of the way and tried
to install from (I guess) scratch.  Cygwin seemed to always get stuck in
the man-db.sh script during the post-install process.  I'm not sure if
the process was conflicting with the McAfee virus scanner.  I was
finally able to kill the man-db.sh script after ~12 hours of running and
the installer seemed to go on and finish the installation.  I'm not
sure, though, what the state of the install is.

1. Is this a known problem?


Yes, it has been discussed recently on the list.


2. Can I rerun the postinstall/man-db.sh script by hand?  If so, how?


You can.  Just run it from bash.


3. Or is there a script that I could run instead?


No, man-db.sh is the right script if you're looking to get all the
indexing that man-db prefers.


--
Larry

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

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



Problem installing Cygwin 1.7.25 64 bit on W7 and W8

2013-09-01 Thread Helmut Billig

Hello,

I tried to update a well running cygwin installation from Cygwin 1.7.24 
(64 bit release) to Cygwin 1.7.25 on W7. Setup (most recent version from 
cygwin.com) didn't succeed because of incomplete download. I tried 
severel different mirrors, everytime the same problem. Then I removed 
the cygwin installation, i.e. deleted the folder, tried to install again 
and got the same error. Disabeling all Virusscanner and Firewall 
software didn't help.

Defenitely it is not a problem of lack of discspace or something like that.
A test with the 32 bit release (Cygwin 1.7.24) worked fine without any 
issue.

On W8 i had exactely the same behaviour.

Regards
Helmut

--
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 installing Cygwin 1.7.25 64 bit on W7 and W8

2013-09-01 Thread nu774

Same experience here.
I once pushed continue on the incomplete download error dialog by 
mistake, that resulted in uninstalling of the selected packages for 
updates, including cygwin (except for cygwin1.dll).


(2013/09/01 22:17), Helmut Billig wrote:

Hello,

I tried to update a well running cygwin installation from Cygwin 1.7.24
(64 bit release) to Cygwin 1.7.25 on W7. Setup (most recent version from
cygwin.com) didn't succeed because of incomplete download. I tried
severel different mirrors, everytime the same problem. Then I removed
the cygwin installation, i.e. deleted the folder, tried to install again
and got the same error. Disabeling all Virusscanner and Firewall
software didn't help.
Defenitely it is not a problem of lack of discspace or something like that.
A test with the 32 bit release (Cygwin 1.7.24) worked fine without any
issue.
On W8 i had exactely the same behaviour.

Regards
Helmut

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




--
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 installing Cygwin 1.7.25 64 bit on W7 and W8

2013-09-01 Thread Andrey Repin
Greetings, nu774!

 I tried to update a well running cygwin installation from Cygwin 1.7.24
 (64 bit release) to Cygwin 1.7.25 on W7. Setup (most recent version from
 cygwin.com) didn't succeed because of incomplete download. I tried
 severel different mirrors, everytime the same problem. Then I removed
 the cygwin installation, i.e. deleted the folder, tried to install again
 and got the same error. Disabeling all Virusscanner and Firewall
 software didn't help.
 Defenitely it is not a problem of lack of discspace or something like that.
 A test with the 32 bit release (Cygwin 1.7.24) worked fine without any
 issue.
 On W8 i had exactely the same behaviour.

 Same experience here.
 I once pushed continue on the incomplete download error dialog by 
 mistake, that resulted in uninstalling of the selected packages for 
 updates, including cygwin (except for cygwin1.dll).

Usually, it is a good idea to wait a day or so for new release to spread
across mirrors.
Also, please don't http://cygwin.com/acronyms/#TOFU


--
WBR,
Andrey Repin (anrdae...@yandex.ru) 01.09.2013, 20:45

Sorry for my terrible english...


--
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 installing Cygwin 1.7.25 64 bit on W7 and W8

2013-09-01 Thread Helmut Billig

Am 01.09.2013 18:47, schrieb Andrey Repin:

Greetings, nu774!


I tried to update a well running cygwin installation from Cygwin 1.7.24
(64 bit release) to Cygwin 1.7.25 on W7. Setup (most recent version from
cygwin.com) didn't succeed because of incomplete download. I tried
severel different mirrors, everytime the same problem. Then I removed
the cygwin installation, i.e. deleted the folder, tried to install again
and got the same error. Disabeling all Virusscanner and Firewall
software didn't help.
Defenitely it is not a problem of lack of discspace or something like that.
A test with the 32 bit release (Cygwin 1.7.24) worked fine without any
issue.
On W8 i had exactely the same behaviour.

Same experience here.
I once pushed continue on the incomplete download error dialog by
mistake, that resulted in uninstalling of the selected packages for
updates, including cygwin (except for cygwin1.dll).

Usually, it is a good idea to wait a day or so for new release to spread
across mirrors.
Also, please don't http://cygwin.com/acronyms/#TOFU


--
WBR,
Andrey Repin (anrdae...@yandex.ru) 01.09.2013, 20:45

Sorry for my terrible english...


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


Hello,

some additional information on the install problem:
- the files were already on the mirros, I cold downlod them via browser. 
Install from local directory failed, error message told, that the the 
files are corrupted.
- Setup dosen't download ANY file. All the folders in the downlod 
directory are empty.

Regards
Helmut

--
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 installing Cygwin 1.7.25 64 bit on W7 and W8

2013-09-01 Thread Alexey Borzenkov
On Sun, Sep 1, 2013 at 5:38 PM, nu774 honeycom...@gmail.com wrote:
 Same experience here.
 I once pushed continue on the incomplete download error dialog by
 mistake, that resulted in uninstalling of the selected packages for updates,
 including cygwin (except for cygwin1.dll).

Did the same thing, in my case even cygwin1.dll is gone, previous
version doesn't install either. Looking into setup.ini from various
mirrors I can see that all files have size 0. This is also consistent
with setup.log which has an error like:

Download .../x86_64/release/cygwin/cygwin-1.7.25-1.tar.bz2 wrong size
(2708993 actual vs 0 expected)

Cygwin is currently unusable, so sad...

--
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 installing Cygwin 1.7.25 64 bit on W7 and W8

2013-09-01 Thread Robert Pendell
On Sun, Sep 1, 2013 at 1:56 PM, Alexey Borzenkov  wrote:
 On Sun, Sep 1, 2013 at 5:38 PM, nu774  wrote:
 Same experience here.
 I once pushed continue on the incomplete download error dialog by
 mistake, that resulted in uninstalling of the selected packages for updates,
 including cygwin (except for cygwin1.dll).

 Did the same thing, in my case even cygwin1.dll is gone, previous
 version doesn't install either. Looking into setup.ini from various
 mirrors I can see that all files have size 0. This is also consistent
 with setup.log which has an error like:

 Download .../x86_64/release/cygwin/cygwin-1.7.25-1.tar.bz2 wrong size
 (2708993 actual vs 0 expected)

 Cygwin is currently unusable, so sad...

Which mirror did you try?  Did you try another mirror?  I just checked
my private mirror and it shows fine.

Robert Pendell
A perfect world is one of chaos.

--
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 installing Cygwin 1.7.25 64 bit on W7 and W8

2013-09-01 Thread Alexey Borzenkov
On Sun, Sep 1, 2013 at 10:30 PM, Robert Pendell wrote:
 Which mirror did you try?  Did you try another mirror?  I just checked
 my private mirror and it shows fine.

I primarily use ftp.heanet.ie, but I tried mirrors.kernel.org and a
couple random mirrors, all of them show the same problem. For example
if you look at these directories:

http://mirrors.kernel.org/sourceware/cygwin/x86_64/
ftp://ftp.heanet.ie/pub/cygwin/x86_64/

Then you will see setup.ini having a modification time of 03:22 GMT,
which timestamp is this file on your private mirror?

Best regards,
Alexey.

--
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 installing Cygwin 1.7.25 64 bit on W7 and W8

2013-09-01 Thread Christopher Faylor
On Sun, Sep 01, 2013 at 03:17:21PM +0200, Helmut Billig wrote:
I tried to update a well running cygwin installation from Cygwin 1.7.24
(64 bit release) to Cygwin 1.7.25 on W7.  Setup (most recent version
from cygwin.com) didn't succeed because of incomplete download.

This should be fixed by a new setup.ini that is slowly making its
way to mirrors now.

cgf

--
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 installing Cygwin 1.7.25 64 bit on W7 and W8

2013-09-01 Thread Helmut Billig

Am 01.09.2013 21:47, schrieb Christopher Faylor:

On Sun, Sep 01, 2013 at 03:17:21PM +0200, Helmut Billig wrote:

I tried to update a well running cygwin installation from Cygwin 1.7.24
(64 bit release) to Cygwin 1.7.25 on W7.  Setup (most recent version

from cygwin.com) didn't succeed because of incomplete download.

This should be fixed by a new setup.ini that is slowly making its
way to mirrors now.

cgf

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


Works perfectly well, thanks a lot!

Regards
Helmut

--
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: Missing X11/x-start-menu-icons selection when installing cygwin/X using setup-x86_64.exe

2013-07-30 Thread Jon TURNEY
On 28/07/2013 00:36, David Imamura wrote:
 Trying to install Cygwin/x following install guide
 http://x.cygwin.com/docs/ug/setup.html#setup-cygwin-x-installing.
 Does not display selection for X11/X-start-menu-icons, but can continue 
 install. Install then has an error and is not successful (missing windows 
 start menu icons).

This is a documentation error.  The X-start-menu-icons package is obsolete and
does not exist for x86_64.

I've updated the documentation to remove this reference.

I've also updated the documentation to remove the reference to setup.exe and
point to the architecture specific setup programs instead.

 Details:
 Windows 7 pro 64-bit machine using setup-x86_64.exe downloaded 7/24/2013.
 Could see and select xorg-server, xorg-docs, xinit.
 Error 134?

This is caused by bug in cygutils, and should be fixed in cygutils 1.4.14-1

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

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



Missing X11/x-start-menu-icons selection when installing cygwin/X using setup-x86_64.exe

2013-07-27 Thread David Imamura
Problem:
Trying to install Cygwin/x following install guide
http://x.cygwin.com/docs/ug/setup.html#setup-cygwin-x-installing.
Does not display selection for X11/X-start-menu-icons, but can continue 
install. Install then has an error and is not successful (missing windows start 
menu icons).
Details:
Windows 7 pro 64-bit machine using setup-x86_64.exe downloaded 7/24/2013.
Could see and select xorg-server, xorg-docs, xinit.
Error 134?
No shortcuts under Start | All Programs | Cygwin-X.
Tried to install as administrator (right click setup exe and Run as 
Administrator) and still missing item X11/X-start-menu-icons and similar error 
and missing shortcuts under Start | All Programs | Cygwin-X.
Workaround:
Install setup-x86.exe (32-bit), can see X-start-menu-icons, and installs 
successfully with appropriate shortcuts under All Programs | Cygwin-X.
-D
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



problems with installing cygwin on windows 7

2013-05-03 Thread Piotr Cieplak
Could anyone help me with this problem? 
I posted this couple of days ago, but so far there is no response.
When installing cygwin using default option - everything goes well. On the 
other hand
when trying to install:  everything (install option) or  some parts of the 
cygwin package
the setup.exe runs for ever and could not complete successfully within 3-5 
hours. So I stopped
it manually.
I tried to do that using various download sites and it does not help.
I am trying to install cygwin as a first package on freshly installed windows 7.

Is anyone experiencing similar problems? What the remedy could be?
Thanks in advance

Piotr



--
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: problems with installing cygwin on windows 7

2013-05-03 Thread 1xx
Hi Piotr !

2013/5/3 Piotr Cieplak piotr_ciep...@yahoo.com:
 Could anyone help me with this problem?
 I posted this couple of days ago, but so far there is no response.
 When installing cygwin using default option - everything goes well. On the 
 other hand
 when trying to install:  everything (install option) or  some parts of the 
 cygwin package
 the setup.exe runs for ever and could not complete successfully within 3-5 
 hours. So I stopped
 it manually.
 I tried to do that using various download sites and it does not help.
 I am trying to install cygwin as a first package on freshly installed windows 
 7.

 Is anyone experiencing similar problems? What the remedy could be?
 Thanks in advance

I was able to install Cygwin into the following PCs on 2013-03-2x .
https://dl.dropboxusercontent.com/u/86335040/openSUSE/DxDiag13.txt
I have remembered that setup.exe required install of Bonjour.

Then, I installed Safari previously.


Although it is right or cannot judge to me, since it may become helpful, I tell.

--
1xx itsa...@gmail.com https://twitter.com/ItSANgo
http://d.hatena.ne.jp/Itisango/

--
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: problems with installing cygwin on windows 7

2013-05-03 Thread Csaba Raduly
Hi Piotr,

On Fri, May 3, 2013 at 8:25 AM, Piotr Cieplak  wrote:
 Could anyone help me with this problem?
 I posted this couple of days ago, but so far there is no response.
 When installing cygwin using default option - everything goes well. On the 
 other hand
 when trying to install:  everything (install option) or  some parts of the 
 cygwin package
 the setup.exe runs for ever and could not complete successfully within 3-5 
 hours.
(snip)
 Is anyone experiencing similar problems? What the remedy could be?

Don't do it :)

For setup.exe to to install everything it has to download everything,
checksum everything, unpack everything, install everything, rebase
everything. This takes time, regardless of which mirror you use.

Why do you want to install everything? I doubt there is a single
person on Earth who has used every single Cygwin program.

Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
Ok, it boots. Which means it must be bug-free and perfect.  -- Linus Torvalds
People disagree with me. I just ignore them. -- Linus Torvalds

--
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: problems with installing cygwin on windows 7

2013-05-03 Thread Christopher Faylor
On Fri, May 03, 2013 at 09:44:19AM +0200, Csaba Raduly wrote:
Hi Piotr,

On Fri, May 3, 2013 at 8:25 AM, Piotr Cieplak  wrote:
 Could anyone help me with this problem?
 I posted this couple of days ago, but so far there is no response.
 When installing cygwin using default option - everything goes well. On the 
 other hand
 when trying to install:  everything (install option) or  some parts of the 
 cygwin package
 the setup.exe runs for ever and could not complete successfully within 3-5 
 hours.
(snip)
 Is anyone experiencing similar problems? What the remedy could be?

Don't do it :)

For setup.exe to to install everything it has to download everything,
checksum everything, unpack everything, install everything, rebase
everything. This takes time, regardless of which mirror you use.

Why do you want to install everything? I doubt there is a single
person on Earth who has used every single Cygwin program.

But, if they did, I'd give them a gold star for their efforts.

cgf

--
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: problems with installing cygwin on windows 7

2013-05-03 Thread Ryan Johnson

On 03/05/2013 11:48 AM, Christopher Faylor wrote:

On Fri, May 03, 2013 at 09:44:19AM +0200, Csaba Raduly wrote:

Hi Piotr,

On Fri, May 3, 2013 at 8:25 AM, Piotr Cieplak  wrote:

Could anyone help me with this problem?
I posted this couple of days ago, but so far there is no response.
When installing cygwin using default option - everything goes well. On the 
other hand
when trying to install:  everything (install option) or  some parts of the 
cygwin package
the setup.exe runs for ever and could not complete successfully within 3-5 
hours.

(snip)

Is anyone experiencing similar problems? What the remedy could be?

Don't do it :)

For setup.exe to to install everything it has to download everything,
checksum everything, unpack everything, install everything, rebase
everything. This takes time, regardless of which mirror you use.

Why do you want to install everything? I doubt there is a single
person on Earth who has used every single Cygwin program.

But, if they did, I'd give them a gold star for their efforts.

Define use ...

for f in /usr/bin/*.exe; do $f --help; done

:)

Ryan


--
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: problems with installing cygwin on windows 7

2013-05-03 Thread Alan Thompson
On Thu, May 2, 2013 at 11:25 PM, Piotr Cieplak piotr_ciep...@yahoo.com wrote:

 Could anyone help me with this problem?
 I posted this couple of days ago, but so far there is no response.
 When installing cygwin using default option - everything goes well. On the 
 other hand
 when trying to install:  everything (install option) or  some parts of the 
 cygwin package
 the setup.exe runs for ever and could not complete successfully within 3-5 
 hours. So I stopped
 it manually.
 I tried to do that using various download sites and it does not help.
 I am trying to install cygwin as a first package on freshly installed windows 
 7.

 Is anyone experiencing similar problems? What the remedy could be?
 Thanks in advance

 Piotr


Hi Piotr,

I have installed  reinstalled Cygwin recently (and over the past 12
years).  If you got the default version of Cygwin to install
correctly, there is no problem with your computer, etc.  A full
install might take 12 hours, so be patient.  Also, I have found that
the kernel.org mirror is much faster than the anl.gov mirror I had
previously used.

A faster option might to use 2-3 steps:

1.  Do a full download and save but don't install.

2.  Do a basic (default) install from the saved files.  This helps to
verify that the download worked without any glitches (the connection
from the mirror through the internet, your ISP, the Setup.exe program
and your computer aren't perfect...sometimes things get garbled).

3. Do a few quick tests to see that the basic install worked (open a
shell window and run ls -l, etc).  Assuming that works, re-run
Setup.exe and select a few more individual packages for a full
install (maybe compilers, editors, etc).  Even with just a few things,
the postinstall scripts can still take a couple of hours to finish
things off, so be prepared and don't kill them before they're
finished.  Repeat as necessary until everything you actually use is
installed.

If something goes wrong, you still have the saved download and don't
need to repeat step #1.  Just delete the c:/cygwin dir and start over
at step 2.

Enjoy!  And thank you once again to the entire Cygwin team for helping
those of us who are still stuck interacting with Windoze.   ;)

Alan Thompson

P.S.  I have had to run rebaseall each time I do an install or
upgrade over the past year.not sure why as this never used to be a
problem.  Please see:  http://cygwin.wikia.com/wiki/Rebaseall It
is only a 5 minute process once you have the correct instructions.

--
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: problems with installing cygwin on windows 7

2013-05-03 Thread Ryan Johnson

On 03/05/2013 2:28 PM, Alan Thompson wrote:
P.S. I have had to run rebaseall each time I do an install or 
upgrade over the past year.not sure why as this never used to be a 
problem. 
That's very strange, because setup.exe started running rebaseall 
automatically just over a year ago [1].


You shouldn't need to run rebaseall these days unless you compile your 
own .dlls and want them to play nice with the rest of the system.


Please see: http://cygwin.wikia.com/wiki/Rebaseall It is only a 5 
minute process once you have the correct instructions.

Where correct means accurate and up to date?***

Please don't use those instructions, even if they are a the very top of 
the Google listing for cygwin setup rebaseall.


First, rebaseall runs automatically as part of setup for over a year now 
[1]. Second, rebooting into safe mode to stop cygwin services borders on 
downright silly. Third, you don't need to be Administrator to run rebase 
unless you messed with file permissions in really weird ways. Fourth, 
somebody *is* working on a 64-bit port of cygwin; it mostly works at 
this point, and somebody posted about using it just today in fact [2].


[1] http://cygwin.com/ml/cygwin-announce/2012-03/msg00060.html
[2] http://cygwin.com/ml/cygwin/2013-05/msg00055.html

*** but then again, the official documentation at 
/usr/share/doc/rebase/README still says:

Note that rebaseall is only a stop-gap measure.  Eventually the rebase
functionality will be added to Cygwin's setup.exe, so that rebasing will
happen automatically.
... but at least it doesn't tell you to reboot into safe mode as part of 
using Cygwin.


Ryan

--
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: problems with installing cygwin on windows 7

2013-05-03 Thread Alan Thompson
On Fri, May 3, 2013 at 12:03 PM, Ryan Johnson
ryan.john...@cs.utoronto.ca wrote:

 On 03/05/2013 2:28 PM, Alan Thompson wrote:

 P.S. I have had to run rebaseall each time I do an install or upgrade over 
 the past year.not sure why as this never used to be a problem.

 That's very strange, because setup.exe started running rebaseall 
 automatically just over a year ago [1].

 You shouldn't need to run rebaseall these days unless you compile your own 
 .dlls and want them to play nice with the rest of the system.
 snip


 ... but at least it doesn't tell you to reboot into safe mode as part of 
 using Cygwin.


I did not boot into safe mode - just a plain reboot as a safety
precaution.  I then just opened up a regular Windoze cmd.exe window
and typed the commands using the dash shell.

I cannot explain why I have suddenly needed to run rebaseall to keep
Cygwin working, especially since I had thougt that setup.exe handled
everything as you state.  Last month the corp. IT dept did a windows
update and Cygwin quite working.  I did a Cygwin reinstall but got the
error message (can't remember specifically now) indicating a rebaseall
was needed.  Rediscovered the rebaseall documentation via google and
printed it out to keep at my desk.  Fortunately, the simple rebaseall
command got the Cygwin installation back up and working smoothly in
just a few minutes.

Alan Thompson

On Fri, May 3, 2013 at 12:03 PM, Ryan Johnson
ryan.john...@cs.utoronto.ca wrote:
 On 03/05/2013 2:28 PM, Alan Thompson wrote:

 P.S. I have had to run rebaseall each time I do an install or upgrade
 over the past year.not sure why as this never used to be a problem.

 That's very strange, because setup.exe started running rebaseall
 automatically just over a year ago [1].

 You shouldn't need to run rebaseall these days unless you compile your own
 .dlls and want them to play nice with the rest of the system.


 Please see: http://cygwin.wikia.com/wiki/Rebaseall It is only a 5 minute
 process once you have the correct instructions.

 Where correct means accurate and up to date?***

 Please don't use those instructions, even if they are a the very top of the
 Google listing for cygwin setup rebaseall.

 First, rebaseall runs automatically as part of setup for over a year now
 [1]. Second, rebooting into safe mode to stop cygwin services borders on
 downright silly. Third, you don't need to be Administrator to run rebase
 unless you messed with file permissions in really weird ways. Fourth,
 somebody *is* working on a 64-bit port of cygwin; it mostly works at this
 point, and somebody posted about using it just today in fact [2].

 [1] http://cygwin.com/ml/cygwin-announce/2012-03/msg00060.html
 [2] http://cygwin.com/ml/cygwin/2013-05/msg00055.html

 *** but then again, the official documentation at
 /usr/share/doc/rebase/README still says:

 Note that rebaseall is only a stop-gap measure.  Eventually the rebase
 functionality will be added to Cygwin's setup.exe, so that rebasing will
 happen automatically.

 ... but at least it doesn't tell you to reboot into safe mode as part of
 using Cygwin.

 Ryan


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


--
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: Problems with permissions after installing cygwin without admin privileges

2013-01-29 Thread Larry Hall (Cygwin)

On 1/25/2013 10:01 AM, Alan wrote:

The first problem comes when I try to install the rxvt package. Running the
installer again with that package selected results in an error.

Package: rxvt rxvt.sh exit code 3


rxvt is a very old, practically deprecated package of a dead code-line.  If
you must have rxvt, I recommend urxvt from the rxvt-unicode* packages.
Otherwise, mintty is a good choice on Cygwin.

--
Larry

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

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



Problems with permissions after installing cygwin without admin privileges

2013-01-25 Thread Alan
I have downloaded and installed cygwin on one machine and would like to install
it on a second machine which is non-networked and for which I don't have
administrator rights. However, I am running into some issues which are described
below.

I have created a Mapped Network Drive (X:) for the folder I wish to install
cygwin into, for which I have full access. I have copied the installer and local
package directory from the first machine to the second. I changed the name of
the cygwin installer to cygwin.exe and have run it as the non-administrator. I
have selected the option install from Local Directory. I have selected
x:\cygwin as the root install directory and Install for Just Me. I selected
the copied local package directory. I selected the basic install with no
additional packages. cygwin seems to install with no warnings or error, except
no Desktop icon is created. The cygwin terminal starts with no problem.

The first problem comes when I try to install the rxvt package. Running the
installer again with that package selected results in an error.

Package: rxvt rxvt.sh exit code 3

Running /etc/postinstall/rxvt.sh from the terminal gives these messages.

Using the default version of /etc/X11/app-defaults/Rxvt 
(/etc/defaults/etc/X11/app-defaults/Rxvt) 
/bin/touch: cannot touch `/etc/X11/app-defaults/Rxvt': No such
file or directory /bin/cp: cannot create regular file
`/etc/X11/app-defaults/Rxvt': No such file o r directory 
/usr/bin/mkdir: cannot
create directory `/cygdrive/c/Documents and Settings/All Users/Start
Menu/Programs/Cygwin': Permission denied 
mkshortcut: Saving C:\Documents and
Settings\All Users\Start Menu\Programs\Cygw in\rxvt-native.lnk failed; does the
target directory exist? 
mkshortcut: Saving C:\Documents and Settings\All
Users\Start Menu\Programs\Cygw in\rxvt-x.lnk failed; does the target directory
exist?

I am guessing the problem is I don't have permission to write to the folder
C:\Documents and Settings\All Users\Start Menu\Programs\Cygw in\rxvt- x.lnk

and will have to make the rxvt links by hand.

That problem seems solvable with some work. But is there a way to solve this
without hand tweaking?

The second problem I is I'd like to now install texlive. I have re-run the
installer selecting the package texlive-collection-latex. After several minutes,
the installer now reports

Package: fontconfig fontconfig.sh exit code 13 Package: texlive-collection-basic
texlive-collection-basic.sh exit code 11 Package: Unknown package rxvt.sh exit
code 3

and typing latex in the cygwin terminal returns

 -bash: /usr/bin/latex: cannot execute binary file

I find I cannot change the permissions on /usr/bin/latex with chmod (drive is
NTFS)

How do I fix this?



--
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: Problems with permissions after installing cygwin without admin privileges

2013-01-25 Thread Alan Thompson
Hi - I'm not sure if this will help your problem, but in the past I
have had to install Cygwin to a number of non-networked machines.  For
me, the easiest way was to use setup.exe with the option of save
files but don't install.  You can copy the saved folder and setup.exe
onto a CD and take it to each installation target machine in turn.
This eliminates any hassle with network permissions/visibility/latency
during the install, which can save headaches.

Since you seem to have gotten the first level of Cygwin installed over
the network, this may not be your problem but it might be worth a try.

Alan Thompson

On Fri, Jan 25, 2013 at 7:01 AM, Alan alan.curt...@gmail.com wrote:
 I have downloaded and installed cygwin on one machine and would like to 
 install
 it on a second machine which is non-networked and for which I don't have
 administrator rights. However, I am running into some issues which are 
 described
 below.

 I have created a Mapped Network Drive (X:) for the folder I wish to install
 cygwin into, for which I have full access. I have copied the installer and 
 local
 package directory from the first machine to the second. I changed the name of
 the cygwin installer to cygwin.exe and have run it as the non-administrator. I
 have selected the option install from Local Directory. I have selected
 x:\cygwin as the root install directory and Install for Just Me. I selected
 the copied local package directory. I selected the basic install with no
 additional packages. cygwin seems to install with no warnings or error, except
 no Desktop icon is created. The cygwin terminal starts with no problem.

 The first problem comes when I try to install the rxvt package. Running the
 installer again with that package selected results in an error.

 Package: rxvt rxvt.sh exit code 3

 Running /etc/postinstall/rxvt.sh from the terminal gives these messages.

 Using the default version of /etc/X11/app-defaults/Rxvt
 (/etc/defaults/etc/X11/app-defaults/Rxvt)
 /bin/touch: cannot touch `/etc/X11/app-defaults/Rxvt': No such
 file or directory /bin/cp: cannot create regular file
 `/etc/X11/app-defaults/Rxvt': No such file o r directory
 /usr/bin/mkdir: cannot
 create directory `/cygdrive/c/Documents and Settings/All Users/Start
 Menu/Programs/Cygwin': Permission denied
 mkshortcut: Saving C:\Documents and
 Settings\All Users\Start Menu\Programs\Cygw in\rxvt-native.lnk failed; does 
 the
 target directory exist?
 mkshortcut: Saving C:\Documents and Settings\All
 Users\Start Menu\Programs\Cygw in\rxvt-x.lnk failed; does the target 
 directory
 exist?

 I am guessing the problem is I don't have permission to write to the folder
 C:\Documents and Settings\All Users\Start Menu\Programs\Cygw in\rxvt- x.lnk

 and will have to make the rxvt links by hand.

 That problem seems solvable with some work. But is there a way to solve this
 without hand tweaking?

 The second problem I is I'd like to now install texlive. I have re-run the
 installer selecting the package texlive-collection-latex. After several 
 minutes,
 the installer now reports

 Package: fontconfig fontconfig.sh exit code 13 Package: 
 texlive-collection-basic
 texlive-collection-basic.sh exit code 11 Package: Unknown package rxvt.sh exit
 code 3

 and typing latex in the cygwin terminal returns

  -bash: /usr/bin/latex: cannot execute binary file

 I find I cannot change the permissions on /usr/bin/latex with chmod (drive is
 NTFS)

 How do I fix this?



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


--
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: Installing Cygwin C and C++ compilers for NetBeans IDE 7.2

2012-07-29 Thread Csaba Raduly
Hi,

On Sat, Jul 28, 2012 at 3:06 PM, nososo  wrote:
 My question is : Which exact packages do i install using the Cygwin
 setup.exe installer so that i can create C  C++ projects using Netbeans IDE
 7.2? and what other steps do i have to take note to ensure complete
 successful installation? do i have to wait all the selected required
 packages to be installed?

No, you don't need to install all packages. At the very least, you will need

gcc4
gcc4-g++
binutils
make

You will probably need

gdb

You may need

autoconf
automake
libtool

You'll have to ensure that NetBeans can run Cygwin's gcc and/or make.
You can achieve this by putting C:\cygwin\bin into the Windows version
of PATH.

Hope this helps,
Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
Ok, it boots. Which means it must be bug-free and perfect.  -- Linus Torvalds
People disagree with me. I just ignore them. -- Linus Torvalds

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



Installing Cygwin C and C++ compilers for NetBeans IDE 7.2

2012-07-28 Thread nososo

I am very new to Cygwin, C, C++ and NetBeans IDE 7.2. My PC is running
MICROSOFT WINDOWS 7 OS.

I have read the documentation on how to install the Cygwin C C++ compilers.

http://netbeans.org/community/releases/72/cpp-setup-instructions.html#compilers

I have tried to run Cygwin setup.exe that has the most recent version of the
Cygwin DLL is 1.7.16-1.

I am not very sure which exact package to install when the Cygwin setup.exe
installer prompted for the selection of packages to download and install. I
want to install the Cygwin C and C++ compilers so that i can create C and
C++ projects using NetBeans 7.2

I selected those packages that has contains the following names gcc, g++,
gdb and make. Then i proceed on to install the selected packages

The installation took up a long time so i stopped after about 45 minutes or
so.

I browsed the installation folder and i saw some packages i selected were
installed. I noticed that some packages came in some sort of zip file with
tar.gz extension.

i added the folder path into the PATH variable in the windows 7 environment
variables window.

I think this command works

C: cygcheck -c cygwin

but the rest doesn't work i think.

C: gcc --version

C: g++ --version

C: make --version

C: gdb --version

I tried to create the C C++ project using the Netbeans IDE 7.2 and the IDE
pops out a dialog message saying that there was no c c++ compilers found.

Have i made some mistake here? like installing the wrong packages or
something else???

Are there packages shown in the Cygwin setup.exe installer that contains
exact names and exact version that is compatible with NetBeans IDE 7.2??
This i am not too sure. Because i i think i didn't really see some required
packages with exact names and versions.

My question is : Which exact packages do i install using the Cygwin
setup.exe installer so that i can create C  C++ projects using Netbeans IDE
7.2? and what other steps do i have to take note to ensure complete
successful installation? do i have to wait all the selected required
packages to be installed?

I WOULD LIKE TO KNOW THE EXACT NAMES AND THE VERSIONS FOR THE REQUIRED
PACKAGES (NAMES AND VERSIONS DISPLAYED IN THE CYGWIN SETUP.EXE INSTALLER
WHEN PROMPTED) NEEEDED FOR C  C++ PROGRAMMING USING NETBEANS IDE 7.2??
-- 
View this message in context: 
http://old.nabble.com/Installing-Cygwin-C-and-C%2B%2B-compilers-for-NetBeans-IDE-7.2-tp34224256p34224256.html
Sent from the Cygwin list mailing list archive at Nabble.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: Installing Cygwin C and C++ compilers for NetBeans IDE 7.2

2012-07-28 Thread David Sastre Medina
On Sat, Jul 28, 2012 at 06:06:16AM -0700, nososo wrote:
 The installation took up a long time so i stopped after about 45 minutes or
 so.

I'd be surprised if something worked properly after having interrupted
the installation process. Try reinstalling, let the process end
its job this time, and after that, follow the guidelines described
here to report a problem:

http://cygwin.com/problems.html

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: Installing cygwin on new box, getting cygwin1.dll is missing

2012-05-19 Thread Andrey Repin
Greetings, KARR, DAVID!

 Today I started trying to install Cygwin on a new Win7 box.  It took a long
 time to get to the end, which included many Can't open (null) for reading:
 No such file dialogs along the way.

Reinstall it using superadmin account and minimal set of packages for a
start.

 When it finally got close to
 finishing, I got a dialog which just says: 

 The program can't start because cygwin1.dll is missing from your computer.

 I've searched for occurrences of this particular symptom, but I didn't see 
 anything useful.

 What's curious is that when I try to dismiss the dialog, it just redisplays.
  Fortunately, it's not a modal dialog, so it lets me click Cancel on the
 setup dialog.  Also curiously, that doesn't even cause the The program ...
 dialog to go away.  Clicking OK at that point makes it go away. 

 I've tried this several times, with the same result. 


--
WBR,
Andrey Repin (anrdae...@freemail.ru) 20.05.2012, 07:27

Sorry for my terrible english...


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



Installing cygwin on new box, getting cygwin1.dll is missing

2012-05-18 Thread KARR, DAVID
Today I started trying to install Cygwin on a new Win7 box.  It took a long 
time to get to the end, which included many Can't open (null) for reading: No 
such file dialogs along the way.  When it finally got close to finishing, I 
got a dialog which just says:

The program can't start because cygwin1.dll is missing from your computer.

I've searched for occurrences of this particular symptom, but I didn't see 
anything useful.

What's curious is that when I try to dismiss the dialog, it just redisplays.  
Fortunately, it's not a modal dialog, so it lets me click Cancel on the setup 
dialog.  Also curiously, that doesn't even cause the The program ... dialog 
to go away.  Clicking OK at that point makes it go away.

I've tried this several times, with the same result. 

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



How to run a bash script that calls a Win exe under Windows without installing Cygwin?

2011-10-19 Thread bagvian
Dear all,

I have gone through Cygwin FAQ and documentation, did some googling
but could not find any answer to my cross system problem.

I currently work under Win Vista and have a proper Cygwin installation
running perfectly.
I have to perform heavy tests on a Windows console executable program
say: MYPROG.exe (obtained by using MS Visual Studio).
To test such a program I have written a bash shell script, say:
MYSHELL.sh, that does the following things:
1/ Build up data files
2/ Launch my Win exe: MYPROG.exe
3/ Organise all the resulting data

This procedure works perfectly on my own machine and all my tests are
performed by only running MYSHELL.sh in my Cygwin console.

Now, I need to perform the same test procedure on another Win Vista
machine where Cygwin is not installed. I therefore have to find a
solution around the Win prompt (cmd.exe).

Basically, I can copy anything on that machine but I cannot install Cygwin.

Is there a way to run my script MYSHELL.sh within Win prompt by only
copying Cygwin dll (cygwin1.dll) at the right place and maybe changing
some settings ?

Would it be possible (better) to adopt another strategy that would be
to write a macro Win console exe file that can run in the Win prompt
and that would kind of embed / link with: cygwin1.dll, MYSHELL.sh,
MYPROG.exe ?

I thank you in advance for any suggestion.
Bagvian

--
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: How to run a bash script that calls a Win exe under Windows without installing Cygwin?

2011-10-19 Thread Oleksandr Gavenko

19.10.2011 10:57, bagvian пишет:

Dear all,

I have gone through Cygwin FAQ and documentation, did some googling
but could not find any answer to my cross system problem.

I currently work under Win Vista and have a proper Cygwin installation
running perfectly.
I have to perform heavy tests on a Windows console executable program
say: MYPROG.exe (obtained by using MS Visual Studio).
To test such a program I have written a bash shell script, say:
MYSHELL.sh, that does the following things:
1/ Build up data files
2/ Launch my Win exe: MYPROG.exe
3/ Organise all the resulting data

This procedure works perfectly on my own machine and all my tests are
performed by only running MYSHELL.sh in my Cygwin console.

Now, I need to perform the same test procedure on another Win Vista
machine where Cygwin is not installed. I therefore have to find a
solution around the Win prompt (cmd.exe).

Basically, I can copy anything on that machine but I cannot install Cygwin.

Is there a way to run my script MYSHELL.sh within Win prompt by only
copying Cygwin dll (cygwin1.dll) at the right place and maybe changing
some settings ?

Would it be possible (better) to adopt another strategy that would be
to write a macro Win console exe file that can run in the Win prompt
and that would kind of embed / link with: cygwin1.dll, MYSHELL.sh,
MYPROG.exe ?

I thank you in advance for any suggestion.


Run

  ldd `which bash`

and copy to new host all listen dll with bash in same dir.



--
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: How to run a bash script that calls a Win exe under Windows without installing Cygwin?

2011-10-19 Thread Jeremy Bopp
On 10/19/2011 02:57, bagvian wrote:
 Dear all,
 
 I have gone through Cygwin FAQ and documentation, did some googling
 but could not find any answer to my cross system problem.
 
 I currently work under Win Vista and have a proper Cygwin installation
 running perfectly.
 I have to perform heavy tests on a Windows console executable program
 say: MYPROG.exe (obtained by using MS Visual Studio).
 To test such a program I have written a bash shell script, say:
 MYSHELL.sh, that does the following things:
 1/ Build up data files
 2/ Launch my Win exe: MYPROG.exe
 3/ Organise all the resulting data
 
 This procedure works perfectly on my own machine and all my tests are
 performed by only running MYSHELL.sh in my Cygwin console.
 
 Now, I need to perform the same test procedure on another Win Vista
 machine where Cygwin is not installed. I therefore have to find a
 solution around the Win prompt (cmd.exe).
 
 Basically, I can copy anything on that machine but I cannot install Cygwin.
 
 Is there a way to run my script MYSHELL.sh within Win prompt by only
 copying Cygwin dll (cygwin1.dll) at the right place and maybe changing
 some settings ?
 
 Would it be possible (better) to adopt another strategy that would be
 to write a macro Win console exe file that can run in the Win prompt
 and that would kind of embed / link with: cygwin1.dll, MYSHELL.sh,
 MYPROG.exe ?
 
 I thank you in advance for any suggestion.

Copying around a partial Cygwin installation is definitely not supported
on this list.  It can certainly be done, but you'll be on your own when
it breaks down.  Depending on the needs of your script, you may also
find the task of gathering everything together to be cumbersome.

If you truly can't install anything onto the test system by way of a
proper installation program, you're probably better off replacing
MYSHELL.sh with something else that already is available natively on the
system.  There are a number of options potentially available to you
including cmd, Windows Script Host, and PowerShell.

FYI, the Cygwin installation isn't really much more than a reliable and
supported way to get the things you need for Cygwin copied to the right
location on your hard drive.  The setup program only adds a few things
to the registry aside from copying files into place, and you can
probably delete those registry entries after setup completes without
affecting Cygwin itself.

Actually installing Cygwin shouldn't adversely affect anything else on
the system that isn't already aware of Cygwin, so if you really do need
Cygwin or parts of it, you should try to argue for Cygwin's inclusion on
the test machine.  It sounds like you might be better served by one of
the alternatives I mentioned though.

-Jeremy

--
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: How to run a bash script that calls a Win exe under Windows without installing Cygwin?

2011-10-19 Thread Andrew DeFaria

On 10/19/11 00:57, bagvian wrote:

Basically, I can copy anything on that machine but I cannot install Cygwin.
If you can truly copy anything on that machine then why not simply 
copy desktop:C:\Cygwin to that machine?

--
Andrew DeFaria http://defaria.com
Out of my mind. Back in five minutes.


--
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: Installing cygwin on Windows 7 prompts for Admin credentials

2011-06-26 Thread Andrey Repin
Greetings, Robert Jacobson!

 Or rename setup.exe to foo.exe.

 I'm both relieved and dismayed that it is so easy to bypass ...

It's not THAT easy. In this regard, UAC is troubling more than helping.
User with limited rights will not be able to affect system stability (except
if using exploits and security holes, that M$ leave a ton).
That said, the prompt is completely bogus.


--
WBR,
 Andrey Repin (anrdae...@freemail.ru) 26.06.2011, 21:14

Sorry for my terrible english...


--
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: Installing cygwin on Windows 7 prompts for Admin credentials

2011-06-24 Thread Corinna Vinschen
On Jun 23 15:52, Robert Jacobson wrote:
 
 Hi,
 
 I would like to let one of my users install cygwin as a normal
 (non-admin) account.
 
 However, when they run setup.exe, they get a UAC prompt Do you want to
 allow the following program from an unknown publisher to make changes to
 your computer?
 
 To continue, type an administrator password, and then click Yes.
 
 I'd like to let them install it, but obviously I don't want to give them
 admin privs.
 
 What else can I do to workaround this?

Start Local Security Policy - Security Settings - Local Policies -
Security Options.  Disable the setting User Account Control: Detect
application installations and prompt for elevation.

Or rename setup.exe to foo.exe.

http://msdn.microsoft.com/en-us/library/aa905330.aspx#wvduac_topic3


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
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: Installing cygwin on Windows 7 prompts for Admin credentials

2011-06-24 Thread Robert Jacobson
On 6/24/2011 4:39 AM, Corinna Vinschen wrote:
 Or rename setup.exe to foo.exe.


Thanks!

I'm both relieved and dismayed that it is so easy to bypass ...

-- 
Robert Jacobson 


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



Installing cygwin on Windows 7 prompts for Admin credentials

2011-06-23 Thread Robert Jacobson

Hi,

I would like to let one of my users install cygwin as a normal
(non-admin) account.

However, when they run setup.exe, they get a UAC prompt Do you want to
allow the following program from an unknown publisher to make changes to
your computer?

To continue, type an administrator password, and then click Yes.

I'd like to let them install it, but obviously I don't want to give them
admin privs.

What else can I do to workaround this?

-- 
Robert Jacobson 


--
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: Installing cygwin on Windows 7 prompts for Admin credentials

2011-06-23 Thread B. Ossia
I have tried to install Cygwin for Windows 7 but it failed to finish
installation and stalls at 99% .No idea why but never was asked on
allowing it to make changes to the computer. i am also using plain
text format and hope this message go through for god sake!


On Thu, Jun 23, 2011 at 3:52 PM, Robert Jacobson
q7zfcr...@sneakemail.com wrote:

 Hi,

 I would like to let one of my users install cygwin as a normal
 (non-admin) account.

 However, when they run setup.exe, they get a UAC prompt Do you want to
 allow the following program from an unknown publisher to make changes to
 your computer?

 To continue, type an administrator password, and then click Yes.

 I'd like to let them install it, but obviously I don't want to give them
 admin privs.

 What else can I do to workaround this?

 --
 Robert Jacobson


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


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