Re: Build problems - unistd.h

2007-05-30 Thread Scott Peterson

Sorry about the large email: didn't realize how big it was when I cut
and pasted.
Line 108 is indeed:

int _EXFUN(pipe, (int __fildes[2] ));

I've greped around for "define pipe" and the only results I could find
are /usr/include/glib-1.2/glib.h and
/usr/include/glib-2.0/glib/gwin32.h. Both files define precisely the
method you mention:

#define pipe(phandles)  _pipe (phandles, 4096, _O_BINARY)

Here's the kicker: I commented out both instances of that #define and
the build still fails with the same error. Is there anyway I can find
out precisely where the preprocessor is getting that method? C really
isn't my thing so when I have problems like this with prerequisite
packages, I'm really at a loss. Thanks everyone for lending me a hand
with this!




Greg Chicares wrote:
On 2007-05-30 00:12Z, Scott Peterson wrote:
Here's the content of the intermediate file dbus-binding-tool-glib.i:
[major snip]

 On 2007-05-29 02:07Z, you had written:
In file included from /usr/include/unistd.h:4,
from dbus-binding-tool-glib.c:39:
/usr/include/sys/unistd.h:108: error: parse error before numeric constant


Look at line 108 of that file. In my copy, it's a prototype
for _pipe() . Now look for _pipe() in the preprocessed output:


int __attribute__((__cdecl__)) _pipe (int __fildes[2], 4096, _O_BINARY);
Maybe that's the "parse error before numeric constant"?

 What does line 108 in your /usr/include/sys/unistd.h say,
exactly? Assuming it's not corrupted, the real question is
how it got turned into the preprocessed line above.


...to hazard a guess, I suspect some .h has '#define pipe(a) _pipe(a,  4096, 
_O_BINARY)'.



--
Scott.

--
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: Updated [experimental]: findutils-4.3.4-1

2007-05-30 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Eric Blake on 5/30/2007 6:32 PM:
> According to Jan Nieuwenhuizen on 5/30/2007 8:56 AM:
>> Findutils duplicates usr/lib/charset.alias from gettext.  See
> 
>>http://cygwin.com/cgi-bin2/package-grep.cgi?grep=usr%2Flib%2Fcharset.alias
> 
> Bah; I thought I had taken care of this at one point.  I would really like
> for this to be fixed in cygport, since any GNU package that uses gettext
> for i18n will attempt to create the same file as part of their package.
> Anyways, now that findutils has gone to 4.3.6 upstream, I was already
> planning on respinning the package soon.

What timing.  Right after I started building 4.3.6, I got an email stating
that 4.3.7 will be released shortly to resolve security issue
CVE-2007-2452.  So look for 4.3.7 instead, once it is ready to go.
Fortunately, cygwin is pretty much immune to CVE-2007-2452, since it is
pretty hard for cygwin's PATH_MAX of 260 to overflow the fixed buffer
length of 1026 in affected versions of locate :)

- --
Don't work too hard, make some time for fun as well!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGXiFe84KuGfSFAYARAn8HAJ4rBRa1hsrabukejo8oz77SQEL+VQCdG1nd
A41K4eUjl1JklcDj2z0EFak=
=oI1j
-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: File Permissions on Vista [could be "how to deal with UAC"?]

2007-05-30 Thread DePriest, Jason R.

On 5/29/07, morgan gangwere  wrote:
- cut out Arnaud's information and Morgan's PGP header / footer -


Cant we make setup.exe check if its Vista? i mean, its an environment
variable!

UAC does some odd things to user access and permissions.

Just a thought,
Morgan Gangwere




http://blogs.msdn.com/onoj/archive/2007/04/20/windows-vista-uac-and-installer-detection.aspx

Vista is supposed to automatically prompt the end-user to enter some
creds with Admin rights (or whatever the appropriate rights are) if
the executable is called 'setup.exe'

Is this not happening?

-Jason

--
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: [ANNOUNCEMENT] Updated [experimental]: findutils-4.3.4-1 [attn cygport maintainer]

