[ITP] atool

2008-02-05 Thread Andrew Schulman
I'd like to package and maintain atool for Cygwin.

setup.hint
sdesc: Script for managing file archives of various types
ldesc: 'atool is a script for managing file archives of various types
(tar, tar+gzip, zip, bzip2, rar, 7zip, ...).  atool is called under
several names:

* aunpack extracts files from an archive. It overcomes the dreaded
multiple files in archive root problem by first extracting to a
unique subdirectory, and then moving back the files if possible.
aunpack also prevents local files from being overwritten by mistake.

* apack creates archives.

* als lists files in archives.

* acat extracts files to standard out.

* adiff generates a diff between archives.'
category: Archive Utils
requires: perl
/setup.hint

Home page: http://www.nongnu.org/atool/
License:   GPL

atool is part of Debian stable:  http://packages.debian.org/etch/atool .

Please review.
Thanks,
Andrew.

wget \
 http://home.comcast.net/~andrex/cygwin/atool/setup.hint \
 http://home.comcast.net/~andrex/cygwin/atool/atool-0.33.0-1.tar.bz2 \
 http://home.comcast.net/~andrex/cygwin/atool/atool-0.33.0-1-src.tar.bz2


fatal error

2008-02-05 Thread Carlos Moran Tejeda

Dear Cygwin staff:
Im a new user of Cygwin. I was trying to run Grass under Cygwin but when 
I type startx in the comand console a fatal error occurs. The description is


_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per 
pixel
winAllocateFBShadowGDI - Creating DIB with width: 2560 height: 1024 
depth: 32
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 
bpp 32

null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack 
of shared memory support in the kernel

