Re:

2008-11-24 Thread [EMAIL PROTECTED]
руский секс любители

www.dnspensednst.nm.ru

Заглянешь на минутку – останешься здесь надолго! Самое горячее порно здесь!

Егиазаров Александр Борисович



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



Your website has been added to Intute

2008-09-30 Thread [EMAIL PROTECTED]
Dear Webmaster,

This is to inform you that your website has been included in Intute:
http://www.intute.ac.uk

Intute is a free online service providing you with access to the very best Web 
resources for education and research, selected and evaluated by a network of 
subject specialists. The service is brought to you by a consortium of UK 
universities and partners.

The full description and record of your site is visible here:
Cygwin
http://www.intute.ac.uk/sciences/cgi-bin/fullrecord.pl?handle=p.curran.1049815376

If you have any feedback please reply to this message indicating which 
record(s) you are referring to (if applicable). Please feel free to also let us 
know of other resources you think would be suitable for our users..

We hope that you will consider placing a link from your website to Intute. 
There are a number of ways you can do this, including embedding the Intute 
search tool in your website.  For details of how to do this and our logo, 
please see http://www.intute.ac.uk/integration/

This is a one-off message, and you are not included in any mailing list.

Regards,
Intute

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



Re: undefined reference to '_cfmakeraw'

2008-09-12 Thread [EMAIL PROTECTED]
On Fri, Sep 12, 2008 at 5:49 PM, Andrew Bouchard
[EMAIL PROTECTED] wrote:
 I am trying to run cygwin and install a program called Moast, which requires
 the Linux-style environment that cygwin provides to run. At least that what
 it says - I'm a mechanical engineer by training, so I have to admit a fair
 amount of cluelessness here. The error that I get just before the installer
 gets out of all the directories is:

 undefined reference to '_cfmakeraw'

 I've tried to Google the problem and searched the mailing lists, but I keep
 coming up with diff files that show code. I get the impression from various
 places that these are fixes of some kind, but I don't know what they do,
 where they should go, or how to implement them. Could someone give a poor
 graduate student a little direction? Thanks very much.

Some ideas:

(1) make sure that you chose to install all the cygwin packages
(optional subcomponents) which the program needs
(2) did you run configure?  some source tarballs are packaged with one
version of the makefiles produced by configure, which won't
necessarily work on other systems and almost certainly not on
cygwin/Windows
(3) some context for the error message
(4) results of grepping the source code for cfmakeraw so we know
whether it's defined or declared by that application (google reveals
it's actually a BSD function for setting terminal settings, and
missing from a lot of OSes such as Solaris, so it should already be
handled by the project's configure script if it has one)
(5) you should also try the moast-devel mailing list hosted on
sourceforge which google turns up very quickly

Applying a diff is a very straightforward fix.  The MOAST project
appears to be about developing autonomous robots.  What graduate
program are you in?  Programming skills would seem to be a
prerequisite for this sort of work, and if you're
unfamiliar/uncomfortable with something as basic and self-explanatory
as a diff file you should seriously make sure you are in the right
research area.


Ben Voigt
EE PhD Student


 Andrew

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



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



Re: Compiling dll libraries which can be used by visual studio?

2008-09-12 Thread [EMAIL PROTECTED]
On Fri, Sep 12, 2008 at 5:25 PM, Mary [EMAIL PROTECTED] wrote:
 Hi all,

 Does anyone know of a way to use libraries compiled by gcc/make with
 visual studio, please?

I googled for Visual C++ create import lib and found
http://qualapps.blogspot.com/2007/08/how-to-create-32-bit-import-libraries.html

This is of course applicable to DLLs only, not static libraries.  I do
not know any way to mix static libraries in different formats.

 I'll do the tutorial example of
 http://www.cygwin.com/cygwin-ug-net/dll.html but this only says
 how to use gcc-compiled libs with gcc. Any link, hint or clue very welcome.

 Mary



 Vinsamlega athugið að upplýsingar í tölvupósti þessum og viðhengi eru
 eingöngu ætlaðar þeim sem póstinum er beint til og gætu innihaldið
 upplýsingar sem eru trúnaðarmál. Sjá nánar: http://www.ru.is/trunadur

 Please note that this e-mail and attachments are intended for the named
 addresses only and may contain information that is confidential and
 privileged. Further information:
 http://www.ru.is/trunadur

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



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



RE: openssl errors creating password for certificate authority (CA Request)

2008-08-27 Thread [EMAIL PROTECTED]
$ cygcheck -c openssl

Cygwin Package Information

Package Version Status

Openssl 0.9.8h-1 OK



-Original Message-

From: Corinna Vinschen [EMAIL PROTECTED]

Sent: Wednesday, August 27, 2008 1:58 AM

To: cygwin@cygwin.com

Subject: Re: openssl errors creating password for certificate authority (CA 
Request)



On Aug 27 00:33, Auteria W. Winzer Jr. wrote:

 I opt to use a challenge password for sending a CA request. When I 
 incorporate the challenge password I get the following error:

 

 Please enter the following 'extra' attributes

 to be sent with your certificate request

 A challenge password []:1234567890

 Error adding attribute

 1896:error:0D0BA041:asn1 encoding routines:ASN1_STRING_set:malloc 
 failure:asn1_lib.c:381:

 1896:error:0B08A041:x509 certificate routines:X509_ATTRIBUTE_set1_data:malloc 
 failure:x509_att.c:317:

 problems making Certificate Request

 

 If I don't use the challenge password attribute everything works fine.

 

 Is it recommended to use a challenge password for CA requests? Your valuable 
 imput is grately appreciated.



It's hard to tell anything without a self-contained example which allows

to reproduce this.  There's a malloc failure, for whatever reason.



 $ cygcheck -c cygwin

 Cygwin Package Information

 Package  VersionStatus

 cygwin   1.5.25-15  OK



openssl version?





Corinna



-- 

Corinna Vinschen  Please, send mails regarding Cygwin to

Cygwin Project Co-Leader  cygwin AT cygwin DOT com

Red Hat



--

Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple

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

Documentation: http://cygwin.com/docs.html

FAQ:   http://cygwin.com/faq/






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



J'ai simplement doubler mes ventes! (Quelle catastrophe!)

2008-08-27 Thread [EMAIL PROTECTED]
Bonjour,

Oui je dis quel catastrophe! J'ai simplement doubler 
mes ventes en quelques mois au lieu de les tripler!

Heureusement, que ce doublement de mes ventes s'est
stabilisé et a même tendance à encore augmenter!

Si vous êtes comme moi et que vous avez un site internet,
 une newsletter, un blog,vous vendez sur internet etc... 
vous devez utiliser un logiciel d'emailing 
performant pour au moins doubler vos ventes!

http://url-ok.com/6648dd 

Tester gratuitement les avantages de ce logiciel,
en vous renseignant à cette page:

http://url-ok.com/6648dd 


Bien cordialement,
Elom [EMAIL PROTECTED],
http://url-ok.com/6648dd 





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



Thank you

2008-08-26 Thread [EMAIL PROTECTED]
Thank you for your inquiry regarding our website.

Our webmaster will get back to you on this as soon as possible.



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



Thank you

2008-08-26 Thread [EMAIL PROTECTED]
Thank you for your inquiry regarding our website.

Our webmaster will get back to you on this as soon as possible.



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



Thank you

2008-08-26 Thread [EMAIL PROTECTED]
Thank you for your inquiry regarding our website.

Our webmaster will get back to you on this as soon as possible.



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



Re: emacs open display problem

2008-08-13 Thread [EMAIL PROTECTED]
Ken Brown wrote:

On 8/10/2008 2:48 PM, parminides wrote:

emacs just flat-out refuses to open a display window. 

You might need to install or reinstall libncurses7. See

http://sourceware.org/ml/cygwin-xfree/2007-03/msg00081.html

It worked like a charm. Thank you so much.



Save for the future with great IRA Funds. Click now!
http://thirdpartyoffers.netzero.net/TGL2231/fc/Ioyw6ijmdWUjSR94DHEpqnZEKDnKdN6aklpkNhhnBUD5osfbyAYGFg/

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



Re: emacs open display problem

2008-08-13 Thread [EMAIL PROTECTED]
Ken Brown wrote:

On 8/10/2008 2:48 PM, parminides wrote:

emacs just flat-out refuses to open a display window. 

You might need to install or reinstall libncurses7. See

http://sourceware.org/ml/cygwin-xfree/2007-03/msg00081.html

It worked like a charm. Thank you so much.



Learn digital and video photography techniques, lighting and printing. Click 
now.
http://thirdpartyoffers.netzero.net/TGL2231/fc/Ioyw6ijngO5Wg7wazrs2xV7sA9clWgUZDLHNfYJSHRuGdNBfkyskqO/

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



emacs open display problem

2008-08-10 Thread [EMAIL PROTECTED]
I have been an avid cygwin user for several years. I recently bought a new HP 
laptop with Vista, and I immediately installed cygwin. I had a few glitches but 
was able to figure out fixes for all of them but one: emacs just flat-out 
refuses to open a display window. This is the only program which has this 
problem that I know about so far. Everything else that I commonly use works 
fine.

I've tried the following commands in an xterm, all to no avail:
  emacs 
  emacs -d :0 
  emacs -d 0:0 

I don't get any error messages, but no emacs either.

Emacs is installed, by the way. I can run it in the parent xterm window by
  emacs -nw
but this doesn't work right either (it freezes up, the keystroke commands don't 
work right, etc.).

Also, the phantom emacs processes that never open a window show up in ps.

I tried uninstalling and reinstalling emacs, but no luck.

I searched the mail archives and couldn't find anyone else who had seen this 
problem. Any ideas?



Scan, remove and block Spyware. Click now!
http://thirdpartyoffers.netzero.net/TGL2231/fc/Ioyw6ijlZvPkbOyBLTv8GmaNWzbZ58L7dBzLoc617FttACYh5LF66S/

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



emacs open display problem

2008-08-10 Thread [EMAIL PROTECTED]
I have been an avid cygwin user for several years. I recently bought a new HP 
laptop with Vista, and I immediately installed cygwin. I had a few glitches but 
was able to figure out fixes for all of them but one: emacs just flat-out 
refuses to open a display window. This is the only program which has this 
problem that I know about so far. Everything else that I commonly use works 
fine.

I've tried the following commands in an xterm, all to no avail:
  emacs 
  emacs -d :0 
  emacs -d 0:0 

I don't get any error messages, but no emacs either.

Emacs is installed, by the way. I can run it in the parent xterm window by
  emacs -nw
but this doesn't work right either (it freezes up, the keystroke commands don't 
work right, etc.).

Also, the phantom emacs processes that never open a window show up in ps.

I tried uninstalling and reinstalling emacs, but no luck.

I searched the mail archives and couldn't find anyone else who had seen this 
problem. Any ideas?



Make more on your investments with qualified asset management. Click now!
http://thirdpartyoffers.netzero.net/TGL2231/fc/Ioyw6ijnAqMXb8qzYYeGlltLQ9l8og1d6D4Z9QR0tqTwO25G3kvhDk/

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



Becoming a mirror of Cygwin

2008-07-08 Thread [EMAIL PROTECTED]

Hi,

I'm a system administrator of FPT Telecom - one of the largest ISP in 
Vietnam. I'm being responsible for becoming a mirror of community sites.


I have a question:
How does our site become a mirror of Cygwin?

Looking forward your feedbacks.

Thanks  Best regards,
[EMAIL PROTECTED]

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



change in gawk from 3.1.5 to 3.1.6

2008-06-24 Thread [EMAIL PROTECTED]

Hello Corinna,

the change in gawk from 3.1.5  to 3.1.6 broke my script.

in 3.1.5 i received a correct value when fomatting hex strings

 awk '{printf (%6d,0x22 ) }' test.txt
 34

in 3.1.6 i receiveonly 0 when fomatting hex strings

3.1.6
 awk '{printf (%6d,0x22 ) }' test.txt
 0



it loks as if it didn't understand hex notation any longer. Or am I 
missing something ?




Greetings,


Helmut Kern

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



Re: Fwd: gcc does not honor -fno-leading-underscore flag?

2008-04-23 Thread [EMAIL PROTECTED]



Brian Dessent wrote:

[EMAIL PROTECTED] wrote:

  

I do not know how to get rid of the leading underscores in Cygwin. I
have other sources compiled in Linux, and they do not have a leading
underscore added.



As I understand it, the -fleading-underscore flag is only useful to add
a leading underscore for targets that do not have a leading underscore,
like linux.  It won't accomplish anything on one that already has it,
like PE.
  
You may be right. But then this is strange for me. I would guess that 
either -fleading-underscore or -fno-leading-underscore do something, but 
not both doing nothing. So if a target does have a leading underscore 
and then -fleading-underscore does nothing on it (according to what you 
say), then I would expect -fno-leading-underscore removing the underscore.



