posgresql

2004-11-08 Thread Loyiso Tyira - BCX - Networks

Hi guys,

I am trying to install posgresql on cygwin. I have installed postgesql
and cygipc. Did the following steps

1. $ ipc-daemon
2. $ mkdir /whatever/path/pgsql
3. $ initdb -D /whatever/path/pgsql
4. $ pg_ctl -D /whatever/path/pgsql -o -i start
5. $ createdb testdb

But step 3 fails in the end.
Can anyone help

Kind Regards,
Loyiso Tyira
Networks
Business Connexion (Pty) Ltd


  Office:  +27 (0)11 266 5843   
  Mobile:  +27 (0)73 368 3966   
  Fax: +27 (0)11 266 6854   
  Email:   [EMAIL PROTECTED]
  Web Site:   www.bcx.co.za 

NOTICES:
1. This message and any attachments are confidential and intended solely
for the addressee. If you have received this message in error, please
notify the sender at Business Connexion (Pty) Ltd immediately. Any
unauthorised use, alteration or dissemination is prohibited.
2. Business Connexion (Pty) Ltd accepts no liability whatsoever for any
loss whether it be direct, indirect or consequential, arising from
information made available and actions resulting there from.
3. Please note that Business Connexion only binds itself by way of
signed agreements. 'Signed' refers to a hand-written signature,
excluding any signature appended by 'electronic communication' as
defined in the Electronic Communications and Transactions Act, no. 25 of
2002.
4. Directors: P.A. Watt, L.B. Mophatlane, A.C. Farthing (British), B.
Sithole, I. Mophatlane, M.W. Schoeman.
5. Business Connexion (Pty) Ltd Company Registration Number:
1993/003683/07


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 08 November 2004 10:52 AM
To: Loyiso Tyira - BCX - Networks
Subject: WELCOME to [EMAIL PROTECTED]

Hi! This is the ezmlm program. I'm managing the
[EMAIL PROTECTED] mailing list.

Acknowledgment: I have added the address

   [EMAIL PROTECTED]

to the cygwin-apps mailing list.

Welcome to [EMAIL PROTECTED]

Please save this message so that you know the address you are
subscribed under, in case you later want to unsubscribe or change your
subscription address.


--- Administrative commands for the cygwin-apps list ---

I can handle administrative requests automatically. Please
do not send them to the list address! Instead, send
your message to the correct command address:

To subscribe to the list, send a message to:
   [EMAIL PROTECTED]

To remove your address from the list, send a message to:
   [EMAIL PROTECTED]

Send mail to the following for info and FAQ for this list:
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]

Similar addresses exist for the digest list:
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]

To get messages 123 through 145 (a maximum of 100 per request), mail:
   [EMAIL PROTECTED]

To get an index with subject and author for messages 123-456 , mail:
   [EMAIL PROTECTED]

They are always returned as sets of 100, max 2000 per request,
so you'll actually get 100-499.

To receive all messages with the same subject as message 12345,
send an empty message to:
   [EMAIL PROTECTED]

The messages do not really need to be empty, but I will ignore
their content. Only the ADDRESS you send to is important.

You can start a subscription for an alternate address,
for example [EMAIL PROTECTED], just add a hyphen and your
address (with '=' instead of '@') after the command word:
[EMAIL PROTECTED]

To stop subscription for this address, mail:
[EMAIL PROTECTED]

In both cases, I'll send a confirmation message to that address. When
you receive it, simply reply to it to complete your subscription.

If despite following these instructions, you do not get the
desired results, please contact my owner at
[EMAIL PROTECTED] Please be patient, my owner is a
lot slower than I am ;-)

--- Enclosed is a copy of the request I received.

Return-Path: [EMAIL PROTECTED]
Received: (qmail 6278 invoked from network); 8 Nov 2004 08:51:57 -
Received: from unknown (HELO femid01.africa.enterprise.root)
(196.29.130.201)
  by sourceware.org with SMTP; 8 Nov 2004 08:51:57 -
Received: from exmid06.africa.enterprise.root ([172.21.31.152]) by
femid01.africa.enterprise.root with Microsoft SMTPSVC(5.0.2195.6713);
 Mon, 8 Nov 2004 10:52:53 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.0.6556.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Subject: RE: confirm subscribe to [EMAIL PROTECTED]
Date: Mon, 8 Nov 2004 10:52:52 +0200
Message-ID:
[EMAIL PROTECTED]
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: confirm subscribe to [EMAIL PROTECTED]
Thread-Index: AcTFcDlS6IiMvCTXThmtlsZU/LxSFQAABljw
From: Loyiso Tyira - BCX - Networks [EMAIL PROTECTED]
To:
[EMAIL PROTECTED]
ygwin.com
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 08 Nov 2004 08:52:53.0220 (UTC)
FILETIME=[555A3240:01C4C570]



Kind Regards,
Loyiso Tyira
Network Engineer
Networks
Business Connexion (Pty) Ltd


  Office:  

Re: posgresql

2004-11-08 Thread Christopher Faylor
On Mon, Nov 08, 2004 at 10:58:55AM +0200, Loyiso Tyira - BCX - Networks wrote:
Hi guys,

I am trying to install posgresql on cygwin. I have installed postgesql
and cygipc. Did the following steps

1. $ ipc-daemon
2. $ mkdir /whatever/path/pgsql
3. $ initdb -D /whatever/path/pgsql
4. $ pg_ctl -D /whatever/path/pgsql -o -i start
5. $ createdb testdb

But step 3 fails in the end.
Can anyone help

Please use the cygwin mailing list for this type of thing.  This is not
a tech support mailing list.


Mozilla port for cygwin help needed

2004-11-08 Thread Gerrit P. Haase
Hi,
please contact me if you are interested to help porting Mozilla to
Cygwin/X.
Gerrit
--
=^..^=



Re: xorg installation fails, 99% complete only

2004-11-08 Thread Alexander Gottwald
On Mon, 8 Nov 2004, Carlo Florendo wrote:

 The front page of the cygwin/xfree website says that:
 
 Cygwin/X is installed via Cygwin's setup.exe and the installation 
 process is documented in the Cygwin/X User's Guide. Whether or not you 
 already have Cygwin installed, you can add Cygwin/X to your installation 
 by downloading the latest setup.exe, running setup, and selecting the 
 'xorg-x11-base' package from the 'X11' category.
 
 However, selecting only the xorg-x11-base package would install only:

selecting the xorg-x11-base package would select all other required x11 
packages too and install them.