(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 040A (040a)
(--) Using preset keyboard for Spanish (Spain, Traditional Sort) 
(40a), type 4

(--) 3 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing 
from list!


Fatal server error:
could not open default font 'fixed'

Please, could you let me know how to fix it?
Thank you very much
Best Regards
Carlos Morán Tejeda

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



Re: fatal error

2008-02-05 Thread Larry Hall (Cygwin X)

Carlos Moran Tejeda wrote:

Dear Cygwin staff:
Im a new user of Cygwin. I was trying to run Grass under Cygwin but when 
I type startx in the comand console a fatal error occurs. The 
description is


snip


Fatal server error:
could not open default font 'fixed'

Please, could you let me know how to fix it?


Have you looked in the Cygwin-X FAQ?  Here's one hit that seems relevant:

http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof

Other troubleshooting entries may prove helpful to you as well.

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

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



RE: fatal error

2008-02-05 Thread Phil Betts
Carlos Moran Tejeda wrote on Tuesday, February 05, 2008 2:55 PM::

 Fatal server error:
 could not open default font 'fixed'
 
 Please, could you let me know how to fix it?

Try looking in the FAQ - there's a link to it at the bottom of
every message on the list.

This is almost always caused by choosing to install for DOS style
text files.  If this is what you did, be advised that this causes 
all sorts of other problems, so if you've only just installed 
cygwin, I'd recommend deleting your cygwin installation directory 
and reinstalling from scratch.  

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



src/winsup/cygwin ChangeLog autoload.cc enviro ...

2008-02-05 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2008-02-05 17:37:10

Modified files:
winsup/cygwin  : ChangeLog autoload.cc environ.cc fhandler.h 
 fhandler_console.cc strfuncs.cc winsup.h 

Log message:
* autoload.cc (CharToOemA): Remove.
(CharNextExA): Define.
* environ.cc (codepage_init): Un-static.  Set active_codepage to
active codepage.  Default to ansi regardless of buf pointer.
* fhandler.h (dev_console::get_console_cp): New method.
(dev_console::con_to_str): Change declaration according to new
implementation.
(dev_console::str_to_con): Ditto.
* fhandler_console.cc (cp_convert): Remove.
(dev_console::con_to_str): Redefine to take WCHAR as incoming console
char.
(dev_console::get_console_cp): Return correct codepage according to
alternate_charset_active setting.
(dev_console::str_to_con): Redefine to create WCHAR buffer for console
output.
(fhandler_console::read): Read console input as WCHARs.
(base_chars): Fix typo in comment.
(fhandler_console::char_command): Save and restore console output
buffer using UNICODE functions.
(fhandler_console::write_normal): Convert to write output in UNICODE.
Use CharNextExA to recognize multibyte characters in input.  Workaround
problem with UTF-8 and MultiByteToWideChar.  Simplify the loop for
printing normal characters.
* strfuncs.cc (active_codepage): New variable to store active codepage.
(get_cp): Call codepage_init() if active_codepage is uninitialized.
Just return active_codepage.
(is_cp_multibyte): New function.
* winsup.h (active_codepage): Declare.
(codepage_init): Declare.
(is_cp_multibyte): Declare.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.3998r2=1.3999
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/autoload.cc.diff?cvsroot=srcr1=1.143r2=1.144
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/environ.cc.diff?cvsroot=srcr1=1.157r2=1.158
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.h.diff?cvsroot=srcr1=1.332r2=1.333
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_console.cc.diff?cvsroot=srcr1=1.171r2=1.172
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/strfuncs.cc.diff?cvsroot=srcr1=1.5r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/winsup.h.diff?cvsroot=srcr1=1.206r2=1.207



Setup.exe 2.573.2.2 unable to retrieve mirror list and setup.ini/setup.bz2

2008-02-05 Thread Marek.Jawurek
Hi everyone,

I downloaded today´s setup.exe from http://cygwin.com/ and have problems 
running it.
I want to run it as a non-administrator-user to just download the files. So I 
say Just downlioad,
then I give it the proxy settings for my network. 

The first problem is an empty mirror list. Then I add mirror urls and try to 
proceed but it is unable to
retrieve the setup.bz2/.ini from any of the different mirrors. I checked the 
setup.log but it does not 
give any error codes or reasons why downloading failed. I appended my complete 
mirror log. I am running WinXP Professional SP2.

Of course I searched the mailinglist. The posts that resembled my problem were 
answered with Try another mirror.
Well I tried all the mirrors in this log in my Firefox. I double-checked the 
proxy settings. Is there a way to make setup.exe output errors in more detail ?

Marek

2008/02/05 09:00:20 io_stream_cygfile: fopen(/etc/setup/last-action) failed 2 
No such file or directory
2008/02/05 09:00:20 io_stream_cygfile: fopen(/etc/setup/last-mirror) failed 2 
No such file or directory
2008/02/05 09:00:20 io_stream_cygfile: fopen(/etc/setup/last-connection) failed 
2 No such file or directory
2008/02/05 09:00:20 io_stream_cygfile: fopen(/etc/setup/last-cache) failed 2 No 
such file or directory
2008/02/05 09:00:20 Current Directory: c:\Documents and Settings\jawurek\Desktop
2008/02/05 09:00:20 Changing gid to Users
2008/02/05 09:00:20 Could not open Service control manager
2008/02/05 09:00:24 io_stream_cygfile: fopen(/etc/setup/installed.db) failed 2 
No such file or directory
2008/02/05 09:00:25 source: download
2008/02/05 09:00:25 io_stream_cygfile: fopen(/etc/setup/last-cache) failed 2 No 
such file or directory
2008/02/05 09:00:25 Selected local directory: c:\Documents and 
Settings\jawurek\Desktop
2008/02/05 09:00:28 net: IE5
2008/02/05 09:00:28 io_stream_cygfile: fopen(/etc/setup/mirrors-lst) failed 2 
No such file or directory
Cached mirror list unavailable
get_url_to_membuf http://cygwin.com/mirrors.lst
getUrlToStream http://cygwin.com/mirrors.lst
getUrlToStream failed!
get_url_to_membuf failed!
Defaulting to empty mirror list
Adding site: ftp://ftp.easynet.be/cygwin/
2008/02/05 09:01:02 io_stream_cygfile: fopen(/etc/setup/last-mirror) failed 2 
No such file or directory
2008/02/05 09:01:02 site: ftp://ftp.easynet.be/cygwin/
get_url_to_membuf ftp://ftp.easynet.be/cygwin//setup.bz2
getUrlToStream ftp://ftp.easynet.be/cygwin//setup.bz2
getUrlToStream failed!
get_url_to_membuf failed!
get_url_to_membuf ftp://ftp.easynet.be/cygwin//setup.ini
getUrlToStream ftp://ftp.easynet.be/cygwin//setup.ini
getUrlToStream failed!
get_url_to_membuf failed!
2008/02/05 09:01:02 mbox note: Unable to get setup.ini from 
ftp://ftp.easynet.be/cygwin/
2008/02/05 09:01:19 net: Proxy
2008/02/05 09:01:20 io_stream_cygfile: fopen(/etc/setup/last-mirror) failed 2 
No such file or directory
2008/02/05 09:01:20 site: ftp://ftp.easynet.be/cygwin/
get_url_to_membuf ftp://ftp.easynet.be/cygwin//setup.bz2
getUrlToStream ftp://ftp.easynet.be/cygwin//setup.bz2
getUrlToStream failed!
get_url_to_membuf failed!
get_url_to_membuf ftp://ftp.easynet.be/cygwin//setup.ini
getUrlToStream ftp://ftp.easynet.be/cygwin//setup.ini
getUrlToStream failed!
get_url_to_membuf failed!
2008/02/05 09:01:20 mbox note: Unable to get setup.ini from 
ftp://ftp.easynet.be/cygwin/
2008/02/05 09:01:25 net: Proxy
2008/02/05 09:01:26 io_stream_cygfile: fopen(/etc/setup/last-mirror) failed 2 
No such file or directory
2008/02/05 09:01:26 site: ftp://ftp.easynet.be/cygwin/
get_url_to_membuf ftp://ftp.easynet.be/cygwin//setup.bz2
getUrlToStream ftp://ftp.easynet.be/cygwin//setup.bz2
getUrlToStream failed!
get_url_to_membuf failed!
get_url_to_membuf ftp://ftp.easynet.be/cygwin//setup.ini
getUrlToStream ftp://ftp.easynet.be/cygwin//setup.ini
getUrlToStream failed!
get_url_to_membuf failed!
2008/02/05 09:01:26 mbox note: Unable to get setup.ini from 
ftp://ftp.easynet.be/cygwin/
2008/02/05 09:01:28 io_stream_cygfile: fopen(/etc/setup/last-action) failed 2 
No such file or directory
2008/02/05 09:01:28 io_stream_cygfile: fopen(/etc/setup/last-mirror) failed 2 
No such file or directory
2008/02/05 09:01:28 io_stream_cygfile: fopen(/etc/setup/last-connection) failed 
2 No such file or directory
2008/02/05 09:01:28 io_stream_cygfile: fopen(/etc/setup/last-cache) failed 2 No 
such file or directory
2008/02/05 09:01:28 Ending cygwin install

--
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 2.573.2.2 unable to retrieve mirror list and setup.ini/setup.bz2

2008-02-05 Thread Pedro Macanás


-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de
[EMAIL PROTECTED]
Enviado el: martes, 05 de febrero de 2008 9:15
Para: cygwin@cygwin.com
Asunto: Setup.exe 2.573.2.2 unable to retrieve mirror list and
setup.ini/setup.bz2

Is there a way to make setup.exe output errors in more detail ?

Marek

Good idea. It would offer an error code and, preferly, an error text
message.

Regards.



--
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: CIFS symlinks on network share break Cygwin

2008-02-05 Thread Corinna Vinschen
On Feb  4 18:34, Jonathan Lanier wrote:
We use netapp here too, and we have a mixed NTFS/NT ACLS +
  NFS/Unix perms domain.  None of it works well for me from the
  cygwin side, I always find myself having to use the win
  explorer shell extension to change the perms.  If I can help
  with some testing or diagnosis or anything, please feel free to
  contact me offlist. 
 
 My issues weren't with the file permissions; it was all about incorrect
 symlink behavior.  I don't think Cygwin honors the native Unix
 permissions/attributes over a CIFS share; I sure wish it would, though.

It can't because it doesn't know how.  Cygwin uses standard NT system
calls to retrieve a security descriptor which represents the permissions
on the file.  It also uses standard NT calls to set security descriptors
on files.  If the underlying file system doesn't support this standard
means of retrieving and setting owners, groups and permissions, then
we're out of luck.

 It would be even cooler if I could create real symlinks on the network
 share instead of the fake Cygwin ones.  I expect that would require a
 lot more from the OS, though.  Maybe in Vista - I've heard that there is
 a newer SMB/CIFS 2.0 protocol that's supposed to make Windows behave a
 lot more like Unix over remote shares.  Of course we don't use Vista
 here, but there's always hope that in the future this will all
 eventually get sorted out.

Not in Vista, though.  Vista introduced a NTFS native symlink, but it
does not allow to access them over CIFS.  A native symlink on another
Vista machine is not even recognized as a symlink, just as a file of
size 0.  Trying to open this file from the remote machine doesn't work
(Permission denied in Cygwin, nothing at all in Explorer).

Not to mention the fact that the default security policy does not allow
normal users to create native symlinks.  Only Admins are allowed to do
that by default, which spoils their usability, somewhat.

 I keep a Unix shell open so I can change the attributes after creating
 the file on the Windows side.  It's annoying, because some Windows apps
 don't modify files - they delete and rename, so the moment you touch the
 file it's lost the permission again.  Occasionally I'll use the NetApp
 shell extension to do the same, as you mentioned.

If NetApp has a DLL which we could dynamically call from Cygwin, there
would be a chance to change this situation.  Given that somebody cares
enough to invest in source code.


Corinna

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

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



RE: Cygwin Wikia and FAQ

2008-02-05 Thread Pedro Macanás


-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de
Larry Hall (Cygwin)
Enviado el: lunes, 04 de febrero de 2008 17:14
Para: cygwin@cygwin.com
Asunto: Re: Cygwin Gnome and Cygwin Wikia

Pedro Macanás wrote:

Please don't commandeer other threads for your own use.  If you have
something to say that doesn't relate to existing threads, just send a
new email message with the new topic to the list.  Replying to an existing
message links that reply to the existing thread, even if you change the
subject.

I was new to the list. Now I have stored the email in the addressbook.

Any chance you'd be interested in maintaining the official Cygwin FAQ
and/or documentation?  That would be a big help to the Cygwin community.


Yes, we can include it in the Cygnus Wikia and improve it with new questions
(they could be added in the FAQ talk page).

Regards.


--
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: Memory leak problem reported with gfortran

2008-02-05 Thread Corinna Vinschen
On Feb  4 17:24, Christopher Faylor wrote:
 On Mon, Feb 04, 2008 at 01:25:27PM -0800, Jerry DeLisle wrote:
 The test also appears very clean on Linux.  The gfortran library is
 implemented in C.  I need to examine some dumps from the compiler and I
 will get back with you off list if I don't spot the problem.
 
 I am fairly certain that Corinna would want to keep any correspondence
 on-list.

Yup, that's right.


Thanks
Corinna

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

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



Re: File system problem with Vista SP1 RC

2008-02-05 Thread Corinna Vinschen
On Feb  5 07:44, [EMAIL PROTECTED] wrote:
 This started out as a VIM problem and now narrowed down to a simple file 
 system problem
 
 cat  foo
 
 cat bar
 
 cp bar foo
 cat foo
 
 AAA
 
 
 foo - file contains \n
 bar - file contains \n
 
 I can duplicate the same problem in VIM but cannot duplicate using notepad
 
 So is this a problem with the cygwin file system or Vista?   Didn't have this 
 problem before SP1 RC

Did you read my reply to your former mail?

  http://cygwin.com/ml/cygwin/2008-02/msg00062.html

I can't reproduce this at all.  I also tried the above on both machines.
Works as expected.


Corinna

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

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



Re: Cygwin Wikia and FAQ

2008-02-05 Thread Christopher Faylor
On Tue, Feb 05, 2008 at 11:03:42AM +0100, Pedro Macan?s wrote:

-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de
Larry Hall (Cygwin)
Enviado el: lunes, 04 de febrero de 2008 17:14
Para: cygwin@cygwin.com
Asunto: Re: Cygwin Gnome and Cygwin Wikia

Pedro Macan?s wrote:

Please don't commandeer other threads for your own use.  If you have
something to say that doesn't relate to existing threads, just send a
new email message with the new topic to the list.  Replying to an existing
message links that reply to the existing thread, even if you change the
subject.

I was new to the list. Now I have stored the email in the addressbook.

Any chance you'd be interested in maintaining the official Cygwin FAQ
and/or documentation?  That would be a big help to the Cygwin community.


Yes, we can include it in the Cygnus Wikia and improve it with new questions
(they could be added in the FAQ talk page).

I think you missed the point.  We already have a FAQ.  It's not likely
that we would move it to another site.

cgf

--
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: CIFS symlinks on network share break Cygwin

2008-02-05 Thread Dave Korn
On 05 February 2008 13:35, Corinna Vinschen wrote:

 What exactly happens with the perms?  Are you using CYGWIN=smbntsec?

  Yep, and it doesn't help.  It's solely down to the secureshare stuff not
presenting through the standard NT api; it's only visible by using the shell
extension dll.

  (... which makes me wonder, could we possibly leverage that to do some
useful work for us in these situations...?)

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/



[je.editeur #FOP-62770-542]: no subject

2008-02-05 Thread boomerang
Bonjour, 

Nous avons retiré votre adresse courriel de l'envoi du bulletin Boomerang tel 
que demandé.


Bonne fin de journée,

L'équipe Jobboom
Service à la clientèle


 cygwin@cygwin.com wrote:
 Veuillez retirer mon adresse de votre liste d'envoi.
 
 
 
 
 
 To: [EMAIL PROTECTED]
 From: [EMAIL PROTECTED]
 Subject: Boomerang, l'information qui vous revient (3 février 2008)
 Date: Mon, 4 Feb 2008 09:49:19 -0500
 
 
 _




--
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: CIFS symlinks on network share break Cygwin

2008-02-05 Thread Corinna Vinschen
On Feb  5 01:22, Dave Korn wrote:
 On 05 February 2008 00:32, Jonathan Lanier wrote:
 
  OK, so in addition to commenting out the SE_BACKUP_PRIV line in
  sec_helper.cc, I also had to comment out the SE_RESTORE_PRIV line.  The
  former broke calls to GetFileAttributes(), and the latter broke calls to
  FindFirstFile().  Commenting out both of them seems to fix everything in
  Cygwin.  NetApp must be doing something very weird under the hood...
  
  We've opened a ticket with NetApp and I think they're going to look into
  this for a more permanent fix (fingers crossed).
 
   We use netapp here too, and we have a mixed NTFS/NT ACLS + NFS/Unix perms
 domain.  None of it works well for me from the cygwin side, I always find
 myself having to use the win explorer shell extension to change the perms.  If
 I can help with some testing or diagnosis or anything, please feel free to
 contact me offlist.

What exactly happens with the perms?  Are you using CYGWIN=smbntsec?
If not, care to try?


Corinna

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

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



RE: Cygwin Wikia and FAQ

2008-02-05 Thread Dave Korn
On 05 February 2008 13:21, Christopher Faylor wrote:

 On Tue, Feb 05, 2008 at 11:03:42AM +0100, Pedro Macan?s wrote:
 
 -Mensaje original-
 De: cygwin-owner En nombre de Larry Hall (Cygwin)
 Enviado el: lunes, 04 de febrero de 2008 17:14

 Any chance you'd be interested in maintaining the official Cygwin FAQ
 and/or documentation?  That would be a big help to the Cygwin community.
 
 
 Yes, we can include it in the Cygnus Wikia and improve it with new
 questions (they could be added in the FAQ talk page).
 
 I think you missed the point.  We already have a FAQ.  It's not likely
 that we would move it to another site.


  I also observe that all content on wikia sites are covered by GFDL.  I'm not
certain that would be compatible with the cygwin license, but it would
definitely need clearing up before any of the official cygwin documentation
could be duplicated there.


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: Setup.exe 2.573.2.2 unable to retrieve mirror list and setup.ini/setup.bz2

2008-02-05 Thread Igor Peshansky
On Tue, 5 Feb 2008, Marek.Jawurek wrote:

 Hi everyone,

 I downloaded today´s setup.exe from http://cygwin.com/ and have problems
 running it. I want to run it as a non-administrator-user to just
 download the files. So I say Just downlioad, then I give it the proxy
 settings for my network.

 The first problem is an empty mirror list. Then I add mirror urls and
 try to proceed but it is unable to retrieve the setup.bz2/.ini from any
 of the different mirrors. I checked the setup.log but it does not give
 any error codes or reasons why downloading failed. I appended my
 complete mirror log. I am running WinXP Professional SP2.

 Of course I searched the mailinglist. The posts that resembled my
 problem were answered with Try another mirror. Well I tried all the
 mirrors in this log in my Firefox. I double-checked the proxy settings.
 Is there a way to make setup.exe output errors in more detail ?

/var/log/setup.log.full is pretty much it.  However, setup is not really
doing anything very sophisticated -- it tries to retrieve
http://cygwin.com/mirrors.lst using the connection method specified.  The
errors indicate that it was unable to connect.

Trying another mirror doesn't help because setup cannot even retrieve the
mirror list from cygwin.com.

Can you retrieve the contents of the above URL using your browser (IE, in
particular)?  If not, first get that to work, and then try setup again.
If you can, then there may be a problem with setup, since I see that
you're using IE5 settings to connect.  Another option is to try Direct
connection.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

That which is hateful to you, do not do to your neighbor.  That is the whole
Torah; the rest is commentary.  Go and study it. -- Rabbi Hillel
--
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 Wikia and FAQ

2008-02-05 Thread Pedro Macanás
Yes, I know it. But I want the FAQ in a free way (in the same way the Cygwin
software is, this is GNU) and easily updatable in the wiki, with new
questions and answers.

Regards. 

-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de
Christopher Faylor
Enviado el: martes, 05 de febrero de 2008 14:21
Para: cygwin@cygwin.com
Asunto: Re: Cygwin Wikia and FAQ

On Tue, Feb 05, 2008 at 11:03:42AM +0100, Pedro Macan?s wrote:

-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre 
de Larry Hall (Cygwin) Enviado el: lunes, 04 de febrero de 2008 17:14
Para: cygwin@cygwin.com
Asunto: Re: Cygwin Gnome and Cygwin Wikia

Pedro Macan?s wrote:

Please don't commandeer other threads for your own use.  If you have
something to say that doesn't relate to existing threads, just send a 
new email message with the new topic to the list.  Replying to an 
existing message links that reply to the existing thread, even if you 
change the subject.

I was new to the list. Now I have stored the email in the addressbook.

Any chance you'd be interested in maintaining the official Cygwin FAQ
and/or documentation?  That would be a big help to the Cygwin community.


Yes, we can include it in the Cygnus Wikia and improve it with new 
questions (they could be added in the FAQ talk page).

I think you missed the point.  We already have a FAQ.  It's not likely that
we would move it to another site.

cgf

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



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



RE: Setup.exe 2.573.2.2 unable to retrieve mirror list and setup.ini/setup.bz2

2008-02-05 Thread Marek.Jawurek
I can open the mirror list with IE. I tried both, using the IE settings and 
providing it with the proxy information myself in setup.exe. The log reflects 
this,
i.e. it says net: IE5 or net: Proxy. 
Setup.exe could say how this connection failed, failure to connect to the 
server or a File not found response or
a DNS lookup failure. Additionally it could specify explicitely which network 
settings have been used, i.e. Proxy server and port, or elaborate on the 
settings 
retrieved from IE. I do believe that the problem lies in the local network 
settings, probably in combination with the way setup tries to obtain the files
but without further information I cannot verify anything.

Is there a backup method with which I can trick setup.exe into believing that I 
have the files already or provide them locally? I couldn´t find anything
about this in the Documentation. By simply providing all files locally I could 
install cywin after downloading all necessary files to my computer.

Marek


-Original Message-
From: Igor Peshansky [mailto:[EMAIL PROTECTED] 
Sent: Dienstag, 5. Februar 2008 14:58
To: Jawurek, Marek
Cc: cygwin@cygwin.com
Subject: Re: Setup.exe 2.573.2.2 unable to retrieve mirror list and 
setup.ini/setup.bz2

On Tue, 5 Feb 2008, Marek.Jawurek wrote:

 Hi everyone,

 I downloaded today´s setup.exe from http://cygwin.com/ and have 
 problems running it. I want to run it as a non-administrator-user to 
 just download the files. So I say Just downlioad, then I give it the 
 proxy settings for my network.

 The first problem is an empty mirror list. Then I add mirror urls and 
 try to proceed but it is unable to retrieve the setup.bz2/.ini from 
 any of the different mirrors. I checked the setup.log but it does not 
 give any error codes or reasons why downloading failed. I appended my 
 complete mirror log. I am running WinXP Professional SP2.

 Of course I searched the mailinglist. The posts that resembled my 
 problem were answered with Try another mirror. Well I tried all the 
 mirrors in this log in my Firefox. I double-checked the proxy settings.
 Is there a way to make setup.exe output errors in more detail ?

/var/log/setup.log.full is pretty much it.  However, setup is not really doing 
anything very sophisticated -- it tries to retrieve 
http://cygwin.com/mirrors.lst using the connection method specified.  The 
errors indicate that it was unable to connect.

Trying another mirror doesn't help because setup cannot even retrieve the 
mirror list from cygwin.com.

Can you retrieve the contents of the above URL using your browser (IE, in 
particular)?  If not, first get that to work, and then try setup again.
If you can, then there may be a problem with setup, since I see that you're 
using IE5 settings to connect.  Another option is to try Direct connection.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

That which is hateful to you, do not do to your neighbor.  That is the whole 
Torah; the rest is commentary.  Go and study it. -- Rabbi Hillel

--
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 Wikia and FAQ

2008-02-05 Thread Christopher Faylor
On Tue, Feb 05, 2008 at 03:14:27PM +0100, Pedro Macan?s wrote:
Yes, I know it.  But I want the FAQ in a free way (in the same way the
Cygwin software is, this is GNU)

The FAQ is already free, as in GNU.

and easily updatable in the wiki, with new questions and answers.

Good for you.  That wasn't the point however, and we're not going to
advocate that users avail themselves of unofficial documentation at
another site.  The last thing we need is YA site advocating non-standard
ways of doing things.  We already know that this confuses users.

If/when we want to put the FAQ in a wikki we'll use the software
available at sourceware.org, not at some other site which isn't
controlled by the people running the projectg.

cgf

--
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 2.573.2.2 unable to retrieve mirror list and setup.ini/setup.bz2

2008-02-05 Thread Greg Chicares
On 2008-02-05 14:16Z, Marek.Jawurek wrote:
[reformatted]
 On 2008-02-05 13:58Z, Igor Peshansky wrote:
 
 Can you retrieve the contents of the above URL using your browser (IE, in
 particular)?  If not, first get that to work, and then try setup again.
 If you can, then there may be a problem with setup, since I see that
 you're using IE5 settings to connect.  Another option is to try Direct
 connection.

 I can open the mirror list with IE. I tried both, using the IE settings and
 providing it with the proxy information myself in setup.exe.

Does the proxy require password authentication?

Is it possible that the firewall is specifically blocking setup.exe
as in this
  http://cygwin.com/ml/cygwin/2004-03/msg01458.html
message?

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



RE: Setup.exe 2.573.2.2 unable to retrieve mirror list and setup.ini/setup.bz2

2008-02-05 Thread Igor Peshansky
Ugh, top-posting...  Reformatted.

On Tue, 5 Feb 2008, Marek.Jawurek wrote:

 -Original Message-
 From: Igor Peshansky [mailto:[EMAIL PROTECTED]
 Sent: Dienstag, 5. Februar 2008 14:58
 To: Jawurek, Marek
 Cc: [EMAIL PROTECTED]
 Subject: Re: Setup.exe 2.573.2.2 unable to retrieve mirror list and 
 setup.ini/setup.bz2

http://cygwin.com/acronyms/#PCYMTNQREAIYR.

  On Tue, 5 Feb 2008, Marek.Jawurek wrote:
 
   Hi everyone,
  
   I downloaded today´s setup.exe from http://cygwin.com/ and have
   problems running it. I want to run it as a non-administrator-user to
   just download the files. So I say Just downlioad, then I give it the
   proxy settings for my network.
  
   The first problem is an empty mirror list. Then I add mirror urls and
   try to proceed but it is unable to retrieve the setup.bz2/.ini from
   any of the different mirrors. I checked the setup.log but it does not
   give any error codes or reasons why downloading failed. I appended my
   complete mirror log. I am running WinXP Professional SP2.
  
   Of course I searched the mailinglist. The posts that resembled my
   problem were answered with Try another mirror. Well I tried all the
   mirrors in this log in my Firefox. I double-checked the proxy settings.
   Is there a way to make setup.exe output errors in more detail ?
 
  /var/log/setup.log.full is pretty much it.  However, setup is not
  really doing anything very sophisticated -- it tries to retrieve
  http://cygwin.com/mirrors.lst using the connection method specified.
  The errors indicate that it was unable to connect.
 
  Trying another mirror doesn't help because setup cannot even retrieve
  the mirror list from cygwin.com.
 
  Can you retrieve the contents of the above URL using your browser (IE,
  in particular)?  If not, first get that to work, and then try setup
  again. If you can, then there may be a problem with setup, since I see
  that you're using IE5 settings to connect.  Another option is to try
  Direct connection.
  Igor

 I can open the mirror list with IE. I tried both, using the IE settings
 and providing it with the proxy information myself in setup.exe. The log
 reflects this, i.e. it says net: IE5 or net: Proxy.

Does direct connection work?

 Setup.exe could say how this connection failed, failure to connect to
 the server or a File not found response or a DNS lookup failure.
 Additionally it could specify explicitely which network settings have
 been used, i.e. Proxy server and port,

Yes, you're correct.  I'll try to work on it whenever I get some round
tuits (not likely to happen soon, though).

 or elaborate on the settings retrieved from IE.

That won't help much, because setup simply delegates to IE (invokes a
Windows call that retrieves the URL).

 I do believe that the problem lies in the local network settings,
 probably in combination with the way setup tries to obtain the files but
 without further information I cannot verify anything.

Hmm, the above URL is exactly the one it uses for retrieving the mirror
list.  I'm not sure what information setup could output -- perhaps you can
grab a debug version (from the snapshots directory) and step through it in
gdb (once you get Cygwin installed, that is)...

 Is there a backup method with which I can trick setup.exe into believing
 that I have the files already or provide them locally? I couldn´t find
 anything about this in the Documentation. By simply providing all files
 locally I could install cywin after downloading all necessary files to
 my computer.

Yes, there are a few ways.  First, I'd save the mirror list as
/etc/setup/mirrors-lst (prime the cache, so to say) and run setup again
(hoping it can then access the individual mirrors).  Or you can use setup
on another machine in download mode, copy the whole directory tree to your
machine, and then tell setup to Install from local directory.  Another
way is to mirror the repository on some site you *can* connect to and add
that as a mirror explicitly.

It would still be interesting to see why Use IE5 settings fails on your
machine while you can retrieve the mirror list via IE itself...  Do you
have to log in to your proxy?  If so, did you run setup after you logged
in via IE?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

That which is hateful to you, do not do to your neighbor.  That is the whole
Torah; the rest is commentary.  Go and study it. -- Rabbi Hillel
--
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: RE: undefined reference to `_msgDebug' in GCC

2008-02-05 Thread Anik Pal


-Original Message-
From: Anik Pal [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 05, 2008 8:17 PM
To: 'cygwin@cygwin.com'
Subject: RE: RE: undefined reference to `_msgDebug' in GCC 

 
 
-Original Message-
From: Anik Pal [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 05, 2008 8:17 PM
To: '[EMAIL PROTECTED]'
Subject: RE: RE: undefined reference to `_msgDebug' in GCC 
 
Phil,
Thanks for the info you provided. I’m not conversant with GCC.  
I remove the path for regular library like libm.a, and all the paths
specified in posix , now my linker option is as follows
 
-L/cygdrive/f/geolog6.6.1/lib -lcgg -llicence -llogs_dll -lPGILc_dll
-lPGILcTool_dll -lcgs  -lgeolog6 -L/cygdrive/D/cygwin/lib/mingw -lmsvcrt
-Bstatic -lm
But I’m not sure how to remove the dependency on libmsvcrt.a (that comes
with mingw lib in cygwin). What is the equivalent lib in cygwin/lib?
Moreover I followed the solution stated in the following url to get rid of
linking “undefined reference symbol __chkstk”
http://eegeerg.blogspot.com/2008_01_01_archive.html#4158852069709002699 
which actually states to copy chkstk.OBJ from MSVC/lib and rename to
chkstk.o and link with this.
Now linking error goes but when try to execute this exe, it doesn’t gives
any error message but terminate unexpectedly.
Regards
Anik Pal
India
From: Phil Betts Phil dot Betts at ascribe dot com 
• To: cygwin at cygwin dot com 
• Date: Mon, 4 Feb 2008 15:41:43 - 
• Subject: RE: undefined reference to `_msgDebug' in GCC 

Anik Pal wrote on Saturday, February 02, 2008 9:05 AM::
 
 I am trying to using a library in my code whose default compiler is
 MSVCRT. When I try to compile that code in cygwin GCC environment I
 get the following errors
 

F:/geolog6.6.1/lib/libgeolog6.a(fileprintf.o):C:/development/ptc:(.text+
0x9)
 undefined reference to `__chkstk'
[snip]
 more undefined references to `_msgDebug' follow
 
 Can anyone tell me which cygwin-mingw library to be added to get rid
 of this linking error?
 
 My make file linking option I'm providing as follows
 
 -LF:/geolog6.6.1/lib -lcgg -lgeolog6  -llicence -llogs_dll -lPGILc_dll
 -lPGILcTool_dll -lcgs -llmgr9a -LD:/cygwin/lib -lcygwin
 -LD:/cygwin/lib/mingw -lmsvcrt -Bstatic -LD:/cygwin/lib -lm
 
 
First, don't use windows pathnames.  Cygwin is a POSIX environment,
so use POSIX pathnames (I.e. /cygdrive/f/ instead of F:/)
 
Second, you're linking with cygwin AND msvcrt and potentially also
mixing cygwin and mingw libraries.  Don't do that.
The cygwin, msvcrt and mingw are fundamentally incompatible.  
[Although it is possible under very specific circumstances to mix
cygwin and msvcrt, it requires knowledge of the internals of both
libraries, and if you had that knowledge, you wouldn't have posted 
your question, so the advice stands]
 
Make your mind up whether you want to write a POSIX program or a
Windows program and stick to your decision.
 
Third, let the compiler choose the C runtime library.  You don't
specify -lcygwin, nor the path to the standard library locations,
so the only -L you need is -L/cygdrive/f/geolog6.6.1/lib
 
Fourth, libm is integral to cygwin1.dll, so you don't need -lm.
The math library supplied with cygwin is only a stub to support 
makefiles such as yours that assume it's necessary.
 
 
Anik Pal
Schlumberger, Vadodara, India
 


--
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: CIFS symlinks on network share break Cygwin

2008-02-05 Thread Corinna Vinschen
On Feb  5 13:48, Dave Korn wrote:
 On 05 February 2008 13:35, Corinna Vinschen wrote:
 
  What exactly happens with the perms?  Are you using CYGWIN=smbntsec?

you didn't answer my first question.  What exactly happens with the perms?
To what values are they set when creating a file?

 
   Yep, and it doesn't help.  It's solely down to the secureshare stuff not
 presenting through the standard NT api; it's only visible by using the shell
 extension dll.
 
   (... which makes me wonder, could we possibly leverage that to do some
 useful work for us in these situations...?)

Shure, if the DLL has a usefull documented API and a programmer is
caring (or paid) enough to actually do it.


Corinna

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

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



undefined refernce symbol __chkstk

2008-02-05 Thread Anik Pal
I got the linking error message undefined reference symbol __chkstk. When
I try to link my source code with a MSVC compiled library. From the
following url I got a workaround to remove this problem is to copy
CHKSTK.OBJ from MSVC library and rename it to chkstk.o and link with it.

http://eegeerg.blogspot.com/2008_01_01_archive.html#4158852069709002699
 
But that option remove this error message and create the executable, But
when run the executable it doesn't give anything just abort, no error
message

I'm also linking my code with cygwin/lib/mingw/libmsvcrt.a

Now I suspect that wither CHKSTK.OBJ MSVC object file or mingw libmsvcrt.a
library or both is causing this problem. But I'm not sure How to replace
them with equivalent lib if I want to remove dependency from Mingc and MSVC
both.
regard
Anik Pal
Schlumberger, Vadodara, India



--
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: RE: undefined reference to `_msgDebug' in GCC

2008-02-05 Thread Phil Betts
Anik Pal wrote on Tuesday, February 05, 2008 3:12 PM::

 Phil,
 Thanks for the info you provided. I'm not conversant with GCC.
 I remove the path for regular library like libm.a, and all the paths
 specified in posix , now my linker option is as follows
 
 -L/cygdrive/f/geolog6.6.1/lib -lcgg -llicence -llogs_dll -lPGILc_dll
 -lPGILcTool_dll -lcgs  -lgeolog6 -L/cygdrive/D/cygwin/lib/mingw
 -lmsvcrt 
 -Bstatic -lm

You've only done half of what I said.

You only need this:

-L/cygdrive/f/geolog6.6.1/lib -lcgg -llicence -llogs_dll \
-lPGILc_dll -lPGILcTool_dll -lcgs  -lgeolog6

Here's why:

-L/cygdrive/D/cygwin/lib/mingw = look in the mingw lib directory
when linking.  You don't want to do that if you're compiling a
cygwin program, because the mingw libraries expect the program 
to be linked with msvcrt (see below)

-lmsvcrt = link to the Microsoft Visual C Runtime library. You 
definitely don't want this if you're compiling a cygwin program.

-Bstatic -lm = link with the static math library.  As I 
previously explained, the math library is integral to the cygwin 
C runtime library, so you just don't need this.


You should never specify a C runtime library to the compiler 
because  the compiler is generating code for a specific runtime 
library and if you force the linker to link with a different one 
you are likely to get all sorts of linkage errors.

If the above options don't work, then it's likely that your code
(or one of the libraries in geolog6.6.1/lib has calls to native
Windows functions.  If this is the case, you have two options:

1) replace all Windows function calls with their POSIX equivalent.
This will make your code portable to many more platforms.

2) If this is not possible, compile a native Windows program. For 
this you can either use the mingw version of gcc (where you'll 
need to use DOS style paths), or you can use cygwin's gcc in 
cross-compilation mode by specifying the -mno-cygwin option to gcc.
Note that if you do this, you won't be able to link to any of the 
cygwin libraries.  You don't need to change the link options from
those given above - gcc will automatically link with the msvcrt.dll

If you do decide to compile a native windows application, any 
further questions would be off-topic for this list - the clue is in
the no-cygwin bit ;-)

 But I'm not sure how to remove the dependency on libmsvcrt.a (that
 comes with mingw lib in cygwin).

If you've followed the above, you should now be able to answer that
yourself.

 What is the equivalent lib in cygwin/lib? 

cygwin1.dll is cygwin's libc.  Just leave it up to the compiler 
to figure out which C library it needs to link to.
 
 Moreover I followed the solution stated in the following
 url to get rid of linking undefined reference symbol __chkstk
 http://eegeerg.blogspot.com/2008_01_01_archive.html#4158852069709002699
 which actually states to copy chkstk.OBJ from MSVC/lib and rename to
 chkstk.o and link with this.
 Now linking error goes but when try to execute this exe, it doesn't
 gives any error message but terminate unexpectedly.

That link says this:
| This is the error you get when you try to link a msvc6 compiled 
   ^
| library with gcc on mingw
   

If you try to mix MSVC code with cygwin code, you are asking for
trouble.  As I said in my original reply, decide whether you want
a cygwin program or a native Windows program and stick to your 
decision.

Phil

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



Creating user in Documents and Settings on all networked machines

2008-02-05 Thread bootleg86 bootleg86
Hi,

Would it be possible to create a user folder in Documents and
Settings even if I have not logged on to the machine

I was thinking something along the line
for i in `seq -w 1 10`; do cd //machine${i}/c$/Documents and
Settings/; mkdir username; done

What I want to do is to populate the user folder with a couple of shortcuts,
so that when I log on to that machine, I will see all the shortcuts on
my desktop.

Is that possible.

Thanks

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



RE: Creating user in Documents and Settings on all networked machines

2008-02-05 Thread Dave Korn
On 05 February 2008 17:18, bootleg86 bootleg86 wrote:

 Hi,
 
 Would it be possible to create a user folder in Documents and
 Settings even if I have not logged on to the machine

  I know windows security is bad, but it's not quite that pathetic!



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: Creating user in Documents and Settings on all networked machines

2008-02-05 Thread bootleg86 bootleg86
I take it the answer is no.

BTW, does anybody know where I can find more information about network
pathnames.
I didn't know about the c$ equivalent to c: until recently when my
colleague told me about it.

And googling for c$ or c dollar doesn't return any relevant results.

On Feb 5, 2008 12:35 PM, Dave Korn [EMAIL PROTECTED] wrote:
 On 05 February 2008 17:18, bootleg86 bootleg86 wrote:

  Hi,
 
  Would it be possible to create a user folder in Documents and
  Settings even if I have not logged on to the machine

   I know windows security is bad, but it's not quite that pathetic!



 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/



--
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 user in Documents and Settings on all networked machines

2008-02-05 Thread Frodak Baksik
On Feb 5, 2008 1:19 PM, bootleg86  wrote:
 I take it the answer is no.

 BTW, does anybody know where I can find more information about network
 pathnames.
 I didn't know about the c$ equivalent to c: until recently when my
 colleague told me about it.

 And googling for c$ or c dollar doesn't return any relevant results.


You want to search for the terms
windows hidden share
windows default share

Both will lead you to:
http://support.microsoft.com/kb/314984

Regards,
Frodak

--
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 user in Documents and Settings on all networked machines

2008-02-05 Thread Dave Korn
On 05 February 2008 18:19, bootleg86 bootleg86 wrote:

 I take it the answer is no.

  It would kind of make logins entirely pointless, wouldn't it, if anyone
could do anything they wanted (e.g. create files or directories) on your
computer by remote access without needing to login?

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: Cygwin emulates an environment closest to ...

2008-02-05 Thread Larry Hall (Cygwin)

nobody wrote:

Cygwin emulates an environment closest to SunOS, Solaris, HP-UX, IBM's AIX,
DEC OSF (Digital UNIX), or IRIX ?


Yes. ;-)


No this is not my homework. I need to know the closest archetype for a
makefile.


Ouch.  Well, pick your favorite then.  Cygwin doesn't strive to emulate any
of those really.  From the first line of cygwin.com:

  Cygwin is a Linux-like environment for Windows.

So unless you have an option for Linux, any of the above is probably just
as good as another.  But really, you're likely to find that you need to
blaze your own path here.

--
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: Cygwin emulates an environment closest to ...

2008-02-05 Thread Greg Chicares
On 2008-02-05 19:02Z, nobody wrote:
 Cygwin emulates an environment closest to SunOS, Solaris, HP-UX, IBM's AIX,
 DEC OSF (Digital UNIX), or IRIX ?
 No this is not my homework. I need to know the closest archetype for a
 makefile.

Cygwin provides GNU make, coreutils, and bash (among
many other things).

What system-specific issues do you expect to encounter,
or have you encountered on other platforms?

Are you using autotools?

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



setup.exe link down

2008-02-05 Thread Christopher Stack
hi all,

the setup.exe (install or update now!) link is currently not working
and hasn't been since at least 10a yesterday (01/04/08).  i
consistently get a peer reset page instead.  i've tried this from
multiple locations, so i don't think it's my side.

cheers
christopher

-- 
Space is on the verge of becoming an adventure again, Windows Vista
is flopping, and Mario Kart will be out for the Wii soon. I think the
future will be okay.
- xkcd

--
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 emulates an environment closest to ...

2008-02-05 Thread nobody

Thanks for the info.
 I realize that It emulates Unix, I just wanted to know if it was closer to
one or the other.


Larry Hall (Cygwin) wrote:
 
 But really, you're likely to find that you need to blaze your own path
 here.
 

Im trying. Ive made some progress on my compilation, its just taking long
because Ive never used Cygwin or and *nix before :/
And Im learning that compilation is a crash course to *nix.

-- 
View this message in context: 
http://www.nabble.com/Cygwin-emulates-an-environment-closest-to-...-tp15296985p15297427.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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



Re: Cygwin emulates an environment closest to ...

2008-02-05 Thread Samuel Thibault
nobody, le Tue 05 Feb 2008 11:02:48 -0800, a écrit :
 Cygwin emulates an environment closest to SunOS, Solaris, HP-UX, IBM's AIX,
 DEC OSF (Digital UNIX), or IRIX ?

See the cygwin documentation: it is meant to be a Linux-like
environment.

Samuel

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

2008-02-05 Thread Dave Korn
On 05 February 2008 19:21, Christopher Stack wrote:

 hi all,
 
 the setup.exe (install or update now!) link is currently not working
 and hasn't been since at least 10a yesterday (01/04/08).  i
 consistently get a peer reset page instead.  i've tried this from
 multiple locations, so i don't think it's my side.
 
 cheers
 christopher


  Well, I think it's from your side:


/tmp $ wget http://cygwin.com/setup.exe
--19:25:01--  http://cygwin.com/setup.exe
   = `setup.exe.1'
Resolving cygwin.com... 209.132.176.174
Connecting to cygwin.com|209.132.176.174|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 415,232 (406K) [application/octet-stream]

100%[] 415,232  104.39K/sETA
00:00

19:25:05 (104.14 KB/s) - `setup.exe.1' saved [415232/415232]



~ $ wget http://cygwin.com/setup.exe
--19:31:05--  http://cygwin.com/setup.exe
   = `setup.exe'
Resolving cygwin.com... 209.132.176.174
Connecting to cygwin.com|209.132.176.174|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 415,232 (406K) [application/octet-stream]

100%[] 415,232   79.13K/sETA
00:00

19:31:12 (72.08 KB/s) - `setup.exe' saved [415232/415232]

  That's also from two separate locations, connected to the 'net via two
separate ISPs.

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: Cygwin emulates an environment closest to ...

2008-02-05 Thread Andrew Schulman
 Cygwin emulates an environment closest to SunOS, Solaris, HP-UX, IBM's AIX,
 DEC OSF (Digital UNIX), or IRIX ?
 No this is not my homework. I need to know the closest archetype for a
 makefile.

http://cygwin.com


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



Cygwin emulates an environment closest to ...

2008-02-05 Thread nobody

Cygwin emulates an environment closest to SunOS, Solaris, HP-UX, IBM's AIX,
DEC OSF (Digital UNIX), or IRIX ?
No this is not my homework. I need to know the closest archetype for a
makefile.

-- 
View this message in context: 
http://www.nabble.com/Cygwin-emulates-an-environment-closest-to-...-tp15296985p15296985.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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



Re: Cygwin emulates an environment closest to ...

2008-02-05 Thread nobody


Greg Chicares-2 wrote:
 
 What system-specific issues do you expect to encounter,
 or have you encountered on other platforms?
 
I personally dont know. Im trying to compile source code that I did not make
myself.  The ReadMe that comes with it tells me to run these commands:

{
% cd /usr/local/hsf
% make -f makefile.mak instarch INSTARCH=arch
% make -f makefile.mak bare
% make -f makefile.mak depend
% make -f makefile.mak install

The first make invocation uses the instarch option to install
architecture-dependent files required to support the compilation and
execution of the distribution’s programs and libraries. The actual
architecture is defined by replacing the argument arch with one of the
extensions listed in Table 2. ( SunOS, Solaris, HP-UX, IBM's AIX,  DEC OSF
(Digital UNIX), or IRIX ) For example, “INSTARCH=sun” must be used
to compile the distribution on computers running SunOS 4.1.X. If you are
installing this software on a machine not listed in Table 2, you first need
to determine which set of architecture-dependent files is most similar to
those required by your particular computer. Invoke make using the instarch
option with INSTARCH set to the closest known architecture.
}

When I run make -f makefile.mak depend depending on what architecture i
specify I either get language M not recognized or it tells me that my
headers and C files cant be found. So im takin a stab in the dark and
guessing that choosing the closest architecture is a good place to start. 


Greg Chicares-2 wrote:
 
 Are you using autotools?
 
no :confused:
as I said in the previous reply (and as youve undoubtly grasped by now) Im
new to *Nix.
-- 
View this message in context: 
http://www.nabble.com/Cygwin-emulates-an-environment-closest-to-...-tp15296985p15298152.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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



RE: CIFS symlinks on network share break Cygwin

2008-02-05 Thread Jonathan Lanier
   Yep, and it doesn't help.  It's solely down to the secureshare
 stuff not presenting through the standard NT api; it's only visible
 by using the shell extension dll. 
 
   (... which makes me wonder, could we possibly leverage that to do
 some useful work for us in these situations...?)
 
 Shure, if the DLL has a usefull documented API and a
 programmer is caring (or paid) enough to actually do it.

Well, I for one would love to have something like that.  I wonder if
NetApp could be poked/prodded to participate.  Makes me think also,
NetApp isn't the only CIFS server that supports Unix features - as
Corinna pointed out to me earlier, apparently Samba does this as well (I
haven't used Samba in years so I assumed that it could not).  And that
gives me a totally crazy idea - wouldn't it be nice if there were a
standardized, open set of extensions to allow Windows applications to
access native symlinks, attributes, and permissions over remote network
shares?  If there were such a thing, Cygwin could totally use that to
have seamless Unix-style integration with networks, as could other
applications.  If such a thing doesn't exist, it should.  If the CIFS
protocol already supports it, it should be exposed in the Windows OS.
Who do I need to vote for to make this happen?  :)

Also, it's very disappointing to hear about how the symlinks are
implemented in Vista.  Admin access?  What were they thinking?  Seems
like if Microsoft wants to solve their problems, they should re-engineer
the entire OS on top of a *nix kernel and be done with it.  Kind of like
Mac OS did...  Oh well.

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



Re: undefined refernce symbol __chkstk

2008-02-05 Thread Reini Urban

Anik Pal schrieb:

I got the linking error message undefined reference symbol __chkstk. When
I try to link my source code with a MSVC compiled library. From the
following url I got a workaround to remove this problem is to copy
CHKSTK.OBJ from MSVC library and rename it to chkstk.o and link with it.

http://eegeerg.blogspot.com/2008_01_01_archive.html#4158852069709002699
 
But that option remove this error message and create the executable, But

when run the executable it doesn't give anything just abort, no error
message

I'm also linking my code with cygwin/lib/mingw/libmsvcrt.a

Now I suspect that wither CHKSTK.OBJ MSVC object file or mingw libmsvcrt.a
library or both is causing this problem. But I'm not sure How to replace
them with equivalent lib if I want to remove dependency from Mingc and MSVC
both.


If your goal is to remove the dependency from Mingw and MSVC, so why are 
still trying to link against MSVC libs with ggc and MSVC specific 
compiler options?
__chkstk is a MSVC-specific stack checker compiled into each debugging 
function.


Get rid of your MSVC build script with cygwin, and use the cygwin 
equivalent of the solaris environment. Esp. get cygwin or mingw libs.

That's your work to do. Or use MSVC.

The day you got your cygwin application to compile against those
MSVC libs will not be the end of your problems.
http://cygwin.com/faq/faq.programming.html#faq.programming.msvcrt-and-cygwin

 -LF:/geolog6.6.1/lib -lcgg -lgeolog6  -llicence -llogs_dll -lPGILc_dll
 -lPGILcTool_dll -lcgs -llmgr9a -LD:/cygwin/lib -lcygwin
 -LD:/cygwin/lib/mingw -lmsvcrt -Bstatic -LD:/cygwin/lib -lm

oh horror.

undefined reference to [EMAIL PROTECTED]@@[EMAIL PROTECTED]@Z'

So you link against a MSVC C++ library with gcc? Corba?
Maybe possible with a lot of work. But most likely not.
http://cygwin.com/faq/faq.programming.html#faq.programming.msvc-gcc-objects
E.g. besides the different C++ name mangling, your lib is linked against 
the microsoft c runtime, on cygwin you use the cygwin c runtime.
Both together will not work. The C++ members allocate new memory with 
the msvcrt malloc(), which cannot be free'd from any cygwin function. 
And vice versa.

--
Reini

--
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 emulates an environment closest to ...

2008-02-05 Thread Reini Urban

nobody schrieb:

Cygwin emulates an environment closest to SunOS, Solaris, HP-UX, IBM's AIX,
DEC OSF (Digital UNIX), or IRIX ?
No this is not my homework. I need to know the closest archetype for a
makefile.


Looking at the makefiles in question would certainly help more than
just some OS names. Url of your app?
  gnu tools? autotools?
All are more or less unix like, but unix's not unix.
Esp. such high-powered unices, which could come without gnu at all.
Not just a simple gnu linux or bsd, which are closest to cygwin.

At least it's no VMS, MVS/OS-390 or lispmachine, so call yourself lucky.
--
Reini

--
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: CIFS symlinks on network share break Cygwin

2008-02-05 Thread Dave Korn
On 05 February 2008 14:27, Corinna Vinschen wrote:

 On Feb  5 13:48, Dave Korn wrote:
 On 05 February 2008 13:35, Corinna Vinschen wrote:
 
 What exactly happens with the perms?  Are you using CYGWIN=smbntsec?
 
 you didn't answer my first question.  What exactly happens with the perms?
 To what values are they set when creating a file?

  Oops, pardon.  I thought I had posted this yesterday but now I see it's just
lying around my drafts folder.  My win32 T: drive is a netapp share (CIFS
with NFS perms) and /win/t is a mountpoint to it (system, binmode, noexec)
that I use as shorthand for /cygdrive notation.

/win/t/netapp $ ls -la
total 0
drwxr-xr-x 1 dk Domain Users 0 Feb  4 15:23 .
drwxr-xr-x 1 dk Domain Users 0 Jan  1  1970 ..
/win/t/netapp $ echo $CYGWIN
ntsec smbntsec notty error_start=C:\cygwin\usr\local\bin\insight.exe
/win/t/netapp $ touch foo.bar
/win/t/netapp $ ls -la
total 0
drwxr-xr-x 1 dk Domain Users 0 Feb  4 15:23 .
drwxr-xr-x 1 dk Domain Users 0 Jan  1  1970 ..
-rw-r--r-- 1 dk Domain Users 0 Feb  4 15:23 foo.bar
/win/t/netapp $ chmod a+rwx foo.bar
/win/t/netapp $ ls -la
total 0
drwxr-xr-x 1 dk Domain Users 0 Feb  4 15:23 .
drwxr-xr-x 1 dk Domain Users 0 Jan  1  1970 ..
-rw-r--r-- 1 dk Domain Users 0 Feb  4 15:23 foo.bar
/win/t/netapp $


  So, can't chmod easily.  Umask appears at first glance to be respected when
creating files:

/win/t $ umask 0
/win/t $ touch baz.bar
/win/t $
/win/t $ ls -la baz.bar
-rw-r--r-- 1 dk Domain Users 0 Feb  5 15:18 baz.bar
/win/t $ umask 777
/win/t $ touch baz.bot
/win/t $ ls -la baz.bot
-- 1 dk Domain Users 0 Feb  5 15:18 baz.bot
/win/t $ 

  I have no idea what happened next.  Looked as if the umask was contagious:

/win/t $ chmod a+rwx baz.bot
/win/t $ ls -la baz.*
-- 1 dk Domain Users   0 Feb  5 15:18 baz.bar
-- 1 dk Domain Users   0 Feb  5 15:18 baz.bot
-- 1 dk Domain Users 111 Aug 17  2006 baz.txt

  Ah, phew:

/win/t $ umask 000
/win/t $ ls -la baz.*
-rw-r--r-- 1 dk Domain Users   0 Feb  5 15:18 baz.bar
-rw-r--r-- 1 dk Domain Users   0 Feb  5 15:18 baz.bot
-rw-r--r-- 1 dk Domain Users 111 Aug 17  2006 baz.txt

...that got it back.  How bizarre: a live umask with retroactive effect.

/win/t $ umask 000
/win/t $ ls -la baz.*
-rw-r--r-- 1 dk Domain Users   0 Feb  5 15:18 baz.bar
-rw-r--r-- 1 dk Domain Users   0 Feb  5 15:18 baz.bot
-rw-r--r-- 1 dk Domain Users 111 Aug 17  2006 baz.txt
/win/t $ umask 077
/win/t $ ls -la baz.*
-rw--- 1 dk Domain Users   0 Feb  5 15:18 baz.bar
-rw--- 1 dk Domain Users   0 Feb  5 15:18 baz.bot
-rw--- 1 dk Domain Users 111 Aug 17  2006 baz.txt
/win/t $ umask 770
/win/t $ ls -la baz.*
---r-- 1 dk Domain Users   0 Feb  5 15:18 baz.bar
---r-- 1 dk Domain Users   0 Feb  5 15:18 baz.bot
---r-- 1 dk Domain Users 111 Aug 17  2006 baz.txt
/win/t $ umask 731
/win/t $ ls -la baz.*
r--r-- 1 dk Domain Users   0 Feb  5 15:18 baz.bar
r--r-- 1 dk Domain Users   0 Feb  5 15:18 baz.bot
r--r-- 1 dk Domain Users 111 Aug 17  2006 baz.txt
/win/t $ umask 137
/win/t $ ls -la baz.*
-rw-r- 1 dk Domain Users   0 Feb  5 15:18 baz.bar
-rw-r- 1 dk Domain Users   0 Feb  5 15:18 baz.bot
-rw-r- 1 dk Domain Users 111 Aug 17  2006 baz.txt
/win/t $

  /boggle That's just completely Tom Cruise, that is.

   (... which makes me wonder, could we possibly leverage that to do some
 useful work for us in these situations...?)
 
 Shure, if the DLL has a usefull documented API 

  Heh, I believe it's IShellExtension or some such similar[*]...

 and a programmer is
 caring (or paid) enough to actually do it.

  I'd do it just so that I don't have to go to explorer all the time.


cheers,
  DaveK

[*] - not even nearly, actually, but anyway it's /one/ of those explorer shell
extension IXxxxXx interfaces.
-- 
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/



w32api package missing NdrServerCall2

2008-02-05 Thread Genghis Karimov

w32api-3.11.1 in 27-Dec-2007 added NdrClientCall2. However, the complementary 
NdrServerCall2 export is still missing. This applies to librpcrt4.a and rpcndr.h
_


--
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 Wikia and FAQ

2008-02-05 Thread Larry Hall (Cygwin)

Pedro Macanás wrote:


-Mensaje original-
De: cygwin-owner  [mailto:cygwin-owner at cygwin dot com] En nombre de

^^
http://cygwin.com/acronyms/#PCYMTNQREAIYR.  Thanks.


Larry Hall (Cygwin)
Enviado el: lunes, 04 de febrero de 2008 17:14
Para: cygwin at cygwin dot com


Same here.


Asunto: Re: Cygwin Gnome and Cygwin Wikia



snip


Any chance you'd be interested in maintaining the official Cygwin FAQ
and/or documentation?  That would be a big help to the Cygwin community.



Yes, we can include it in the Cygnus Wikia and improve it with new questions
(they could be added in the FAQ talk page).



Actually, the Cygwin FAQ and other documentation is in DocBook form and
managed as a Cygwin package.  Any interest in maintaining that for the
benefit of the whole community?


--
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: setup.exe link down

2008-02-05 Thread DePriest, Jason R.
On Feb 5, 2008 1:20 PM, Christopher Stack  wrote:
 hi all,

 the setup.exe (install or update now!) link is currently not working
 and hasn't been since at least 10a yesterday (01/04/08).  i
 consistently get a peer reset page instead.  i've tried this from
 multiple locations, so i don't think it's my side.

 cheers
 christopher

 --

Connection reset by peer?

That implies that your systems are forcibly ending the connection.
Firewall, HIPS, AV, or proxy maybe?

-Jason

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



problem with setup

2008-02-05 Thread Amadeus W.M.
I am (was) running cygwin under XP at work. It was installed a while back 
by IT. Everything gets done through IT. They are primarily windows people 
and they left out some important packages like man and others. So I asked 
them to reinstall. I can't install the missing packages myself, they have 
to download whatever I need, scan it for viruses, pack it somehow, then 
install it on my machine. 

Long story short, when all planets were in alignment, I ran setup to do 
an installation from scratch (over my existing installation). 
Accidentally, I had a shell open (I run bash in rxvt). At some point the 
installer wanted to uninstall bash, it failed. I closed the shell and I 
told it to retry, but it kept failing so I pressed cancel. I ran setup 
again (several times) and at each time I would get an error that setup 
crashed, please inform Microsoft . I said no, but the installer would 
hang. Always when it was trying to uninstall bash. 

Cygwin did install properly on other co-workers' machines, so I imagine I 
caused the whole thing by having the shell open the first time. The 
question is what do I do now? I don't even know where to start. 

Is there a way to completely remove cygwin as if it was never there? Do I 
have to clean up some entries in the registry? Delete /cygdrive/c/cygwin? 
I'm a linux guy, I have no idea what to do in windows. 

I'd appreciate any suggestions. Thanks!




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



Re: problem with setup

2008-02-05 Thread Warren Young

Amadeus W.M. wrote:


Is there a way to completely remove cygwin as if it was never there? 


http://cygwin.com/faq/faq.setup.html#faq.setup.uninstall-all

--
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: Memory leak problem reported with gfortran

2008-02-05 Thread Jerry DeLisle

Corinna Vinschen wrote:

On Feb  4 17:24, Christopher Faylor wrote:

On Mon, Feb 04, 2008 at 01:25:27PM -0800, Jerry DeLisle wrote:

The test also appears very clean on Linux.  The gfortran library is
implemented in C.  I need to examine some dumps from the compiler and I
will get back with you off list if I don't spot the problem.

I am fairly certain that Corinna would want to keep any correspondence
on-list.


Yup, that's right.



OK, we have isolated the problem now.  Confirming its in the libgfortran.  The 
reason we did not see it on Linux is because we just did not run out of memory 
yet and when the test program completes, it does actually free what was 
allocated.  We are failing to reuse an already allocated block so we were 
allocating a new one for every single WRITE to the string.


Thanks for all your help.

Jerry

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

2008-02-05 Thread Larry Hall (Cygwin)

Warren Young wrote:

Amadeus W.M. wrote:


Is there a way to completely remove cygwin as if it was never there? 


http://cygwin.com/faq/faq.setup.html#faq.setup.uninstall-all


Might be worth trying to delete (or move aside) '/etc/setup/bash.lst.gz'
first.  If that doesn't help, you might be stuck with starting over if
you're looking for the easy path.

--
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: Updated: clisp-2.44-1 for cygwin

2008-02-05 Thread Mark Harig

Reini Urban wrote:
I've released the new upstream clisp-2.44 plus subpackages -clx, -gtk2 
and -gdi for cygwin.


Thank you for updating clisp to the latest version.  I am seeing a 
reproducible
error when I attempt to use it.  Error code 53 is returned when the '-K 
full'

option is supplied to clisp:

 $ /usr/bin/clisp -norc -q -K full || echo $?
 53

 $ cygcheck -c cygwin clisp ffcall
 Cygwin Package Information
 Package  VersionStatus
 clisp2.44-1 OK
 cygwin   1.5.25-7   OK
 ffcall   1.10-1 OK


I attempted to eliminate this problem by reverting to the previous
version of clisp, 2.43-2, but the same error number was returned.

No such error is returned for the base set of modules for either version
2.43-2 or 2.44-1:

 $ /usr/bin/clisp -q -norc -K base || echo $?
 [1]_

Please let me know if there is some more environmental information that
I can provide to help resolve this 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: problem with setup

2008-02-05 Thread Amadeus W.M.
On Tue, 05 Feb 2008 18:06:52 -0700, Warren Young wrote:

 Amadeus W.M. wrote:
 
 Is there a way to completely remove cygwin as if it was never there?
 
 http://cygwin.com/faq/faq.setup.html#faq.setup.uninstall-all

Thanks! That 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: problem with setup

2008-02-05 Thread Amadeus W.M.
On Tue, 05 Feb 2008 20:59:11 -0500, Larry Hall (Cygwin) wrote:

 Warren Young wrote:
 Amadeus W.M. wrote:

 Is there a way to completely remove cygwin as if it was never there?
 
 http://cygwin.com/faq/faq.setup.html#faq.setup.uninstall-all
 
 Might be worth trying to delete (or move aside) '/etc/setup/bash.lst.gz'
 first.  If that doesn't help, you might be stuck with starting over if
 you're looking for the easy path.

That's what I'm trying to do, start over with a new install, but setup 
crashes when it comes to uninstalling bash. 



--
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: clisp-2.44-1 for cygwin

2008-02-05 Thread Larry Hall (Cygwin)

Mark Harig wrote:

Reini Urban wrote:
I've released the new upstream clisp-2.44 plus subpackages -clx, -gtk2 
and -gdi for cygwin.


Thank you for updating clisp to the latest version.  I am seeing a 
reproducible
error when I attempt to use it.  Error code 53 is returned when the '-K 
full'

option is supplied to clisp:

 $ /usr/bin/clisp -norc -q -K full || echo $?
 53

 $ cygcheck -c cygwin clisp ffcall
 Cygwin Package Information
 Package  VersionStatus
 clisp2.44-1 OK
 cygwin   1.5.25-7   OK
 ffcall   1.10-1 OK


I attempted to eliminate this problem by reverting to the previous
version of clisp, 2.43-2, but the same error number was returned.

No such error is returned for the base set of modules for either version
2.43-2 or 2.44-1:

 $ /usr/bin/clisp -q -norc -K base || echo $?
 [1]_

Please let me know if there is some more environmental information that
I can provide to help resolve this problem.


Sounds like it could be a missing dependency problem.  Does 'cygcheck clisp'
report any missing DLLs?

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

2008-02-05 Thread Larry Hall (Cygwin)

Amadeus W.M. wrote:

On Tue, 05 Feb 2008 20:59:11 -0500, Larry Hall (Cygwin) wrote:


Warren Young wrote:

Amadeus W.M. wrote:

Is there a way to completely remove cygwin as if it was never there?

http://cygwin.com/faq/faq.setup.html#faq.setup.uninstall-all

Might be worth trying to delete (or move aside) '/etc/setup/bash.lst.gz'
first.  If that doesn't help, you might be stuck with starting over if
you're looking for the easy path.


That's what I'm trying to do, start over with a new install, but setup 
crashes when it comes to uninstalling bash. 


Which is why I was suggesting removing '/etc/setup/bash.lst.gz'.  It sounds
like this file may have become corrupt, which can cause 'setup.exe' to
crash.  If that's it, this should allow 'setup.exe' to run without the
need of removing everything and reinstalling.  But if it's all the same to
you, then you can certainly go ahead and do that.

--
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: Updated: clisp-2.44-1 for cygwin

2008-02-05 Thread Eric Blake

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Larry Hall (Cygwin) on 2/5/2008 8:42 PM:
|  $ /usr/bin/clisp -norc -q -K full || echo $?
|  53
| No such error is returned for the base set of modules for either version
| 2.43-2 or 2.44-1:
|
|  $ /usr/bin/clisp -q -norc -K base || echo $?
|  [1]_
|
| Sounds like it could be a missing dependency problem.  Does 'cygcheck
| clisp'
| report any missing DLLs?

Yep.  Looking at the strace, -K full triggers the exec of
/lib/clisp-2.44/full/lisp.exe, which complains:
$ cygcheck /lib/clisp-2.44/full/lisp
c:\cygwin\lib/clisp-2.44/full/lisp.exe
...
Error: could not find cygpq5.dll

Yet:
$ cygcheck -p cygpq5
Found 0 matches for cygpq5.

So, what is cygpq5.dll, and has it ever been in the distribution?  At any
rate, it looks like clisp needs to be rebuilt to either provide this dll
or not link against it.

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

iD8DBQFHqTCI84KuGfSFAYARArAqAKDFfDaDa3CUP0aK+nff+M39hW1FeACggSHr
qo8Db8ELNNlk4bl40erMRmw=
=DJNk
-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: Updated: clisp-2.44-1 for cygwin

2008-02-05 Thread Mark Harig

Larry Hall wrote:


Sounds like it could be a missing dependency problem.  Does 'cygcheck clisp'
report any missing DLLs?



No, it doesn't report any missing DLLs.  Both versions 2.43-2 and 2.44-1 
have the following report

from cygcheck:

$ cygcheck clisp
Found: C:\cygwin\bin\clisp.exe
C:\cygwin\bin\clisp.exe
 C:\cygwin\bin\cygwin1.dll
   C:\WINDOWS\system32\ADVAPI32.DLL
 C:\WINDOWS\system32\ntdll.dll
 C:\WINDOWS\system32\KERNEL32.dll
 C:\WINDOWS\system32\RPCRT4.dll
   C:\WINDOWS\system32\Secur32.dll


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



Re: Updated: clisp-2.44-1 for cygwin

2008-02-05 Thread Eric Blake

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Mark Harig on 2/5/2008 9:08 PM:
| No, it doesn't report any missing DLLs.  Both versions 2.43-2 and 2.44-1
| have the following report
| from cygcheck:
|
| $ cygcheck clisp
| Found: C:\cygwin\bin\clisp.exe

clisp is just a wrapper program that invokes other executables.  I
wouldn't expect clisp itself to have problems, since it worked when you
didn't use -K full.

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

iD8DBQFHqTYZ84KuGfSFAYARArmBAKC3pJ01fxauKYYuf3hJSdXoknLX/wCfUh9h
j+lzOqA5Qe4QaJR9vCDJdY4=
=Qg74
-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 setup

2008-02-05 Thread Morgan gangwere

*cough*
just a thought... but cant you simply as administrator or some other 
form of admin simply kill your cygwin isntall directory and remove the 
Cygwin registry keys?


--

Morgan Gangwere

CraiSys if i cant sudo apt-get install life, then why should i need 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: Updated: clisp-2.44-1 for cygwin

2008-02-05 Thread Mark Harig

Eric Blake wrote:


$ cygcheck /lib/clisp-2.44/full/lisp
c:\cygwin\lib/clisp-2.44/full/lisp.exe
...
Error: could not find cygpq5.dll



Was cygpq5.dll the only missing file reported?  I repeated
your command and found that cygfcgi-0.dll is also needed/missing.
(See below for the full listing of cygcheck.)

 So, what is cygpq5.dll, and has it ever been in the distribution?

It might be a typo (in the procedures that compile/link clisp).  
Possibly, 'cygpq.dll' is
needed.  It is a library included in the Cygwin package named 'libpq4'.  
Is there a

newer version 'libpq5' that has not been created for Cygwin yet?

$ cygcheck -f /usr/bin/cygpq.dll
libpq4-8.0.7-1

The Clisp documentation specifies that the full set of modules will include
a postgresql and a fastCGI module.  The DLLs that provide this support
appear to be missing.



Full listing for cygcheck of the full and base lisps.

$ cygcheck /lib/clisp-2.44/full/lisp.exe
C:\cygwin\lib/clisp-2.44/full/lisp.exe
 C:\cygwin\bin\cygcrypt-0.dll
   C:\cygwin\bin\cygwin1.dll
 C:\WINDOWS\system32\ADVAPI32.DLL
   C:\WINDOWS\system32\ntdll.dll
   C:\WINDOWS\system32\KERNEL32.dll
   C:\WINDOWS\system32\RPCRT4.dll
 C:\WINDOWS\system32\Secur32.dll
 C:\cygwin\bin\cygdb-4.3.dll
Error: could not find cygfcgi-0.dll
 C:\cygwin\bin\cyggdbm-4.dll
 C:\cygwin\bin\cygiconv-2.dll
 C:\cygwin\bin\cygintl-8.dll
 C:\cygwin\bin\cygncurses-8.dll
 C:\cygwin\bin\cygpcre-0.dll
Error: could not find cygpq5.dll
 C:\cygwin\bin\cygreadline6.dll
   C:\WINDOWS\system32\USER32.dll
 C:\WINDOWS\system32\GDI32.dll
 C:\cygwin\bin\cygz.dll
 C:\WINDOWS\system32\OLE32.dll
   C:\WINDOWS\system32\msvcrt.dll
 C:\WINDOWS\system32\OLEAUT32.DLL
Error: could not find cygfcgi-0.dll
Error: could not find cygfcgi-0.dll
Error: could not find cygfcgi-0.dll
Error: could not find cygfcgi-0.dll
Error: could not find cygfcgi-0.dll

By contrast, /lib/clisp-2.44/base/lisp.exe is not missing
any libraries:

$ cygcheck /lib/clisp-2.44/base/lisp.exe
C:\cygwin\lib/clisp-2.44/base/lisp.exe
 C:\cygwin\bin\cygcrypt-0.dll
   C:\cygwin\bin\cygwin1.dll
 C:\WINDOWS\system32\ADVAPI32.DLL
   C:\WINDOWS\system32\ntdll.dll
   C:\WINDOWS\system32\KERNEL32.dll
   C:\WINDOWS\system32\RPCRT4.dll
 C:\WINDOWS\system32\Secur32.dll
 C:\cygwin\bin\cygiconv-2.dll
 C:\cygwin\bin\cygintl-8.dll
 C:\cygwin\bin\cygncurses-8.dll
 C:\cygwin\bin\cygreadline6.dll
   C:\WINDOWS\system32\USER32.dll
 C:\WINDOWS\system32\GDI32.dll
 C:\WINDOWS\system32\OLE32.dll
   C:\WINDOWS\system32\msvcrt.dll
 C:\WINDOWS\system32\OLEAUT32.DLL


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



RE: problem with setup

2008-02-05 Thread Pedro Macanás
I think there would be an uninstall icon for Cygwin (i.e. I would like to
reinstall it and all the configuration files and registry modifications).

Regards.

-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de
Morgan gangwere
Enviado el: miércoles, 06 de febrero de 2008 6:08
Para: cygwin@cygwin.com
Asunto: Re: problem with setup

*cough*
just a thought... but cant you simply as administrator or some other 
form of admin simply kill your cygwin isntall directory and remove the 
Cygwin registry keys?



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