Re: initdb and postgres both no longer work...

2004-08-23 Thread Corinna Vinschen
On Aug 22 09:05, [EMAIL PROTECTED] wrote:
> Yes, Corinna!
> initdb now works.
> Does it mean that we should use cygserver with CYGWIN=server and forget about
> ipc-daemon2 from now on.

That's the greater plan, yes.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
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: initdb and postgres both no longer work...

2004-08-23 Thread Reini Urban
[EMAIL PROTECTED] schrieb:
initdb now works.
Does it mean that we should use cygserver with CYGWIN=server and forget about
ipc-daemon2 from now on.
BTW:
/usr/share/doc/postgresql-7.4.3/FAQ_MSWIN
still has the wrong docs, talking about ipc-daemon2.
This should be fixed upstream, and in the CYGWIN-PATCH if not.
Attached is the doc patch, which talks about cygserver, replacing 
ipc-daemon2, points to /usr/share/doc/Cygwin/postgresql-.README 
to avoid duplication, and uses the new default paths 
/usr/share/postgresql replacing /var/postgresql/data,
and points to /var/log/postmaster.log

I didn't say anything about locale issues yet, which also changed.
(new --enable-multibyte)
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
--- /usr/share/doc/postgresql-7.4.3/FAQ_MSWIN.orig  2004-06-17 13:02:43.00100 
+0100
+++ /usr/share/doc/postgresql-7.4.3/FAQ_MSWIN   2004-08-23 12:05:44.528857400 +0100
@@ -1,10 +1,12 @@
 How to install PostgreSQL on Windows
 
 
-$Date: 2004/03/05 19:57:20 $
+$Date: 2004-08-23 12:59:17 $
 
 PostgreSQL requires the appropriate subset of Cygwin DLLs to be
 installed in order that it functions under Windows.
+Recent PostgreSQL releases require at least CYGWIN v1.5 
+with cygserver support, replacing ipc-daemon2.
 
 This document assumes that you do not have Cygwin already installed
 on your system.  If that is not the case, then you will need to
@@ -26,37 +28,45 @@
 Cygwin.
 
 3.  Once the download and install process is complete, open a Cygwin
-shell and do the following for a basic installation:
+shell and do the basic cygwin installation:
 
-3a.  Start ipc-daemon2 for shared memory support.  To do this,
- enter the command "ipc-daemon2 &".  This program
- needs to be running anytime you start the PostgreSQL server
- (postmaster) or initialize a database (initdb).
+Read the cygwin specific installation instruction. There is
+described how to start the cygserver daemon, initialize the
+database, and start the postmaster daemon.
 
-3b.  Use the initdb command to create a new database cluster.  An
- example command would be:
+   less /usr/share/doc/Cygwin/postgresql-.README
 
-initdb -D /usr/local/pgsql/data -W -E LATIN1
+In short:
 
- Which will create a cluster in the /usr/local/pgsql/data
- directory, will prompt for a superuser password and will
- set the default database encoding to LATIN1.
+   3a. Install and configure cygserver. The CYGWIN variable 
+   must contain "server".
 
-3c.  Start up the postmaster.  Use a command similar to the
- following:
+   $ cygserver-config
 
-postmaster -D /usr/local/pgsql/data
+   3b. Start cygserver:
 
- This will start the postmaster, and if successful you will
- see some initial log entries, and an entry "LOG: database
- system is ready".
+   $ cygserver &
+
+   3c. Initialize PostgreSQL:
+
+   $ initdb -D /usr/share/postgresql/data
+
+   3d. Start the PostgreSQL postmaster:
+
+   $ postmaster -D /usr/share/postgresql/data &
+
+   3e. Connect to PostgreSQL:
+
+   $ psql template1
+
+   3f. Examine /var/log/postmaster.log
 
 4.  You are now running a PostgreSQL server on your Windows machine.
 
-5.  It is possible to install ipc-daemon2 and the postmaster as
+5.  It is possible to install cygserver and the postmaster as
 Windows NT services.  For information on how to do this, please
-refer to the README document included with Cygwin PostgreSQL.  It
-is installed in the /usr/share/doc/Cygwin directory.
+refer to the same README document included with Cygwin PostgreSQL.  
+It is installed in the /usr/share/doc/Cygwin directory.
 
 Building from source
 

--
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: perl: cpan module's interactive mode fails

2004-08-23 Thread Dave Korn
> -Original Message-
> From: cygwin-owner On Behalf Of Gary R. Van Sickle
> Sent: 21 August 2004 05:10

> > >So really, textmode support is unavoidable, or else all the ported 
> > >tools have to be made aware of possible CR-NL line endings..
> > 
> > Well, nearly any native UNIX tool would be confused by CRLF 
> > endings.  If you are going to use Windows and UNIX tools like 
> > that then you sort of get what you deserve, IMO.  Just stick 
> > with Cygwin CVS and you'll be all set.
> 
> ...as long as you don't put the repository on a text mount.

  That would count as a case of "using Windows and UNIX tools like that and
getting what you deserve".


cheers, 
  DaveK
-- 
Can't think of a witty .sigline 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: sed and dos format

2004-08-23 Thread Hannu E K Nevalainen
You wrote:
> james pentland wrote:
> 
>> sed has the unfortunate property that it reduces dos
>> format line endings to unix format line endings.
> 
> Use a text mode mount.
> 
> Brian

Using a sledgahammer for a nail?
 Better to use unix2dos A.K.A. u2d.

/Hannu E K Nevalainen, B.Sc. EE Microcomputer systems--72-->

** mailing list preference; please keep replies on list **

-- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); --
--END OF MESSAGE--

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



Latest ssh can not be spawned from expect.

2004-08-23 Thread Andrew Louder
To whom it may concern:
 
My script works on a older cygwin software:
expect == 5.26
ssh == OpenSSH_3.6.1p2
 
My script fails on a current cygwin software:
expect == 5.26
ssh == OpenSSH_3.8.1p1
The symptons show that expect can not recognize the
ssh output, so
I will be prompted over and over again for the
password.
 
Also note, if I ssh from the older installation to the
current 
installation,
then my script works again.  It appears the problem
lives is term 
compatibility.
 