/usr/X11R6/share/doc/Cygwin/xorg-x11-base-6.8.1.0.README
/etc/profile.d/00xorg-x11-base.csh
/etc/profile.d/00xorg-x11-base.sh
 
 You may want to add something like this after the paragraph quoted above:
 
 Once you have installed the 'xorg-x11-base' package, open your 
 /usr/X11R6/share/doc/Cygwin/xorg-x11-base-version_number.README
 file and install (via setup) the package dependencies listed there.

If selecting of dependencies is not working then it's a problem with the 
cygwin installer and should be reported to the cygwin mailing list. 

 In any case, any hints on why installing xorg fails?

I've not seen this before. All packages I've uploaded are tested including
a simple install test on a clean host. Everything was fine. 

The messages from the cygwin mailinglist indicate a problem with setup.exe
and not with the packages.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: xorg installation fails, 99% complete only

2004-11-08 Thread Bobby McNulty
Carlo Florendo wrote:
Hello Cygwin/XFree gurus,
I've installed cygwin on a WinXP SP2 machine and setup looped forever 
up to the point when it was post-installing the xorg applications.   I 
got 99% done.

This issue has been discussed last week only as started by these 2 
separate threads of messages:

http://sources.redhat.com/ml/cygwin/2004-11/msg00214.html
http://sources.redhat.com/ml/cygwin/2004-11/msg00253.html
However, the issue has not been resolved.
Then, I uninstalled everything and re-installed cygwin any *without* 
selecting anything from the X11 category.  All went well!

Then, I just thought of installing the X apps manually.
The front page of the cygwin/xfree website says that:
Cygwin/X is installed via Cygwin's setup.exe and the installation 
process is documented in the Cygwin/X User's Guide. Whether or not you 
already have Cygwin installed, you can add Cygwin/X to your 
installation by downloading the latest setup.exe, running setup, and 
selecting the 'xorg-x11-base' package from the 'X11' category.

However, selecting only the xorg-x11-base package would install only:
  /usr/X11R6/share/doc/Cygwin/xorg-x11-base-6.8.1.0.README
  /etc/profile.d/00xorg-x11-base.csh
  /etc/profile.d/00xorg-x11-base.sh
Thus, it would probably be better to update the main page such that it 
wouldn't be misleading.  (Other users might think only xorg-X11-base 
should be installed since that is what the website says.)

The README file contains the needed package dependencies so once could 
follow from that.  However, not everyone reads the README.

You may want to add something like this after the paragraph quoted above:
Once you have installed the 'xorg-x11-base' package, open your 
/usr/X11R6/share/doc/Cygwin/xorg-x11-base-version_number.README
file and install (via setup) the package dependencies listed there.

In any case, any hints on why installing xorg fails?
Please include me on the cc since I do not subscribe to the 
cygwin/xfree list.  Thanks!

Thanks!
Best Regards,
Carlo
--
Carlo Florendo
Astra Philippines Inc.
www.astra.ph
Don't install Xorg. that is what Hanu told me.



Re: xorg installation fails, 99% complete only

2004-11-08 Thread Alexander Gottwald
On Mon, 8 Nov 2004, Bobby McNulty wrote:

 Carlo Florendo wrote:
 Don't install Xorg. that is what Hanu told me.

Did he also tell why? If the xorg packages are the problem then 
it should be solved instead of avoided.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: xorg installation fails, 99% complete only

2004-11-08 Thread Daniel Newhouse

--- Alexander Gottwald
[EMAIL PROTECTED] wrote:

 On Mon, 8 Nov 2004, Bobby McNulty wrote:
 

 
 Did he also tell why? If the xorg packages are the
 problem then 
 it should be solved instead of avoided.
 
 bye
   ago
 -- 
  [EMAIL PROTECTED] 
  http://www.gotti.org   ICQ: 126018723
 

I just wanted to add that I am having the exact same
installation packages.  For me, without the X11
packages cygwin is useless.




__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 



Re: xorg installation fails, 99% complete only

2004-11-08 Thread Bobby McNulty
Daniel Newhouse wrote:
--- Alexander Gottwald
[EMAIL PROTECTED] wrote:
 

On Mon, 8 Nov 2004, Bobby McNulty wrote:
   

 

Did he also tell why? If the xorg packages are the
problem then 
it should be solved instead of avoided.

bye
	ago
--
[EMAIL PROTECTED] 
http://www.gotti.org   ICQ: 126018723

   

I just wanted to add that I am having the exact same
installation packages.  For me, without the X11
packages cygwin is useless.

		
__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 


 

I'm not installing  cygwin on my machine until the xorg problem is resolved.
One program I wanted to port to Cygwin is Rosegarden.
Which I can't because Xorg is not installing, so that means the kde port 
won't work,.
The KDE port won't work either. Get Harold Hunt back here to fix this. 
The current maintainers have no idea what they are doing.
Bobby


Re: xorg installation fails, 99% complete only

2004-11-08 Thread Alexander Gottwald
On Mon, 8 Nov 2004, Bobby McNulty wrote:

 I'm not installing  cygwin on my machine until the xorg problem is resolved.
 One program I wanted to port to Cygwin is Rosegarden.
 Which I can't because Xorg is not installing, so that means the kde port 
 won't work,.
 The KDE port won't work either. Get Harold Hunt back here to fix this. 
 The current maintainers have no idea what they are doing.

Provide me with useful information and I'll take a look. 

As I've said it was working for me until last week. I've not
received any useful data which may help tracking this down. 

Maybe you'll find a solution then it's all good. If not then stop
insulting me or do it better.

bye
ago, enraged
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: xorg installation fails, 99% complete only

2004-11-08 Thread Bobby McNulty
Alexander Gottwald wrote:
On Mon, 8 Nov 2004, Bobby McNulty wrote:
 

I'm not installing  cygwin on my machine until the xorg problem is resolved.
One program I wanted to port to Cygwin is Rosegarden.
Which I can't because Xorg is not installing, so that means the kde port 
won't work,.
The KDE port won't work either. Get Harold Hunt back here to fix this. 
The current maintainers have no idea what they are doing.
   

Provide me with useful information and I'll take a look. 

As I've said it was working for me until last week. I've not
received any useful data which may help tracking this down. 

Maybe you'll find a solution then it's all good. If not then stop
insulting me or do it better.
bye
	ago, enraged
 

Alex, I think the problem is with setup.
Because when setup gets to the fontserver, where 4 people are 
complaining so far, it stalls on a readme file.
I'll try it again.
Wish me luck.
And I will take you up on your offer, once Cygwin is installed with 
xorg, to help you improve it.
Sorry for the insult, but under Harolld, he would have everything tested 
on different machines and configurations. I'm running Windows XP 
professional with Service Pack #2. Find out what the others are using.



Re: xorg installation fails, 99% complete only