2007-05-30 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Jan Nieuwenhuizen on 5/30/2007 8:56 AM:
> 
> Findutils duplicates usr/lib/charset.alias from gettext.  See
> 
>http://cygwin.com/cgi-bin2/package-grep.cgi?grep=usr%2Flib%2Fcharset.alias

Bah; I thought I had taken care of this at one point.  I would really like
for this to be fixed in cygport, since any GNU package that uses gettext
for i18n will attempt to create the same file as part of their package.
Anyways, now that findutils has gone to 4.3.6 upstream, I was already
planning on respinning the package soon.

- --
Don't work too hard, make some time for fun as well!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGXheM84KuGfSFAYARAir5AJwLSg2UPbD2yK4dgGiMjr2jJRcvWACgkk9C
oRqbI/LCNoQTeYVp+9W+LCw=
=jNbB
-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: Problem with finding mirror lists using setup.exe

2007-05-30 Thread Brian Dessent
"James Sherman Jr." wrote:

> So I took the mirrors.lst file and placed it in
> d:\cygwin\etc\setup\mirrors-lst (since I set my root directory to be
> d:\cygwin) and I still got the same error about not finding the list of
> download sites.  For some reason I guess it wasn't checking the cache?

I think the feature to consult the cached mirror list was added too
recently to have been in the stable version.

> http://cygwin.mirrors.hoobly.com) then I got an error saying that it was:
> "Unable to get setup.ini from "
> I tried a couple other mirrors and got the same error.  Furthermore, when I
> manually put the mirrors.lst file in d:\cygwin\etc\setup\mirrors-lst, the
> mirrors list was populated correctly with the 2.572 version. Same error
> about setup.ini still occurs though.

So, this means it's a general inability to access any remote site, not
just mirrors.lst.  You'll either have to solve that, or do the
downloading as a separate step / on a separate machine.  It would be
interesting to see if it's both http and ftp that fail, but I suspect it
is.

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: Problem with setup.exe - C:\cygwin\bin\* isn't created

2007-05-30 Thread morgan gangwere
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thorsten Kampe wrote:
> * Dave Korn (Wed, 30 May 2007 11:18:12 +0100)
>> On 30 May 2007 11:08, Thorsten Kampe wrote:
>>> * Jean-Pierre Bogler (Wed, 30 May 2007 07:16:42 +0200)
 I hope you can help me, I'm really having problems to install cygwin.

 My OS is Win2k SP 2. I have downloaded the latest version of setup.exe
 (2.510.2.2) and stored it into C:\cyginstall.
 I started the installation with administrator rights. Then I went through
 the installation choosing: 

 - Installation from Internet
 - C:\cygwin as root path
 The download process worked well an the installation began. After the
 installation I decided to add a desktop icon and double clicked on it.
 The dos box told me that it can't change the directory und can't find
 bash.exe :(, so I looked into the C:\cygwin directory.

 The only installed directories are: etc, lib, sbin, usr, var. And the
 files: cygwin.bat and cygwin.ico. There is no bin directory!
 The setup.log file is full of the complaining listed below (... means that
 the message above appears more than once).

 I hope you can help me. Many thanks in advance!
>>> I mean sorry, why don't you have a look at it yourself?! It's not
>>> Sanskrit and it's pretty self-explaining. "running: c:\Dokumente und
>>> Einstellungen\Wohnzimmer\Desktop\PDFMergeW\PDFMerge\bin\\bash.exe -
>>> c" - couldn't get much more explicit, could it?
>>
>>   Yes, but that's very far from an explanation of just how on earth the bin 
>> directory got installed in such an unexpected place, particularly when all 
>> the other directories ended up in the correct location.
> 
> "A small tool to merge several PDF files into one PDF file (based on 
> Ghostscript). It has the following the features: Add/Remove PDF files; 
> Adjust the order of the PDF files; Merge the PDF file based on 
> ps2pdf."
> 
> I guess PDFMerge brings its own small cygwin/bash/ghostscript 
> installation with it.
> 
> 
> 
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:   http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
> 
> 
yep

SAME with irssi and such - you gotta take them out totally before you
can do much else.