Now my problem is that I have a library with symbol names without a
leading underscore. Although the library is for Linux (I do not have a
version specific for Cygwin, which would be the ideal solution, and I
do not think that I could get it; I don't have the sources), I expect
it to work under Cygwin (or at least give it a try), if only I could
get my objects to link with its symbols. Even if I am trying to mix
objects for different platforms, I guess that there should be a chance
to do it by appropriate configuration. The flag
-fno-leading-underscore seemed to be the answer, but it did not work
for me.



There is absolutely no way that you can use an object compiled for Linux
with Cygwin.  The fact that symbols don't have a leading underscore is
trivial compared to the massive differences between ELF and PE formats. 
There is just no chance of this working even if you solved the

underscore issue.
  
I suspected this, but I was not sure. I do not know what is ELF and 
PE... I though about trying since I have Windows apps that work on 
Cygwin, but possibly they are much more similar.


Thanks a lot.

Santiago



Brian
  


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



Re: cygwin and squid - RLIMIT_NOFILE

2007-12-05 Thread [EMAIL PROTECTED]
David Rothenberger wrote:

 On 12/3/2007 2:51 PM, [EMAIL PROTECTED] wrote:
 [snip]
  $ squid -N
  FATAL: setrlimit: RLIMIT_NOFILE: (24) Too many open files
  
  This is a classic error described a few times on the mailing list.
  
  So..
  has anybody managed this?!!!
  and how?!
 
 Is there any reason not to use the Windows-native squid binaries[1]?
 I thought about trying to package squid-2.6 for Cygwin because of the
 problems you mention, but when I noticed the Windows-native binaries
 I decided it wasn't worth the effort.
 
 [1] http://www.acmeconsulting.it/SquidNT/


I am trying the windows port and moving forward with it.  Though
problems with that are covered by the regular squid mailing list, and
squid docs.


But regarding the cygwin squid ..
Howcome the 2 solutions offered on this list -  amending the hex, and
amending autoconf.h   But neither worked for me?


And if there are still problems, was there any post on the mailing list
saying that doing this was futile?




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



helP: malfunction of the x window system

2007-12-04 Thread [EMAIL PROTECTED]
Hi All,

I'm trying to start the Xwindows system both under Cygwin using startx command 
or directly.
It does not work and return the message:

XWin was started with teh following command line:
X :0 -multiwindow -clipboard

_XSERVTransSocketCreateListener: listen() failed
_XSERVTransSocketINITCreateListener: ...SocketCreateListener() failed
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
_XSERVTransSocketCreateListener: listen() failed
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListener: failed to create listener for local

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't already 
running

I checked there were not other Xserver running...
The system was working properly few day ago.
I also tried Xming and does not work either on this computer.

Any suggestion would be greatly appreciated

Massimo





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



Re: helP: malfunction of the x window system

2007-12-04 Thread [EMAIL PROTECTED]
Thank you for the suggestion.

I did not install new firewalls. The firewall was running also before when the 
x-server was working correctly.

I suspect that the issue was generated trying to run Xming. I had some minor 
problem with Xfree (before the major issue I reported now) and I tried Xming to 
see if it was working better.  Clearly  I did not solve the problem since now 
nor Xming neither Xfree are working...

for comparison I tried an evaluation version of a commercial x-server and it 
works. But it is not working as good as the cygwin-Xfree was working in the 
past.

thanks again,
any suggestion is very appreciated








-- Initial Header ---

From  : [EMAIL PROTECTED]
To  : cygwin-xfree@cygwin.com
Cc  :
Date  : Tue, 04 Dec 2007 23:48:48 +0100
Subject : Re: helP: malfunction of the x window system







 [EMAIL PROTECTED] schrieb:
  XWin was started with teh following command line:
  X :0 -multiwindow -clipboard
 
  _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
  _XSERVTransMakeAllCOTSServerListener: failed to create listener for local
 
  Fatal server error:
  Cannot establish any listening sockets - Make sure an X server isn't 
  already running
 
  I checked there were not other Xserver running...
  The system was working properly few day ago.
  I also tried Xming and does not work either on this computer.

 Did you install new firewall software recently?

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




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



Re: cygwin and squid - RLIMIT_NOFILE

2007-12-04 Thread [EMAIL PROTECTED]
Václav Haisman wrote:

 
 
 [EMAIL PROTECTED] wrote, On 4.12.2007 4:40:
  David Rothenberger wrote:
  
  On 12/3/2007 2:51 PM, [EMAIL PROTECTED] wrote:
  [snip]
  $ squid -N
  FATAL: setrlimit: RLIMIT_NOFILE: (24) Too many open files

  This is a classic error described a few times on the mailing list.

  So..
  has anybody managed this?!!!
  and how?!
  Is there any reason not to use the Windows-native squid
 binaries[1]?   I thought about trying to package squid-2.6 for
 Cygwin because of the  problems you mention, but when I noticed the
 Windows-native binaries  I decided it wasn't worth the effort.
   
  [1] http://www.acmeconsulting.it/SquidNT/
  
  
  I did try the windows port, it did not work either. 
  here is a direct link to the download page
  http://squid.acmeconsulting.it/download/dl-squid.html
  
  I tried with 2.6 stable17, and 2.6 stable16.  Same result. 
  
  first time I got an error
  C:\squid\sbinsquid
  FATAL: Unable to open configuration file: c:/squid/etc/squid.conf:
  
  
  (
  well,
  there is no such file. There was squid.conf.default, so I did
  copy squid.conf.default squid.conf
  )
  
  
  I ran it again and got a different error
  C:\squid\sbinsquid
  FATAL: cache_dir c:/squid/var/cache: (2) No such file or directory
  Squid Cache (Version 2.6.STABLE17): Terminated abnormally.
  CPU Usage: 0.030 seconds = 0.010 user + 0.020 sys
  Maximum Resident Size: 3944 KB
  Page faults with physical i/o: 996
  
  
  I tried it on another machine, since on this machine (maybe a bad
  win xp) I have been able to run servers, but have had problems when
  installing a server as a service, like openssh runs ./sshd but not
  net start sshd. Anyhow, it did not work on the computer with the
  fully working win xp either. same errors
  
 I think that you need to RTFM. IIRC you first have to create your swap
 directories using the -z option.

I just want to emphasise, that your response only regarding the windows
port..  I will look into that, I see it has install instructions on
that site.
I had not researched the windows port much. (which is one reason why I
did not mention the windows port as a problem in my original post)

But regarding the cygwin squid thing, I researched it.. Read all over
the mailing list, and was dealing with a classic error that had
solutions that were meant to work.




-- 



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



Re: script for installing cygwin?

2007-12-03 Thread [EMAIL PROTECTED]
Larry Hall (Cygwin) wrote:

 jameshanley39 wrote:
  I would like to be able to install cygwin with all the packages I
  want automatically, without having to select them all.
  
  
  (reason is actually because when things go wrong i would like to
  uninstall and reinstall cygwin, and i do not want to go through that
  screen selecting a dozen or two packages each time I want to
  install it)
  
  I guess it could be done with a windows program like AutoIt hitting
  arrow keys and maybe moving the cursor. But I am hoping there is a
  neater way, like through Cygwin.
 
 There are many ways to achieve this.  The easiest, through
 'setup.exe', is just select Install for the All category in the
 Select Packages page of 'setup.exe'.

I meant only install the ones I want.

It seems that choosing install from internet, and selecting Install
there will install absolutely everything.
(choosing a local package, and doing that, will prob do nothing.. or
install everything that is already installed). Either way, I have not
tried and would not use that option.

But I just wanted to have what I want installed automatically

Not having to go through all the things if i wanted to remove and then
install / reinstall cygwin.

i checked the cygwin FAQ , since before I had only looked at the cygwin
user manual.

The solution for me is to keep the package directory separate from the
cygwin program directory. e.g. c:\cygwin and c:\cygwinpk  I Select what
I want once, install. That makes my package directory as I want it.
I Make a copy of the package directory.

Then if i want to install cygwin again, I just  remove the cygwin
directory  copy cygwinpk2 to cygwinpk (oddly does not work from win xp
command prompt, but anyhow).  And then I install cygwin, telling it to
install from local directory, and I point it to my directory with the
stuff i want.

thanks


-- 



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



cygwin and squid - RLIMIT_NOFILE

2007-12-03 Thread [EMAIL PROTECTED]

$squid 

a)squid does not bind to a port
b)ps shows it sits around for a while, then goes. maybe creating 2
instances.

$squid -N

it gives this error.. and terminates, does not do funny business with
duplicate processes. but does not run at all
better with the -N though, it displays an error and fails, instead of
just failing.

$ squid -N
FATAL: setrlimit: RLIMIT_NOFILE: (24) Too many open files
Squid Cache (Version 2.4.STABLE7): Terminated abnormally.
CPU Usage: 0.040 seconds = 0.010 user + 0.030 sys
Maximum Resident Size: 201728 KB
Page faults with physical i/o: 788
  8 [sig] squid 3964 C:\cygwin\bin\squid.exe: *** fatal error -
called with
threadlist_ix -1
Hangup



This is a classic error described a few times on the mailing list.

I have tried some different solutions offered, but no solution worked..
-  the hex edit
- the autoconf.h edit

I would try the autoconf.h edit again, but cannot find where to
download the cygwin squid source.  I tried it once, but reinstalled
cygwin, and do not know where I got the source.   The source that
cygwin can install with squid, does not configure, I get

[EMAIL PROTECTED] ~/squid-2.4.STABLE7
$ ./configure
creating cache ./config.cache
checking host system type... Invalid configuration `i686-pc-cygwin':
system `cyg
win' not recognized


And regarding the hex edit.  When I do that  (verifying the size of
squid and squid.exe are the same, so the edit went fine)

note-  /bin is same directory or place as /usr/bin

I get this error

$ squid -N
  9 [sig] squid 2344 C:\cygwin\bin\squid.exe: *** fatal error -
called with
threadlist_ix -1
Hangup

So..
has anybody managed this?!!!
and how?!
 
TIA

-- 



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



Re: cygwin and squid - RLIMIT_NOFILE

2007-12-03 Thread [EMAIL PROTECTED]
David Rothenberger wrote:

 On 12/3/2007 2:51 PM, [EMAIL PROTECTED] wrote:
 [snip]
  $ squid -N
  FATAL: setrlimit: RLIMIT_NOFILE: (24) Too many open files
  
  This is a classic error described a few times on the mailing list.
  
  So..
  has anybody managed this?!!!
  and how?!
 
 Is there any reason not to use the Windows-native squid binaries[1]?
 I thought about trying to package squid-2.6 for Cygwin because of the
 problems you mention, but when I noticed the Windows-native binaries
 I decided it wasn't worth the effort.
 
 [1] http://www.acmeconsulting.it/SquidNT/


I did try the windows port, it did not work either. 
here is a direct link to the download page
http://squid.acmeconsulting.it/download/dl-squid.html

I tried with 2.6 stable17, and 2.6 stable16.  Same result. 

first time I got an error
C:\squid\sbinsquid
FATAL: Unable to open configuration file: c:/squid/etc/squid.conf:


(
well,
there is no such file. There was squid.conf.default, so I did
copy squid.conf.default squid.conf
)


I ran it again and got a different error
C:\squid\sbinsquid
FATAL: cache_dir c:/squid/var/cache: (2) No such file or directory
Squid Cache (Version 2.6.STABLE17): Terminated abnormally.
CPU Usage: 0.030 seconds = 0.010 user + 0.020 sys
Maximum Resident Size: 3944 KB
Page faults with physical i/o: 996


I tried it on another machine, since on this machine (maybe a bad win
xp) I have been able to run servers, but have had problems when
installing a server as a service, like openssh runs ./sshd but not net
start sshd. Anyhow, it did not work on the computer with the fully
working win xp either. same errors

-- 



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



script for installing cygwin?

2007-11-29 Thread [EMAIL PROTECTED]
I would like to be able to install cygwin with all the packages I want
automatically, without having to select them all.


(reason is actually because when things go wrong i would like to
uninstall and reinstall cygwin, and i do not want to go through that
screen selecting a dozen or two packages each time I want to install it)

I guess it could be done with a windows program like AutoIt hitting
arrow keys and maybe moving the cursor. But I am hoping there is a
neater way, like through Cygwin.

thanks


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



Re: starting squid getgrnam failed , getpwnam failed , , `nobody` , `nogroup`. Windows xp

2007-11-23 Thread [EMAIL PROTECTED]
Larry Hall (Cygwin) wrote:

 [EMAIL PROTECTED] wrote:
  
  I have had these errors when trying to run squid. in win xp.
  
  
  
  $ squid
  
  
  FATAL: getpwnam failed to find userid for effective user 'nobody'
  
  I read this [1] which seems to say to me I can solve this by
  creating a nobody account.
  So I saw this [2] about how to do that in cygwin.
  
  and I did created the nobody user
  net user nobody /add
  and probably added him to users.
  net localgroup users nobody /add
  
  or I created the user in windows and it automatically went into the
  users group.
  
  and  seeing that $less /etc/passwd   and $less /etc/group   seem
  less up to date,  than mkgroup -l -u  and mkpasswd -l   , I did
  mkgroup -l /etc/group
  mkpasswd -l /etc/passwd
  I saw these commands mentioned once.
  
  And then when trying to run squid, I got the similar error
  FATAL: getgrnam failed to find groupid for effective group 'nogroup'
  
  That is more-or-less what happened.  I am not sure what to do next
  to get it working.  I don`t really know what I am doing!
 
 I think you're doing alright.  Why not try creating the 'nogroup'
 group and see if that moves the peg forward a bit?

it has [your suggestion dealt with that error], thank you. 





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



starting squid getgrnam failed , getpwnam failed , , `nobody` , `nogroup`. Windows xp

2007-11-22 Thread [EMAIL PROTECTED]


I have had these errors when trying to run squid. in win xp.



$ squid


FATAL: getpwnam failed to find userid for effective user 'nobody'

I read this [1] which seems to say to me I can solve this by creating a
nobody account.
So I saw this [2] about how to do that in cygwin.

and I did created the nobody user
net user nobody /add
and probably added him to users.
net localgroup users nobody /add

or I created the user in windows and it automatically went into the
users group.

and 
seeing that $less /etc/passwd   and $less /etc/group   seem less up to
date,  than mkgroup -l -u  and mkpasswd -l   , I did
mkgroup -l /etc/group
mkpasswd -l /etc/passwd
I saw these commands mentioned once.

And then when trying to run squid, I got the similar error
FATAL: getgrnam failed to find groupid for effective group 'nogroup'

That is more-or-less what happened.  I am not sure what to do next to
get it working.  I don`t really know what I am doing!

 




[1]
http://www.squid-cache.org/mail-archive/squid-users/200112/0585.html

[2]
http://www.cygwin.com/ml/cygwin/2005-07/msg00931.html


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



Re: OpenSSH with Corkscrew. Cannot install Corkscrew

2007-11-21 Thread [EMAIL PROTECTED]
Dave Korn wrote:

 On 19 November 2007 10:18, jameshanley39 wrote:
 
  I tried these instructions.  Involve downloading a corkscrew.tar.gz
  file using gunzip and then tar. to decompress it.
  Hopelessly editting a script file called configure .
 
   There was no need to do that, the supplied configure script is fine.
 
  Then running that file.
  
  I get these errors.
  
  
  Current [EMAIL PROTECTED] ~/corkscrew/corkscrew-2.0
  $ ./configure
  creating cache ./config.cache
  checking for a BSD compatible install... /usr/bin/install -c
  checking whether build environment is sane... yes
  checking whether make sets ${MAKE}... yes
  checking for working aclocal... missing
  checking for working autoconf... missing
  checking for working automake... missing
  checking for working autoheader... missing
  checking for working makeinfo... found
  checking for gcc... no
  checking for cc... no
  configure: error: no acceptable cc found in $PATH
 
   The problem is you don't have any compiler installed; a basic
 cygwin doesn't include it by default.  Re-run setup.exe and select
 the gcc- packages under the Devel category.
 
 
 cheers,
   DaveK

thanks,  that works.
also, a more obvious prerequisite for cygwin with corkscrew, is to
download make.   `cos make is mentioned next in Corkscrew`s INSTALL
and README file, and not installed by default by cygwin.




-- 



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



Re: cannot start sshd on cygwin- win xp

2007-11-19 Thread [EMAIL PROTECTED]
Larry Hall (Cygwin) wrote:

 [EMAIL PROTECTED] wrote:
  a selection of all the error message I am getting. Messing around
  trying to start it.   it doesn`t show up on netstat -an.  I did
  install and uninstall a  windows port of openssh, I don`T know if
  that messed things up. But  nothing i easily do about that if it
  did..
 
 
 Let's start here: http://cygwin.com/problems.html
 
 Other than that, my WAG is that you need to reboot.

prob a win xp problem, would be solved with a win xp repair.
my mistake i was only trying to start it with things like net start
sshd.

Best tihng to do is just to run it. 
/usr/sbin/sshd
That works.  I don`t need to install it as a service. Installing it as
a service and starting it, that was where the problem was.
Some article on the net on the LRP site, about running sshd, only
mentioned the net start sshd or cygrunsrv -S sshd method to start
it.


-- 



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



OpenSSH with Corkscrew. Cannot install Corkscrew

2007-11-19 Thread [EMAIL PROTECTED]


I notice that Corkscrew is not listed in cygwin`s setup.exe

But everywhere seems to say Corkscew can run in cygwin


Trying to configure corkscrew, 

I tried these instructions.  Involve downloading a corkscrew.tar.gz file
using gunzip and then tar. to decompress it. 
Hopelessly editting a script file called configure .
Then running that file.

I get these errors. 


Current [EMAIL PROTECTED] ~/corkscrew/corkscrew-2.0 
$ ./configure 
creating cache ./config.cache 
checking for a BSD compatible install... 


/usr/bin/install -c 
checking whether build environment is sane... yes 
checking whether make sets ${MAKE}... yes 
checking for working aclocal... missing 
checking for working autoconf... missing 
checking for working automake... missing 
checking for working autoheader... missing 
checking for working makeinfo... found 
checking for gcc... no 
checking for cc... no 
configure: error: no acceptable cc found in $PATH 




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



Re: cannot start sshd on cygwin- win xp

2007-11-19 Thread [EMAIL PROTECTED]
Larry Hall (Cygwin) wrote:

 [EMAIL PROTECTED] wrote:
  Larry Hall (Cygwin) wrote:
  
   [EMAIL PROTECTED] wrote:
a selection of all the error message I am getting. Messing
around trying to start it.   it doesn`t show up on netstat -an.
I did install and uninstall a  windows port of openssh, I don`T
know if that messed things up. But  nothing i easily do about
that if it did..
   
   Let's start here: http://cygwin.com/problems.html
   
   Other than that, my WAG is that you need to reboot.
  
  prob a win xp problem, would be solved with a win xp repair.
  my mistake i was only trying to start it with things like net start
  sshd.
  
  Best tihng to do is just to run it.  /usr/sbin/sshd
  That works.  I don`t need to install it as a service. Installing it
  as a service and starting it, that was where the problem was.
  Some article on the net on the LRP site, about running sshd, only
  mentioned the net start sshd or cygrunsrv -S sshd method to
  start it.
 
 
 The recommended way to run 'sshd' is as a service.  If you run it
 directly, it will run as the user that you start it as and you won't
 be able to log in through 'ssh' as other users.  This rather severely
 limits 'sshd'.  As for the 'LRP' site you mentioned, if you used that
 site's information as a guide for installing and/or setting up ssh,
 then any problems you have with subsequent operation should be
 directed back to that site.  We support only the tools
 (ssh-host-config, ssh-user-config) and documentation (/usr/share/
 doc/Cygwin/openssh.README) that Cygwin provides.

yes, i was not asking for support regarding information from another
site. I replied with solutions or you may say a workaround, to the
problem . So that they are in the archives for another newbie.


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



cannot start sshd on cygwin- win xp

2007-10-29 Thread [EMAIL PROTECTED]
a selection of all the error message I am getting. Messing around 
trying to start it. 

it doesn`t show up on netstat -an.  I did install and uninstall a 
windows port of openssh, I don`T know if that messed things up. But 
nothing i easily do about that if it did.. 


$ cygrunsrv -I sshd -p /usr/sbin/sshd 
cygrunsrv: Error installing a service: OpenService:  Win32 error 1073: 
The specified service already exists. 


$ net start sshd 
The CYGWIN sshd service is starting. 
The CYGWIN sshd service was started successfully. 


Current [EMAIL PROTECTED] ~ 
$ net start sshd 
The CYGWIN sshd service is starting. 
The CYGWIN sshd service was started successfully. 


It doesn`t show in netstat. maybe it isn`T menat to ? 


$ cygrunsrv --start sshd 
cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 
1062: 
The service has not been started. 


.. 


$ net start sshd 
The CYGWIN sshd service is starting. 
The CYGWIN sshd service could not be started. 


The service did not report an error. 


More help is available by typing NET HELPMSG 3534. 


Current [EMAIL PROTECTED] /usr/sbin 
$ net stop sshd 
The CYGWIN sshd service is not started. 


More help is available by typing NET HELPMSG 3521. 


Current [EMAIL PROTECTED] /usr/sbin 
$ net start sshd 
The CYGWIN sshd service is starting. 
The CYGWIN sshd service was started successfully. 


Current [EMAIL PROTECTED] /usr/sbin 
$ net stop sshd 
The CYGWIN sshd service is not started. 


More help is available by typing NET HELPMSG 3521. 


... 
Current [EMAIL PROTECTED] / 
$ cygrunsrv -S sshd 
cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 
1062: 
The service has not been started. 
. 
Current [EMAIL PROTECTED] / 
$ cygrunsrv -S /usr/sbin/sshd 
cygrunsrv: Error starting a service: OpenService:  Win32 error 123: 
The filename, directory name, or volume label syntax is incorrect. 


Current [EMAIL PROTECTED] / 
$ cygrunsrv -S sshd 


Current [EMAIL PROTECTED] / 
$ ls /usr/sbin/sshd 
/usr/sbin/sshd 



-- 



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



Make mode

2007-07-23 Thread [EMAIL PROTECTED]
Hi,
I've a problem with the make utility.
I use the make in windows mode and I call it from a dos bash. I set the dos 
variable MAKE_MODE=WINDOWS but when I call make it returns the followed error: 
MAKE_MODE=WINDOWS is not longer supported. Do you have any idea?

Unfortunatly I must used this enviroment(cygwin v. B20 make in dos) because I'm 
 compiling a library written by another person and I can't modify the makefile.
Thanks in advance

Matteo


SERVIZIO VOICE: TELEFONA e INVIA SMS dal tuo computer a tariffe vantaggiose! 
Scopri come telefonare e videochiamare gratis da pc a pc.
http://voice.repubblica.it




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



[ANNOUNCEMENT] New package: ncdu-1.1-1

2007-06-21 Thread [EMAIL PROTECTED]
The ncdu package is now part of the Cygwin distribution.

http://dev.yorhel.nl/ncdu/

ncdu is a ncurses-based disk usage viewer. It provides a fast and
easy-to-use interface through 'du' utility. It allows to browse through
the directories and show percentages of disk usage.

Christian Franke

-- 

To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and keep clicking Next.

If you have questions or comments, please send them to the Cygwin
mailing list.

 *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, please
use the automated form at:

http://cygwin.com/lists.html#subscribe-unsubscribe

If this does not work, then look at the List-Unsubscribe:  tag in the
email header of this message.  Send email to the address specified
there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.




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



New package: ncdu-1.1-1

2007-06-21 Thread [EMAIL PROTECTED]
The ncdu package is now part of the Cygwin distribution.

http://dev.yorhel.nl/ncdu/

ncdu is a ncurses-based disk usage viewer. It provides a fast and
easy-to-use interface through 'du' utility. It allows to browse through
the directories and show percentages of disk usage.

Christian Franke

-- 

To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and keep clicking Next.

If you have questions or comments, please send them to the Cygwin
mailing list.

 *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, please
use the automated form at:

http://cygwin.com/lists.html#subscribe-unsubscribe

If this does not work, then look at the List-Unsubscribe:  tag in the
email header of this message.  Send email to the address specified
there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.





All Cygwin versions:How do I modify the Cygwin information stored in the registry?

2007-06-13 Thread [EMAIL PROTECTED]


Hello, I have tried to set a variable in the windows registry for the
mounting of cygwin directories. 
This is to have the possibility to switch between different cygwin
installations without changing the registry.
But is way don't work!!

It seems that it is the Type REG_EXPAND_SZ that causes the error. 
Is it possible that the Type REG_EXPAND_SZ is not right support by
cygwin?

I will switch between a local installation and a installion on a net
drive and to change a environment variable is a easy way to do this job.

thanks for help
helge




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



display ps command line parameters

2007-04-30 Thread [EMAIL PROTECTED]
Hi all,

I'm trying to get parameters entered at the Cygwin command line to appear on
my ps command, and failing miserably!

i.e. I'm running the following process at the command line:

  program parameter1

In ps -s I get something like:

 PID  TTYSTIME COMMAND
1234  con 09:00:00 /path/program

... but I'd like to be able to pick up the parameter1. So far as I can see
it other ps commands on Unix have an -o args option. I've tried every
option that seems to be available in Cygwin ps (v 1.11), but cannot get past
this wall.

Is there a way of doing this through ps (or an alternative) in Cygwin?

Thanks in anticipation
Andy Burgess

-- 
  _ __   __
//_  /  /| /_  /  /...Your friendly computer professionals
 __//__ /  / |/__ /  / web : jet-net.co.uk
/ phone: 01256 819531 mobile : 07770 808843

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



gcc installation problem, cannot exec 'as' No such file or directory

2006-10-22 Thread [EMAIL PROTECTED]
I installed cygwin and the C compiler. When I try to compile a C
program I get this message:  gcc installation problem, cannot  exec
'as' No such file or directory



_
PrivatePhone - FREE telephone number  voicemail.
A number so private, you can make it public.
http://www.privatephone.com



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



1.5.21-1 - Crash on anything using cygwin1.dll

2006-09-27 Thread [EMAIL PROTECTED]
1.5.21-1 - Crash on anything using cygwin1.dll


Havent used Cygwin in a while, and then today I was trying to rm' a dir
when I get this handy message:

===
5 [main] rm 5852 dll_crt0_1: internal error: couldn't determine location
of thread function on stack.  Expect signal problems.
===

Never saw that one before, so I try to open up the cygwin shell (which
is bash).  Upon (attempting) to launch the shell with cygwin.bat, I get
a crash.

===
AppName: bash.exeAppVer: 0.0.0.0 ModName: cygwin1.dll
ModVer: 1005.21.0.0  Offset: 365f
===

So I start reading the page on reporting bugs, and I see about cygcheck,
so I decide to run that.  I notice it says: If you can't run cygcheck
for some reason (and why shouldn't you be able to? cygcheck is just a
standard windows program which does not use the cygwin dll)

Well, I guess I'm not so lucky, it runs for a bit, then I get this
handy-dandy crasher:

===
AppName: cygcheck.exeAppVer: 0.0.0.0 ModName: cygwin1.dll
ModVer: 1005.21.0.0  Offset: 365f
===

-and-

===
AppName: id.exe  AppVer: 0.0.0.0 ModName: cygwin1.dll
ModVer: 1005.21.0.0  Offset: 365f
===

Hurm, detecting a reoccuring pattern here.


So I completely uninstalled cygwin and tried reinstalling it.  It was
fine till it got to the post-install scripts which gave me yet another:

===
AppName: bash.exeAppVer: 0.0.0.0 ModName: cygwin1.dll
ModVer: 1005.21.0.0  Offset: 365f
===

This is running on a Win XP Pro SP2 machine.

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



Re: 1.5.21-1 - Crash on anything using cygwin1.dll

2006-09-27 Thread [EMAIL PROTECTED]
Eric Blake wrote:
 According to OQ on 9/27/2006 10:39 PM:
 Sounds to me a little like you have another copy of 'cygwin1.dll' on your
 system that something is running.  Try searching for 'cygwin1.dll's

 according to process explorer no other cygwin1.dll is loaded and also
 that bash.exe is using C:\cygwin\bin\cygwin1.dll

 But for the sake of it, I've removed all other cygwin1.dlls and the
 problem persists.
 
 All others?  That sounds fishy right there; you should never have had more
 than one in the first place if you wanted sane operational behavior.
 Complete output from cygcheck would really be useful (just click past any
 failure boxes that come up from trying to invoke id or other cygwin
 subprocesses).
 
 --
 Life is short - so eat dessert first!
 
 Eric Blake [EMAIL PROTECTED]


  6 [main] id 4196 dll_crt0_1: internal error: couldn't determine
location of thread function on stack.  Expect signal problems.
  6 [main] id 3640 dll_crt0_1: internal error: couldn't determine
location of thread function on stack.  Expect signal problems.

Gets printed to stderr.  cygcheck:

===

Cygwin Configuration Diagnostics
Current System Time: Thu Sep 28 00:02:57 2006

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   C:\Program Files\Microsoft Visual Studio 8\Common7\IDE
C:\Program Files\Microsoft Visual Studio 8\VC\BIN
C:\Program Files\Microsoft Visual Studio 8\Common7\Tools
C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\bin
C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\bin
C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\bin
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
C:\Program Files\Microsoft Visual Studio 8\VC\VCPackages
C:\Perl\bin\
C:\cygwin\bin
c:\program files\imagemagick-6.2.6-q16
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\Program Files\Common Files\GTK\2.0\bin
C:\progra~1\putty\
C:\Program Files\Microsoft SQL Server\90\Tools\binn\
D:\Program Files\MySQL\MySQL Server 5.0\bin
D:\Program Files\Subversion\bin
c:\php
C:\Program Files\QuickTime\QTSystem\
C:\Program Files\Microsoft SQL Server\80\Tools\Binn\
C:\Program Files\OpenVPN\bin
C:\Program Files\Bitsum Technologies\PECompact2

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 400(Harl) GID: 401(mkpasswd)
401(mkpasswd)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 400(Harl) GID: 401(mkpasswd)
401(mkpasswd)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

Path = 'C:\Program Files\Microsoft Visual Studio
8\Common7\IDE;C:\Program Files\Microsoft Visual Studio
8\VC\BIN;C:\Program Files\Microsoft Visual Studio
8\Common7\Tools;C:\Program Files\Microsoft Visual Studio
8\Common7\Tools\bin;C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\bin;C:\Program Files\Microsoft Visual Studio
8\SDK\v2.0\bin;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program
Files\Microsoft Visual Studio
8\VC\VCPackages;C:\Perl\bin\;C:\cygwin\bin;c:\program
files\imagemagick-6.2.6-q16;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Common Files\GTK\2.0\bin;C:\progra~1\putty\;C:\Program
Files\Microsoft SQL Server\90\Tools\binn\;D:\Program Files\MySQL\MySQL
Server 5.0\bin;D:\Program Files\Subversion\bin;c:\php;C:\Program
Files\QuickTime\QTSystem\;C:\Program Files\Microsoft SQL
Server\80\Tools\Binn\;C:\Program Files\OpenVPN\bin;C:\Program
Files\Bitsum Technologies\PECompact2'

ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
APPDATA = 'C:\Documents and Settings\Harl\Application Data'
APR_ICONV_PATH = 'D:\Program Files\Subversion\iconv'
CLASSPATH = '.;C:\Program Files\Java\jre1.6.0\lib\ext\QTJava.zip'
CLIENTNAME = 'Console'
CommonProgramFiles = 'C:\Program Files\Common Files'
COMPUTERNAME = 'VDF'
ComSpec = 'C:\WINDOWS\system32\cmd.exe'
DevEnvDir = 'C:\Program Files\Microsoft Visual Studio 8\Common7\IDE'
FP_NO_HOST_CHECK = 'NO'
FrameworkDir = 'C:\WINDOWS\Microsoft.NET\Framework'
FrameworkSDKDir = 'C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0'
FrameworkVersion = 'v2.0.50727'
HOMEDRIVE = 'C:'
HOMEPATH = '\Documents and Settings\Harl'
INCLUDE = 'C:\Program Files\Microsoft Visual Studio
8\VC\ATLMFC\INCLUDE;C:\Program Files\Microsoft Visual Studio
8\VC\INCLUDE;C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include;C:\Program Files\Microsoft Visual Studio
8\SDK\v2.0\include;'
JAVA_HOME = 'C:\progra~1\java\jdk1.6.0'
LIB = 'C:\Program Files\Microsoft Visual Studio
8\VC\ATLMFC\LIB;C:\Program Files\Microsoft Visual Studio
8\VC\LIB;C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\lib;C:\Program Files\Microsoft Visual Studio
8\SDK\v2.0\lib;'
LIBPATH = 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program
Files\Microsoft Visual Studio 8\VC\ATLMFC\LIB'
LOGONSERVER = '\\VDF'
NUMBER_OF_PROCESSORS = '1'
OPENSSL_CONF = 'C:\OpenSSL\bin\openssl.cnf'
OS = 'Windows_NT

Re: 1.5.21-1 - Crash on anything using cygwin1.dll

2006-09-27 Thread [EMAIL PROTECTED]
Eric Blake wrote:
 According to OQ on 9/27/2006 10:39 PM:
 Sounds to me a little like you have another copy of 'cygwin1.dll' on your
 system that something is running.  Try searching for 'cygwin1.dll's

 according to process explorer no other cygwin1.dll is loaded and also
 that bash.exe is using C:\cygwin\bin\cygwin1.dll

 But for the sake of it, I've removed all other cygwin1.dlls and the
 problem persists.
 
 All others?  That sounds fishy right there; you should never have had more
 than one in the first place if you wanted sane operational behavior.
 Complete output from cygcheck would really be useful (just click past any
 failure boxes that come up from trying to invoke id or other cygwin
 subprocesses).
 
 --
 Life is short - so eat dessert first!
 
 Eric Blake [EMAIL PROTECTED]

oops I lied dwwin killed it prematurely, here's the rest of the output:

===
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = '/cygdrive'
  cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = 'C:\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = 'C:\cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = 'C:\cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd N/AN/A
c:  hd  NTFS10Mb  82% CP CS UN PA FC
d:  hd  NTFS286166Mb  79% CP CS UN PA FC Seagate
e:  hd  NTFS  7789Mb  80% CP CS UN PA FC L2J
f:  cd N/AN/A
g:  cd  UDF   4429Mb 100%CS UN   DISK1
h:  cd  CDFS   197Mb 100%CS UN   XWildSp2006

C:\cygwin  /  system  binmode
C:\cygwin/bin  /usr/bin   system  binmode
C:\cygwin/lib  /usr/lib   system  binmode
.  /cygdrive  system  binmode,cygdrive

Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Not Found: cpp (good!)
Not Found: crontab
Found: C:\cygwin\bin\find.exe
Not Found: gcc
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\kill.exe
Not Found: ld
Found: C:\cygwin\bin\ls.exe
Not Found: make
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\patch.exe
Found: C:\Perl\bin\perl.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Not Found: ssh
Not Found: sh
Found: C:\cygwin\bin\tar.exe
Found: C:\cygwin\bin\test.exe
Not Found: vi
Not Found: vim

   25k 2005/08/15 C:\cygwin\bin\cygao-2.dll - os=4.0 img=1.0 sys=4.0
  cygao-2.dll v0.0 ts=2005/8/15 4:22
  145k 2004/09/02 C:\cygwin\bin\cygaudiofile-0.dll - os=4.0 img=1.0 sys=4.0
  cygaudiofile-0.dll v0.0 ts=2004/9/1 22:38
   56k 2005/07/09 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
  cygbz2-1.dll v0.0 ts=2005/7/9 0:09
7k 2005/11/20 C:\cygwin\bin\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0
  cygcharset-1.dll v0.0 ts=2005/11/19 20:24
7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
  cygcrypt-0.dll v0.0 ts=2003/10/19 2:57
 1108k 2006/06/01 C:\cygwin\bin\cygcrypto-0.9.7.dll - os=4.0 img=1.0 sys=4.0
  cygcrypto-0.9.7.dll v0.0 ts=2006/6/1 10:50
 1050k 2006/06/01 C:\cygwin\bin\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0
  cygcrypto-0.9.8.dll v0.0 ts=2006/6/1 11:08
  194k 2006/06/12 C:\cygwin\bin\cygcurl-3.dll - os=4.0 img=1.0 sys=4.0
  cygcurl-3.dll v0.0 ts=2006/6/12 4:00
   27k 2005/08/21 C:\cygwin\bin\cygesd-0.dll - os=4.0 img=1.0 sys=4.0
  cygesd-0.dll v0.0 ts=2005/8/21 18:04
  214k 2005/08/13 C:\cygwin\bin\cygFLAC++-5.dll - os=4.0 img=1.0 sys=4.0
  cygFLAC++-5.dll v0.0 ts=2005/8/13 3:09
  274k 2005/08/13 C:\cygwin\bin\cygFLAC-7.dll - os=4.0 img=1.0 sys=4.0
  cygFLAC-7.dll v0.0 ts=2005/8/13 3:04
   40k 2006/03/24 C:\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0
  cygform-8.dll v0.0 ts=2006/3/24 1:16
   45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
  cygform5.dll v0.0 ts=2001/4/25 0:28
   35k 2002/01/09 C:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
  cygform6.dll v0.0 ts=2002/1/9 0:03
   48k 2003/08/09 C:\cygwin\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0
  cygform7.dll v0.0 ts=2003/8/9 4:25
   28k 2003/07/20 C:\cygwin\bin\cyggdbm-3.dll - os=4.0 img=1.0 sys=4.0
  cyggdbm-3.dll v0.0 ts=2003/7/20 2:58
   30k 2003/08/11 C:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0
  cyggdbm-4.dll v0.0 ts=2003/8/10 21:12
   19k 2003/03/22 C:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
  cyggdbm.dll v0.0 ts=2002/2/19 21:05
   15k 2003/07/20 C:\cygwin\bin\cyggdbm_compat-3

window flashes and restart

2006-06-14 Thread [EMAIL PROTECTED]
when I connect through the bash shell with command xwin -q host, apppare to 
me a X window that flashes and restart.
What is the problem?

thank's for help


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



Re: rxvt usage issues under windows xp

2006-06-12 Thread [EMAIL PROTECTED]

Charles Wilson ha wrote
pstree will not work (except in -A mode) on rxvt, unless pstree is 
completely rewritten.
  

Duh. Ok:
alias pstree='pstree -A'

Thank you for the tip.

--
Diesis

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



rxvt usage issues under windows xp

2006-06-11 Thread [EMAIL PROTECTED]

Hello,
I've switched time ago from the standard cygwin.bat (cmd.exe) window, to 
rxvt.

It's miles away from the m$ command line, but I still have some issue.

First of all, here is my launch command taken from the web with some tweaks:
C:\cygwin\bin\rxvt.exe -bg black -fg white -si +sk -sw -sr -sl 65535 -fn 
Courier New-23-bold -ls -e /usr/bin/bash --login -rcfile ~/.profile


And in my .bashrc I have:
...
export CYGWIN=codepage:oem tty binmode title
export TERM=rxvt-cygwin-native
...

Now the issues:

#1
A-I want to scroll back manually, without resetting position, event if 
there is something scrolling on the screen. So I have setup -si -sw.

B-But I want to go on the prompt line on key press. So I have setup +sk.
A is working fine, B not. Why ?

#2
I used Windows Courier-New font, because it correctly show up character 
(for example, midnight commander) in other applications, like Putty.
In rxvt, it doesen't work well. I've tried Lucida Console too, but the 
result was the same. Why ?


Thanks for suggestions,

--
Diesis

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



Re: RPM's (was Re: unix 'at' command implementation)

2006-06-11 Thread [EMAIL PROTECTED]

Max Bowsher wrote

I've entertained fantasies of making integrating dpkg into setup.exe,
and making Cygwin packages be in .deb format

I'll certainly love .deb packages, surely apt support.
Cygwin is command-line, so it would be nice to ssh remotely in a 
machine, run

apt-get update  apt-get upgrade
to mantain the Cygwin system

--
Diesis

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



Re: gpg-agent: only one trouble before succesfull building

2006-06-11 Thread [EMAIL PROTECTED]

Renè,
thank you for your suggestions. I built pth-2.0.6.
It worked fine, but I had to add -I/usr/local/include .


if you try by hand the correct command it will work:
gcc -g -O2 -Wall -o gpg-connect-agent.exe  gpg-connect-agent.o no-libgcrypt.o
../jnlib/libjnlib.a ../common/libcommon.a ../gl/libgnu.a -lassuan -lpth
-lgpg-error -lintl -lz
The only difference is -lpth which is the output of /usr/bin/pth-config
--libs (or in your case /usr/local/bin/...). 


So after the error, I made:
cd tools
gcc   -I/usr/local/include -g -O2 -Wall   -o gpg-connect-agent.exe
gpg-connect-agent.o no-libgcrypt.o ../jnlib/libjnlib.a
../common/libcommon.a ../gl/libgnu.a -L/usr/local/lib -lassuan
-lgpg-error -lintl -lz -lpth
cd ..
make

And the gpg-agent built good.


So the problem was really an error on the generated Makefile,
you should report it to gnupg.
  

I'll do.

After building, I tried gpg-agent:

$ cd /usr/src/gnupg-1.9.20/agent
$ eval $(./gpg-agent --daemon)

Checked to be sure it is active:
$ ps -a | grep gpg-agent
 3012   13012   3012? 1005 16:52:40
/usr/src/gnupg-1.9.20/agent/gpg-agent

Checked that the environment is good:
$ set | grep GPG_AGENT
GPG_AGENT_INFO=/tmp/gpg-ptlT3p/S.gpg-agent:3012:

Checked that the socket is present:
$ ls /tmp/gpg-ptlT3p/
total 1
drwx--+ 2 mnt.vvngrl Nessuno  0 Jun 11 16:52 .
drwxrwxrwt+ 6 mnt.vvngrl Users0 Jun 11 16:52 ..
srwxr-xr-x  1 mnt.vvngrl Nessuno 53 Jun 11 16:52 S.gpg-agent

So, to be sure to use official cygwin gpg:
$ gpg --version
gpg (GnuPG) 1.4.2.1
Copyright (C) 2005 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA
Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512
Compression: Uncompressed, ZIP, ZLIB, BZIP2

Ok, let's do litte test:

$ echo test | gpg -ase -r 0xEFF5860B | gpg
gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information

You need a passphrase to unlock the secret key for
user: Gabriele Vivinetto [EMAIL PROTECTED]
1024-bit DSA key, ID E8FC81D7, created 2005-08-31

gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information
gpg: problem with the agent - disabling agent use
Enter passphrase:

Oh no...
*gpg: problem with the agent - disabling agent use*

May be official cygwin gpg lacks agent support ? How do I see if the gpg
executable is compiled with agent support ?
Ah, yes, I've tried the test, but another run of the test requested me
the password again.

P.S. tried to build pinentry too, installed and run eval $(gpg-agent
--daemon --pinentry-program /usr/local/bin/pinentry) but same failure...

--
Diesis


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



Re: RPM's (was Re: unix 'at' command implementation)

2006-06-11 Thread [EMAIL PROTECTED]

Christopher Faylor wrote

That's precisely why people think about integrating something like rpm
or deb into the packaging system.

May be someone has found the right way: cyg-apt.
It is in an early stage, does not handle 'in-use' file substitution, but 
for simple update-upgrade, it works.
I'm not saying that tar.bz2 is not a good packaging format, but only 
point out that now there is no CLI alternative to setup.exe.

Administering a Cygwin environment from the command line is better in IMHO.

I would hate to see this thread become a wish-fest when there is
obviously no one interested in doing this work.
My skills are too low to start and finish such a project. I'm not a 
coder, I'm a SysAdmin...


--
Diesis

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



Re: rxvt usage issues under windows xp

2006-06-11 Thread [EMAIL PROTECTED]

Igor, thank you for your reply.

Igor Peshansky wrote

export CYGWIN=codepage:oem tty binmode title


set CYGWIN in the global system environment instead.
  
Ok, I've set it in the main windows environment. Now from CDM.EXE 
prompt, CYGWIN is already set.



export TERM=rxvt-cygwin-native


And this is another problem -- this will bite you when you try using ssh.
...I suggest adding
-tn rxvt-cygwin-native 
to your rxvt command line instead of the above .bashrc line.
  
Ok, done this. Never had problems, because I haven't do any ssh to my 
machine since I've switched to rxvt.

Because you've misread the manpage.  +sk turns OFF scroll-on-keypress.
You want -sk instead.  This is not Cygwin-specific.
  

That's my fault !!! Now it's working perfectly :D


It's a Windows codepage issue.  rxvt uses the system-default codepage.
You'll probably need a customized font with the right characters in the
right places...
  
Oh yeah, I've red /usr/share/doc/Cygwin/rxvt-20050409.README and found 
mention about the font Lucida ConsoleP.
I've downloaded from http://home.online.no/~aageli/luconP.ttf, installed 
in Windows, and run a shortcut with:


C:\cygwin\bin\rxvt.exe -bg black -fg white -si -sk -sw -sr -sl 65535 -tn 
rxvt-cygwin-native -fn Lucida ConsoleP-22 -ls -e /usr/bin/bash --login 
-rcfile ~/.profile


Now mc is correctly displayed, but
pstree -p
is not drawen correctly (nor it was before) !!!


--
Diesis

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



gpg-agent: only one trouble before succesfull building

2006-06-10 Thread [EMAIL PROTECTED]

Hello,
This is a detailed story about the try to build gpg-agent under cygwin
I whish to use gpg-agent under cygwin, that is contained in the 
gnupg-1.9 tree only.


Here is what I have done:

#Install prerequisites

## libpth-1.4.4
cd /usr/src/
wget ftp://ftp.gnu.org/gnu/pth/pth-1.4.1.tar.gz
tar xvzf pth-1.4.1.tar.gz
cd pth-1.4.1
./configure
make
make test
make install

#libassuan
cd /usr/src/
wget ftp://ftp.gnupg.org/gcrypt/alpha/libassuan/libassuan-0.6.10.tar.gz
tar xvzf libassuan-0.6.10.tar.gz
cd
./configure
make
make install

#Installed this from official archives with setup.exe
# this is needed by libksba
# gettext

#libksba
cd /usr/src/
wget ftp://ftp.gnupg.org/gcrypt/alpha/libksba/libksba-0.9.14.tar.bz2
tar xvjf libksba-0.9.14.tar.bz2
cd libksba-0.9.14
./configure
make
make install

#Installed this from official archives with setup.exe
#libgpg-error
#libgcrypt

## Now the big ball
cd /usr/src
wget ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/gnupg-1.9.20.tar.bz2
tar xvjf gnupg-1.9.20.tar.bz2
cd gnupg-1.9.20
./configure --enable-agent-only
make

And now the funny part:
...
gcc   -I/usr/local/include -g -O2 -Wall   -o gpg-connect-agent.exe  
gpg-connect-agent.o no-libgcrypt.o ../jnlib/libjnlib.a 
../common/libcommon.a ../gl/libgnu.a -L/usr/local/lib -lassuan 
-lgpg-error -lintl -lz

/usr/local/lib/libassuan.a(assuan-io.o): In function `_assuan_simple_read':
/usr/src/libassuan-0.6.10/src/assuan-io.c:44: undefined reference to 
`_pth_read'

/usr/local/lib/libassuan.a(assuan-io.o): In function `_assuan_simple_write':
/usr/src/libassuan-0.6.10/src/assuan-io.c:55: undefined reference to 
`_pth_write'

collect2: ld returned 1 exit status
make[2]: *** [gpg-connect-agent.exe] Error 1
make[2]: Leaving directory `/usr/src/gnupg-1.9.20/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gnupg-1.9.20'
make: *** [all] Error 2