2004-11-08 Thread Christopher Faylor
On Mon, Nov 08, 2004 at 01:04:04PM -0600, Bobby McNulty wrote:
Alexander Gottwald wrote:
On Mon, 8 Nov 2004, Bobby McNulty wrote:
I'm not installing cygwin on my machine until the xorg problem is
resolved.  One program I wanted to port to Cygwin is Rosegarden.  Which
I can't because Xorg is not installing, so that means the kde port
won't work,.  The KDE port won't work either.  Get Harold Hunt back
here to fix this.  The current maintainers have no idea what they are
doing.

Provide me with useful information and I'll take a look.

As I've said it was working for me until last week.  I've not received
any useful data which may help tracking this down.

Maybe you'll find a solution then it's all good.  If not then stop
insulting me or do it better.

bye ago, enraged

Alex, I think the problem is with setup.  Because when setup gets to
the fontserver, where 4 people are complaining so far, it stalls on a
readme file.

It works fine for me.  Just tried it.

You've been reading the cygwin mailing list long enough to know that you
have not provided the slightest shred of useful data

Bobby, either provide useful information or just shut up.  Telling
everyone what you are going to do or not going to do and insulting
people is totally unproductive.

Do me a favor and don't even respond to this email.  Either provide some
details or just be quiet.  Useful details might be, for example, ps -ef
output.

cgf


Running startx from cygwin shell

2004-11-08 Thread Eamember1
  Hei !
I get fatal error when running startx. It says a fatal error has occurred and 
Cygwin/x will now exit (Release:6.8.10-1)
XWin was started with the following command-line:
x:0-multiwindow-clipboard.
I am very grateful for help.

 Truly,
 Elin Aronsen


Re: xorg installation fails, 99% complete only

2004-11-08 Thread Bobby McNulty
Christopher Faylor wrote:
On Mon, Nov 08, 2004 at 01:04:04PM -0600, Bobby McNulty wrote:
 

Alexander Gottwald wrote:
   

On Mon, 8 Nov 2004, Bobby McNulty wrote:
 

I'm not installing cygwin on my machine until the xorg problem is
resolved.  One program I wanted to port to Cygwin is Rosegarden.  Which
I can't because Xorg is not installing, so that means the kde port
won't work,.  The KDE port won't work either.  Get Harold Hunt back
here to fix this.  The current maintainers have no idea what they are
doing.
   

Provide me with useful information and I'll take a look.
As I've said it was working for me until last week.  I've not received
any useful data which may help tracking this down.
Maybe you'll find a solution then it's all good.  If not then stop
insulting me or do it better.
bye ago, enraged
 

Alex, I think the problem is with setup.  Because when setup gets to
the fontserver, where 4 people are complaining so far, it stalls on a
readme file.
   

It works fine for me.  Just tried it.
You've been reading the cygwin mailing list long enough to know that you
have not provided the slightest shred of useful data
Bobby, either provide useful information or just shut up.  Telling
everyone what you are going to do or not going to do and insulting
people is totally unproductive.
Do me a favor and don't even respond to this email.  Either provide some
details or just be quiet.  Useful details might be, for example, ps -ef
output.
cgf
 

OK Chris, here it is. The full report. Complete down to the readme file 
that it is hanging at.
Cygwin setup is at 97%
it says install xorg-x11-fscl-6.8.1.0-2
/usr/X11R6/share/doc/Cygwin/xorg-x11-fscl-6.8.1.0.README

its in a contiuous loop, not gettiing past this point.


Re: xorg installation fails, 99% complete only

2004-11-08 Thread Carlo Florendo
Thank you all for the replies.  I'm sorry but it seems that I wasn't 
cc'd for all messages (I mentioned I'm not part of the Cygwin/XFree ML).
So, I just replied to my original message.  (Sorry if this breaks the 
thread.)

So, I've just checked the ML website and read up to the one of Bobby Mc 
Nulty's message on 09 Nov 2004:
http://cygwin.com/ml/cygwin-xfree/2004-11/msg00031.html

In any case, I am not able to replicate the problem now since I'm on 
Win2K SP4.  The problem only appears to be on WinXP SP2.  I'm sorry I'm 
not providing anything useful (e.g. No ps -ef nor cygcheck output) since 
I won't be able to get hold of the WinXP SP2 machine now.  I'll probably
be able to do it, but off-line.

The post last 04 Nov 2004, 
http://sources.redhat.com/ml/cygwin/2004-11/msg00167.html,
says that xorg stalled via setup on a WinXP SP2.  I don't know if 
there's a correlation.

In any case, the issue with setup is that it doesn't install the 
dependencies of xorg-base.  I installed cygwin without the X and
afterwards, installed xorg-base (since that is what the Cygwin/XFree 
site says).
However, only the script files get installed.  (I'll post a message to
the cygwin-list).  I got everything working after installing (via setup) 
the dependencies listed on the xorg README file.

Thanks!
Best Regards,
Carlo

Carlo Florendo wrote:
Hello Cygwin/XFree gurus,
I've installed cygwin on a WinXP SP2 machine and setup looped forever up 
to the point when it was post-installing the xorg applications.   I got 
99% done.

This issue has been discussed last week only as started by these 2 
separate threads of messages:

http://sources.redhat.com/ml/cygwin/2004-11/msg00214.html
http://sources.redhat.com/ml/cygwin/2004-11/msg00253.html
However, the issue has not been resolved.
Then, I uninstalled everything and re-installed cygwin any *without* 
selecting anything from the X11 category.  All went well!

Then, I just thought of installing the X apps manually.
The front page of the cygwin/xfree website says that:
Cygwin/X is installed via Cygwin's setup.exe and the installation 
process is documented in the Cygwin/X User's Guide. Whether or not you 
already have Cygwin installed, you can add Cygwin/X to your installation 
by downloading the latest setup.exe, running setup, and selecting the 
'xorg-x11-base' package from the 'X11' category.

However, selecting only the xorg-x11-base package would install only:
  /usr/X11R6/share/doc/Cygwin/xorg-x11-base-6.8.1.0.README
  /etc/profile.d/00xorg-x11-base.csh
  /etc/profile.d/00xorg-x11-base.sh
Thus, it would probably be better to update the main page such that it 
wouldn't be misleading.  (Other users might think only xorg-X11-base 
should be installed since that is what the website says.)

The README file contains the needed package dependencies so once could 
follow from that.  However, not everyone reads the README.

You may want to add something like this after the paragraph quoted above:
Once you have installed the 'xorg-x11-base' package, open your 
/usr/X11R6/share/doc/Cygwin/xorg-x11-base-version_number.README
file and install (via setup) the package dependencies listed there.