and yes its a bunch of 3pp who did this - i just remember to take
"c:\program files\irssi\bin\" or whatever out of my PATH.

also, cygwin1.dll apparently does something to the registry? where it
lives, it thinks that that is bin/

gah.

hope that helps :)
- --
Just a Thought
Morgan Gangwere

For those who want my PGP key:
http://pengunassasin.kicks-ass.org/pgpKey.html

*** Wisdom for the day ***
* Dont rawquote - it gives   *
*  spammers free bait!   *
**
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGXgSwCF9T/dUsmAgRAmPZAJ0bXE1ZEdsD3LPc+MDwnEx2QbtE3wCeKzih
bJM3tiuVaqbdr5sq5xQ00yg=
=2lkB
-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: Problem with finding mirror lists using setup.exe

2007-05-30 Thread morgan gangwere
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Brian Dessent wrote:
> "James Sherman Jr." wrote:
> 
>> Can't get list of download sites.
>> Make sure your network settings are correct and try again.
> 
> I'm not sure what would be causing that.  I have a VMware Vista install
> that I use for testing setup and I can't reproduce this, both with UAC
> disabled or enabled.  I didn't have a need to do anything special such
> as "run with administrator privileges", but I think this happens
> automatically when the binary is called "setup.exe".
> 
> You should of course try a development snapshot of setup
>  but I can't think of anything that
> would have changed in this area.  You can also try putting a copy of the
> mirrors.lst file as /etc/setup/mirrors-lst and setup would then use this
> cached copy of the list.  But as to why it can't fetch the URL itself, I
> have no idea.  It could be some quirk of your networking setup.
> 
> As an additional workaround, you can download the packages using any
> method you want such as wget (or running setup in Download Only mode on
> another PC) and then run setup on the problematic PC in Install From
> Local Directory mode to bypass the need to fetch anything online.
> 
> 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/
> 
> 

*ahem*

im not sure if this is whats going on, but you have to let setup.exe
talk to the internet.

With windows firewall: when setup.exe comes up there should be a box
that says "setup.exe [unknown publisher] is trying to access the
internet - do you want to let it?"

you have wait 10-30 seconds before it'll let you talk to the net.

(also, you have to be a real admin to do this - you _are_ installing
cygwin as an administrator, _right_? )

if im wrong, sorry.

- --
Just a Thought
Morgan Gangwere

For those who want my PGP key:
http://pengunassasin.kicks-ass.org/pgpKey.html

*** Wisdom for the day ***
* Dont rawquote - it gives   *
*  spammers free bait!   *
**
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGXgM9CF9T/dUsmAgRAszcAKC8MNzvOZcVZpVM9mNXgKa0PW5tWQCgkPlf
oWFj1bk/DFg818jzg1abNrs=
=dUTb
-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: Problem with finding mirror lists using setup.exe

2007-05-30 Thread James Sherman Jr.
"Brian Dessent" wrote:

> You should of course try a development snapshot of setup
>  but I can't think of anything that
> would have changed in this area.  You can also try putting a copy of the
> mirrors.lst file as /etc/setup/mirrors-lst and setup would then use this
> cached copy of the list.  But as to why it can't fetch the URL itself, I
> have no idea.  It could be some quirk of your networking setup.

So I took the mirrors.lst file and placed it in
d:\cygwin\etc\setup\mirrors-lst (since I set my root directory to be
d:\cygwin) and I still got the same error about not finding the list of
download sites.  For some reason I guess it wasn't checking the cache?