Ok, we lack pthread support ?
I investigated and found out that the make of libassuan said:
...
assuan-io.c:32: warning: weak declaration of 'pth_read' not supported
assuan-io.c:33: warning: weak declaration of 'pth_write' not supported
...

Mmmmh seems we need to add support when configuring
I read the docs of pth-1.4.1 and found the configure switch for this, but:

./configure --enable-pthread
...
make
...
./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pthread.c
In file included from pthread.c:42:
pthread.h:184: warning: useless keyword or type name in empty declaration
pthread.h:184: warning: empty declaration
pthread.h:347: error: conflicting types for 'pthread_kill'
/usr/include/sys/signal.h:163: error: previous declaration of 
'pthread_kill' was here

pthread.h:347: error: conflicting types for 'pthread_kill'
/usr/include/sys/signal.h:163: error: previous declaration of 
'pthread_kill' was here

make: *** [pthread.lo] Error 1

I cant' go out of this

Please help !

--
Diesis

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



Re: C exe redirection blank file

2006-05-08 Thread [EMAIL PROTECTED]
 sure I haven't, but if something in the program redirected 'stdout',
  would this have any affect like I'm experiencing - i.e. overriding the
  command line's redirection?

 As I said, anything is possible.  The important clue is that it runs always
 on one computer, it never runs on another (I should really say seems to).
I also run in on the development machine in a different folder structure -
e:\C\workshop\dir. Cygwin is installed on the E drive on the development
machine, and on C on the 'live' machine.

This reminds me of configuring serial printers settings had to match on
both the terminal and the printer!

Cheers
Andy

-- 
  _ __   _
//_  /  /| /_  /   /
 __//__ /  / |/__ /  /...Your friendly computer professionals
/ [EMAIL PROTECTED]

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



Re: C exe redirection blank file

2006-05-06 Thread [EMAIL PROTECTED]
Thanks again for your reply.

 The normal exit does flush and close all open file descriptors, 
I thought that was the case, so had not worried about closing the files.

 so what you are seeing is odd.
I agree. I've used some varied Unix systems in the past, and never had this.

 Now, the normal exit is part of the run time (crt0 or a similar name, that
 calls main and cleans up after) and that part is statically linked so,
 unless it depends on functionality on a Windows dll, it should not vary
 between machines.
Is there any way of checking which particular Windows.dll it could be
needing? Could there be any serial port setting that may be affecting it?
Incidentally I'm run a one minute cron job (for the working process) - would
that affect anything?

 I don't know if those basic libraries get Windows patches (updates in
 Microsoft-talk)... could be worth trying.
Ok understand in principal what you're saying. I have automatic updates
configured and scheduled.

  Is there a limit to the number of files on XP - like the old config.sys
  option files=99?
 I don't know.