In any case, any hints on why installing xorg fails?
Please include me on the cc since I do not subscribe to the cygwin/xfree 
list.  Thanks!

Thanks!
Best Regards,
Carlo
--
Carlo Florendo
Astra Philippines Inc.
www.astra.ph



on winXP sp2, setup loops forever when installing xorg-base

2004-11-08 Thread Carlo Florendo
Hello,
I've tried installing cygwin with X on a Win-XP SP2 box.  However,
installation stalls at 99% when installing some xorg packages.
Message says:
Cannot open log file C:\cygwin/var/log/setup.log for writing
Yes, the '\' and '/' are as is :)
This problem is similar to the one from:
http://sources.redhat.com/ml/cygwin/2004-11/msg00253.html (6 Nov 2004)
So, I reinstalled cygwin without the X, and went to the Cygwin/Xfree 
website to see how to install X.  The site says that we just need to 
install xorg-base and we will have X working.  However, installing 
xorg-base installs a couple of script files and a README.

I read the README and installed (via setup, ofcourse :) )the packages 
listed as dependencies.
*All worked well now.* :)  However, isn't setup suppose to do this?

I posted this problem on the cygwin-xfree mailing list and someone 
hinted that since setup doesn't install dependencies, this could be a 
setup problem (http://cygwin.com/ml/cygwin-xfree/2004-11/msg00022.html)

Is this an X or a setup problem?  (I'm at a loss so I posted to cygwin 
and cygwin-xfree).  Please advise on where to post.

Thanks!
Best Regards,
Carlo
--
Carlo Florendo
Astra Philippines Inc.
www.astra.ph


Re: on winXP sp2, setup loops forever when installing xorg-base

2004-11-08 Thread Carlo Florendo
Sorry.  I should've mentioned at the beginning of the mail that I'm just 
cross posting to cygwin-xfree for FYI (since I've discussed this already 
yesterday.).  The mail was intended for the cygwin ML but I cc'd 
cygwin-xfree for FYI. 

Carlo Florendo wrote:
Hello,
I've tried installing cygwin with X on a Win-XP SP2 box.  However,
installation stalls at 99% when installing some xorg packages.
Message says:
Cannot open log file C:\cygwin/var/log/setup.log for writing
Yes, the '\' and '/' are as is :)
This problem is similar to the one from:
http://sources.redhat.com/ml/cygwin/2004-11/msg00253.html (6 Nov 2004)
So, I reinstalled cygwin without the X, and went to the Cygwin/Xfree 
website to see how to install X.  The site says that we just need to 
install xorg-base and we will have X working.  However, installing 
xorg-base installs a couple of script files and a README.

I read the README and installed (via setup, ofcourse :) )the packages 
listed as dependencies.
*All worked well now.* :)  However, isn't setup suppose to do this?