Next, I downloaded the snapshot 2.572.  I blew away the mirrors-lst file to
see if it would be successful in finding the mirror list.  When it searched
for the list, it didn't come across an error (like before) but came up with
just a blank list.  I then tried to enter a user mirror from the mirror.lst
file in the entry box at the bottom (I tried
http://cygwin.mirrors.hoobly.com) then I got an error saying that it was:
"Unable to get setup.ini from "
I tried a couple other mirrors and got the same error.  Furthermore, when I
manually put the mirrors.lst file in d:\cygwin\etc\setup\mirrors-lst, the
mirrors list was populated correctly with the 2.572 version. Same error
about setup.ini still occurs though.

Thanks again for your quick responses.  I don't have time tonight, but I'll
try the other workarounds you suggested tomorrow.

-James Sherman



--
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 with finding mirror lists using setup.exe

2007-05-30 Thread Brian Dessent
"James Sherman Jr." wrote:

> Can't get list of download sites.
> Make sure your network settings are correct and try again.

I'm not sure what would be causing that.  I have a VMware Vista install
that I use for testing setup and I can't reproduce this, both with UAC
disabled or enabled.  I didn't have a need to do anything special such
as "run with administrator privileges", but I think this happens
automatically when the binary is called "setup.exe".

You should of course try a development snapshot of setup
 but I can't think of anything that
would have changed in this area.  You can also try putting a copy of the
mirrors.lst file as /etc/setup/mirrors-lst and setup would then use this
cached copy of the list.  But as to why it can't fetch the URL itself, I
have no idea.  It could be some quirk of your networking setup.

As an additional workaround, you can download the packages using any
method you want such as wget (or running setup in Download Only mode on
another PC) and then run setup on the problematic PC in Install From
Local Directory mode to bypass the need to fetch anything online.

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: Problem with finding mirror lists using setup.exe

2007-05-30 Thread James Sherman Jr.
> Can you browse to "http://sources.redhat.com/cygwin/mirrors.lst";;?  This
is
> what 'setup.exe' is looking for and can't access.

Yes, I can see that fine (well, with removing the last " from the link).

-James Sherman



--
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 with finding mirror lists using setup.exe

2007-05-30 Thread Larry Hall (Cygwin)
James Sherman Jr. wrote:
> Sorry, forgot to attach the setup files.

Can you browse to "http://sources.redhat.com/cygwin/mirrors.lst";?  This is
what 'setup.exe' is looking for and can't access.

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

_

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

--
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 with finding mirror lists using setup.exe

2007-05-30 Thread James Sherman Jr.
Sorry, forgot to attach the setup files.

-Original Message-
From: James Sherman Jr. [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 30, 2007 2:11 PM
To: 'cygwin@cygwin.com'
Subject: Problem with finding mirror lists using setup.exe

Hello All,

I've done some searching on the mailing list, but I haven't been able to
find anything that answers this question.  So if this has been answered
before, I apologize and would appreciate if one could point me in the right
direction.  That being said, my problem is, that after downloading
setup.exe, I try running it, but I get an error saying:

===
Can't get list of download sites.
Make sure your network settings are correct and try again.
===

I've tried both Direct connection and Use IE5 settings, both with the same
result, and I know I don't use a proxy to connect to the internet.  I've
also tried disabling Norton Internet Security and windows firewall since I
thought that might be blocking it as well, also didn't work.

I'm running windows vista and using the LAN to connect to the internet.  Any
help would be much appreciated.  Please let me know if you need any other
info.  Thanks for your time,

James Sherman


setup.log
Description: Binary data


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

Problem with finding mirror lists using setup.exe

2007-05-30 Thread James Sherman Jr.
Hello All,

I've done some searching on the mailing list, but I haven't been able to
find anything that answers this question.  So if this has been answered
before, I apologize and would appreciate if one could point me in the right
direction.  That being said, my problem is, that after downloading
setup.exe, I try running it, but I get an error saying:

===
Can't get list of download sites.
Make sure your network settings are correct and try again.
===

I've tried both Direct connection and Use IE5 settings, both with the same
result, and I know I don't use a proxy to connect to the internet.  I've
also tried disabling Norton Internet Security and windows firewall since I
thought that might be blocking it as well, also didn't work.

I'm running windows vista and using the LAN to connect to the internet.  Any
help would be much appreciated.  Please let me know if you need any other
info.  Thanks for your time,

James Sherman



--
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: [ANNOUNCEMENT] Updated [experimental]: findutils-4.3.4-1

2007-05-30 Thread Jan Nieuwenhuizen
Eric Blake <[EMAIL PROTECTED]> writes:

> A new release of findutils, 4.3.4-1, is available for experimental use.
> If all goes well, it will become the current version in a couple of weeks,
> rather than the current 4.3.2-3.

Findutils duplicates usr/lib/charset.alias from gettext.  See

   http://cygwin.com/cgi-bin2/package-grep.cgi?grep=usr%2Flib%2Fcharset.alias

Could you please remove that file?  It's annoying because our GUB
build system does not allow files to be overwritten.

Greetings,
Jan.

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org

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



RE: Problem with setup.exe - C:\cygwin\bin\* isn't created

2007-05-30 Thread Thorsten Kampe
* Dave Korn (Wed, 30 May 2007 11:18:12 +0100)
> On 30 May 2007 11:08, Thorsten Kampe wrote:
> > * Jean-Pierre Bogler (Wed, 30 May 2007 07:16:42 +0200)
> >> I hope you can help me, I'm really having problems to install cygwin.
> >> 
> >> My OS is Win2k SP 2. I have downloaded the latest version of setup.exe
> >> (2.510.2.2) and stored it into C:\cyginstall.
> >> I started the installation with administrator rights. Then I went through
> >> the installation choosing: 
> >> 
> >> - Installation from Internet
> >> - C:\cygwin as root path
> 
> >> The download process worked well an the installation began. After the
> >> installation I decided to add a desktop icon and double clicked on it.
> >> The dos box told me that it can't change the directory und can't find
> >> bash.exe :(, so I looked into the C:\cygwin directory.
> >> 
> >> The only installed directories are: etc, lib, sbin, usr, var. And the
> >> files: cygwin.bat and cygwin.ico. There is no bin directory!
> >> The setup.log file is full of the complaining listed below (... means that
> >> the message above appears more than once).
> >> 
> >> I hope you can help me. Many thanks in advance!
> > 
> > I mean sorry, why don't you have a look at it yourself?! It's not
> > Sanskrit and it's pretty self-explaining. "running: c:\Dokumente und
> > Einstellungen\Wohnzimmer\Desktop\PDFMergeW\PDFMerge\bin\\bash.exe -
> > c" - couldn't get much more explicit, could it?
> 
> 
>   Yes, but that's very far from an explanation of just how on earth the bin 
> directory got installed in such an unexpected place, particularly when all 
> the other directories ended up in the correct location.

"A small tool to merge several PDF files into one PDF file (based on 
Ghostscript). It has the following the features: Add/Remove PDF files; 
Adjust the order of the PDF files; Merge the PDF file based on 
ps2pdf."

I guess PDFMerge brings its own small cygwin/bash/ghostscript 
installation with it.



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



Re: Problem with setup.exe - C:\cygwin\bin\* isn't created

2007-05-30 Thread Larry Hall (Cygwin)
On 05/30/2007, Dave wrote:
> Dave Korn wrote:
> > > On 30 May 2007 11:08, Thorsten Kampe wrote:
> >> >> * Jean-Pierre Bogler (Wed, 30 May 2007 07:16:42 +0200)
> >>> >>> The download process worked well an the installation began. After 
> the
> >>> >>> installation I decided to add a desktop icon and double clicked on 
> it.
> >>> >>> The dos box told me that it can't change the directory und can't 
> find
> >>> >>> bash.exe  :( , so I looked into the C:\cygwin directory.
> >>> >>>
> >>> >>> The only installed directories are: etc, lib, sbin, usr, var. And 
> the
> >>> >>> files: cygwin.bat and cygwin.ico. There is no bin directory!
> >>> >>> The setup.log file is full of the complaining listed below (... 
> means that
> >>> >>> the message above appears more than once).
> >>> >>>
> > >   Yes, but that's very far from an explanation of just how on earth the 
> bin directory got installed in such an unexpected place, particularly when 
> all the other directories ended up in the correct location.
> 
> I've seen this before. To reproduce:
> 
> 1. Install cygwin to some directory, say "c:\bizarro_path".
> 2. Optionally uninstall cygwin.
> 3. Install cygwin to another directory, "c:\cygwin"
> 
> The first install set up your /bin mount to point to "c:\bizarro_path\bin".

In this case, the "bad" bin directory appears to be the result of a
 - PDFMerge in this case.

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

_

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

--
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: Issue Getting cron to execute a basic test job on windows

2007-05-30 Thread Larry Hall (Cygwin)
Welcome, Traiano wrote:
>  
> ( *ahem* this time with attachment )
> 
> Hi 
>  
> I cannot get cron to execute a test line, or log errors to the cron log
> for further debugging. I would appreciate it if you could point me in
> the right direction towards fixing my setup. Attached is the
> cronbug.txt.
>  

AFAICS from the information provided, you aren't running 'cron'.  Please
run '/bin/cron-config' and configure and start the service.  Then try again.
If you still have problems, try running 'cron_diagnose.sh' to see if there
is a configuration issue.

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

_

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

--
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 with setup.exe - C:\cygwin\bin\* isn't created

2007-05-30 Thread Dave
Dave Korn wrote:
> On 30 May 2007 11:08, Thorsten Kampe wrote:
>> * Jean-Pierre Bogler (Wed, 30 May 2007 07:16:42 +0200)
>>> The download process worked well an the installation began. After the
>>> installation I decided to add a desktop icon and double clicked on it.
>>> The dos box told me that it can't change the directory und can't find
>>> bash.exe :(, so I looked into the C:\cygwin directory.
>>>
>>> The only installed directories are: etc, lib, sbin, usr, var. And the
>>> files: cygwin.bat and cygwin.ico. There is no bin directory!
>>> The setup.log file is full of the complaining listed below (... means that
>>> the message above appears more than once).
>>>
>   Yes, but that's very far from an explanation of just how on earth the bin 
> directory got installed in such an unexpected place, particularly when all 
> the other directories ended up in the correct location.

I've seen this before. To reproduce:

1. Install cygwin to some directory, say "c:\bizarro_path".
2. Optionally uninstall cygwin.
3. Install cygwin to another directory, "c:\cygwin"

The first install set up your /bin mount to point to "c:\bizarro_path\bin".

During the second install setup.exe places almost everything in
c:\cygwin. However the contents of /bin go to the existing mount point
at "c:\bizarro_path\bin". This is necessary so cygwin updates work when
you've mounted bin somewhere non-standard.

Specifically, when this problem happens cygwin.bat tries to run bash in
c:\cygwin\bin\bash.exe which is not there.

Simple enough to fix, just clear you mounts and reinstall.
c:\bizarro_path\bin\umount -a (IIRC)

I was thinking of submitting a patch to setup to warn users of /bin
being in a non-standard location relative to the install path, but
reasoned this is:

a) not a very frequent occurence
b) usually the user trying to do something strange*


Regards,

DaveK2.

* Having multiple cygwins scattered about the place, and in some cases
running them concurrently.

--
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 with setup.exe - C:\cygwin\bin\* isn't created

2007-05-30 Thread Dave Korn
On 30 May 2007 11:08, Thorsten Kampe wrote:

> * Jean-Pierre Bogler (Wed, 30 May 2007 07:16:42 +0200)
>> I hope you can help me, I'm really having problems to install cygwin.
>> 
>> My OS is Win2k SP 2. I have downloaded the latest version of setup.exe
>> (2.510.2.2) and stored it into C:\cyginstall.
>> I started the installation with administrator rights. Then I went through
>> the installation choosing: 
>> 
>> - Installation from Internet
>> - C:\cygwin as root path

>> The download process worked well an the installation began. After the
>> installation I decided to add a desktop icon and double clicked on it.
>> The dos box told me that it can't change the directory und can't find
>> bash.exe :(, so I looked into the C:\cygwin directory.
>> 
>> The only installed directories are: etc, lib, sbin, usr, var. And the
>> files: cygwin.bat and cygwin.ico. There is no bin directory!
>> The setup.log file is full of the complaining listed below (... means that
>> the message above appears more than once).
>> 
>> I hope you can help me. Many thanks in advance!
> 
> I mean sorry, why don't you have a look at it yourself?! It's not
> Sanskrit and it's pretty self-explaining. "running: c:\Dokumente und
> Einstellungen\Wohnzimmer\Desktop\PDFMergeW\PDFMerge\bin\\bash.exe -
> c" - couldn't get much more explicit, could it?


  Yes, but that's very far from an explanation of just how on earth the bin 
directory got installed in such an unexpected place, particularly when all the 
other directories ended up in the correct location.


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: Problem with setup.exe - C:\cygwin\bin\* isn't created

2007-05-30 Thread Thorsten Kampe
* Jean-Pierre Bogler (Wed, 30 May 2007 07:16:42 +0200)
> I hope you can help me, I'm really having problems to install cygwin.
> 
> My OS is Win2k SP 2. I have downloaded the latest version of setup.exe
> (2.510.2.2) and stored it into C:\cyginstall.
> I started the installation with administrator rights. Then I went through
> the installation choosing:
> 
> - Installation from Internet
> - C:\cygwin as root path
> - Install for all users
> - Textfile type: Unix/binary
> - Internet Connection: Direct Connection
> - A mirror near to me: http://linux.rz.tuhr-uni-bochum.de
> - I did not change the package settings and wanted to make a default
> installation
> 
> The download process worked well an the installation began. After the
> installation I decided to add a desktop icon and double clicked on it.
> The dos box told me that it can't change the directory und can't find
> bash.exe :(, so I looked into the C:\cygwin directory.
> 
> The only installed directories are: etc, lib, sbin, usr, var. And the files:
> cygwin.bat and cygwin.ico. There is no bin directory!
> The setup.log file is full of the complaining listed below (... means that
> the message above appears more than once).
> 
> I hope you can help me. Many thanks in advance!

I mean sorry, why don't you have a look at it yourself?! It's not 
Sanskrit and it's pretty self-explaining. "running: c:\Dokumente und
Einstellungen\Wohnzimmer\Desktop\PDFMergeW\PDFMerge\bin\\bash.exe -
c" - couldn't get much more explicit, could it?

T.


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



Issue Getting cron to execute a basic test job on windows

2007-05-30 Thread Welcome, Traiano
 
( *ahem* this time with attachment )

Hi 
 
I cannot get cron to execute a test line, or log errors to the cron log
for further debugging. I would appreciate it if you could point me in
the right direction towards fixing my setup. Attached is the
cronbug.txt.
 
Thanks in advance,
T.G Welcome

Running crons:
 3884   13884   3884? 96669 11:43:15 /usr/sbin/cron

Sendmail:
lrwxrwxrwx 1 traianow mkgroup-l-d 16 May 29 11:36 /usr/sbin/sendmail -> 
/usr/bin/cronlog

Crontabs:
-rw-r- 1 traianow root 270 May 29 13:03 /var/cron/tabs/traianow

Crontab:
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.9g0bofkvBP installed on Tue May 29 13:03:57 2007)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)
*/2 * * * *  /usr/bin/touch /cygdrive/c/AppServ/cron/hello.txt 

Cygcheck:

Cygwin Configuration Diagnostics
Current System Time: Wed May 30 09:47:30 2007

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

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\IBM\CLIENT~1
c:\PROGRA~1\IBM\CLIENT~1\Shared
c:\PROGRA~1\IBM\CLIENT~1\Emulator
c:\PROGRA~1\CA\SHARED~1\SCANEN~1
c:\PROGRA~1\CA\ETRUST~1
c:\Program Files\3Com\DeviceView\common\bin
c:\Program Files\3Com\DeviceView\dv\bin
c:\Program Files\3Com\DeviceView\grapher
c:\Program Files\3Com\3Com Device Manager\bin
c:\Program Files\3Com\3Com Device Manager\jre\bin
c:\Program Files\3Com\3Com Device Manager\dll
c:\Program Files\3Com\3Com Device Manager\jre\lib
c:\Program Files\Nmap
c:\Program Files\Microsoft SQL Server\80\Tools\Binn\
c:\usr\bin
c:\Program Files\Microsoft SQL Server\90\DTS\Binn\
c:\Program Files\Microsoft SQL Server\90\Tools\binn\
c:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\
c:\Program Files\Microsoft Visual Studio 
8\Common7\IDE\PrivateAssemblies\
c:\Program Files\Nmap
c:\AppServ\Apache2\bin
c:\AppServ\php
c:\AppServ\MySQL\bin

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 96669(traianow)GID: 10545(mkgroup-l-d)
0(root) 544(Administrators) 545(Users)
10545(mkgroup-l-d)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 96669(traianow)GID: 10545(mkgroup-l-d)
0(root) 544(Administrators) 545(Users)
10545(mkgroup-l-d)

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

USER = 'traianow'
PWD = '/cygdrive/c/Documents and Settings/traianow'
CYGWIN = 'ntsec'
HOME = '/cygdrive/c/Documents and Settings/traianow'
MAKE_MODE = 'unix'

HOMEPATH = '\Documents and Settings\traianow'
APPDATA = 'C:\Documents and Settings\traianow\Application Data'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man'
HOSTNAME = 'mcc0264681'
INOCULAN = 'C:\PROGRA~1\CA\ETRUST~1'
PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 2 Stepping 9, GenuineIntel'
TERM = 'cygwin'
WINDIR = 'C:\WINDOWS'
USERDOMAIN = 'MEDICLINIC'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
OS = 'Windows_NT'
!:: = '::\'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
TEMP = '/cygdrive/c/DOCUME~1/traianow/LOCALS~1/Temp'
LIB = 'C:\Program Files\SQLXML 4.0\bin\'
USERNAME = 'traianow'
PROCESSOR_LEVEL = '15'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
JAVA_HOME = 'C:\Program Files\3Com\3Com Device Manager\jre'
CLIENTNAME = 'Console'
USERPROFILE = 'C:\Documents and Settings\traianow'
LOGONSERVER = '\\MCCHQDC03'
!C: = 'C:\cygwin\bin'
PROCESSOR_ARCHITECTURE = 'x86'
SHLVL = '2'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
USERDNSDOMAIN = 'MEDICLINIC.CO.ZA'
HOMEDRIVE = 'C:'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
PROMPT = '$P$G'
SYSTEMROOT = 'C:\WINDOWS'
TMP = '/cygdrive/c/DOCUME~1/traianow/LOCALS~1/Temp'
PROCESSOR_REVISION = '0209'
CVS_RSH = '/bin/ssh'
PRINTER = '\\mccdata.MediClinic.co.za\HP LaserJet 4345 mfp PS'
IMAP = 'C:\Program Files\3Com\3Com Device Manager\bin'
PROGRAMFILES = 'C:\Program Files'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:'
DVAPPHOME = 'C:\PROGRA~1\3Com\DEVICE~1\dv'
AVENGINE = 'C:\PROGRA~1\CA\SHARED~1\SCANEN~1'
NUMBER_OF_PROCESSORS = '2'
SESSIONNAME = 'Console'
COMPUTERNAME = 'MCC0264681'
_ = '/usr/bin/cygcheck'
POSIXLY_CORRECT = '1'

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

RE: Issue Getting cron to execute a basic test job on windows

2007-05-30 Thread Welcome, Traiano
 
Hi 
 
I cannot get cron to execute a test line, or log errors to the cron log
for further debugging. I would appreciate it if you could point me in
the right direction towards fixing my setup. Attached is the
cronbug.txt.
 
Thanks in advance,
T.G Welcome

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



[ANNOUNCEMENT] Updated: ruby-1.8.6-1

2007-05-30 Thread Corinna Vinschen
I have updated the version of ruby on cygwin.com to 1.8.6-1.

This is an upstream bugfix and maintainance release.  The Cygwin release
is built from the vanilla sources.  The --enable-auto-image-base change
from 1.8.5-3 (http://cygwin.com/ml/cygwin-announce/2007-02/msg00019.html)
has gone upstream and has been included in 1.8.6.

You can find the official release message and summaries of the changes
here: http://www.ruby-lang.org/en/news/2007/03/12/ruby-1-8-6-released/


To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

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

http://sources.redhat.com/lists.html#unsubscribe-simple

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

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

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