Would archiving files to a separate directory help?

 That's a weird one, I have no idea what is going on (I was thinking about
 anti-virus or similar software that prevent creating files, but it doesn't
 look quite like that).
I have the same Anti-virus software on both PCs - AVG (and firewall). I could
try an additional test on my laptop - but not sure what that would tell me.
What do you think? Incidentally AVG does a scheduled virus scan nightly and
finds nothing.

Incidentally I tried something else today. I created a shell script junk.sh
that did the following:

echo starting problem program
./problem_program
echo ending problem program

I ran this with 
./junk.sh  junk.txt

Surprise, surprise in junk.txt I got 
starting problem program
ending problem program

with again none of problem_program's output!

* Is the chkdsk error significant, or is it just a red herring do you think?
* Have you ever heard of anything similar on Linux/Unix?
* Does windows have a lock on a file or something?
* I'm sure I haven't, but if something in the program redirected 'stdout',
would this have any affect like I'm experiencing - i.e. overriding the
command line's redirection?

Cheers
Andy Burgess

-- 
  _ __   _
//_  /  /| /_  /   /
 __//__ /  / |/__ /  /...Your friendly computer professionals
/ [EMAIL PROTECTED]

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



Re: C exe redirection blank file

2006-05-05 Thread [EMAIL PROTECTED]
Thanks for your reply,

  * Suddenly I could no longer redirect the output of this program, and the 
  two
  files it created were now blank.
 [snip]

 Did you forget to close the files 
Thanks for that, that's fixed the writing of the files! Dunno why that's
happened only on this machine. 

Is there a limit to the number of files on XP - like the old config.sys
option files=99?

 and/or are exiting the program in a non-standard way?
I don't think so. With issues - can't open port - I exit with a return -1
otherwise I just fall out of the bottom of the main(). 

chkdsk fixed errors this time, but I still have the problems with the file
system error (maybe a red herring), and ...

I still can't redirect output. Any advice on this v gratefully received.

Cheers
Andy

-- 
  _ __   _
//_  /  /| /_  /   /
 __//__ /  / |/__ /  /...Your friendly computer professionals
/ [EMAIL PROTECTED]

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



problems downloading cygwinports

2006-04-18 Thread [EMAIL PROTECTED]
I have some problems downloading Cygwin Ports packages from sunsite.dk. 
There are some packages in setup.ini that do not exist in the ftp 
directory (like libgda3)! This causes setup.exe to fail.
Have someone a solution for this situation?
 





Tiscali ADSL 4 Mega Flat
Naviga senza limiti a 19,95 euro al mese con 4 Megabps di velocità e 2 MESI 
GRATIS.
In più, se sei raggiunto dalla rete Tiscali, telefoni senza pagare il canone 
Telecom. Scopri subito come risparmiare!
http://abbonati.tiscali.it/prodotti/adsl/tc/4flat/


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



Win32 errors 487 and 5 after new 1.5.19-4 installation

2006-02-28 Thread [EMAIL PROTECTED]
Topic: Win32 errors 487 and 5 after new 1.5.19-4 installation

  On a working installation of cygwin, I used the setup utility to install 
additional and newer packages.  After the installation and with subsequesnt 
(re)installations, I get a tremendous amount of fork/memory allocation errors 
(Win32 error 487) at the rate of six out of seven times per command (used 
the commands man, startx, updatedb, and xterm to test); see below for examples
of the errors. 

  Using recommendations from the archived list and from google, I've eliminated
most of the occurances of the error except for xterm.  Although I'm happy with 
final configuration, I'm posting this as a datapoint incase other users start 
encountering Win32 errors with new installations, and to see if any of the 
experts notice a problem with my configuration that might be causing these 
memory issues.  Cygcheck.out is below as well.

Thanks,
Aaron

Action taken:

1. Deleted the entire installation, including the setup util, directories, 
Windows registry entries, and deleted the downloaded bits.  

2. Downloaded the latest setup util (2.510.2.2), and a new cygwin (1.5.19-4) 
distribution.

   (Test - Win32 error 487 still exists 6 out of 7 times per command)

3. Copied cywin directory from a working system (also 1.5.19-4). 

   (Test - Win32 error 487 still exists 6 out of 7 times per command)

4. Performed action #1 and #2 again.  Noticed no users accounts were created, 
needed mkgroup, and no GID (0).

   (Test - Win32 error 487 still exists 6 out of 7 times per command)

5. rebaseall

   (Test - Win32 error 487 still exists 6 out of 7 times per command)

6. regtool -i set /HKLM/Software/Cygnus\ Solutions/Cygwin/heap_chunk_in_mb 2048

   (Test - Win32 error 487 reduced to 2 out of 5 times per command, start 
seeing Win32 error 5)

7. Increase the non-interactive desktop heap 
http://support.microsoft.com/default.aspx?scid=kb;en-us;824422

   (Test - Win32 error 487 eliminated for all commands except xterm)

8. Gave up and soft linked rxvt ontop of xterm.

   (Test - no errors with man, updatedb, startx, bash and updatedb)


 Sample Win32 error 487 ---

$ startx

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.2.0-4

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

X :0 -multiwindow -clipboard

_XSERVTransmkdir: Cannot create /tmp/.X11-unix with root ownership
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
(==) FontPath set to /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TT
F/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/
X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
winSetEngine - Multi Window or Rootless = ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 1680 height: 1050 depth: 32
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32
null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of shar
ed memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 0409 (0409)
(--) Using preset keyboard for English (USA) (409), type 4
Rules = xorg Model = pc105 Layout = us Variant = (null) Options = (null
)
  7 [main] X 9536 child_copy: linked dll data write copy failed, 0x3EC000..0
x3EC040, done 0, windows pid 2286004, Win32 error 487
(EE) Couldn't load XKB keymap, falling back to pre-XKB keymap
(--) 5 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from li
st!
winPointerWarpCursor - Discarding first warp: 840 525

 Sample Win32 error 5 

[EMAIL PROTECTED] ~
$ updatedb
623 [main] ? (8988) C:\cygwin\bin\sh.exe: *** fatal error - couldn't allocat
e heap, Win32 error 487, base 0x4D, top 0x4E, reserve_size 61440, allocs
ize 65536, page_const 4096
 75 [main] sh 8408 child_copy: stack write copy failed, 0x22E300..0x23,
done 0, windows pid 2286132, Win32 error 5
/usr/bin/updatedb: fork

Wrong md5sum for gtk2-x11-devel..

2006-02-19 Thread [EMAIL PROTECTED]
In the current setup.ini setup-timestamp: 1140410404 the md5sum shown
  gtk2-x11/gtk2-x11-devel/gtk2-x11-devel-2.6.10-1.tar.bz2 436867 a614
is truncated: it should be a61454f191b6f8a15d3ae66529199bbf.
Fergus


mail2web - Check your email from the web at
http://mail2web.com/ .



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



More: Wrong md5sum for gtk2-x11-devel..

2006-02-19 Thread [EMAIL PROTECTED]
Sorry, I'm talking rubbish. Please ignore this daft assertion.
Fergus


mail2web - Check your email from the web at
http://mail2web.com/ .



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



Re: Errors compiling cdrtools under cygwin 1.5.19

2006-01-25 Thread [EMAIL PROTECTED]

I like this slogan:  Cygwin: nice, but not reliable.  We should adopt
this, and refer 90% of the mailing list complaints to it. :-)
Igor


I am not really sure how to understand the joke.

cygwin worked flawlessly for me for very long time. May be I have been 
lucky, but this made me develop an attitude of blind trust in cygwin.


Then came this 'getline' problem and what is confusing is not that 
things broke, but the reaction of the cygwin people.


What I saw is that it is possible that cygwin breaks from one day to the 
next in critical area, and the reaction will be that everything that 
breaks is at its own fault.


The problem is that if Apache have not fixed their 'getline' since 2002, 
it is very likely that they will not fix it soon, if at all. cygwin has 
quite a marginal place in comparison to all other operating systems they 
should address, an cygwin should be - due to this - a bit more careful 
when challenging the word.


At least for me with cygwin is over.

Iv.


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



Re: apache 1.3.34 can not compile anymore

2006-01-24 Thread [EMAIL PROTECTED]
Tried to roll back to 1.5.18-1 from the setup.exe, but now I get 10s of 
error messages from packages who do not find getline in the cygwin dll.


Horror...

Could anybody help me to compile apache 1.3.34 under cygwin with this 
getline change?


I need it compiled because of php and related stuff.

Thank you,
Iv


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



Re: apache 1.3.34 can not compile anymore

2006-01-24 Thread [EMAIL PROTECTED]

Hi,

thanks for the quick answer!


Select the desired version of the cygwin package in setup.exe.


Yes. Tried and now everything explodes crying for getline.


However, by doing this you just exacerbate the problem so that it
continues to exist.  What needs to happen is for users of Apache to
report this deficiency in its build system to the developers so that
future versions of Apache can be fixed.  Consider filing a PR at
http://issues.apache.org/bugzilla/ or posting on their mailing list.


Sounds reasonable.

I'll try that.

I just hope I will not lose my job until cygwin and apache show each 
other whose system what deficiencies has...


Iv


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



Re: apache 1.3.34 can not compile anymore

2006-01-24 Thread [EMAIL PROTECTED]

Brian Dessent wrote:

[EMAIL PROTECTED] wrote:


Tried to roll back to 1.5.18-1 from the setup.exe, but now I get 10s of
error messages from packages who do not find getline in the cygwin dll.


You would have to also use a previous version of any programs that need
getline().  I think this includes findutils and coreutils.


Could anybody help me to compile apache 1.3.34 under cygwin with this
getline change?

I need it compiled because of php and related stuff.


The patch in PR9894 is more or less what you want.  It won't apply
cleanly to 1.3.34 since it was generated against 1.3.24, but you get the
idea.

You could also do something like #define getline ap_getline at the top
of each of those three files, but the define would have to come after
stdio.h has been included.

Brian


Hi Brian,

thanks for the help.

I submitted a bug at apache -

http://issues.apache.org/bugzilla/show_bug.cgi?id=38364

Now trying to compile apache 2.2.0 and depending on the result I'll try 
your suggestions as well, though I need something stable and I do not 
like to dive into patches.


It's kind of shocking situation, but I guess it could not have been avoided.

Thanks again,
Iv


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



Re: PostgreSQL 8.1.2 crashes diring import...

2006-01-24 Thread [EMAIL PROTECTED]

Reini Urban wrote:

I see in your previous mail, that your cygserver SHM settings
are already at the maximum. Hope that your have that much RAM/Virtual Memory.


I did this just desperately looking for solution, but seems the problem 
is not there.



Your problem:
9 [main] postmaster 656 transport_layer_pipes::connect: lost
connection to cygserver, error = 121

Can you try running cygserver with -d. For testing best started from the
console, not as service. Maybe within a sysbash to have the same
permissions.


Yes, I did that but did not include it in the e-mail, as I did not see 
anything meaningful there (no obvious error message). I'll do it again 
and send it to the list in the next 2-3 days (lost time the last 1-2 
days with this).



BTW: My cygwin packages 8.06 and 8.1.2 to test against are at
the setup User Url: http://xarch.tu-graz.ac.at/publ/cygwin/


I went back to 8.0.4. I need something which I understand how it happens 
and why. Thanks, however.



I haven't tested yet such a big 3-4GIG import, a huge index might need
more than with 8.0, but the heavy and parallel regressions do all pass
so far.


OK I'll do the -d option and then we will see if we can do something.

Thanks for your input,
Iv


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



Re: Errors compiling cdrtools under cygwin 1.5.19

2006-01-24 Thread [EMAIL PROTECTED]

This falls into the same category as my previous discussion about
_POSIX_SOURCE.  If a program builds without problem on linux, the goal
is for it to build without problem on cygwin.  It seems like the
unconditional addition of getline to the headers moves us a step back
from that goal.


Is this also valid for Apache 1.3.34?

I think it compiles without problem on Linux, but does not compile on 
cygwin since getline() was implemented last month.


I do not want to heat the discussion, but getline() in cygwin played 
very hard against me.


I used cygwin happily for very long time to compile 
apache/php/postgresql and enjoy symlinks, and now I am cut-off from one 
day to the next. The apache folks do not seem to care. The bug I 
submitted is still without reply -


http://issues.apache.org/bugzilla/show_bug.cgi?id=38364

Apache 2.x/php 5.x do not want to play on cygwin so far.

So I am three days in the dark and testing like hell vmware and minigw 
to save my skin.


Seems this getline() breaks quite a lot and I am not quite sure this is 
_very_ positive for cygwin. People just get left alone in the dark (no 
everybody can debug and patch) and the pride of cygwin is somehow self 
focused. I would expect such dramatic moves to be done with more care. 
Otherwise I could call cygwin nice, but not reliable.


Iv.


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



Re: installation location of packages

2006-01-23 Thread [EMAIL PROTECTED]

Eric Blake wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to [EMAIL PROTECTED] on 1/22/2006 2:13 PM:

It seems to me that the cygwin packages are installed in different
locations than the locations they would go if ./compile make make
install are performed on the source.


Yes, many packages default to an installation prefix of /usr/local if no
options were given to ./configure, while cygwin packages intentionally
override this with ./configure --prefix=/usr.  This distinction is
recommended by the FHS (http://www.pathname.com/fhs/) so that you can
compile local updates of your favorite programs to /usr/local/bin without
overwriting the shipped system programs in /usr/bin.  But if you use
setup.exe to grab the sources, every one of those src tarballs should come
with directions (and usually with a script) that tells you exactly which
options were passed to ./configure when building the official cygwin
release of that package.


Thanks a lot for the clarification!

Iv.


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



PostgreSQL 8.1.2 crashes diring import - 8.0.4 does not

2006-01-23 Thread [EMAIL PROTECTED]
I am not sure if this is relevant for here, but as cygserver is 
involved, I thought it might be interesting.


PostgreSQL 8.1.2 crashes during import (postmaster loses connection to 
cygserver, details below) and 8.0.4 does the same import without problem 
(all versions since 7.4, if I am not wrong, worked fine with the same 
database).


Both 8.1.2 and 8.0.4 are compiled from source (./configure make make
install).

PostgreSQL 8.1.2 crashes again and again on the same place (somewhere
around the end of the import, after heavy indexes). Clean cygwin install
did not help. Increased configuration options (quoted below) of
cygserver did not help. Database is 3-4 GB imported, with indexes.

Does anyone have an idea what can it be?

Thanks,
Iv

--

psql last messages:

psql:db.sql:10372960: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
psql:db.sql:10372960: connection to server was lost

--

postmaster last messages:

  9 [main] postmaster 656 transport_layer_pipes::connect: lost
connection to cygserver, error = 121
LOG:  server process (PID 656) was terminated by signal 12
LOG:  terminating any other active server processes
LOG:  all server processes terminated; reinitializing
LOG:  database system was interrupted at 2006-01-24 00:18:13
LOG:  checkpoint record is at 1/5D901490
LOG:  redo record is at 1/5D901490; undo record is at 0/0; shutdown FALSE
LOG:  next transaction ID: 2340; next OID: 31154176
LOG:  next MultiXactId: 1; next MultiXactOffset: 0
LOG:  database system was not properly shut down; automatic recovery in
progress
LOG:  redo starts at 1/5D9014D8
LOG:  record with zero length at 1/5D916268
LOG:  redo done at 1/5D916218
LOG:  database system is ready
LOG:  transaction ID wrap limit is 2147484146, limited by database
postgres

--

cygserver.conf

# cygserver.conf, Copyright(C) 2003, 2005 Red Hat Inc.
#
# Contains configurable parameters for the cygserver.
#
# The format of this file is easy.  Lines beginning with a hash `#' are
# comments and ignored.  Lines consisting of only whitespaces are ignored.
# Any other line is a setting for cygserver.
# A setting consists of a name/value pair, separated by whitespace.
# Each line must only consist of one name/value pair.
# Lines must not be longer than 1023 characters.
#
# Some settings can be overridden by a command line switch.  If so, it's
# mentioned below.
#
# Settings which are commented out will use the default values.  These are
# mentioned below, too.

# kern.srv.cleanup_threads: No. of cygserver threads used for cleanup tasks.
# Default: 2, Min: 1, Max: 16, command line option -c, --cleanup-threads
#kern.srv.cleanup_threads 2

# kern.srv.request_threads: No. of cygserver threads used to serve
#   application requests.
# Default: 10, Min: 1, Max: 310, command line option -r, --request-threads
#kern.srv.request_threads 10

# kern.srv.process_cache_size: No. of concurrent processes which can be
handled
#  by Cygserver concurrently.
# Default: 62, Min: 1, Max: 310, command line option -p, --process-cache
#kern.srv.process_cache_size 62

# kern.srv.msgqueues: Determines whether XSI Message Queue support should be
# started, yes (or true, y, t, 1) or no (or false, n,
f, 0).
# These values are valid for all binary type options.
# Default is yes.  Command line option -q, --no-msgqueues
#kern.srv.msgqueues yes