I posted this problem on the cygwin-xfree mailing list and someone 
hinted that since setup doesn't install dependencies, this could be a 
setup problem (http://cygwin.com/ml/cygwin-xfree/2004-11/msg00022.html)

Is this an X or a setup problem?  (I'm at a loss so I posted to cygwin 
and cygwin-xfree).  Please advise on where to post.

Thanks!
Best Regards,
Carlo

--
Carlo Florendo
Astra Philippines Inc.
www.astra.ph


src/winsup/w32api ChangeLog include/winnt.h

2004-11-08 Thread dannysmith
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2004-11-08 10:08:14

Modified files:
winsup/w32api  : ChangeLog 
winsup/w32api/include: winnt.h 

Log message:
* include/winnt.h (GetCurrentFiber): Support -masm=intel.
(GetFiberData): Likewise.
(NtCurrentTeb): Likewise.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/ChangeLog.diff?cvsroot=srcr1=1.613r2=1.614
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/winnt.h.diff?cvsroot=srcr1=1.88r2=1.89



Re: setup.exe won't unpack the download

2004-11-08 Thread E Shon
 If this isn't the problem, my WAG is that you have a version
 of 'cygwin1.dll' already on your system, due to some previous install 
 or some other software that uses Cygwin surrepticously.  If this is
 true, remove all copies of 'cygwin1.dll' from your system and follow
 the uninstall directions here:

 http://cygwin.com/faq/faq_2.html#SEC19

 If none of this describes your installation and/or helps, please
 follow the instructions at the uninstall link above, rerun 
'setup.exe'  as Install from Internet, and *attach* the 'setup.log' file
 (assuming this time things don't just work for you).

Your WAG was totally right.  I had some Acrobat plugin called PDFmerge 
that had an old copy of cygwin1.dll in a 'hidden' folder that didn't 
turn up on previous searches for 'cygwin'.  Deleted it, re-installed and 
everything's working great now.

Thanks SO much, i'm so happy to be able to use Cygwin now.
Sorry it was such a half-baked problem.

--
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: Cron under Cygwin/Windows XP

2004-11-08 Thread Morche Matthias
[EMAIL PROTECTED] wrote:
 Hi.
 I'm attempting to run:
 
 $ crontab -l
 # DO NOT EDIT THIS FILE - edit the master and reinstall.
 # (cron/myCron installed on Fri Nov  5 14:08:06 2004)
 # (Cron version -- $Id: crontab.c,v 1.7 2003/04/15 15:13:41 corinna
 Exp $) * * * * * echo 'Boo from cron'
 
 but it doesn't run...

Just out of curiosity, how do You know it doesn't run?

I would try something like date  /tmp/cron.test and have a look into that 
file.

  matthias




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



getloadavg(3)

2004-11-08 Thread Reini Urban
Anyone saw a implementation similar to getloadavg() on windows?
At least uptime, top, emacs, xemacs and make use the noop on windows, 
and some other apps defined their private loadavg() function 
app-specific, which we cannot use.

I cannot believe that no-one created a similar function for windows yet. 
At least sound and gaming need that for sure.
And the Win API provides similar beasts for sure, they just have to be 
wrapped up.

I don't want to port the whole sysstat package, no iowait stats, just 
a basic getloadavg() for the CPU business would be fine.

http://www.wilsonmar.com/1perfmon.htm#TaskManager
The load average (LA) is the average number of processes (the sum of 
the run queue length and the number of jobs currently running) that are 
ready to run, but are waiting for access to a busy CPU.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/

--
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: Cron malfunction after date change

2004-11-08 Thread Xavier Nodet
On Thu, 04 Nov 2004 15:37:12 +0100 Jacek Trzmiel [EMAIL PROTECTED] wrote:

 cygwin1.dll 1.5.11-1, win2ksp4+patches

Cron is a separate package, that was updated on 20th, October, to
correct a problem where cron would endlessly sleep after a time/date
change. Do you have the latest version?

-- 
Xavier Nodet
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. - Benjamin Franklin, 1759.


--
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: Cron malfunction after date change

2004-11-08 Thread Xavier Nodet
On Fri, 5 Nov 2004 11:38:24 -0500 Christopher Faylor [EMAIL PROTECTED] wrote:

 Personally, I've always restarted cron after a date change

There exist a version of Cron that is supposed to handle date changes.
See
  http://sources.redhat.com/ml/cygwin/2004-10/msg00966.html

-- 
Xavier Nodet
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. - Benjamin Franklin, 1759.


--
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: URGENT HELP: Please route me to TCP/SOCKET implentation part of the source code of cygwin1.dll

2004-11-08 Thread Nagamani Veerappa

Dear Experts,


I need a urgent help from you ALL..

Can any one guide/route me to the TCP/SOCKET implementation part of the
source of cygwin1.dll?
TO be more specific, I want to know how cygwin source code is utilizing the
winsock2.dll in an efficient way??

You must be curious to know, why Iam doing this??? Right?

Let me explain, I need to establish a socket communication, which has
NO-DELAY (or less than 10ms)...
I tried on Windows, using MSVC and Ws2_32.lib.
I was never able to meet the required delay...but when I wrote the same
program compiled using gcc on cygwin, I was able to achieve NO-DELAY..


This is driving me crazy

FRom the cygwin FAQ list, I saw the tips written by Alastair on How do I
link against `cygwin1.dll' with Visual Studio?
I have successfully built the libs cygwin1.lib and my_crt0.lib following the
instructions..
But not able to use the socket APIS

PLEASE HELP

ANY HELP WOULD BE APPRECIATED

Thanks in advance,
Nagamani


**
The information contained in this email and any attachments
is likely to be confidential and legally privileged, and is for the
intended recipient named above only. Any copying, 
dissemination, disclosure of or use of this email or its 
attachments unless authorised by us is prohibited, except 
that you may forward this email and/or attachments to a third 
party on a strict need to know basis. 

If you have received this email in error, please notify us 
immediately by replying to the email or by calling 
+91-80-22297030. Please then delete this email and any full
or partial copies of it.

You as the intended recipient must be aware and accept 
that emailis not a totally secure communications medium.

Although we have taken all reasonable steps to make 
sure this email and any attachments are free from viruses, 
we do not (to the extent permitted by law) accept any liability 
whatsoever for any virus infection and/or compromise of 
security caused by this email and any attachment.

No contract may be formed or documents served by you 
on or with us by this email or any attachments unless 
expressly agreed otherwise by us. 

Any views expressed in this email or attachments by 
an individual are not necessarily those of UbiNetics 
India (Private) Limited.

**


--
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: Creating superuser (root) in Cygwin

2004-11-08 Thread Olumide

Based on the above statements, it seems you don't understand the differences
in the security model between Unix-based platforms and Windows NT-based
platforms. 
Why is this the answer that's always offered whenever someone asks this 
question? Some of us do know what we are talking about.

Does anyone know how to create a superuser account in Cygwin please.
Thanks,
Olumide

--
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: Creating superuser (root) in Cygwin

2004-11-08 Thread Robert Pendell
You cannot just create a superuser in cygwin because cygwin is a
translation layer for UNIX applications.  Cygwin is not actual UNIX
and there are limitations.  Basically cygwin is using the host
machine's security model rather than unix's own native security model
and porting is not straight forward for some applications.  It is even
worse when it comes to WIndows 9x than with Windows NT where as 9x has
no security model of its own (that I am aware about).  The passwd and
group files are there for compatibility and allows some applications
to work.  At least that is my understanding.  I think sshd and such
use them.


On Mon, 08 Nov 2004 12:03:20 +, Olumide [EMAIL PROTECTED] wrote:
 
  Based on the above statements, it seems you don't understand the differences
  in the security model between Unix-based platforms and Windows NT-based
  platforms.
 
 Why is this the answer that's always offered whenever someone asks this
 question? Some of us do know what we are talking about.
 
 Does anyone know how to create a superuser account in Cygwin please.
 
 Thanks,
 
 Olumide
 
 
 
 
 --
 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/
 
 


-- 
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: Creating superuser (root) in Cygwin

2004-11-08 Thread Olumide
You cannot just create a superuser in cygwin because cygwin is a
translation layer for UNIX applications.  Cygwin is not actual UNIX
and there are limitations.  Basically cygwin is using the host
machine's security model rather than unix's own native security model
and porting is not straight forward for some applications.  It is even
worse when it comes to WIndows 9x than with Windows NT where as 9x has
no security model of its own (that I am aware about).  The passwd and
group files are there for compatibility and allows some applications
to work.  At least that is my understanding.
Thanks Robert.
I'm on WindowsXP and I'm trying to run sudo 
(http://www.courtesan.com/sudo/) what do you think I should do.


--
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: Cron malfunction after date change

2004-11-08 Thread Jacek Trzmiel

Xavier Nodet wrote:
 On Thu, 04 Nov 2004 15:37:12 +0100 Jacek Trzmiel wrote:
  cygwin1.dll 1.5.11-1, win2ksp4+patches
 
 Cron is a separate package, that was updated on 20th, October, to
 correct a problem where cron would endlessly sleep after a time/date
 change. Do you have the latest version?

Yes.

$ cygcheck -srv | grep cron
cron3.0.1-13

$ ll /usr/sbin/ | grep cron
-rwxrwxrwx1 sc0rpUsers   25088 Oct 20 14:07 cron.exe

-- Jacek.

--
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: Creating superuser (root) in Cygwin

2004-11-08 Thread Robert Pendell
I don't think it will be possible to do a straight forward port for
sudo to cygwin.  Even by creating a user called root.  This will
pretty much require a direct modification of code enclosed in 'if
def's ' thoughout.  Redefining what it considers to be an
administrator from user id 0 to user id 544.  This of course was
already mentioned by Larry Hall and I thnk he is right in terms what
should be done.  The su program in cygwin doesn't actually work at all
(it only compiles).  That one does a similar function but it does it
per session where you invoke su and have you run as root for a while. 
It fails to function for the same reason that sudo won't function out
of the box.  Good luck on getting it to work.  Maybe you can get
cygwin added to the supported platforms list on the website.  Also I
would highly suggest looking at the links that Larry Hall supplied in
his post which are these.

http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SETUID
http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SWITCH

They have useful information that can aid in getting sudo to work fully.

On Mon, 08 Nov 2004 13:16:36 +, Olumide [EMAIL PROTECTED] wrote:
 
 
  You cannot just create a superuser in cygwin because cygwin is a
  translation layer for UNIX applications.  Cygwin is not actual UNIX
  and there are limitations.  Basically cygwin is using the host
  machine's security model rather than unix's own native security model
  and porting is not straight forward for some applications.  It is even
  worse when it comes to WIndows 9x than with Windows NT where as 9x has
  no security model of its own (that I am aware about).  The passwd and
  group files are there for compatibility and allows some applications
  to work.  At least that is my understanding.
 
 Thanks Robert.
 
 I'm on WindowsXP and I'm trying to run sudo
 (http://www.courtesan.com/sudo/) what do you think I should do.
 
 --
 
 
 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/
 
 


-- 
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: Creating superuser (root) in Cygwin

2004-11-08 Thread Reini Urban
Olumide schrieb:
You cannot just create a superuser in cygwin because cygwin is a
translation layer for UNIX applications.  Cygwin is not actual UNIX
and there are limitations.  Basically cygwin is using the host
machine's security model rather than unix's own native security model
and porting is not straight forward for some applications.  It is even
worse when it comes to WIndows 9x than with Windows NT where as 9x has
no security model of its own (that I am aware about).  The passwd and
group files are there for compatibility and allows some applications
to work.  At least that is my understanding.
Thanks Robert.
I'm on WindowsXP and I'm trying to run sudo 
(http://www.courtesan.com/sudo/) what do you think I should do.
You obviosuly don't know what you are talking about:
1. There's no superuser on cygwin. root is usually SYSTEM on windows.
2. You are trying to use the completely wrong sudo package.
There exist sudo packages for windows, but not for cygwin.
Search the web for sudo for windows, cmdasuser, runuser or just use 
runas, but don't try to use the unix sudo package. This is not ported yet.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/

--
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: Cron under Cygwin/Windows XP

2004-11-08 Thread Harig, Mark
 $ cron_diagnose.sh
 cron_diagnose.sh 1.3
 

Please run version 1.7 of this diagnostic script.  It fixes
some problems that were in the earlier versions, and detects
some error conditions that the earlier versions did not.

http://sources.redhat.com/ml/cygwin/2004-07/msg00207.html



P.S., Please reply directly to this mailing list and not to me.
Also, please do not include my email address in the reply.

--
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: Cron malfunction after date change

2004-11-08 Thread Harig, Mark
 
 cron.log, crontab.txt and cygcheck.txt attached.  Stopping 
 and starting
 cron is workaround that does resume correct cron behaviour, up until
 next date change.  I've been able to reproduce this
 (http://cygwin.com/ml/cygwin/2004-11/msg00153.html) problem also on
 WinXP with slightly older cygwin1.dll version:
 1.5.11-snapshot-20040720-12:03:09.
 
 
 I concur.  It appears to be a bug in cron, or Cygwin's 
 version of cron.
 
 Can anyone point to some documentation which states that cron is
 supposed to gracefully handle date changes?  Personally, I've always
 restarted cron after a date change since I've noticed 
 behavior like this
 on linux in the past.  If that has been fixed, however, that 
 would be an
 interesting data point for linux (off-topic) and cygwin (on-topic).
 

The original problem (cron is not running over the course of a 
24-hour date change) is not a Cygwin-specific problem, i.e., Cygwin's 
cron appears to work when asked to perform a task once a day at a
specified time.  I wrote a simple cron table entry

   1 1 * * * /usr/bin/date  /tmp/date.txt

'cron' ran this task for me for the past three days without errors
or intervention.

I do not know whether the secondary problem (cron fails to run
without a restart if there has been a date change outside of the 
normal clock) is cron specific or Cygwin specific.

---

--
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: setup.exe won't unpack the download

2004-11-08 Thread Larry Hall
At 03:43 AM 11/8/2004, you wrote:
 If this isn't the problem, my WAG is that you have a version
 of 'cygwin1.dll' already on your system, due to some previous install  or 
 some other software that uses Cygwin surrepticously.  If this is
 true, remove all copies of 'cygwin1.dll' from your system and follow
 the uninstall directions here:

 http://cygwin.com/faq/faq_2.html#SEC19

 If none of this describes your installation and/or helps, please
 follow the instructions at the uninstall link above, rerun 'setup.exe'  as 
 Install from Internet, and *attach* the 'setup.log' file
 (assuming this time things don't just work for you).


Your WAG was totally right.  I had some Acrobat plugin called PDFmerge that 
had an old copy of cygwin1.dll in a 'hidden' folder that didn't turn up on 
previous searches for 'cygwin'.  Deleted it, re-installed and everything's 
working great now.

Thanks SO much, i'm so happy to be able to use Cygwin now.

Sorry it was such a half-baked problem.


Unfortunately, it's a difficult problem to spot.  It's nice that Cygwin 
is as popular as it is but it's a shame that this popularity can cause
these kinds of conflicts.  It would be interesting to know from where you
got PDFmerge and whether source for it and the Cygwin DLL are available
for it.  If not, then at least this version of PDFmerge is not GPL 
compliant, which warrants contacting the author/distributor.



--
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: Cygwin Cron - Cannot Switch user context

2004-11-08 Thread Rebstock, Roland

All, I have a Win2k3 server with cygwin. I cannot get cron to execute
any jobs that previously ran under Win2k.  The error is  Cannot Switch
user Context.  Is there a solution?

CYGWIN_NT-5.2  1.5.5

Roland Rebstock

--
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 Cron - Cannot Switch user context

2004-11-08 Thread Harig, Mark

Please run this diagnostic script.  It will attempt to locate
many types of common problems with cron on cygwin.

http://sources.redhat.com/ml/cygwin/2004-07/msg00207.html

Please read the output of the script carefully.  If it finds
problems, it suggests possible fixes, and it will also recommend
steps to take if it is unable to detect any problems



P.S., Please reply directly to this mailing list and not to me.
Also, please do not include my email address in the reply.

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



setting $HOME variable

2004-11-08 Thread Michael
Ive been trying to set the home variable.

i want home to be c:\cygwin\home\

ive tried setting this in the .bat files  and in .bashrc  but it doesnt work.  
If i type echo $HOME i get this

/cygdrive/c/Documents and Settings/UserName

Ive read that its in /etc/passwd where it actually looks for the home 
directory, but what do you chage?  How can i set it so when i start the bash 
its starts in the right directory?

Any help will be appreciated!


--
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: Need help compiling gaim-1.0.2

2004-11-08 Thread Doug Poland
 Reid said:
 Doug Poland wrote:

checking for GTK+ - version = 2.0.0... gnome-config: not found
gnome-config: not found
no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file
*** config.log for the exact error that occured. This usually
*** means GTK+ is incorrectly installed.
configure: error:
*** GTK+ 2.0 is required to build Gaim; please make sure you
*** have the GTK+ development headers installed. The latest
*** version of GTK+ is always available at http://www.gtk.org/.


 gnome-config: not found is a big hint.

Indeed

 http://www.cygwin.com/ml/cygwin/2004-10/msg00226.html

Thanks for the pointer.  I read this thread but am not quite sure what
the solution is.   I ran the command:

  host$ cygcheck -c gtk2-x11

Presumably, that verifies that I do have the necessary package
installed.  In fact, my system returns:

  Cygwin Package Information
  Package  VersionStatus
  gtk2-x11 2.4.11-1   OK

So I have GTK 2.0 package installed.  The OP goes on to ask how to
correctly set his pkg-config path, the response being:

  $ echo $PKG_CONFIG_PATH
  /usr/X11R6/lib/pkgconfig

So I

  host$ export PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig

and try configure again but get the same result as before.  Is there
more to the PKG_CONFIG_PATH that I need?  Is there documentation
somewhere that will tell me what I should set it to?

Thanks for your patience and assistance.

-- 
Regards,
Doug

--
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: setup.exe won't unpack the download

2004-11-08 Thread E Shon

Unfortunately, it's a difficult problem to spot.  It's nice that Cygwin 
is as popular as it is but it's a shame that this popularity can cause
these kinds of conflicts.  It would be interesting to know from where you
got PDFmerge and whether source for it and the Cygwin DLL are available
for it.  If not, then at least this version of PDFmerge is not GPL 
compliant, which warrants contacting the author/distributor.

I don't see a source for it but here is the author's download site:
http://web.hku.hk/~kangsg/freeware/

--
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: Need help compiling gaim-1.0.2

2004-11-08 Thread Reini Urban
Doug Poland schrieb:
Reid said:
Doug Poland wrote:
checking for GTK+ - version = 2.0.0... gnome-config: not found
gnome-config: not found
no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file
*** config.log for the exact error that occured. This usually
*** means GTK+ is incorrectly installed.
configure: error:
*** GTK+ 2.0 is required to build Gaim; please make sure you
*** have the GTK+ development headers installed. The latest
*** version of GTK+ is always available at http://www.gtk.org/.

gnome-config: not found is a big hint.
Indeed

http://www.cygwin.com/ml/cygwin/2004-10/msg00226.html
Thanks for the pointer.  I read this thread but am not quite sure what
the solution is.   I ran the command:
  host$ cygcheck -c gtk2-x11
Presumably, that verifies that I do have the necessary package
installed.  In fact, my system returns:
  Cygwin Package Information
  Package  VersionStatus
  gtk2-x11 2.4.11-1   OK
So I have GTK 2.0 package installed.  The OP goes on to ask how to
correctly set his pkg-config path, the response being:
  $ echo $PKG_CONFIG_PATH
  /usr/X11R6/lib/pkgconfig
I thought /usr/lib/pkgconfig is our default $PKG_CONFIG_PATH path.
At least gtk and gnome put their stuff in there.
  $ export PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig
/usr/X11R6/lib/pkgconfig only carry a view X libs.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
--
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 Cron - Cannot Switch user context

2004-11-08 Thread Igor Pechtchanski
On Mon, 8 Nov 2004, Rebstock, Roland wrote:

 All, I have a Win2k3 server with cygwin. I cannot get cron to execute
 any jobs that previously ran under Win2k.  The error is  Cannot Switch
 user Context.  Is there a solution?

 CYGWIN_NT-5.2  1.5.5

 Roland Rebstock

Win2k3's SYSTEM account by default doesn't have all the rights necessary
to switch user contexts.  One (rather non-obvious, IMO) place to find some
details on this is /usr/share/doc/Cygwin/openssh.README.  This information
(verbatim from the above README, from Important note for Windows 2003
Server users to Increase quota) should really be part of
http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SWITCH.
HTH,
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!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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: Win32::API perl module

2004-11-08 Thread Jason Pearce
For what its worth, here is the binary install I am using. Its working 
nicely via setup.exe. I just pasted this at the bottom of my setup.exe

@ perl-Win32API
sdesc: :API perl module compile for perl 5.8.2
ldesc: Win32::API perl module compile for perl 5.8.2
category: misc
requires: perl
version: 0.42-1
install: release/perl/perl-Win32API/perl-Win32API-0.42-1.tar.bz2 41047 
3042c5bc313a37c4b1da641369211965

I've atached the .tar.bz directly to this message - its not that big, 
hope its OK. But note it will probably only work for perl  v5.8.2.

Reini Urban wrote:
Jason Pearce schrieb:
This worked a treat Reini, thanks very much for your help.
I need this on several machines at work, so I will package it up in a 
tar.bz2 for use with setup.exe. Once tested I'll post it back here.

Well packaging is easy, but IMHO not before enabling W32 Callbacks. 
Otherwise I would have proposed it by myself.

But if people want it without callbacks I could propose it.
BTW: I'd rather prefer pmoore's FFI or the C-DynaLib-0.55, which work 
like a charm with w32 and cdecl callbacks and don't use such a 
horrible and MSVC-only aldo-style hack.
Or any other libffi or ffcall based FFI solution, which can be used 
for Win32::API callbacks.



perl-Win32API-0.42-1.tar.bz2
Description: BZip2 compressed 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: Win32::API perl module

2004-11-08 Thread Gerrit P. Haase
Jason Pearce wrote:
For what its worth, here is the binary install I am using. Its working 
nicely via setup.exe. I just pasted this at the bottom of my setup.exe
Would you also send me a patchfile with all changes you finally used to 
build the module, please?

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: JNI call crashes the JVM

2004-11-08 Thread Shankar Unni
Lapo Luchini wrote:
Actualyl the way the JNI works it doesn't permit to load *ANY* DLL that
depends on another DLL, that leads to a crash.
That is absolutely untrue.  We routinely load DLLs that are linked 
against other DLLs (on many different OSes), and everything gets loaded 
just fine.

Even the Java VM depends on this (e.g. fontmanager.dll on Windows 
(loaded via System.loadLibrary()) depends on Winspool.dll, which is not 
a dependency of either java.exe or jvm.dll).

Perhaps *you* had some corrupted DLL or SO setup, and ran into trouble..
--
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: Need help compiling gaim-1.0.2

2004-11-08 Thread Yaakov Selkowitz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Doug Poland wrote:
| Thanks for the pointer.  I read this thread but am not quite sure what
| the solution is.   I ran the command:
|
|   host$ cygcheck -c gtk2-x11
What are the results of 'cygcheck -c gtk2-x11-devel'?
| So I
|
|   host$ export PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig
|
| and try configure again but get the same result as before.  Is there
| more to the PKG_CONFIG_PATH that I need?  Is there documentation
| somewhere that will tell me what I should set it to?
This is unnecessary; the built-in default (/usr/lib/pkgconfig) is where
most .pc files should be (including gtk+-2.0.pc), and
/usr/X11R6/lib/pkgconfig is added to PKG_CONFIG_PATH automatically with
the xorg-x11-devel package.
| Thanks for your patience and assistance.
Yaakov
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBj9GIpiWmPGlmQSMRAidHAJ9M1zwPbDWZM2HprHMkPW+7aKqBRACg6NEx
m4kM/bzvp6Hc7cfOXqcEvuw=
=hywv
-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: setting $HOME variable

2004-11-08 Thread Mark Bohlman
Michael wrote:
Ive been trying to set the home variable.
i want home to be c:\cygwin\home\
ive tried setting this in the .bat files  and in .bashrc  but it doesnt work.  
If i type echo $HOME i get this

/cygdrive/c/Documents and Settings/UserName
Ive read that its in /etc/passwd where it actually looks for the home 
directory, but what do you chage?  How can i set it so when i start the bash 
its starts in the right directory?

Any help will be appreciated!

In /etc/passwd find the entry for your userid and the next to the last 
field is your home directory.  Change this to be /home/your_user_id_here 
where your_user_id_here is your user id.  This will set the $HOME 
variable to be /home/your_user_id_here, which is probably what you want 
rather than c:\cygwin\home.

If you have the default mounts done and have installed to the default 
location of c:\cygwin, then this will be the preferred (tm) location.

-- Mark
--
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: setup.exe won't unpack the download

2004-11-08 Thread Larry Hall
At 01:20 PM 11/8/2004, you wrote:

Unfortunately, it's a difficult problem to spot.  It's nice that Cygwin is as 
popular as it is but it's a shame that this popularity can cause
these kinds of conflicts.  It would be interesting to know from where you
got PDFmerge and whether source for it and the Cygwin DLL are available
for it.  If not, then at least this version of PDFmerge is not GPL compliant, 
which warrants contacting the author/distributor.

I don't see a source for it but here is the author's download site:

http://web.hku.hk/~kangsg/freeware/



Thanks.  I'll follow up with the author.

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



A request for package announcers

2004-11-08 Thread Luke Kendall
Would it be possible to include a description of what the package
actually is, in the email announcement?  Even if it's very short.

Often you can't tell from the package name alone.

luke


--
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 Cron - Cannot Switch user context

2004-11-08 Thread Rebstock, Roland
 All, even after creating another user with Administrator or System like
priveledges and modifying the local security policy per the
/usr/share/doc/Cygwin/openssh.Readme file. I cannot locate the Increase
Quota in the Sec Policy but all others were applied. I still continue
to get the error message Cannot Switch User Context. Any help would be
appreciated.  

-Original Message-
From: Rebstock, Roland 
Sent: Monday, November 08, 2004 12:03 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Cygwin Cron - Cannot Switch user context


All, I have a Win2k3 server with cygwin. I cannot get cron to execute
any jobs that previously ran under Win2k.  The error is  Cannot Switch
user Context.  Is there a solution?

CYGWIN_NT-5.2  1.5.5

Roland Rebstock

--
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 Info - Cygwin Cron - Cannot Switch user context

2004-11-08 Thread Rebstock, Roland
All, I have found that the Increase Quotas Sec Policy has changed to 
 Increase quotas policy has changed to Adjust memory
quotas for a process  but even adding my user to this as well still
does not resolve the issue.

Roland Rebstock
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Rebstock, Roland
Sent: Monday, November 08, 2004 7:08 PM
To: [EMAIL PROTECTED]
Subject: RE: Cygwin Cron - Cannot Switch user context

 All, even after creating another user with Administrator or System like
priveledges and modifying the local security policy per the
/usr/share/doc/Cygwin/openssh.Readme file. I cannot locate the Increase
Quota in the Sec Policy but all others were applied. I still continue
to get the error message Cannot Switch User Context. Any help would be
appreciated.  

-Original Message-
From: Rebstock, Roland
Sent: Monday, November 08, 2004 12:03 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Cygwin Cron - Cannot Switch user context


All, I have a Win2k3 server with cygwin. I cannot get cron to execute
any jobs that previously ran under Win2k.  The error is  Cannot Switch
user Context.  Is there a solution?

CYGWIN_NT-5.2  1.5.5

Roland Rebstock

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



on winXP sp2, setup loops forever when installing xorg-base

2004-11-08 Thread Carlo Florendo
Hello,
I've tried installing cygwin with X on a Win-XP SP2 box.  However,
installation stalls at 99% when installing some xorg packages.
Message says:
Cannot open log file C:\cygwin/var/log/setup.log for writing
Yes, the '\' and '/' are as is :)
This problem is similar to the one from:
http://sources.redhat.com/ml/cygwin/2004-11/msg00253.html (6 Nov 2004)
So, I reinstalled cygwin without the X, and went to the Cygwin/Xfree 
website to see how to install X.  The site says that we just need to 
install xorg-base and we will have X working.  However, installing 
xorg-base installs a couple of script files and a README.

I read the README and installed (via setup, ofcourse :) )the packages 
listed as dependencies.
*All worked well now.* :)  However, isn't setup suppose to do this?

I posted this problem on the cygwin-xfree mailing list and someone 
hinted that since setup doesn't install dependencies, this could be a 
setup problem (http://cygwin.com/ml/cygwin-xfree/2004-11/msg00022.html)

Is this an X or a setup problem?  (I'm at a loss so I posted to cygwin 
and cygwin-xfree).  Please advise on where to post.

Thanks!
Best Regards,
Carlo
--
Carlo Florendo
Astra Philippines Inc.
www.astra.ph
--
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: Win32::API perl module

2004-11-08 Thread Jason Pearce
I just compiled what Reini posted, it compiled out of the box for me.
http://xarch.tu-graz.ac.at/home/rurban/software/perl/Win32-API-0.41-cygwin.patch 
=
http://xarch.tu-graz.ac.at/home/rurban/software/perl/Win32-API-0.42.tar.gz

I actually just used the .tar.gz, and didn't even bother runing the patch.
Jason
Gerrit P. Haase wrote:
Jason Pearce wrote:
For what its worth, here is the binary install I am using. Its 
working nicely via setup.exe. I just pasted this at the bottom of my 
setup.exe

Would you also send me a patchfile with all changes you finally used 
to build the module, please?

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/