Andy
PS.  Here is my script and example successfull
execution:
$ cat t.exp
#!/usr/local.bin/expect -f
set timeout 60
send_user "Logging into pilot 172.18.64.110\n"
if {[catch {spawn ssh [EMAIL PROTECTED] != 0} {
send_user "PwrSlammer.exp could not telnet to
172.18.64.110\n"
exit -1
}
expect "Are you sure you want to continue connecting*"
  { send "yes\r" 
; exp_co
ntinue } \
   "password:*"   { send "pillar\r" ; exp_continue
} \
   "#"  { }
[EMAIL PROTECTED] /tmp
$ expect -f t.exp
Logging into pilot 172.18.64.110
spawn ssh [EMAIL PROTECTED]
[EMAIL PROTECTED]'s password:
Last login: Sat Aug 21 13:19:54 2004 from
coibmtest1.test.pillar
[EMAIL PROTECTED] root]#




__
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

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



mysql-4.0.20 with gcc-3.4.1, compile error on cygwin

2004-08-23 Thread Gerrit P. Haase
Hello,

getting this error with the gcc-3.4.1 test release for cygwin:

gcc -c -I. -I/instsoft/mysql/mysql-4.0.20/bdb/dist/../include  -O3 -DDBUG_OFF -g0 -O3  
/instsoft/mysql/mysql-4.0.20/bdb/dist/../env/env_open.c
/instsoft/mysql/mysql-4.0.20/bdb/dist/../env/env_open.c: In function `__dbenv_refresh':
/instsoft/mysql/mysql-4.0.20/bdb/dist/../env/env_open.c:453: warning: passing arg 1 of 
`__cygwin_lock_fini' from incompatible pointer type
/instsoft/mysql/mysql-4.0.20/bdb/dist/../env/env_open.c:453: error: void value not 
ignored as it ought to be
make[3]: *** [env_open.o] Error 1
make[3]: Leaving directory `/instsoft/mysql/mysql-4.0.20/.build/bdb/build_unix'


It works ok to build BDB with gcc-3.3.x, any ideas how to resolve this?


Gerrit
-- 
=^..^=


--
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: gobject-2.0 NOT FOUND!!

2004-08-23 Thread Larry Hall
At 07:15 AM 8/23/2004, you wrote:
>OS MSW-XP
>When I try to compile a simple GTK+ program I get a message sying that 'gobject-2.0' 
>was not found and to add to the PKG_CONFIG_PATH. I tried to do that but 'find.exe' 
>cound not find a 'gobject-2.0.pc', in fact it does not exist!
>Any body knows how to fix this problem?


The first step to problems like this is always the same.  Check to see 
what package has the thing you're missing and, if there is one, install
it via 'setup.exe'.  Visit  to get started.
You'll find you need to install the glib2-devel package in this case.

BTW, you posted to the wrong list.  You should post to the main cygwin 
list with questions like this.  I've redirected further follow-ups to 
that list.  Please leave cygwin-apps off any replies.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


--
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: Latest ssh can not be spawned from expect.

2004-08-23 Thread Igor Pechtchanski
On Mon, 23 Aug 2004, Andrew Louder wrote:

> To whom it may concern:
>  
> My script works on a older cygwin software:
> expect == 5.26

> ssh == OpenSSH_3.6.1p2
>  
> My script fails on a current cygwin software:
> expect == 5.26

> ssh == OpenSSH_3.8.1p1
> The symptons show that expect can not recognize the ssh output, so I 
> will be prompted over and over again for the password.
> 
> Also note, if I ssh from the older installation to the current 
> installation, then my script works again.  It appears the problem lives 
> is term compatibility.
>  
> Andy
> PS.  Here is my script and example successfull execution:
> $ cat t.exp
> #!/usr/local.bin/expect -f
^
> [snip]

Andy,

DISCLAIMER: I know nothing about expect, I don't use it, I don't even have 
it installed.

However, even without having used expect, the underlined lines above look 
suspicious.  According to , the 
latest version of the expect package for Cygwin is 20030128-1, *not* 5.26.  
Also, according to the package listing of expect-20030128-1, the "expect" 
program resides in /usr/bin, *not* /usr/local.bin...  Looks like you're 
not using Cygwin's expect, and so your question is off-topic for this 
list.  On the off chance that you *are* using the Cygwin expect package, 
and just aren't reporting the versions and paths correctly, please review

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

and follow the guidelines, especially the bit about attaching the output 
of "cygcheck -svr".
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

--
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: Latest ssh can not be spawned from expect.

2004-08-23 Thread Andrew Louder
Igor,

   Thankyou for your reply.  Actually I am
running expect out of /usr/bin/expect, the comment
line in the shell script is ignored since I am not
relying on the shell script to be executable when
I run the script.  I have no other unix tools
installed
on my PC.
   I got the version numbers by running ssh -v and 
expect -v.

Andy
   
--- Igor Pechtchanski <[EMAIL PROTECTED]> wrote:

> On Mon, 23 Aug 2004, Andrew Louder wrote:
> 
> > To whom it may concern:
> >  
> > My script works on a older cygwin software:
> > expect == 5.26
> 
> > ssh == OpenSSH_3.6.1p2
> >  
> > My script fails on a current cygwin software:
> > expect == 5.26
> 
> > ssh == OpenSSH_3.8.1p1
> > The symptons show that expect can not recognize
> the ssh output, so I 
> > will be prompted over and over again for the
> password.
> > 
> > Also note, if I ssh from the older installation to
> the current 
> > installation, then my script works again.  It
> appears the problem lives 
> > is term compatibility.
> >  
> > Andy
> > PS.  Here is my script and example successfull
> execution:
> > $ cat t.exp
> > #!/usr/local.bin/expect -f
> ^
> > [snip]
> 
> Andy,
> 
> DISCLAIMER: I know nothing about expect, I don't use
> it, I don't even have 
> it installed.
> 
> However, even without having used expect, the
> underlined lines above look 
> suspicious.  According to
> , the 
> latest version of the expect package for Cygwin is
> 20030128-1, *not* 5.26.  
> Also, according to the package listing of
> expect-20030128-1, the "expect" 
> program resides in /usr/bin, *not* /usr/local.bin...
>  Looks like you're 
> not using Cygwin's expect, and so your question is
> off-topic for this 
> list.  On the off chance that you *are* using the
> Cygwin expect package, 
> and just aren't reporting the versions and paths
> correctly, please review
> 
> > Problem reports:  
> http://cygwin.com/problems.html
> 
> and follow the guidelines, especially the bit about
> attaching the output 
> of "cygcheck -svr".
>   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
> 




___
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush

--
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: Latest ssh can not be spawned from expect.

2004-08-23 Thread Dave Korn
> -Original Message-
> From: cygwin-owner On Behalf Of Igor Pechtchanski
> Sent: 23 August 2004 16:56

> > My script works on a older cygwin software:
> > expect == 5.26
> 
> > ssh == OpenSSH_3.6.1p2
> >  
> > My script fails on a current cygwin software:
> > expect == 5.26
  
> However, even without having used expect, the underlined 
> lines above look 
> suspicious.  According to 
> , the 
> latest version of the expect package for Cygwin is 
> 20030128-1, *not* 5.26.  

  Red herring, I think.  It's a snapshot of v5.26 that was prepared on 28th
Jan 2003.  The way to determine the actual version number is to use "runtest
--version" or "expect -v".

[EMAIL PROTECTED] /artimi/firmware> runtest --version
WARNING: Couldn't find the global config file.
Expect version is   5.26
Tcl version is  8.4
Framework version is1.4.4
[EMAIL PROTECTED] /artimi/firmware>


[Mind you, I have upgraded my dejagnu framework, and I can't say for sure
that I didn't install expect from source and then forget I'd done so...]

cheers, 
  DaveK
-- 
Can't think of a witty .sigline 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: Latest ssh can not be spawned from expect.

2004-08-23 Thread Andrew Louder
Both machines report:
$ runtest -version
WARNING: Couldn't find the global config file.
Expect version is   5.26
Tcl version is  8.4
Framework version is1.4.2.x

I did use ssh -v to show that my
two installations version numbers.

Have you tried my script on your installation?

--- Dave Korn <[EMAIL PROTECTED]> wrote:

> > -Original Message-
> > From: cygwin-owner On Behalf Of Igor Pechtchanski
> > Sent: 23 August 2004 16:56
> 
> > > My script works on a older cygwin software:
> > > expect == 5.26
> > 
> > > ssh == OpenSSH_3.6.1p2
> > >  
> > > My script fails on a current cygwin software:
> > > expect == 5.26
>   
> > However, even without having used expect, the
> underlined 
> > lines above look 
> > suspicious.  According to 
> > , the 
> > latest version of the expect package for Cygwin is
> 
> > 20030128-1, *not* 5.26.  
> 
>   Red herring, I think.  It's a snapshot of v5.26
> that was prepared on 28th
> Jan 2003.  The way to determine the actual version
> number is to use "runtest
> --version" or "expect -v".
> 
> [EMAIL PROTECTED] /artimi/firmware> runtest --version
> WARNING: Couldn't find the global config file.
> Expect version is   5.26
> Tcl version is  8.4
> Framework version is1.4.4
> [EMAIL PROTECTED] /artimi/firmware>
> 
> 
> [Mind you, I have upgraded my dejagnu framework, and
> I can't say for sure
> that I didn't install expect from source and then
> forget I'd done so...]
> 
> cheers, 
>   DaveK
> -- 
> Can't think of a witty .sigline 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/
> 
> 




__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail

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



ADVERTISEMENT: Get a free ipod

2004-08-23 Thread Robert Pendell
Get a Free Ipod!  Refer at least 5 friends and complete an offer
online and you can get one!  This is NOT a scam or I wouldn't even be
mentioning this.  Use the link in this email to signup so I can get
credit for the referral.

Online proof that this is not a scam:
Wired News: Making Free IPods Pay Off
http://www.wired.com/news/mac/0,2125,64614,00.html?tw=wn_2culthead

Referral Link:
http://www.freeiPods.com/default.aspx?referer=8036837

--
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: Latest ssh can not be spawned from expect.

2004-08-23 Thread Dave Korn
> -Original Message-
> From: Andrew Louder [mailto:[EMAIL PROTECTED] 
> Sent: 23 August 2004 18:16
> To: Dave Korn; cygwin
> Subject: RE: Latest ssh can not be spawned from expect.
> 
> Both machines report:
> $ runtest -version
> WARNING: Couldn't find the global config file.
> Expect version is   5.26
> Tcl version is  8.4
> Framework version is1.4.2.x
> 
> I did use ssh -v to show that my
> two installations version numbers.
> 
> Have you tried my script on your installation?


  Yes, but it didn't work: since your machine is firewalled off to ssh
connections from the outside internet I couldn't get in, even despite you
having just posted your IP address and root password to the entire world at
large[*]...

cheers, 
  DaveK

[*] Don't try this at home, kids!
-- 
Can't think of a witty .sigline 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/



free ipod referral spam

2004-08-23 Thread Dave Korn


 Dear abuse team,

  One of your referral customers just spammed a public mailing list with an
advert for your promotion; you can see this in the mailing list archives at 
http://www.cygwin.com/ml/cygwin/2004-08/msg00858.html

  This is not what the list is for.  It is utterly unwelcome, off-topic,
unsolicited commercial email.  Please terminate this joker's referral
account at once, before he carries on spamming.

Thank you, 
  Dave Korn
-- 
Can't think of a witty .sigline 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/



problem starting the server in an XP account other than the one installing cygwin

2004-08-23 Thread Congwu Cui
I just installed cygwin in xp. I found that the X server could not be
started in any acccount other than that in which it is installled, even the
the account is an admistrator one. what do i need to do? thanks a lot. I am
new to this software.

Yours,
Congwu Cui



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



Apology for advertisement

2004-08-23 Thread Robert Pendell
I apologize for the advertisement.  It was in an automated request
script and got sent out without my intervention.  I checked who they
got sent out and sure enough [EMAIL PROTECTED] was among the list.  It
was a generic message and the ADVERTISEMENT part is kinda required
now.  Anyways this is a public apology and promise this won't happen
again (the automation part is disabled and I check the email addresses
now).

-- 
Robert Pendell
[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: Latest ssh can not be spawned from expect.

2004-08-23 Thread Andrew Louder
Yep, The machine is firewalled off.  Do you
have another machine your network you can
test the script?

--- Dave Korn <[EMAIL PROTECTED]> wrote:

> > -Original Message-
> > From: Andrew Louder [mailto:[EMAIL PROTECTED] 
> > Sent: 23 August 2004 18:16
> > To: Dave Korn; cygwin
> > Subject: RE: Latest ssh can not be spawned from
> expect.
> > 
> > Both machines report:
> > $ runtest -version
> > WARNING: Couldn't find the global config file.
> > Expect version is   5.26
> > Tcl version is  8.4
> > Framework version is1.4.2.x
> > 
> > I did use ssh -v to show that my
> > two installations version numbers.
> > 
> > Have you tried my script on your installation?
> 
> 
>   Yes, but it didn't work: since your machine is
> firewalled off to ssh
> connections from the outside internet I couldn't get
> in, even despite you
> having just posted your IP address and root password
> to the entire world at
> large[*]...
> 
> cheers, 
>   DaveK
> 
> [*] Don't try this at home, kids!
> -- 
> Can't think of a witty .sigline 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/
> 
> 




__
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

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



Postgres 7.4.3-1, plperl and perl-5.8.2

2004-08-23 Thread Kumar Pandey
Hi
 I'm trying to install plperl in Postgres 7.4.3-1 that
comes with cygwin on XP Home edition.

as per cygcheck - plperl install is failing as it
can't find perl5.8.2 dll. 

cygwin installer only allows me to install either 
perl 5.6.1-2 or perl perl-5.8.5.3

How do I intall perl-5.8.2 so that plperl language can
be installed.

Thanks
Kumar 



___
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now. 
http://messenger.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/



1.5.10: msgsnd between threads hangs, between processes ok..

2004-08-23 Thread Don Post
Hi All,

I have encountered a problem which I hope someone has seen and has a
work around for. While I was porting some code that is based on POSIX
threads and SYSV message queues I found that if the receiver (i.e.
caller to msgrcv) of the message queue is a child or sibling thread of
the sender (i.e. caller to msgsnd), then the msgsnd call hangs
indefinitely even though NOWAIT is specified. If the receiver (caller to
msgrcv) is another process, then all works fine. I have included a
simple program that spawns the receiver either as a process (i.e. fork)
or as a thread (pthread_create). When fork is used, all works find. When
pthread_create is used, the send hangs. Any ideas/workarounds? I have
included  the appropriate versions and I have verified that the
cygserver is running. Also after the code I have included the output
from cygcheck -s

Thanks,

-Don

#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 

static uint16_t   msgQueueMasterKey = 0xAC00;

typedef enum
{
CHILD_THREAD  = 1,
CHILD_PROCESS = 2
} client_mode_t;

void * doReceiveSide (void *argPtr)
{
intmsgQueueId;
char   msgBuffer[256];
intmsgCount;

msgCount = 0;
printf ("Receiver Running...\n");

msgQueueId = msgget(msgQueueMasterKey, IPC_CREAT|0660);

while (1)
{
msgCount++;
if (msgrcv (msgQueueId, msgBuffer, sizeof(msgBuffer), 0, 0) >=
0)
{
printf ("Message %d received: %s\n",msgCount, msgBuffer);
}
else 
{
printf ("Message not received: Error status returned.\n");
}
}

return NULL;
}

int main(int argc, char *argv[])

{
pthread_tthreadId;
int  msgQueueId;
char   * msgPtr = "This is the message.";
client_mode_tclientMode;

if (argc != 2)
{
printf ("%s: usage %s <-fork | -thread>\n", argv[0], argv[0]);
return 0;
}
else
{
if (strcmp (argv[1], "-fork") == 0)
clientMode = CHILD_PROCESS;
else if (strcmp (argv[1], "-thread") == 0)
clientMode = CHILD_THREAD;
else
{
printf ("%s: usage %s <-fork | -thread>\n", argv[0]);
return 0;
}
}

printf ("Starting client thread...\n");
if (clientMode == CHILD_PROCESS)
{
if (fork() == 0) doReceiveSide(NULL);
}
else if (clientMode == CHILD_THREAD)
{
pthread_create(&threadId, NULL, doReceiveSide, (void
*)msgQueueId);
}

msgQueueId = msgget(msgQueueMasterKey, IPC_CREAT|0660);

while (1)
{
printf ("Waiting 5 seconds...\n");
fflush(stdout);
sleep(5);

printf ("Sending message on queue %d...\n",msgQueueId);
fflush(stdout);

msgsnd (msgQueueId, msgPtr, strlen(msgPtr), IPC_NOWAIT);

}

}

-

cygcheck -s 


Cygwin Configuration Diagnostics
Current System Time: Mon Aug 23 14:01:55 2004

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path: C:\cygwin\usr\local\bin
 C:\cygwin\bin
 C:\cygwin\bin
 C:\cygwin\usr\X11R6\bin
 c:\WINDOWS\system32
 c:\WINDOWS
 c:\WINDOWS\System32\Wbem
 c:\PROGRA~1\COMMON~1\Odbc\FILEMA~1
 c:\Program Files\ATI Technologies\ATI Control Panel
 c:\Program Files\Rational\common
 c:\Program Files\Rational\ClearCase\bin
 "C
 C:\cygwin\Program Files\Symantec\Norton Ghost 2003\"
 c:\Program Files\Microsoft SDK\Bin\
 c:\Program Files\Microsoft SDK\Bin\WinNT\
 c:\Program Files\vslick\win
 c:\Program Files\Microsoft SDK\Bin\
 c:\Program Files\Microsoft SDK\Bin\WinNT\
 c:\PROGRA~1\MICROS~2\Common\msdev98\BIN
 c:\PROGRA~1\MICROS~2\VC98\BIN
 c:\PROGRA~1\MICROS~2\Common\TOOLS\WINNT
 c:\PROGRA~1\MICROS~2\Common\TOOLS\
 C:\cygwin\bin
 
c:\home\dpost\ccviews\dpost_vxworks\vxworks_vob\vxworks21\Tornado\host\x
86-win32\bin

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1003(dpost) GID: 513(None)
513(None)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1003(dpost) GID: 513(None)
544(Administrators)  545(Users)

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

CYGWIN = `server'
HOME = `c:\home\dpost'
MAKE_MODE = `unix'
PWD = `/lib'
USER = `dpost'

Use `-r' to scan registry

c:  hd  NTFS   30004Mb  60% CP CS UN PA FC 
d:  cd   N/AN/A
l:  hd  Ext2   44076Mb  50% CP CS  /
x:  net NTFS   134676Mb  46% CP CSPAdpost
z:  net  N/AN/A

C:\cygwin  /  system  binmode
c: /c system  binmode
c:\home/home  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:\home\dpost\ccviews\dpost_vxworks\vxworks_vob\vxworks21\Tornado\host\x
86-win32\bin\cat.exe
Found: C:\c

RE: Latest ssh can not be spawned from expect.

2004-08-23 Thread Dave Korn
> -Original Message-
> From: Andrew Louder 
> Sent: 23 August 2004 19:17
> To: Dave Korn; cygwin
> Subject: RE: Latest ssh can not be spawned from expect.
> 
> Yep, The machine is firewalled off.  Do you
> have another machine your network you can
> test the script?
> 

  Heh, sorry; I've not got ssh setup here at all.  When I first posted I
just wanted to confirm that there was nothing wrong with your expect version
number.

cheers, 
  DaveK
-- 
Can't think of a witty .sigline 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: __const use instead of const in one place

2004-08-23 Thread Jeff Johnston
Corinna Vinschen wrote:
On Aug 18 15:36, Peter Hinely wrote:
Hi,
I noticed that __const is used in one and only one place in the header files.  

Line 76 of \user\include\sys\unistd.h
char_EXFUN(*getpass, (__const char *__prompt));
That's the only place in all the header files.  Shouldn't it be changed to const?  

That's a newlib issue.  I've redirected to the newlib mailing list.
Corinna
A patch has just been checked in to make the getpass() prototype consistent with 
other function prototypes.

-- Jeff J.

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


Most recent sshd doesnt accept sessions (known issue)

2004-08-23 Thread Bart van der Werf \(Bluelive\)
Ive been using sshd on windows using cygwin for a year now with success
(altough i do need to copy a bit of registery info after every update
because it doesnot do the path mounts correctly for the service)

I updated all of cygwin and rebooted, now i cant login to the sshd
service anymore.

I saw this post so i guess ill just downgrade for now
http://sources.redhat.com/ml/cygwin/2004-08/msg00625.html

In the syslog i find:

The description for Event ID ( 0 ) in Source ( sshd ) cannot be found.
The local computer may not have the necessary registry information or
message DLL files to display messages from a remote computer. You may be
able to use the /AUXSOURCE= flag to retrieve this description; see Help
and Support for details. The following information is part of the event:
sshd : PID 652 : syslogin_perform_logout: logout() returned an error.

I guess only the last bit is intresting, any tips on what to do ?

I partily suspect XP-SP2 but it worked with SP2 before i did a full
cygwin update.

grtz, Bart



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



cp doesnot copy in certain cases of slash (\)

2004-08-23 Thread Koduru, Seshasai
Hi,

Following is the test case:
START-
C:\>c:\cygwin\bin\mkdir.exe -p c:\src c:\dst

C:\>c:\cygwin\bin\touch.exe c:\src\newfile

C:\>c:\cygwin\bin\cp.exe c:\src\newfile c:\dst
/usr/bin/cp: cannot create regular file `c:\\dst/c:\\src\\newfile': No
such file or directory

C:\>c:\cygwin\bin\cp.exe c:\src\newfile c:\dst\newfile

C:\>c:\cygwin\bin\cp.exe c:\src/newfile c:\dst
END-

In the first case of cp command it does not copy the file whereas in the
next two cases it copies properly. I am "JAM" which produces statements
like in case 1. So, is there any way in which cp will work for case 1
also?

Thanks,
Seshasai

--
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: Most recent sshd doesnt accept sessions (known issue)

2004-08-23 Thread CyberZombie
I am also running into this problem...but only on one of the 2 machines 
I have sshd running on.  They're both running the same version of sshd, 
and are both XP Pro SP1+latest patches (not SP2)...

Bart van der Werf (Bluelive) wrote:
Ive been using sshd on windows using cygwin for a year now with success
(altough i do need to copy a bit of registery info after every update
because it doesnot do the path mounts correctly for the service)
I updated all of cygwin and rebooted, now i cant login to the sshd
service anymore.
I saw this post so i guess ill just downgrade for now
http://sources.redhat.com/ml/cygwin/2004-08/msg00625.html
In the syslog i find:
The description for Event ID ( 0 ) in Source ( sshd ) cannot be found.
The local computer may not have the necessary registry information or
message DLL files to display messages from a remote computer. You may be
able to use the /AUXSOURCE= flag to retrieve this description; see Help
and Support for details. The following information is part of the event:
sshd : PID 652 : syslogin_perform_logout: logout() returned an error.
I guess only the last bit is intresting, any tips on what to do ?
I partily suspect XP-SP2 but it worked with SP2 before i did a full
cygwin update.
grtz, Bart

--
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: cp doesnot copy in certain cases of slash (\)

2004-08-23 Thread Ken Dibble
Given that you are using cygwin binaries which assume a POSIX 
environment in a DOS environment,
I am surprised that it ever works.

Koduru, Seshasai wrote:
Hi,
Following is the test case:
START-
C:\>c:\cygwin\bin\mkdir.exe -p c:\src c:\dst
C:\>c:\cygwin\bin\touch.exe c:\src\newfile
C:\>c:\cygwin\bin\cp.exe c:\src\newfile c:\dst
/usr/bin/cp: cannot create regular file `c:\\dst/c:\\src\\newfile': No
such file or directory
C:\>c:\cygwin\bin\cp.exe c:\src\newfile c:\dst\newfile
C:\>c:\cygwin\bin\cp.exe c:\src/newfile c:\dst
END-
In the first case of cp command it does not copy the file whereas in the
next two cases it copies properly. I am "JAM" which produces statements
like in case 1. So, is there any way in which cp will work for case 1
also?
 


--
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: problem starting the server in an XP account other than the one installing cygwin

2004-08-23 Thread Peter Rehley
On Aug 23, 2004, at 10:56 AM, Congwu Cui wrote:
I just installed cygwin in xp. I found that the X server could not be
started in any acccount other than that in which it is installled, 
even the
the account is an admistrator one. what do i need to do? thanks a lot. 
I am
new to this software.

You need to read http://cygwin.com/problems.html.  This provides 
guidelines as to what to provide when having problems with cygwin.


Yours,
Congwu Cui

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


[no subject]

2004-08-23 Thread Thomas Berger
Hello,
the following bug seems to have been introduced recently:
A command
rsync -avPz -e ssh /cygdrive/g/coop/a-dat/tst/tst_90.ald \
 duckling:/cygdrive/e/exposed/kirn
yields:
>>>
building file list ...
1 file to consider
wrote 89 bytes  read 20 bytes  31.14 bytes/sec
total size is 7438770  speedup is 68245.60
<<<
but the size of the resulting file is 7.438.826.
(rsync detects the difference and transfers the file again the next
time. and again. and again ...)
Both machines involved run cygwin with openssh-3.9p1-1 and
rsync 2.6.2-2, both /cygdrive's are mounted textmode ($CYGWIN also
contains nobinmode).
Downgrading to rsync 2.6.2-1 on the target machine resolves the problem.
viele Gruesse
Thomas Berger
--
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: {Virus?} pikxmaeujbqtxiyy

2004-08-23 Thread cgi
Dear user:

We regret, that due to staff and funding changes, support for cgi is 
unavailable

We sincerely apologize for the inconvenience this causes.

It may prove helpful to peruse the CGI documentation located at URLs
http://hoohoo.ncsa.uiuc.edu/cgi,
http://hoohoo.ncsa.uiuc.edu/docs/tutorials/cgi.html,
http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/Docs/fill-out-forms/overview.html

Thank you for your understanding,

NCSA HTTPd Technical Support

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



Design of setup.exe can make uninstallation of circularly dependent packages impossible

2004-08-23 Thread Sridhar Ramesh
I'm not sure if this is the right mailing list for this, but I'll give it a shot 
anyway.

I've been trying to uninstall the X11 packages for Cygwin, but a circular dependency 
combined with the nature of setup.exe seems to make this impossible. xorg-x11-bin 
requires libXft and libXft requires xorg-x11-bin. So, if both are installed, they 
become very difficult to remove: First you select one for uninstallation, then when 
you go to select the other for uninstallation you must toggle from Keep to Reinstall 
first, which reselects the first one for installation. The only possible way to select 
two things at once is if both are in the same category, but in this case, they aren't, 
so it appears there really is no way out. The same circular dependency problem exists 
with xorg-x11-bin and libXft1.

It seems this problem could easily be fixed if setup.exe toggled from Keep to 
Uninstall before toggling to Reinstall, instead of the current scheme. Then one could 
select packages for uninstallation without accidentally activating dependencies, and 
circularly dependent packages in different categories could thus be uninstalled.

Like I said, I'm not sure if this is the right mailing list on which to point out this 
problem. But for the time being, I just wanted to bring this to some attention (and 
also ask if there is any other way to uninstall X11).

-Sridhar Ramesh


--
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: grep: $ in PATTERN doesn't seem to work properly

2004-08-23 Thread Shankar Unni
Hannu E K Nevalainen wrote:
I would appreciate if this DOS-text-ism could be removed.
Would applying the above patch have hard to handle side effects?
I guess some important scripts could be affected :-7 ...
Umm, exactly what "fix" (change in behavior) did you have in mind?
--
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: sed and dos format

2004-08-23 Thread Brian Dessent
Hannu E K Nevalainen wrote:

> You wrote:
> > james pentland wrote:
> >
> >> sed has the unfortunate property that it reduces dos
> >> format line endings to unix format line endings.
> >
> > Use a text mode mount.
> 
> Using a sledgahammer for a nail?
>  Better to use unix2dos A.K.A. u2d.

I disagree.  He said he was doing this with many files.  It's far easier
to just mount the directory once as textmode and not have to change
anything than it is to edit all his scripts to run u2d afterward, and
have to remember to do that to all future scripts.  One "mount" command
versus potentially dozens of current and future script updates is hardly
a "sledgehammer for a nail".  Plus textmode mounts will keep his files
with DOS line endings no matter what processing he does, whereas "u2d"
requires that he remember to run that command any time he changes a file
with a cygwin program.  I don't see how you can advocate manually having
to do that every time when there's a feature built in to Cygwin to
handle this very thing and handle it more efficiently.

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: environment variable name converted to upper case

2004-08-23 Thread Shankar Unni
Christopher Faylor wrote:
To repeat, translating environment variables to uppercase is something
that *cygwin* does.  Check out environ.cc for more information.
Could the uppercasing be limited to certain environment variables? 
Particularly, only PATH, since that's common to both NT and Posix 
shells, but that NT allows in any case while Posix shells expect in 
uppercase?

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


OLOCA

2004-08-23 Thread Thuy-Linh Chu

I would like to suggest a couple more:

PLMKIYHAQ - Please Let Me Know If You Have Any Questions
PLMKIYHAP - Please Let Me Know If You Have Any Problems
PLMKIYHAQ/P - Please Let Me Know If You Have Any Questions/Problems

PLMKIYHAQ.

Sincerely,

Thuy-Linh Chu

--
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: Most recent sshd doesnt accept sessions (known issue)

2004-08-23 Thread Brian Dessent
"Bart van der Werf (Bluelive)" wrote:
> 
> Ive been using sshd on windows using cygwin for a year now with success
> (altough i do need to copy a bit of registery info after every update
> because it doesnot do the path mounts correctly for the service)
> 
> I updated all of cygwin and rebooted, now i cant login to the sshd
> service anymore.
> ...
> I guess only the last bit is intresting, any tips on what to do ?

http://www.cygwin.com/ml/cygwin-announce/2004-08/msg00031.html

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: Most recent sshd doesnt accept sessions (known issue)

2004-08-23 Thread Bart van der Werf \(Bluelive\)

> > I updated all of cygwin and rebooted, now i cant login to the sshd
> > service anymore.
>
> http://www.cygwin.com/ml/cygwin-announce/2004-08/msg00031.html

i decided to downgrade because i cant find what that -r flag actually
does





--
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: Design of setup.exe can make uninstallation of circularly dependent packages impossible

2004-08-23 Thread Max Bowsher
Sridhar Ramesh wrote:
I'm not sure if this is the right mailing list for this, but I'll give it 
a
shot anyway.

I've been trying to uninstall the X11 packages for Cygwin, but a circular
dependency combined with the nature of setup.exe seems to make this
impossible. xorg-x11-bin requires libXft and libXft requires xorg-x11-bin.
So, if both are installed, they become very difficult to remove: First you
select one for uninstallation, then when you go to select the other for
uninstallation you must toggle from Keep to Reinstall first, which 
reselects
the first one for installation. The only possible way to select two things 
at
once is if both are in the same category, but in this case, they aren't, 
so
it appears there really is no way out. The same circular dependency 
problem
exists with xorg-x11-bin and libXft1.

It seems this problem could easily be fixed if setup.exe toggled from Keep 
to
Uninstall before toggling to Reinstall, instead of the current scheme. 
Then
one could select packages for uninstallation without accidentally 
activating
dependencies, and circularly dependent packages in different categories 
could
thus be uninstalled.
That's a good idea - changing the order might allow a solution to this which 
does not involve totally redesigning the package picker. Time for me to dive 
into that bit of the code, I think.

Like I said, I'm not sure if this is the right mailing list on which to 
point
out this problem. But for the time being, I just wanted to bring this to 
some
attention (and also ask if there is any other way to uninstall X11).
Here is fine for initial reports (providing they mention setup.exe in the 
subject), and is the correct place for general questions. Cygwin-apps is the 
home of any developer-oriented discussion of setup.exe.

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


Very slow SCSI tape drive with cygwin/Win2kPro

2004-08-23 Thread Bill Nugent
Howdy,

I am having problems with very slowing reading from an Ultrium 1 SCSI 
tape drive (100GB capacity).  With the current version of cygwin (and 
older) the drive is reading less than 200KB/sec using tar, dd and cpio.  
The drive is capable of reading 16MB/sec.  There are no problems with 
Win2k's NTBackup and an evaluation version of the MKS Tool Kit so this 
appears to be a problem with cygwin.

The simplest way to see the problem is insert an Ultrium tape - say with 
the block size 16KB and run these commands with an otherwise quiescent 
system:

 mt -f /dev/nst0 setblk 8192
 tar -tf /dev/nst0 -b 32

and the SCSI bus activity light flashes about 8 times per second.

The hardware is a 1.4GHz AMD Athlon with 512MB memory, Adaptec 2940UW 
SCSI controller with three SCSI disks and the Ultrium tape drive.

cygwin is the current version and win2k Pro has all the current patches 
according to Windows Update.

Block size does not seem to be a factor.  I've tried 8k, 16k and 32k 
(over 32k doesn't work for some reason).

I've searched the on the web, the manuals, the FAQ and the cygwin list 
archive.

Just in case it is helpful I've included the output from
"mt -f /dev/st0 status 3" after rebooting at the end.

 Thanks in advance,
 Bill


[EMAIL PROTECTED] ~
$ mt -f /dev/st0 setblk 32768

[EMAIL PROTECTED] ~
$ mt -f /dev/st0 status 3
drive type   :   01 (Unknown type of tape device)
tape capacity: 102629376 KB  remaining:  8861696 KB
current file :0 active partition :0
current block:0 cur logical block:0
General status bits on (4503):
 BOT WR_PROT ONLINE IM_REP_EN HW_COMP
min block size   :2 max block size   :32768
def block size   :32768 cur block size   :32768
density code :   00 (default)
EOT zone size:0
Drive(r) Capabilities:
--
fixed length blocks: yesvar length blocks  : yes
set block size : yesfixed partitioning : no
select partitioning: no initiator partitioning : no
get logical blockno: yeslogical block spacing  : yes
get absolute blockno   : yesabsolute block spacing : yes
logical block immediate: yesabsolute block immediate   : yes
relative block spacing : yesbackward spacing   : yes
immediate rewind   : yesfast EOM spacing   : yes
immediate spacing  : no write marks immediate  : yes
filemark spacing   : yeswrite filemarks: yes
write long filemarks   : no write short filemarks  : no
report setmarks: no setmark spacing: no
write setmarks : no set report setmarks: no
sequential filemarks   : no sequential setmarks: no
load and unload: yesun/load immediate  : yes
lock and unlock: yesun/lock immediate  : no
tape retension : no retension immediate: no
erase on bop only  : no erase immediately  : yes
long erase : yesshort erase: yes
sw ejects media: yesreport write protection: yes
report EOT warn size   : yesset EOT warn size  : no
data padding   : no set data padding   : no
returns capacity   : yesreturns remaining  : yes
hw error correction: no set hw error correction: no
hw compression : yesset compression: yes
set comp. on bop only  : no report cleaning request: no

--
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: Most recent sshd doesnt accept sessions (known issue)

2004-08-23 Thread Brian Dessent
"Bart van der Werf (Bluelive)" wrote:

> > > I updated all of cygwin and rebooted, now i cant login to the sshd
> > > service anymore.
> >
> > http://www.cygwin.com/ml/cygwin-announce/2004-08/msg00031.html
> 
> i decided to downgrade because i cant find what that -r flag actually
> does

http://www.cygwin.com/ml/cygwin/2004-08/msg00702.html
http://www.cygwin.com/ml/cygwin/2004-08/msg00645.html

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/



FW: comport problem

2004-08-23 Thread Terry Dabbs


>  -Original Message-
> From: Terry Dabbs  
> Sent: Monday, August 23, 2004 6:58 PM
> To:   [EMAIL PROTECTED] com (E-mail)
> Subject:  comport problem
> 
> 
> 
> I've used a version of cygwin from June of 2003. I've loaded a new version, and 
> apparently gcc is now gcc-2.
> The problem is that I can't open the comport with the program that previous worked 
> well under the old cygwin/gcc. I noted references in my search for the solution 
> about gcc-2 or cygwin not accepting the name com1, com2 etc. 
> I' love some direction here. 
> 
> Terry Dabbs
> 

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



gobject-2.0 NOT FOUND!!

2004-08-23 Thread Maya
OS MSW-XP
When I try to compile a simple GTK+ program, after intalling the gtk+ packages from 
'cygwin' I get a message sying that 'gobject-2.0' was not found and to add to the 
PKG_CONFIG_PATH. I tried to do that but 'find.exe' cound not find a 'gobject-2.0.pc', 
in fact it does not exist!
Any body knows how to fix this problem?
TIA

-- 
FYI
http://www.astro.umd.edu/~marshall/abbrev.html

E-Mail Policy
http://www.vif.com/users/escalante/Email_Policy.html

* You cannot exercise your power to a 
  point of humiliation.
   - Jean Chretien

* The media's the most powerful entity on earth. They have the power to make the 
innocent guilty and to make the guilty innocent, and that's power.
 - Malcom X
You experience miracles everyday, the first one today happened when you first opened 
your eyes!
 --- Jorge Escalante


__
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp

--
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: initdb and postgres both no longer work...

2004-08-23 Thread Jason Tishler
Reini,

On Mon, Aug 23, 2004 at 01:07:39PM +0200, Reini Urban wrote:
> BTW:
> /usr/share/doc/postgresql-7.4.3/FAQ_MSWIN
> still has the wrong docs, talking about ipc-daemon2.
> This should be fixed upstream, and in the CYGWIN-PATCH if not.

See attached.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6
--- Begin Message ---
As per the following:

http://archives.postgresql.org/pgsql-cygwin/2004-07/msg00090.php

Thanks,
Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6
Index: FAQ_MSWIN
===
RCS file: /projects/cvsroot/pgsql-server/doc/FAQ_MSWIN,v
retrieving revision 1.19
diff -u -p -r1.19 FAQ_MSWIN
--- FAQ_MSWIN   28 Nov 2003 20:22:18 -  1.19
+++ FAQ_MSWIN   20 Jul 2004 11:22:08 -
@@ -28,8 +28,8 @@ adjust these instructions accordingly.
 3.  Once the download and install process is complete, open a Cygwin
 shell and do the following for a basic installation:
 
-3a.  Start ipc-daemon2 for shared memory support.  To do this,
- enter the command "ipc-daemon2 &".  This program
+3a.  Start cygserver for shared memory support.  To do this,
+ enter the command "/usr/sbin/cygserver &".  This program
  needs to be running anytime you start the PostgreSQL server
  (postmaster) or initialize a database (initdb).
 
@@ -53,7 +53,7 @@ adjust these instructions accordingly.
 
 4.  You are now running a PostgreSQL server on your Windows machine.
 
-5.  It is possible to install ipc-daemon2 and the postmaster as
+5.  It is possible to install cygserver and the postmaster as
 Windows NT services.  For information on how to do this, please
 refer to the README document included with Cygwin PostgreSQL.  It
 is installed in the /usr/share/doc/Cygwin directory.
@@ -95,4 +95,8 @@ Known issues
 
 (On some systems you can have up to about 10 simultaneous connections).
 
+3.  The default cygserver configuration may need to be changed (e.g.,
+increase SEMMNS) to prevent PostgreSQL from failing due to a lack of
+system resources.
+
 Problem reports can be sent to [EMAIL PROTECTED]
--- End Message ---
--
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: gtk2-x11: Functions whose name started with '_'

2004-08-23 Thread Yaakov Selkowitz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gerrit P. Haase wrote:
| Not too bad.  Ported including building the libs with libtool?
Yes.  Trying to get a complete autoreconf was too difficult, as
configure.in would have to be entirely rewritten.  Instead I left the
autotools as-is, manually added the -no-undefined flag, and patched in a
new version of libtool after running configure.
I'll try to ITP glib-1.2 and gtk+-1.2 sometime this week.
| However, I have GIMP running here.  So if they can build gimp without
| using private symbols, why isn't it possible for others to do so?
| Which applications are affected?  I want to try to build them without
| using the private symbols.
I don't know WHY some programs use the private symbols, but apparently
there are some that do.  Hansom Young (CyGnome projects) mentioned
gnome-commander and d4x.  There could very well be others as well.
I personally have seen this with wxGTK2, but I backported some CVS
patches and now it builds; I'll have to test both wxGTK and wxGTK2 with
these changes to see if I didn't break anything; I'll keep you posted.
Yaakov
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBKpFMpiWmPGlmQSMRAv2AAKCe1kv+EVyaDw3MWPA4M91hQ43L7wCfRlkJ
DSsuguvAnWIE19I2BqglbFU=
=Q47C
-END PGP SIGNATURE-
--
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: environment variable name converted to upper case

2004-08-23 Thread Larry Hall
At 05:13 PM 8/23/2004, you wrote:
>Christopher Faylor wrote:
>
>>To repeat, translating environment variables to uppercase is something
>>that *cygwin* does.  Check out environ.cc for more information.
>
>Could the uppercasing be limited to certain environment variables? Particularly, only 
>PATH, since that's common to both NT and Posix shells, but that NT allows in any case 
>while Posix shells expect in uppercase?


I'm not sure what you mean by 'Posix shells'.  Shells that come with the
Cygwin environment don't expect uppercase.  Windows (and DOS) do, really.
Is it possible to change the behavior in Cygwin to selectively uppercase
environment variables inherited from Windows?  Sure.  I doubt it will happen
unless there's a really good reason to do so, since it introduces complexity.
But, if you decide to make the change yourself for your own needs, feel free
to submit the patch to cygwin-patches.  If I'm wrong and/or if you can make 
a good case for it, I'm sure it will be accepted.



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


--
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: gobject-2.0 NOT FOUND!!

2004-08-23 Thread Larry Hall
At 08:02 PM 8/23/2004, you wrote:
>OS MSW-XP
>When I try to compile a simple GTK+ program, after intalling the gtk+ packages from 
>'cygwin' I get a message sying that 'gobject-2.0' was not found and to add to the 
>PKG_CONFIG_PATH. I tried to do that but 'find.exe' cound not find a 'gobject-2.0.pc', 
>in fact it does not exist!
>Any body knows how to fix this problem?
>TIA


Well, first let's start with the response I gave to your previous post
on this subject:



Can you fill us in on why this doesn't answer your question?



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


--
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: environment variable name converted to upper case

2004-08-23 Thread Christopher Faylor
On Mon, Aug 23, 2004 at 02:13:56PM -0700, Shankar Unni wrote:
>Christopher Faylor wrote:
>>To repeat, translating environment variables to uppercase is something
>>that *cygwin* does.  Check out environ.cc for more information.
>
>Could the uppercasing be limited to certain environment variables?
>Particularly, only PATH, since that's common to both NT and Posix
>shells, but that NT allows in any case while Posix shells expect in
>uppercase?

I don't see any reason to do so.  This is trivial to work around and
cygwin's current behavior has not changed for many years.

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



MinGW-CE anyone?

2004-08-23 Thread Enzo Michelangeli
Is there any package (gcc back-end) able to cross-compile, on a
Cygwin-based host, C programs for PocketPC 2003 (with ARM CPU), in a way
that does not require a non-MS support dll? In other words, something
similar to the MinGW mode enabled by -mno-cygwin, but generating PocketPC
executables instead of Win32.

TIA --

Enzo



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