# kern.srv.semaphores: Determines whether XSI Semaphore support should be
# started.  Default is yes.  Command line option -s, --no-semaphores
#kern.srv.semaphores yes

# kern.srv.sharedmem: Determines whether XSI Shared Memory support should be
# started.  Default is yes.  Command line option -m, --no-sharedmem
#kern.srv.sharedmem yes

# LOGGING

# kern.log.syslog: Determines whether logging should go to the syslog,
# Default is yes, if stderr is no tty, no otherwise.
# Command line option -y, --syslog or -Y, --no-syslog.
#kern.log.syslog no

# kern.log.stderr: Determines whether logging should go to stderr,
# Default is yes, if stderr is a tty, no otherwise.
# Command line option -e, --stderr or -E, --no-stderr.
#kern.log.stderr no

# kern.log.level: Logging level.  Valid values are 1 to 7 with a bigger
# value emitting more logging output.  Default level is 6.
# Command line option -l, --log-level.
#kern.log.level 6

# kern.log.debug: Determines whether debug output should be printed to
stderr.
# Default is no.  Command line option -d, --debug
#kern.log.debug no

# XSI message queue parameters.
#
# Each message is broken up and stored in segments that are msgssz bytes
# long.  For efficiency reasons, this should be a power of two.  Also,
# it doesn't make sense if it is less than 8 or greater than about 256.

# kern.ipc.msgseg: Maximum no. of message queue segments hold concurrently.
# Default: 2048, Min: 256, Max: 65535
#kern.ipc.msgseg 2048

# kern.ipc.msgssz: Size of segment in 

Re: PostgreSQL 8.1.2 crashes diring import...

2006-01-23 Thread [EMAIL PROTECTED]

Adding to my own message.

Just found this, which is from two years ago and reflects on the same 
problem -


http://www.cygwin.com/ml/cygwin-apps/2004-01/msg00014.html

This e-mail says that cygserver simply exits upon high load upon PostgreSQL.

This e-mail says that the problem is fixed -

http://www.cygwin.com/ml/cygwin-apps/2004-01/msg00179.html

Could it be that the problem has come back?

Iv


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



apache 1.3.34 can not compile anymore

2006-01-23 Thread [EMAIL PROTECTED]
apache 1.3.34 used to compile without problems under cygwin. Now make 
ends the following way -


=== src/support
make[2]: Entering directory `/home/src/apache/apache_1.3.34/src/support'
gcc -c  -I../os/cygwin -I../include   -DCYGWIN -DUSE_HSREGEX 
-DNO_DL_NEEDED `../apaci` htpasswd.c

htpasswd.c:101: error: conflicting types for 'getline'
/usr/include/sys/stdio.h:31: error: previous declaration of 'getline' 
was here

htpasswd.c:101: error: conflicting types for 'getline'
/usr/include/sys/stdio.h:31: error: previous declaration of 'getline' 
was here

make[2]: *** [htpasswd.o] Error 1
make[2]: Leaving directory `/home/src/apache/apache_1.3.34/src/support'
make[1]: *** [build-support] Error 1
make[1]: Leaving directory `/home/src/apache/apache_1.3.34'
make: *** [build] Error 2

I saw here related problems -

http://www.cygwin.com/ml/cygwin/2005-12/msg00183.html
http://www.mail-archive.com/cygwin@cygwin.com/msg62795.html

The second one points out that this is apache problem, but I compiled 
apache 1.3.34 tens of times for cygwin in the past months (last compile 
1-2 months ago) without any problem.


Could anybody tell me how can I roll back to cygwin 1-5-18, so that I 
can work until this is resolved?


Thanks,
Iv


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



installation location of packages

2006-01-22 Thread [EMAIL PROTECTED]
It seems to me that the cygwin packages are installed in different 
locations than the locations they would go if ./compile make make 
install are performed on the source.


Is that true and if yes are there anywhere instructions where these 
locations are so that they can be pointed to applications depending on 
them, when such applications are compiled. At the moment I am trying to 
compile Cyrus IMAP and as it seems I have to compile from source a lot 
of stuff it requires because things do not seem to find the cygwin 
packages, though these packages are installed.


Thanks,
Iv


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



Re: Running php scripts under cygwin

2006-01-22 Thread [EMAIL PROTECTED]
Thanks for the tips. Luckily I came back to the list after trying to 
build PHP with some options with no luck. I only need a static build and 
that installed fine. Then I had a warning about using date() and set the 
default timezone prior to the call in the script to get by that. Now it 
says mail() is an unknown function. What is this missing?


Here is how I compile php 5.x under cygwin.

I have these cygwin modules (may be you do not need all, just I do not 
know which you need) -


bison, bzip2, cvs, flex, gcc, gd, grep, keychain, libtool1.5, libxml, 
libxml2, libxml2-devel, make, openssh, perl, readline, rsync, 
subversion, unzip, vim, whois, zip


Get Apache 1.3.34 sources and php 5.1.1 sources.

Go into Apache sources directory and do

./configure

Go into php sources directory and do

./configure --with-apache=PATH_TO_APACHE_SOURCES --without-pear

(--without-pear is needed - otherwise does not work)

make
make install

make install will suggest that you add /usr/local/lib/php to your 
php.ini include_path.


Copy the php.ini into /usr/local/lib/php.ini and edit if needed.

Go back to the Apache sources directory.

./configure --activate-module=src/modules/php5/libphp5.a

make
make install

You might need to do

mv /usr/local/apache/libexec/libhttpd.dll /usr/local/apache/bin

With this you will have php cli, I believe, so you can execute scripts 
with cron.


Iv


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



Cyrus IMAP

2006-01-22 Thread [EMAIL PROTECTED]

Has anybody compiled successfully Cyrus IMAP under cygwin.

Thanks,
Iv


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



procedure entry point getline could not be located

2006-01-13 Thread [EMAIL PROTECTED]

I seem to have a cygwin problem that others have had, but the fixes that worked 

for them have not fixed my installation.

What further steps can I take to try and fix the error The procedure entry 
point getline could not be located in the dynamic link library cygwin1.dll?

Thanks.



Window title:   find.exe - Entry point not found

Message: The procedure entry point getline could not be located in the 

 dynamic link library cygwin1.dll



Happens when:   I launch cygwin or invoke find.exe.



I had a working but limited default install of Cygwin on Windows XP.

I ran the installer later, added dev tools, vim, wget, etc. Had

some disconnections after choosing modules before setup.exe did the downloads.

Because of the disconnects, I used 2 or 3 different mirrors on these attempts 
(Maybe I got dlls out-of-sync that way?)



Posts I've read: FAQ, Problems, and 40 posts (see list below).

The gist from other posts:

You have an old version of cygwin1.dll

You have multiple copies of cygwin1.dll

You have cygwin1.dll in a software distribution

After each attempt to fix, you need to reboot



Steps I've Tried:

Eliminating Duplicates: No duplicate cygwin1.dll showed up through the 

following searches.

Windows XP Explorer find   (one copy, as expected)

In CMD.EXE:

cd C:\

dir cygwin1.dll /s /a /b CYGWIN_DLL_S_A_B.txt

more \CYGWIN_DLL_S_A_B.txt

C:\cygwin\bin\cygwin1.dll (one copy, as expected)

In Cygwin terminal:

cd /cygdrive/c/

ls -R1  CYGWIN_DLL_ls-R1.txt

$ grep -c 'cygwin1.dll' /cygdrive/c/CYGWIN_DLL_ls-R1.txt

1



(Rebooting, restarting cygwin from desktop shortcut, with each attempt)

Shutting off firewall (which alerted as hostname.exe and uname.exe would launch)

Rolling back GNU coreutils to 5.2.1-5 from 5.3.0-9

Moving cygwin1.dll, and then selecting Reinstall in the installer.

C:\move C:\cygwin\bin\cygwin1.dll \home\monte\BKP\old_cygwin1.dll

Installing from local directory.



Posts that I've read on similar errors:

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00073.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00082.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00108.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00110.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00132.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00133.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00134.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00135.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00136.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00138.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00140.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00141.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00142.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00143.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00162.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00163.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00169.html

http://www.cygwin.com/ml/cygwin-xfree/2005-11/msg00128.html

http://www.cygwin.com/ml/cygwin-xfree/2005-11/msg00129.html

http://www.cygwin.com/ml/cygwin-xfree/2005-12/msg0.html

http://www.cygwin.com/ml/cygwin/1998-09/msg00307.html

http://www.cygwin.com/ml/cygwin/2001-04/msg00846.html

http://www.cygwin.com/ml/cygwin/2003-07/msg00011.html

http://www.cygwin.com/ml/cygwin/2003-07/msg00014.html

http://www.cygwin.com/ml/cygwin/2003-07/msg00043.html

http://www.cygwin.com/ml/cygwin/2003-07/msg00046.html

http://www.cygwin.com/ml/cygwin/2003-07/msg00314.html

http://www.cygwin.com/ml/cygwin/2004-02/msg00414.html

http://www.cygwin.com/ml/cygwin/2004-02/msg00422.html

http://www.cygwin.com/ml/cygwin/2004-02/msg00427.html

http://www.cygwin.com/ml/cygwin/2005-10/msg00102.html

http://www.cygwin.com/ml/cygwin/2005-10/msg00323.html

http://www.cygwin.com/ml/cygwin/2005-10/msg00324.html

http://www.cygwin.com/ml/cygwin/2005-10/msg00325.html

http://www.cygwin.com/ml/cygwin/2005-10/msg00327.html

http://www.cygwin.com/ml/cygwin/2005-10/msg00410.html

http://www.cygwin.com/ml/cygwin/2005-10/msg00411.html

http://www.cygwin.com/ml/cygwin/2005-10/msg00414.html



___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!



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



RE: procedure entry point getline could not be located

2006-01-13 Thread [EMAIL PROTECTED]

In my case, the following fix worked:

- delete all files from the local install directory

  e.g.  ftp%22%3A%2F%2F%somemirror-filefolder.com

- run setup, select All, then click the arrow switch to cycle through actions.

  Keep - Install - until Uninstall is displayed. Follow wizard until

  Uninstall is complete.

- verify absence of cygwin1.dll (click desktop icon, get error)

- run setup.exe again, with Defaults

Cygwin runs, with just the basics. Find and startup work without the 

getline error.



Now, let's see if I can add more than the basic defaults without horking it 
up...

- reboot

- run setup.exe

- choose a mirror

- make a zillion selections

- let the installer run



It works now!

I don't know which of these actions fixed the installation. Maybe one of the 
ini files in the install directory had a bad combination of versions. I'm sure 
I did not pick the exact same set of packages to install. I did not remove the 
exes and other files left behind after the uninstall.









___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!



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



RE: procedure entry point getline could not be located

2006-01-13 Thread [EMAIL PROTECTED]

Thanks for the info on findutils, Eric. I probably clicked one too many times 
on findutils, on the first try. My output from cygcheck does show the earlier 
version, now.

...

file 4.16-1

findutils4.2.25-2

fontconfig   2.2.2-1

...

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!



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



php5 on cygwin

2005-11-08 Thread [EMAIL PROTECTED]

Hello,

I had a brief communication with Tod on this mailing of his -

http://sources.redhat.com/ml/cygwin/2005-10/msg00077.html

I managed to compile Apache 1.3.34 and php 5.1 RC4 on cygwin and Tod 
suggested that I post it to the list for reference.


Here are the steps -

1. Get latest cygwin and the following packages -

bison, cvs, flex, gcc, gd, grep, keychain, libtool1.5, libxml, libxml2, 
libxml2-devel, make, openssh, perl, readline, rsync, unzip, vim, whois, zip


These are all packages I have and use. Some of them I had to install 
because Apache or php needed them, but I did not keep track which were 
for what. You can experiment by removing some that seem unneeded and see 
where it will stop working.


For sure you will need bison, flex, gcc, some of the libxml packages, 
make and readline.


2. Unzip the Apache source

In the Apache source directory type -

./configure

And press Enter.

3. Unzip the php source

In the php source directory type -

./configure --with-apache=[PATH TO APACHE SOURCE DIRECTORY FROM POINT 
1.] --with-pgsql


I use PostgreSQL so I quote it literally. Perhaps it would work with 
another database too and perhaps it will work without. Note that I did a 
default compile of PostgreSQL 8.0.4 from sources. I am _not_ sure if you 
get it as cygwin package that this way it will work, as I suspect that 
the cygwin PostgreSQL package is not installed in the same locations as 
if you compile PostgreSQL from source.


4. Still in the php source directory

make
make install

5. Go back to the Apache source directory

./configure --activate-module=src/modules/php5/libphp5.a
make
make install

Then configure httpd.conf by adding index.php to the indexes and -

AddType application/x-httpd-php .php

somewhere else.

This way of installing makes Apache to compile with php so that php is 
somehow embedded into Apache.


That's all. Start apache and you should have it.

If somebody has questions, I'll be glad to answer.

All best,
Iv


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



Re: php5 on cygwin

2005-11-08 Thread [EMAIL PROTECTED]

There are the binary cygwin packages for postgresql, just in test.
built yesterday
  (8.0.4 and 8.1.0)
  http://xarch.tu-graz.ac.at/publ/cygwin/release/postgresql/

In README is the binary layout. It should work OOTB.
--
Reini Urban


My experience is that the cygwin packaged PostgreSQL is placed in 
different places than if compiled from sources. This leads to 
difficulties compiling Apache w/ php without specifying where PostgreSQL 
is. That's why I compiled PostgreSQL, so that it can go to its default 
location.


But could be that I am completely wrong. Did not test extensively - just 
until what I needed started to work.



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



Failed xorg/XWin launch

2005-09-10 Thread [EMAIL PROTECTED]
To whom it may concern,
 
All 4 methods outlined in the User's Guide of launching xorg/XWin produced 
similar errors.  Further, attempts to cut-and-paste the contents of the 
XWin.log or sending it as an attachement have generated MAILER-DAEMON errors 
from your email server.
 
All requisite xorg packages (in addition to optional ones) are installed.
 
Here's another try of sending the contents (stripped of HTML content) to the 
XWin.log as a result of issuing $ sh /usr/X11R6/bin/startxwin.sh:
 
 
*
 
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.2.0-2
Contact: cygwin-xfree.
XWin was started with the following command line:
XWin -multiwindow -clipboard -silent-dup-error
ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1024 h 768
winInitializeDefaultScreens - Returning
_XSERVTransmkdir: Cannot create /tmp/.X11-unix with root ownership
(II) XF86Config is not supported
(II) See ...cygwin-x-faq for more information
(==) FontPath set to 
/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/
winAdjustVideoModeShadowGDI - Using Windows display depth of 16 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 1024 height: 768 depth: 16
winInitVisualsShadowGDI - Masks f800 07e0 001f BPRGB 6 d 16 bpp 16
null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of 
shared memory support in the kernel
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 0409 (0409) 
(--) Using preset keyboard for English (USA) (409), type 4
(--) 3 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from 
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from 
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from 
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from 
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from 
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing 
from list!
Fatal server error:
could not open default font 'fixed'
winDeinitMultiWindowWM - Noting shutdown in progress
 
**
 
The method for defining the PATH on the commandline yielded similar content in 
its XWin.log, but for brevity sake that has been omitted.  Another undesired 
behavior arose when defining the PATH, $PATH=%PATH:/usr/X11R6/bin, locally in 
BASH and returning to the commandline after startx failed-the PATH environment 
variable inherited from Windows, which provides access to cygwin/usr, 
cygwin/usr/bin and hence all the shell programs (commands).  The Windows 
inherited PATH variable restores when opening a new Cygwin session. 
 
Please advise as to how xorg can be successfully launched on my computer?
 
 
 
Thanks and best regards,
 
 
Keith Kuchenbecker
PS - Why does the XWin.log file contain text/HTML or MIME components that 
bounce in your email server?
 
 


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



new keyboard layout

2005-09-08 Thread [EMAIL PROTECTED]

Dear ,

Can you please add following keyboard layout.

Thanks.

Eric Van Nerum



(--) winConfigKeyboard - Layout: 0813 (0813) 
(--) Using preset keyboard for Dutch (Belgian) (813), type 4
(++) XKB: layout: be
(EE) Couldn't load XKB keymap, falling back to pre-XKB keymap




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



Compiling memtest from sources on cygwin

2005-06-19 Thread [EMAIL PROTECTED]

Hi, Gurus.

I try to make memtest86 from sources on cygwin and have the following error:

$ make
as -32 -o head.o head.s
head.s: Assembler messages:
head.s:623: Error: unknown pseudo-op: `.previous'
head.s:694: Error: can't handle non absolute segment in `ljmp'
head.s:917: Error: unknown pseudo-op: `.previous'
head.s:923: Error: unknown pseudo-op: `.previous'
head.s:929: Error: unknown pseudo-op: `.previous'
make: *** [head.o] Error 1

I suspect, that this is not right forum to ask, but I do not know where 
to look for the answer. My question is: what is '.previous' pseudo-op, 
and where should I look for assembler (GNU?) documentation.


Sorry again if I asked in a wrong forum.

Thank you for your time.

Alexei


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



Re: Compiling memtest from sources on cygwin

2005-06-19 Thread [EMAIL PROTECTED]

Cliff Hones wrote:




Not really on topic, and a quick google finds this:

  http://docs.sun.com/app/docs/doc/817-5477/6mkuavhre?a=view

so .previous is accepted by Sun's x86 assembler.  I can't see
any reference to .prefix in the Gnu assembler manual however
(google for gnu gas manual) - so I guess the memtest86
people may well be using Sun's.

Since .previous just reselects the previous section  it wouldn't
be difficult to edit the source (head.S) to manually reselect
the section.

BTW - the makefile uses head.s and head.S as separate files - so
to work under Cygwin you will need to use a managed mount.

-- Cliff



Hi, Cliff.

Thank you for prompt response.  I have just installed my ancient copy of 
Fedora and there 'make all' of memtest works OK. I also found 
'.previous' in 'info as' (on cygwin):



`.previous'
===

   This is one of the ELF section stack manipulation directives.  The
others are `.section' (*note Section::), `.subsection' (*note
SubSection::), `.pushsection' (*note PushSection::), and `.popsection'
(*note PopSection::).

   This directive swaps the current section (and subsection) with most
recently referenced section (and subsection) prior to this one.
Multiple `.previous' directives in a row will flip between two sections
(and their subsections).

   In terms of the section stack, this directive swaps the current
section with the top section on the section stack.


And since cygwin works under Windows I suspect, that cygwin people setup 
the 'as' program to support windows loader. Now I am thinking -- should 
I go to linux, or stay with cygwin. Actually I need to write a small 
program, which works on bare metall w/o any o/s.


Thank you again.

Alexei





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



Re: Compiling memtest from sources on cygwin

2005-06-19 Thread [EMAIL PROTECTED]

Brian Dessent wrote:



You could probably get what you want by building a cross-binutils.  Get
the binutils source and build with ./configure --host=i686-pc-cygwin
--target=i686-pc-linux.  Then build memtest with ./configure
--target=i686-pc-linux which should cause it to use the
'i686-pc-linux-as' you just built instead of Cygwin's 'as' which doesn't
grok ELF.  If memtest has more than just assembly files (i.e. C code
too) you'd probably need to build a cross-gcc as well.  The whole
crosscompiler business is better covered elsewhere, as it's not
Cygwin-specific.

Brian



Gerrit, Brian, thanks.

Now I got the idea. Actually, memtest is just a sample program, I wanted 
to know *how* can I write program, which can be loaded from floppy.

Now, I think, I know where to go next.

Thanks again,

Alexei


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



Problems with Cygwin Installer

2005-05-25 Thread [EMAIL PROTECTED]

I have run into this problem the Cygwin install many times and wish to know if 
I am doing something wrong or if there is a bug of some kind.

The Problem:

  I download the  the setup.exe and run it.  I choose either the Install from 
internet or the Download without installing options, pick a site, and am 
then presented with the package list.  I then proceed to spend 15-20 minutes 
going through the packages I want.  Then when it I click Next to begin 
downloading, I get a Download Incomplete or Installation Incomplete message and 
asks if I want to try again.  I say Yes, pick the same site, and then it 
complains about not being able to download the setup.ini file I believe.  Thus 
I've wasted about half an hour of time.  My only solution is  to download 
everything (which I don't really want to do) and then do a Install from Local 
Directory.

This has been happening for at least the past year and a half and has occurred 
on several computers that I've attempted to install on.  I'm very frustrated 
with this procedure.  Either I'm really doing something wrong or there's a very 
annoying bug that I'm surprised hasn't been noticed and fixed.  

Can someone enlighten me to what may be the problem.

___
Get Juno Platinum for as low as $4.97/month!
Unlimited Internet Access with 250MB of Email Storage.
Visit http://www.juno.com/half to sign up today!


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



Re: How to separate backspace and control-J functions?

2005-05-16 Thread [EMAIL PROTECTED]
--- Eric Blake [EMAIL PROTECTED] wrote:
 Backspace IS control-H, and you must live with it
 (or else submit a patch that creates a new terminal
 type, perhaps called
 cygwin-bs, with different key-mappings and new
 termcap/terminfo database
 entries, and a way for the user to select which of
 the two cygwin terminal
 types they want).  But if you are using rxvt or
 xterm, see this recent
 post for the trick to turn backspace into ^? instead
 of ^H, and for a web
 page with more details about changing your keyboard
 layout:

http://sourceware.org/ml/cygwin/2005-05/msg00472.html

That was indeed my mistake, I indeed meant ^H when I
said ^J.

Anyways, isn't there a terminal type for use with
cygwin that will differentiate between BACKSPACE and
^H?  

I'm surprised that cygwin does not, because every
linux/unix system I've used easily distinguished
between the two.

I didn't see a solution to this specific issue when I
followed the link to that post.
Thanks.
Kevin

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



How to separate backspace and control-J functions?

2005-05-15 Thread [EMAIL PROTECTED]
On my Debian Linux bash shell, the backspace key kills
the current character (backward-delete-char function
in .inputrc) and my ctrl-H key simply moves the cursor
left (backward-char function in .inputrc)

However, in cygwin's bash shell, whenever I use
.inputrc to assign a function to control-J, then the
backspace key gets the same function.  (the .inputrc
line is  \C-H: backward-char )

In cygwin, how can I assign ^J to backward-char but
leave the default behavior for the backspace key
(backward-delete-char)?




__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

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



can't separate backspace and ^J key functions

2005-04-23 Thread [EMAIL PROTECTED]
In cygwin's bash shell, whenever I use .inputrc to
assign a function to control-J, then the backspace key
gets the same function.

For example, as below it gives both keys
backward-char function:
\C-H:backward-char
RUBOUT:backward-delete-char 

How can I assign ^J to backward-char but have
backspace key assigned to backward-delete-char?


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: sshd problems

2005-04-16 Thread [EMAIL PROTECTED]
dear larry
thanks  a lot for your answer;
I don't understand very well your suggestion:

I wrote:
-$ nedit .ssh/known_hosts
-
-here I canceled lines rlative to cygwin machine and tried again:
-
-$ ssh [EMAIL PROTECTED]
-ssh: connect to host  port 22: Connection timed out
-$ ssh [EMAIL PROTECTED]
-ssh: connect to host  port 22: Connection timed out
-$
-
-Please, have you got any idea???

You answered:

Is sshd still running? If you were running it in debug mode, it won't be
now. Restart it. If it is running, I suggest stopping it and adding
debug flags (-d -d -d) to the sshd service and restarting. This will
generate debug information in the log that should be helpful.

-Yes sshd was running(i also tried today)
I do not understand te secon suggestion(I'm not an expert):
how can I know I'm running sshd in debug mode?
how do I add debug flags to the service?



Anyway i got some debug info in another way(-v flag):

here I try ssh from cygwin machine to itself:

ssh -v localhost
OpenSSH_4.0p1, OpenSSL 0.9.7f 22 mar  2005
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: Connection established.
debug1: identity file /home/user/.ssh/identity type -1
debug1: identity file /home/user/.ssh/id_rsa type -1
debug1: identity file /home/user/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software 
version OpenSSH_4.0
debug1: match: OpenSSH_4.0 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.0
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server-client aes128-cbc hmac-md5 none
debug1: kex: client-server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'localhost' is known and matches the
RSA host key.
debug1: Found key in /home/user/.ssh/known_hosts:2
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,
password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /home/user/.ssh/identity
debug1: Trying private key: /home/user/.ssh/id_rsa
debug1: Trying private key: /home/user/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue: publickey,
password,keyboard-interactive
debug1: Next authentication method: password
[EMAIL PROTECTED]'s password:
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
Last login:  from *



that's what happens when I try ssh from
linux machine (LM)  to the cygwin machine(CM)

ssh  -v [EMAIL PROTECTED] machine
OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to ip_cgwin machine
[ip_cgwin machine] port 22.
debug1: connect to address ip_cgwin machine port 22:
Connection timed out
ssh: connect to host ip_cgwin machine port 22:
Connection timed out

I also add the ssh from the CM to ip_CM

ssh -v ip_cgwin machine
OpenSSH_4.0p1, OpenSSL 0.9.7f 22 mar  2005
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to ip_cgwin machine [ip_cgwin machine]
port 22.
debug1: Connection established.
debug1: identity file /home/user/.ssh/identity type -1
debug1: identity file /home/user/.ssh/id_rsa type -1
debug1: identity file /home/user/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software
version OpenSSH_4.0
debug1: match: OpenSSH_4.0 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.0
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server-client aes128-cbc hmac-md5 none
debug1: kex: client-server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'ip_cygwin_machine' is known and matches
the RSA host key.
debug1: Found key in /home/user/.ssh/known_hosts:3
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,
password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /home/user/.ssh/identity
debug1: Trying private key: /home/user/.ssh/id_rsa
debug1: Trying private key: /home/user/.ssh

GDB/Insight for Pascal

2005-03-26 Thread [EMAIL PROTECTED]
Hi, Gurus.
I am trying to compile/debug a program in Pascal. I invoke it as
  gpc -g -o hello.exe hello.pas
Then I try to debug it with insight as:
  insight hello.exe
and 'insight' does not shom me a source, just assembly code.
But the same procedure for C:
  gcc -g -o hello.exe hello.c
works well - I can see source code and debug program.
What am I doing wrong?
Thanks a lot.
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


RE: New cygwin1.dll release urgently needed

2005-03-15 Thread [EMAIL PROTECTED]
Hi,
Ross Boulet wrote:

I'm assuming you meant to reference the released dll of
1.5.13 and the snapshot of 20050311 (instead of 2004).
bunzip2 WFM under the released dll.  Your problem probably
lies elsewhere and it would be helpful if you followed the
problem reporting guidelines shown at:
http://cygwin.com/problems.html

You are right, I meant 20050311.
With cygwin1.dll-20050311 everything works fine.

Instead with cygwin1.dll-1.5.13-1:

$bzip2 something.jpg

bzip2: I/O or other error, bailing out.  Possible reason follows.
bzip2: Permission denied
Input file = something.jpg, output file = something.jpg.bz2
bzip2: Deleting output file something.jpg.bz2, if it exists.
$

Also bunzip2 fails:
$bunzip2 cygwin-1.5.13-1.tar.bz2

bunzip2: I/O or other error, bailing out.  Possible reason follows.
bunzip2: Permission denied
Input file = cygwin-1.5.13-1.tar.bz2, output file =
cygwin-1.5.13-1.tar
bunzip2: Deleting output file cygwin-1.5.13-1.tar, if it exists.
$

The output of cygcheck -s is attached.

Bye.

R. Medina

Cygwin Configuration Diagnostics
Current System Time: Tue Mar 15 08:44:48 2005

Windows 98 SE Ver 4.10 Build  

Path:   .\
~\bin
c:\WINDOWS\Profiles\rmedina\My Documents\bin
C:\cygwin\usr\X11R6\bin
C:\cygwin\bin
c:\WINDOWS
c:\WINDOWS\COMMAND
c:\PROGRA~1\JAVA\J2RE14~1.2_0\BIN
C:\cygwin\USR\LOCAL\BIN

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 56503(rmedina) GID: 544(users)
544(users)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 56503(rmedina) GID: 544(users)
544(users)

SysDir: C:\WINDOWS\SYSTEM
WinDir: C:\WINDOWS

HOME = `C:\cygwin\home\rmedina'
LIBRARY_PATH = `/usr/X11R6/lib:/usr/local/lib'
MAKE_MODE = `unix'
PWD = `/home/rmedina'
USER = `rmedina'

Use `-r' to scan registry

a:  fd N/AN/A
c:  hd  FAT32 3069Mb  63% CPUN   
d:  hd  FAT32 6137Mb  91% CPUN   
e:  cd N/AN/A
f:  cd N/AN/A

C:\cygwin\usr\X11R6\lib\X11\fonts  /usr/X11R6/lib/X11/fonts  system  binmode
C:/cygwin  / system  binmode
C:/cygwin/bin  /usr/bin  system  binmode
C:/cygwin/lib  /usr/lib  system  binmode
.  /cygdrive system  
binmode,cygdrive

Not Found: awk
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: c:\WINDOWS\COMMAND\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Not Found: sh
Found: C:\cygwin\bin\tar.exe

   28k 2004/03/31 C:\cygwin\usr\X11R6\bin\cygDtPrint-1.dll
   77k 2004/03/31 C:\cygwin\usr\X11R6\bin\cygMrm-2.dll
   66k 2004/03/31 C:\cygwin\usr\X11R6\bin\cygUil-2.dll
   41k 2002/05/14 C:\cygwin\usr\X11R6\bin\cygPropList-0.dll
 1294k 2004/03/31 C:\cygwin\usr\X11R6\bin\cygXm-2.dll
  459k 2004/02/10 C:\cygwin\usr\X11R6\bin\cygXmHTML-0.dll
   36k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygFS-6.dll
  358k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygGL-1.dll
  438k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygGLU-1.dll
   75k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygICE-6.dll
 1413k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygOSMesa-4.dll
   30k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygSM-6.dll
  877k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygX11-6.dll
8k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXRes-1.dll
   27k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXTrap-6.dll
  254k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXaw-6.dll
  356k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXaw-7.dll
  363k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXaw-8.dll
9k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXcomposite-1.dll
   30k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXcursor-1.dll
   49k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXext-6.dll
   56k 2004/03/11 C:\cygwin\usr\X11R6\bin\cygXft-1.dll
   63k 2004/03/23 C:\cygwin\usr\X11R6\bin\cygXft-2.dll
9k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXdamage-1.dll
7k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXevie-1.dll
  282k 2003/10/28 C:\cygwin\usr\X11R6\bin\cygfreetype-9.dll
  275k 2004/01/13 C:\cygwin\usr\X11R6\bin\cygXaw3d-7.dll
   16k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXfixes-3.dll
   27k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXi-6.dll
   76k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXmu-6.dll
   11k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXmuu-1.dll
   26k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXp-6.dll
   52k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXpm-4.dll
   12k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXrandr-2.dll
   28k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXrender-1.dll
  282k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXt-6.dll
   17k 2005/02/23 

Creating a shared library does not work for me.

2005-02-26 Thread [EMAIL PROTECTED]
Hello, Everybody.
Maybe I am in wrong group, sorry for this - please point me to correct 
one. Anyway...

I am trying to do an example from Osborne GCC, The Complete Refference 
about creating a shared library under cygwin.

I have:
#include stdio.h
void shellofirst(void) {
printf(The first\n);
}
#include stdio.h
void shellosecond(void) {
printf(The second \n);
}
//stwohellos.c
void shellofirst(void);
void shellosecond(void);
int main() {
shellofirst();
shellosecond();
return(0);
}
and the shell:
gcc -c -fpic -shared shellofirst.c shellosecond.c
gcc -shared shellofirst.o shellosecond.o -o hello.so
gcc stwohellos.c hello.so -o hello.exe
when I run that shell, I have:
$ ./.sh
cc1: warning: -fpic ignored for target (all code is position independent)
cc1: warning: -fpic ignored for target (all code is position independent)
hello.so(.text+0x0):crtstuff.c: multiple definition of `___do_sjlj_init'
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/crtbegin.o(.text+0x0):crtstuff.c: 
first de
fined here
collect2: ld returned 1 exit status

Interestingly, that if I remove a 'shellosecond.c' -- I have success.
What I am doing wrong?
With best regards,
Alexei Kozlov
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Couldn't create signal pipe - User permission problem? (IIS6/Win2003)

2005-02-08 Thread [EMAIL PROTECTED]
Dear List,
I am seeking advice regarding the permissions it necessary for a windows
system user to have in order to successfully execute a binary that uses 
cygwin1.dll.

The binary in question is mkisofs.exe as supplied with the
cdrtools-2.01-win32-bin package. The package is supplied with
cygwin1.dll version 1.5.12, which I believe to be up to date.
My operating system is Windows 2003 server.
When I try to execute the binary it exists with the error message shown 
below:

3 [main] ? 1148 cygheap_user::init: OpenProcessToken(), Win32 error 5
D:\cgi-bin\cdrtools-2.01-win32-bin\mkisofs.exe (1148): *** couldn't
create signal pipe, Win32 error 0
I have identified Win32 error 5 as an access denied error.
I have verified that NTFS permissions are not at fault using a utility 
called FileMon from SysInternals to check file system accesses and their 
status. Im quite certain that the NTFS permissions are not the problem.

I am not executing mkisofs.exe from a command prompt or shell, but
rather as a CGI application from a PHP script running under the
IIS6 web server.
This worked fine under Windows 2000 on IIS5, and so I suspect that the 
problem relates to tighter security settings on IIS6 / Windows 2003.

I found this thread:
http://cygwin.com/ml/cygwin/2003-10/msg00447.html
I granted the user the application pool is running under create global 
objects permission as suggested. Additionally I have granted the user 
adjust memory quotas for a process and replace a process at token 
level as Microsoft suggests is necessary for CGI applications. But 
still the process exits with the same error message.

And so my question is, does anyone have any idea which permission might 
be missing and be causing this error to occur?

And does anyone have any experience with calling binaries that use 
cygwin1.dll as a CGI application under Windows 2003 and IIS6?

Thank you for your time,
Andrew
NB: I am still able to execute other binaries (that dont use 
cygwin1.dll) as this user under IIS6. For instance to call rar.exe.

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


cygpng12.dll not found

2005-01-22 Thread [EMAIL PROTECTED]
How can I get the cygpng12.dll?
I got the libpng12 installed via setup.exe.
But there is no cygpng12.dll
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: Obscene content in cygwin file.

2005-01-05 Thread [EMAIL PROTECTED]

rant

Maybe we should all wear helmets and seatbelts when at the keyboard
too, just so nobody gets hurt.  This political correctness makes me
think of what it must have been like in the USSR in 1955.

Remember what Bobby Slaton says, If you can't laugh at yourself...
...make fun of other people!

Li-ten-up.

Sheesh.

/rant

__
Speed up your surfing with NetZero HiSpeed.
Now includes pop-up blocker!
Only $14.95/month -visit http://www.netzero.com/surf to sign up today!


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



Can You Help Me

2004-11-27 Thread [EMAIL PROTECTED]
Hello - I need to contact you IT manager, or someone who works in your IT
department, to speak with them about changes 
being made to a local tier 3 provider that may effect your connectivity
over the next couple weeks.  Can you tell me who I 
should speak with and how to contact them?

Thank you,

Cindy Schmet
CloverNet


Top 10 Reasons Republicans Support Kerry

2004-10-15 Thread [EMAIL PROTECTED]
Republican Bill Shireman's Top 10 Reasons Republicans Support John Kerry

I'm a lifelong Republican, though I vote for the best candidate - or the
least objectionable one.  Four years ago, I hoped George Bush would be a
moderate, fiscally conservative leader, firm but thoughtful.  I have
been repeatedly disappointed.  My top 10 reasons for opposing George
Bush, and supporting John Kerry, are:

1. Stubborn is not Strong.   
2. You can't promote the Bill of Rights by violating it.  
3. You can't advance democracy by imposing it by force. 
4. Brave and Free, not fearful and insecure, are the qualities great
presidents inspire 
5. 30,000 deaths do not avenge the murder of 3,000 
6. Killing terrorists requires precise aim. 
7. You cannot protect 300 million rich by frightening 3 billion poor. 
8. In the military, Smart is as important as Strong 
9. Those who seek liberty through security lose both. Security is the
result, not the cause, of liberty. 
10. The Last Resort should be the last resort.

Some say Kerry and Bush are equally unacceptable.  That is a convenient
illusion.  Kerry has been an able, smart, capable, thoughtful
legislator.  He has demonstrated his heroism by placing his body in the
line of fire, to protect his men.  John Kerry will be a worthy resident
of the house Lincoln and Roosevelt once occupied.  

America is a great nation.  We need a fresh opportunity to demonstrate
that to the world.  I hope you will join me by committing your dollars
and sense to a cause to which many have devoted their lives.  

Join with me at:
http://www.democrats.org/epatriots/give.html?sourcecode=E006137

A Republican I admire very much, former Congressman Pete McCloskey, says
it much better than I, at this site:  www.pacsatpost.com/mccloskey.

And two websites that help provide an alternative to the negative,
divisive politics of the right and left: 
http://www.radicalmiddle.com/  (Radical Middle website)
http://noosphere.cc/iparticles.html (Integral Politics website)

Best wishes,

Bill Shireman
415-364-3839
[EMAIL PROTECTED]
www.future500.org

(Personal views of Bill Shireman, not representative of the views of
Future 500 companies, board members, or affiliates)

 
END OF MY EMAIL


  Bill Shireman
  President and CEO
  The Future 500
  415 Jackson St, 2nd Fl.
  San Francisco, CA  94110
  (415) 364-3839
  [EMAIL PROTECTED]
  www.future500.org

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



Re: inetd is unable to accept incoming connections when started as service on WinXP SP1

2004-10-13 Thread [EMAIL PROTECTED]
Igor,

thank you for quick replying.

I read the page following the link you gave me. It addresses another problem.

When I run 'inetd' from command line (bash) all works fine. That means there is
 not a configuration problem.
The key information is that 'inetd' refuses ALL incoming connections when
started as a service, no port is reachable.
I think there's a problem with 'accept' system call.

Michele Liberi

-- Initial Header ---

From  : Igor Pechtchanski [EMAIL PROTECTED]
To  : [EMAIL PROTECTED]
Cc  : [EMAIL PROTECTED]
Date  : Tue, 12 Oct 2004 12:18:50 -0400 (EDT)
Subject : Re: inetd is unable to accept incoming connections when started as
service on WinXP SP1

 On Tue, 12 Oct 2004, mliberi wrote:

  I downloaded on October, 7 a fresh cygwin package set, then I installed
  it on an XP SP1 box.
 
  After reading inetutils*.README, I tried to setup inetd as a service,
  with the following steps:
 
  1. added CYGWIN='binmode tty ntsec' to environment variables set
  2.added c:\cygwin\bin to PATH environment variable
  3.run 'mount' to ensure that /usr/bin, /usr/lib and / mountpoints have
'system' attribute set.
  4.rebooted the box
  5.installed inetd as service, /usr/sbin/inetd --install-as-service
  6.manually started service using windows GUI
 
  All seems ok, ps -ef reports two instances of running inetd , as
  expected.
  But when I try a connection to any server present in /etc/inetd.conf, I
  always obtain a 'can't connect' error message.
  Example:
  ftp localhost
  .. connection refused
  ftp
 
  It seems that inetd can't 'accept' the incoming connection.
 
  If I start inetd from command line (not as a service), all works fine.
 
  Does anybody know how to get it working as a service?

 It's hard to guess given the amount of information you provided, but it's
 possible that http://cygwin.com/ml/cygwin/2004-10/msg00631.html could be
 useful for you as well.
   Igor
 --
   http://cs.nyu.edu/~pechtcha/
   |\  _,,,---,,_  [EMAIL PROTECTED]
 ZZZzz /,`.-'`'-.  ;-;;,_  [EMAIL PROTECTED]
  |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski, Ph.D.
 '---''(_/--'  `-'\_) fL   a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

 Happiness lies in being privileged to work hard for long hours in doing
 whatever you think is worth doing.  -- Dr. Jubal Harshaw
 




Libero ADSL: navighi gratis a 1.2 Mega, senza canone e costi di attivazione. 
Abbonati subito su http://www.libero.it 



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



inetd is unable to accept incoming connections when started as service on WinXP SP1

2004-10-12 Thread [EMAIL PROTECTED]
I downloaded on October, 7 a fresh cygwin package set, then I installed it on an
XP SP1 box.

After reading inetutils*.README, I tried to setup inetd as a service, with the
following steps:

1. added CYGWIN='binmode tty ntsec' to environment variables set
2.added c:\cygwin\bin to PATH environment variable
3.run 'mount' to ensure that /usr/bin, /usr/lib and / mountpoints have 'system'
attribute set.
4.rebooted the box
5.installed inetd as service, /usr/sbin/inetd --install-as-service
6.manually started service using windows GUI

All seems ok, ps -ef reports two instances of running inetd , as expected.
But when I try a connection to any server present in /etc/inetd.conf, I always
obtain a 'can't connect' error message.
Example:
ftp localhost
.. connection refused
ftp

It seems that inetd can't 'accept' the incoming connection.

If I start inetd from command line (not as a service), all works fine.

Does anybody know how to get it working as a service?




Libero ADSL: navighi gratis a 1.2 Mega, senza canone e costi di attivazione.
Abbonati subito su http://www.libero.it


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

Re: SSH + CVS But no login.

2004-10-06 Thread [EMAIL PROTECTED]

Urgh!  SYSTEM is the account sshd is running under.  Don't remove that.

Various Guest/System accounts that weren't the SYSTEM account, I removed
IUSR_MOTHER and IWAM_MOTHER, the ASP.NET user etc.

I'm wondering why you *first* removed entries from passwd and *then*
asked if that's right instead of vice versa (which would be the natural
order if one don't know, wouldn't it?)

I have a vague memory of having done this previously in an older cygwin
instance on another box. I did of course back up my passwd file first, as
always, and have managed to log into the box fine as myself. But also:

 Ah, yeah. Um. I have a nasty head cold and was in a rush.

I don't feel too bright at the moment.

Under cygwin, I understood that the passwd file essentialy maps windows
users to cygwin settings.
username:unused:uid:grpid:windows account:home:shell

Without an entry in the cygwin passwd file a user with a valid windows
login can not authenticate into cygwin.

Was this wrong?

Mike


mail2web - Check your email from the web at
http://mail2web.com/ .



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



Today's Link of the Day Beautiful Photography Store

2004-10-03 Thread [EMAIL PROTECTED]
Today's link of the day comes from the art community in Southern California:

10.01.04: HOMEDECORPHOTO.COM

HomeDecorPhoto.com offers handcrafted photographs of beautiful Italian 
landscapes,
Abstract portraits, and French Landmarks.  They also have a section 
specifically on the beauty of the American National Parks such as Zion and 
Bryce.  Each signed photo comes beautifully matted straight and handcrafted 
from the artist, Ian Grant.

==
To visit today's link enter: http://www.homedecorphoto.com
==

*Stay tuned for tomorrow's interesting link-of-the-day
and if you are receiving this mailing by accident please don't hesitate to
unsubscribe (the information is at the bottom of this email)  Best Wishes!


Today's Link of the Day Beautiful Photography Store

2004-10-03 Thread [EMAIL PROTECTED]
Today's link of the day comes from the art community in Southern California:

10.01.04: HOMEDECORPHOTO.COM

HomeDecorPhoto.com offers handcrafted photographs of beautiful Italian 
landscapes,
Abstract portraits, and French Landmarks.  They also have a section 
specifically on the beauty of the American National Parks such as Zion and 
Bryce.  Each signed photo comes beautifully matted straight and handcrafted 
from the artist, Ian Grant.

==
To visit today's link enter: http://www.homedecorphoto.com
==

*Stay tuned for tomorrow's interesting link-of-the-day
and if you are receiving this mailing by accident please don't hesitate to
unsubscribe (the information is at the bottom of this email)  Best Wishes!

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



-multiwindow crash under XP

2004-08-16 Thread [EMAIL PROTECTED]
Hello,
   I am running the most recent version of the cygwin package under Windows 
XP.  Everytime I try to start an Xwin session in -multiwindow mode my 
Cygwin-X crashes.  This is where the hang-up occurs:

(WM) /tmp mounted int textmode
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
winSetEngine - Multi Window or Rootless = ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per 
pixel
winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 960 depth: 32
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 
32
null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello


Thanks for any help.




'Tang khong dien thoai!' Ban co nhan khong?

2004-08-04 Thread [EMAIL PROTECTED]

Chao ban [EMAIL PROTECTED]

Minh la [EMAIL PROTECTED]

Xin gioi thieu voi ban Chuong Trinh Dien Thoai Trao Tay  
http://www.sunrisevietnam.com/dienthoaitraotay.htm

[EMAIL PROTECTED]

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



Zaregistrujte se do OnlinePanelu!

2004-07-06 Thread [EMAIL PROTECTED]

Adam Polk Vs vyzv k asti na online vzkumech agentury Network Media Service. 
Stejn jako Adam Polk se mete zaregistrovat do panelu uivatel internetu - 
OnlinePanel.
ast na vkumech Vm pinese monost zskat zajmav odmny.

Pro registraci, prosm, kliknte na tento odkaz: 
http://www.onlinepanel.cz/registrace.php4?bnz_id=4753
Pokud V e-mailov klient nepodporuje monost oteveni www strnky pimo z textu 
e-mailu, zkoprujte celou adresu pmo do prohlee.

Dkujeme!

Vzkumn tm OnlinePanelu.

Network Media Service s.r.o.
Na Skalce 15, 150 00 Praha 5
telefon: +420.251566777
e-mail: [EMAIL PROTECTED]
http://www.onlinepanel.cz
bezplatn linka OnlinePanelu: 800555667 (800-555-NMS)

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



CYGWIN MUTT

2004-05-21 Thread [EMAIL PROTECTED]
Hello world

I need to send a mail with a single command line, I tried to use mutt but I don't 
understand where configure the smtp or pop3/imap parametrers.
What can I do?
Is there any other method to send an email?
Can I download or find in internet a program to do this?

Thanks in advance
Best regards

Gabriele


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



  1   2   3   4   >