octave configure on cygwin snapshot

2007-08-29 Thread Marco Atzeri
Hi,
running octave 2.9.13 configure on latest cygwin
snapshot 
1.7.0s(0.177/4/2) 20070813 12:16:31

I found that the attached test to verify the format
of gettimeof is failing

gcc -o conftest.exe -g -O2   conftest.c -ldl -lwsock32
-lz -lm  -lwsock32
conftest.c: In function `main':
conftest.c:216: error: storage size of 'dummy' isn't
known

while the test pass for cygwin 1.5.14-2.

As both structs timeval and timezone are defined on
/usr/include/sys/time.h
and the two files are equal on the struct definition
can someone help me in understanding the problem ?

Is it related to the change of definition for
gettimeofday ?

diff cygwin-1.5.24/usr/include/sys/time.h
20070813/usr/include/sys/time.h 
73c73
< int _EXFUN(gettimeofday, (struct timeval *__p,
struct timezone *__z));
---
> int _EXFUN(gettimeofday, (struct timeval *__p, void
*__tz));

Regards
Marco



  ___ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
http://it.docs.yahoo.com/nowyoucan.html

conftest.c
Description: pat395223029
--
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 "quilt add" + patch

2007-08-29 Thread Peter Rosin
Hi!

I'm having problems with "quilt add".

Basically it tries to first make a hard link from e.g. "foo" to
".pc/somepatch/foo", then copy ".pc/somepatch/foo" to
".pc/somepatch/sometempfile" using file descriptors and finally it
tries to rename ".pc/somepatch/sometempfile" back to ".pc/somepatch/foo"
effectivly just making a copy of the original file.

This is all within the support program /usr/lib/quilt/backup-files.exe
if you feed it the -L option, which "quilt add" does.

The problem is that the final rename fails, and the root cause is that
an fd is held open to the target file ".pc/somepatch/foo".

Here is a patch to fix it, but I guess the ultimate fix is to
make rename(2) more Linux-like...

Without the included patch, "quilt add" exits with an error but
leaves the backup hardlinked with the source resulting in empty
diffs when you "quilt diff", but you are left on your own trying
to fix up the damage caused by the failed command.

Cheers,
Peter
--- lib/backup-files.c.orig 2007-08-29 09:49:11.825125000 +0200
+++ lib/backup-files.c  2007-08-29 09:50:00.24700 +0200
@@ -271,6 +271,10 @@
 #elif defined(HAVE_CHMOD)
(void) chmod(tmpname, st.st_mode);
 #endif
+   close(from_fd);
+   from_fd = -1;
+   close(to_fd);
+   to_fd = -1;
if (rename(tmpname, filename))
goto fail;
 
@@ -279,8 +283,10 @@
if (error)
perror(filename);
free(tmpname);
-   close(from_fd);
-   close(to_fd);
+   if (from_fd != -1)
+   close(from_fd);
+   if (to_fd != -1)
+   close(to_fd);
return error;
} else
return 0;

--
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: Howto force winXP use cygwin "if test -n"

2007-08-29 Thread Dave Korn
On 29 August 2007 06:56, Jon Lambert wrote:

>> "Dave Korn" wrote:
>>   Perhaps you should elaborate on the real underlying problem, rather than
>> just showing us a symptom and asking for a cure based on your own unstated
>> false diagnosis. 
>> 
> 
> The real problem is the Windows version of the RMagick gem installation is
> broken.  This is RMagick's problem and should be reported by the OP to the
> Rmagick forums.  This has nothing to do with cygwin.  If one wanted to
> install RMagick on a Cygwin Ruby installation then one would not choose the
> [Win32] version in the gem install dialog, but would choose the [Ruby]
> version (which is the Unix/Linux/Cygwin version).


  Ah.  Do you suppose the OP would do better trying to run the whole thing in a
mingw shell?  That might be the right combination of posixy-goodness with
win32-crunchy-flakes.


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/



[bug?] Directory lister (d) doesn't properly translate drive letters

2007-08-29 Thread Ronald Fischer
Please have a look at this:

~/thome $ pwd
/cygdrive/h/thome
~/thome $ ls -dl t:/rfischer
drwxr-xr-x 1 rfischer mkgroup-l-d 0 Aug 28 23:55 t:/rfischer
~/thome $ d  t:/rfischer
/cygdrive/h/thome/t:/rfischer doesn't exist!
~/thome $  


While ls seems to understand the notion of t:, d does not.




~/thome $ mount
C:\cygwin\bin on /usr/bin type user (binmode)
C:\cygwin\lib on /usr/lib type user (binmode)
C:\cygwin on / type user (binmode)
c: on /cygdrive/c type user (binmode,noumount)
h: on /cygdrive/h type user (binmode,noumount)
i: on /cygdrive/i type user (binmode,noumount)
l: on /cygdrive/l type user (binmode,noumount)
m: on /cygdrive/m type user (binmode,noumount)
t: on /cygdrive/t type user (binmode,noumount)
v: on /cygdrive/v type user (binmode,noumount)

-- 
Ronald Fischer <[EMAIL PROTECTED]>
Phone: +49-89-452133-162


cygcheck.out.gz
Description: cygcheck.out.gz
--
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: rsync 2.6.9-1

2007-08-29 Thread Lapo Luchini
Version 2.6.9-1 of rsync has been uploaded.

rsync is a file transfer program. rsync uses the 'rsync algorithm' which
provides a very fast method for bringing remote files into sync. It does
this by sending just the differences in the files across the link,
without requiring that both sets of files are present at one of the ends
of the link beforehand.

Please notice that unpatched 2.6.9 rsync has a security bug that might
(or might not) affect it, depending on your use case.
http://secunia.com/advisories/26493/
A new rsync-2.6.9-2 package containing a patch to this problem will be
available on the mirrors very shortly.

If you're not sure what version do you have you can
use the following command to both check version number
and integrity of the install:
% cygcheck -c rsync


If you have questions or comments, please send them to the Cygwin
mailing list at: cygwin@cygwin.com .

  *** 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 this URL.

-- 
Lapo Luchini
[EMAIL PROTECTED] (OpenPGP & X.509)
www.lapo.it (Jabber, ICQ, MSN)

--
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: octave configure on cygwin snapshot

2007-08-29 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Marco Atzeri on 8/29/2007 1:02 AM:
> 
> gcc -o conftest.exe -g -O2   conftest.c -ldl -lwsock32
> -lz -lm  -lwsock32

Why are you linking against -lwsock32?  That generally doesn't work (you
shouldn't mix Windows sockets and cygwin sockets, and cygwin sockets are
more likely to be portable to applications coded for Linux).  This may be
a bug in the upstream configure.

> conftest.c: In function `main':
> conftest.c:216: error: storage size of 'dummy' isn't
> known

Why not show us the snippet of conftest.c that is triggering the error
message?

> 
> Is it related to the change of definition for
> gettimeofday ?

It could be.  In which case, are you sure it is an error, or is it merely
configure's way of determining the signature by first trying something
that fails to compile when given the correct POSIX signature but succeeds
when given the older 1.5.24 definition?  After all, sometimes compilation
failures during configure are features, not bugs, provided that the right
definitions are then generated for your program.

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

iD8DBQFG1WVH84KuGfSFAYARAlKVAJ9JXxyq9T2cOjuHrNInOhmZx289fgCgpiFB
WD1lcNIdENKudFQ8Ge/LsjU=
=eOnR
-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: [bug?] Directory lister (d) doesn't properly translate drive letters

2007-08-29 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Ronald Fischer on 8/29/2007 4:57 AM:
> ~/thome $ d  t:/rfischer
> /cygdrive/h/thome/t:/rfischer doesn't exist!
> ~/thome $  
> 
> While ls seems to understand the notion of t:, d does not.

Not necessarily a bug.  Using drive letter notation in cygwin is asking
for problems, you should instead use /cygdrive/t.  The fact that it works
for some applications is happenstance, not design.

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

iD8DBQFG1Wb484KuGfSFAYARAvgYAJ0YyfH8PeQuJgD7XhKgWDuE1H9iIgCgiZ9/
Xc3l/wxBFdMu1XSZ2JoemW8=
=7qD6
-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: [bug?] Directory lister (d) doesn't properly translate drive letters

2007-08-29 Thread Dave Korn
On 29 August 2007 13:31, Eric Blake wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> According to Ronald Fischer on 8/29/2007 4:57 AM:
>> ~/thome $ d  t:/rfischer
>> /cygdrive/h/thome/t:/rfischer doesn't exist!
>> ~/thome $
>> 
>> While ls seems to understand the notion of t:, d does not.
> 
> Not necessarily a bug.  Using drive letter notation in cygwin is asking
> for problems, you should instead use /cygdrive/t.  The fact that it works
> for some applications is happenstance, not design.


  Well, any application that just passes it's argv[] parameters directly to
(f)open will work just fine.  Any app that tries to parse and perform string
manipulation on them, OTOH, is going to go wrong... such as by interpreting it
as a relative path to $CWD, as in this example.

  I'd report it upstream.

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: octave configure on cygwin snapshot

2007-08-29 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Dave Korn on 8/29/2007 6:33 AM:
>   Well in the absence of any further information I would assume that's what's
> in the attached conftest.c.
> 
> 
>   Eric?  I think you haven't had enough caffeine this morning/${TZ}!

Oh - there was an attachment.  Why must people insist on sending plain
text files in unreadable MIME types?  I didn't notice it was there,
because it wasn't expanded inline in my mail client.

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

iD8DBQFG1WkP84KuGfSFAYARAgASAJwMwpL65XJsof3trw2QOW+UFt+YFQCfdOcd
pr3Qw/+g/BAzsI2Vr0ODIs8=
=3XPB
-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: octave configure on cygwin snapshot

2007-08-29 Thread Dave Korn
On 29 August 2007 13:24, Eric Blake wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> According to Marco Atzeri on 8/29/2007 1:02 AM:
>> 
>> gcc -o conftest.exe -g -O2   conftest.c -ldl -lwsock32
>> -lz -lm  -lwsock32
> 
> Why are you linking against -lwsock32?

  Well in the absence of any further information I would assume that's what
the failing configure script is doing...

> Why not show us the snippet of conftest.c that is triggering the error
> message?

  Well in the absence of any further information I would assume that's what's
in the attached conftest.c.


  Eric?  I think you haven't had enough caffeine this morning/${TZ}!

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/



[ANNOUNCEMENT] New package: mercurial-0.9.4-1 -- Fast, lightweight distributed source control management system

2007-08-29 Thread Jari Aalto
PACKAGE DESCRIPTION
===

Homepage: http://www.selenic.com/mercurial/
License : GPL

Distributed, efficient Python based source control system. Mercurial is
designed for efficient handling of very large distributed projects. Features
include:

CHANGES SINCE LAST RELEASE
==

Not aplicable

INSTALL OR UPGRADE NOTES


Not aplicable

CYGWIN INSTALLATION INFORMATION
===

To install this package, click on the "Install Cygwin now" link on the
 web page. This downloads setup.exe to your
system. Then, run setup and answer all of the questions. You'll find
the package listed in the "All" category. After installation, read the
documentation at directories:

/usr/share/doc//*
/usr/share/doc/Cygwin/.README

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

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


This message has been sent to cygwin-announce list.

If you want to unsubscribe from the 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]

More information on unsubscribing can be found:

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

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


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



[ANNOUNCEMENT] New package: wdiff 0.5-1 -- Compare two files word by word

2007-08-29 Thread Jari Aalto
PACKAGE DESCRIPTION
===

Homepage: http://directory.fsf.org/all/wdiff.html
License : GPL

Find word deleted or added from the first file to make the second. A
word is defined as anything between whitespace. It works by creating
two temporary files, one word per line, and the executes 'diff' on
these fields. It collects the 'diff' output and uses it to produce a
nicer display of word differences between the original files.

CHANGES SINCE LAST RELEASE
==

Not aplicable

INSTALL OR UPGRADE NOTES


Not aplicable

CYGWIN INSTALLATION INFORMATION
===

To install this package, click on the "Install Cygwin now" link on the
 web page. This downloads setup.exe to your
system. Then, run setup and answer all of the questions. You'll find
the package listed in the "All" category. After installation, read the
documentation at directories:

/usr/share/doc//*
/usr/share/doc/Cygwin/.README

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

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


This message has been sent to cygwin-announce list.

If you want to unsubscribe from the 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]

More information on unsubscribing can be found:

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

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


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



[ANNOUNCEMENT] New package: webcheck 1.10.1-1 -- Website link and structure checker

2007-08-29 Thread Jari Aalto
PACKAGE DESCRIPTION
===

Homepage: http://ch.tudelft.nl/~arthur/webcheck
License : GPL

Program crawls a given website and generates a number of reports in
the form of html pages. It is easy to use and generates simple, clear
and readable reports.

CHANGES SINCE LAST RELEASE
==

Not applicable

INSTALL OR UPGRADE NOTES


Not applicable

CYGWIN INSTALLATION INFORMATION
===

To install this package, click on the "Install Cygwin now" link on the
 web page. This downloads setup.exe to your
system. Then, run setup and answer all of the questions. You'll find
the package listed in the "All" category. After installation, read the
documentation at directories:

/usr/share/doc//*
/usr/share/doc/Cygwin/.README

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

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


This message has been sent to cygwin-announce list.

If you want to unsubscribe from the 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]

More information on unsubscribing can be found:

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

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


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



[ANNOUNCEMENT] Updated: antiword-0.37-1

2007-08-29 Thread Jari Aalto
PACKAGE DESCRIPTION
===

Homepage: http://www.antiword.org/
License : GPL

Antiword is a free MS Word reader for Linux and RISC OS. 
There are ports to BeOS, OS/2, Mac OS X, Amiga, VMS, 
NetWare, EPOC, Zaurus PDA and DOS. Antiword converts the 
binary files from Word 2, 6, 7, 97, 2000 and 2002 to 
plain text, XML and to PostScript.

CHANGES SINCE LAST RELEASE
==

New upstream release. See /usr/share/doc/antiword-*/History
for changes.

INSTALL OR UPGRADE NOTES


None

CYGWIN INSTALLATION INFORMATION
===

To install this package, click on the "Install Cygwin now" link on the
 web page. This downloads setup.exe to your
system. Then, run setup and answer all of the questions. You'll find
the package listed in the "All" category. After installation, read the
documentation at directories:

/usr/share/doc//*
/usr/share/doc/Cygwin/.README

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

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


This message has been sent to cygwin-announce list.

If you want to unsubscribe from the 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]

More information on unsubscribing can be found:

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

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


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



[ANNOUNCEMENT] Updated: chkconfig-1.3.30a-1

2007-08-29 Thread Jari Aalto
PACKAGE DESCRIPTION
===

Homepage: http://www.fastcoder.net/software/chkconfig
License : GPL

Program provides a simple command-line tool for maintaining the
/etc/rc[0-6].d directory hierarchy by relieving system administrators
from the task of directly manipulating the numerous symbolic links in
those directories.

CHANGES SINCE LAST RELEASE
==

See /usr/share/doc/chkconfig-*/ChangeLog

Version 1.3.30a:
  - updated codebase to use Fedora Core 6's chkconfig-1.3.30
  - now includes "alternatives" program
  - added example in doc on using "--level" option,
at Jari's suggestion.  It's already mentioned in
the man-page, too.

INSTALL OR UPGRADE NOTES


None

CYGWIN INSTALLATION INFORMATION
===

To install this package, click on the "Install Cygwin now" link on the
 web page. This downloads setup.exe to your
system. Then, run setup and answer all of the questions. You'll find
the package listed in the "All" category. After installation, read the
documentation at directories:

/usr/share/doc//*
/usr/share/doc/Cygwin/.README

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

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


This message has been sent to cygwin-announce list.

If you want to unsubscribe from the 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]

More information on unsubscribing can be found:

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

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


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



[ANNOUNCEMENT] Updated: exif-0.6.15-1

2007-08-29 Thread Jari Aalto
PACKAGE DESCRIPTION
===

Homepage: http://sourceforge.net/projects/libexif
License : LGPL

A small command-line utility to show EXIF information hidden in JPEG
files. It was written to demonstrate the power of libexif.

CHANGES SINCE LAST RELEASE
==

Only bug fixes.

See /usr/share/doc/exif-*/NEWS and /usr/share/doc/exif-*/ChangeLog

INSTALL OR UPGRADE NOTES


None

CYGWIN INSTALLATION INFORMATION
===

To install this package, click on the "Install Cygwin now" link on the
 web page. This downloads setup.exe to your
system. Then, run setup and answer all of the questions. You'll find
the package listed in the "All" category. After installation, read the
documentation at directories:

/usr/share/doc//*
/usr/share/doc/Cygwin/.README

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

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


This message has been sent to cygwin-announce list.

If you want to unsubscribe from the 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]

More information on unsubscribing can be found:

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

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


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



[ANNOUNCEMENT] Updated: figlet-2.2.2-2

2007-08-29 Thread Jari Aalto
PACKAGE DESCRIPTION
===

Homepage: http://packages.debian.org/figlet
License : Custom

Program creates large characters out of ordinary screen characters. It
can create characters in many different styles and can kern and
smush these characters together in various ways. Figlet output is
generally reminiscent of the sort of signatures many people like to
put at the end of e-mail and Usenet messages.

CHANGES SINCE LAST RELEASE
==

No changes. New maintainer.

See also /usr/share/doc/figlet-*/CHANGES

INSTALL OR UPGRADE NOTES


None

CYGWIN INSTALLATION INFORMATION
===

To install this package, click on the "Install Cygwin now" link on the
 web page. This downloads setup.exe to your
system. Then, run setup and answer all of the questions. You'll find
the package listed in the "All" category. After installation, read the
documentation at directories:

/usr/share/doc//*
/usr/share/doc/Cygwin/.README

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

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


This message has been sent to cygwin-announce list.

If you want to unsubscribe from the 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]

More information on unsubscribing can be found:

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

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


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



[ANNOUNCEMENT] Updated: fvwm-2.5.21-1

2007-08-29 Thread Jari Aalto
PACKAGE DESCRIPTION
===

Homepage: http://www.fvwm.org/
License : GPL-2

A powerful ICCCM2 compliant multiple virtual desktop window
manager for the X Window System. FVWM requires relatively little
memory.

CHANGES SINCE LAST RELEASE
==

See http://fvwm.org/news/ and /usr/share/doc/fvwm-*/NEWS

INSTALL OR UPGRADE NOTES


None

CYGWIN INSTALLATION INFORMATION
===

To install this package, click on the "Install Cygwin now" link on the
 web page. This downloads setup.exe to your
system. Then, run setup and answer all of the questions. You'll find
the package listed in the "All" category. After installation, read the
documentation at directories:

/usr/share/doc//*
/usr/share/doc/Cygwin/.README

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

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


This message has been sent to cygwin-announce list.

If you want to unsubscribe from the 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]

More information on unsubscribing can be found:

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

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


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



[ANNOUNCEMENT] Updated: indent 2.2.9-2

2007-08-29 Thread Jari Aalto
PACKAGE DESCRIPTION
===

Homepage: http://www.gnu.org/software/indent
License : GPL

Change layout of a C program by inserting or deleting whitespace.
Program provides options for controlling the alignment of braces and
declarations, program indenting, and other stylistic parameters,
including formatting C comments.

CHANGES SINCE LAST RELEASE
==

Removed texinfo2man.exe (unsupported upstream)

See /usr/share/doc/indent-*/ChangeLog

INSTALL OR UPGRADE NOTES


None

CYGWIN INSTALLATION INFORMATION
===

To install this package, click on the "Install Cygwin now" link on the
 web page. This downloads setup.exe to your
system. Then, run setup and answer all of the questions. You'll find
the package listed in the "All" category. After installation, read the
documentation at directories:

/usr/share/doc//*
/usr/share/doc/Cygwin/.README

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

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


This message has been sent to cygwin-announce list.

If you want to unsubscribe from the 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]

More information on unsubscribing can be found:

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

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


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



[ANNOUNCEMENT] Updated: splint 3.1.1-2

2007-08-29 Thread Jari Aalto
PACKAGE DESCRIPTION
===

Homepage: http://www.splint.org/
License : GPL

Program does many of the traditional lint checks including unused
declarations, type inconsistencies, use before definition, unreachable
code, ignored return values, execution paths with no return, likely
infinite loops, and fall through cases.

CHANGES SINCE LAST RELEASE
==

No changes. New maintainer.

INSTALL OR UPGRADE NOTES


None.

CYGWIN INSTALLATION INFORMATION
===

To install this package, click on the "Install Cygwin now" link on the
 web page. This downloads setup.exe to your
system. Then, run setup and answer all of the questions. You'll find
the package listed in the "All" category. After installation, read the
documentation at directories:

/usr/share/doc//*
/usr/share/doc/Cygwin/.README

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

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


This message has been sent to cygwin-announce list.

If you want to unsubscribe from the 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]

More information on unsubscribing can be found:

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

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


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



[ANNOUNCEMENT] Updated: xmlto 0.0.18-2

2007-08-29 Thread Jari Aalto
PACKAGE DESCRIPTION
===

Homepage: http://cyberelk.net/tim/xmlto/
License : GPL

A front-end to an XSL toolchain. It chooses an appropriate
stylesheet for the conversion you want and applies it using an
external XSLT processor (currently, only xsltproc is supported). It
also performs any necessary post-processing. It supports converting
from DocBook XML to DVI, XSL-FO, HTML (multiple pages), HTML (one
page), man page, PDF, PostScript, and plain text. It supports
converting from XSL-FO to DVI, PDF and PostScript. For DVI, PDF, and
PostScript output, Sebastian Rahtz's PassiveTeX is required.

CHANGES SINCE LAST RELEASE
==

No changes. New maintainer.

INSTALL OR UPGRADE NOTES


None

CYGWIN INSTALLATION INFORMATION
===

To install this package, click on the "Install Cygwin now" link on the
 web page. This downloads setup.exe to your
system. Then, run setup and answer all of the questions. You'll find
the package listed in the "All" category. After installation, read the
documentation at directories:

/usr/share/doc//*
/usr/share/doc/Cygwin/.README

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

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


This message has been sent to cygwin-announce list.

If you want to unsubscribe from the 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]

More information on unsubscribing can be found:

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

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


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



RE: trouble starting syslogd

2007-08-29 Thread Dave Korn
On 28 August 2007 15:49, Will Parsons wrote:

> I had a working syslogd on my computer at work, but now the computer has
> been replaced (the IT department copied over the contents from the old
> computer) 

  Please god they didn't use the 'doze "Files and Settings transfer wizard".
That totally messed up all my symlinks when I used it once.

> Configuration finished. Have fun!
> 151$ ls -l /etc/syslog.conf
> -rwx--+ 1 wbp Domain Users 472 May 15 10:42 /etc/syslog.conf
> 152$ chmod +r /etc/syslog.conf
> 153$ chmod -x /etc/syslog.conf
> 154$ ls -l /etc/syslog.conf
> -rw-r--r--+ 1 wbp Domain Users 472 May 15 10:42 /etc/syslog.conf
> 155$ cygrunsrv -L
> syslogd
> 156$ cygrunsrv -S syslogd
> cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
> The service has not been started.

  You need to take a look in the windows event log and see if you can find a
more detailed error message there.

> I've chmod'ed the files in /var/log so as to be readable and writable by
> all.

  Yeh, can't see anything immediately obviously wrong yet.  Maybe you could
rerun the config, but this time answer 'yes' when it asks if it should
overwrite the .conf file - save a copy of your current one, by all means, but
it's a worthwhile experiment to try and narrow down the source of the trouble.

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/



[ANNOUNCEMENT] Updated: links 1.00pre20-1

2007-08-29 Thread Jari Aalto
PACKAGE DESCRIPTION
===

Homepage: http://artax.karlin.mff.cuni.cz/~mikulas/vyplody/links
License : GPL

A lynx-like character mode browser. It includes support for
rendering tables and frames, features background downloads, can
display colors and has many other features. nlike lynx, links supports
the HTML TABLE tag. Links also allows you to download files in the
background.

CHANGES SINCE LAST RELEASE
==

See /usr/share/doc/links-*/ChangeLog

Sun Apr  8 21:02:15 CEST 2007 mikulas

Terminal resize, window title and clipboard support for Cygwin
Clipboard supports non-ascii characters badly, it is a limitation in
Cygwin

Wed Apr  4 23:20:10 MET 2007 Carles Pina i Estany <[EMAIL PROTECTED]>:

Add more top-level domains

Wed Apr  4 14:32:47 MET DST 2007 mikulas:

win32.c file removed because in each new version of windows it
doesn't work. Don't even try to fix it unless you have
computers with Windows NT, Window 2000, Windows XP and Windows
Vista side by side.

(new Cygwin emulates xterm-like mouse on the console, so it's
not needed for mouse)

Cygwin sometimes doesn't send SIGWINCH, it is its bug, so I
didn't try to fix it in links. Press twice Alt-Enter if links
doesn't notify window size change

Tue Feb  6 00:27:00 MET 2007 MIKULAS:

Allow quotation marks in Refrfesh URL parameter --- fixes Google Picasa

INSTALL OR UPGRADE NOTES


None

CYGWIN INSTALLATION INFORMATION
===

To install this package, click on the "Install Cygwin now" link on the
 web page. This downloads setup.exe to your
system. Then, run setup and answer all of the questions. You'll find
the package listed in the "All" category. After installation, read the
documentation at directories:

/usr/share/doc//*
/usr/share/doc/Cygwin/.README

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

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


This message has been sent to cygwin-announce list.

If you want to unsubscribe from the 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]

More information on unsubscribing can be found:

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

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


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



[ANNOUNCEMENT] New package: dpatch-2.0.26-1 -- Patch maintenance system for source packages

2007-08-29 Thread Jari Aalto
PACKAGE DESCRIPTION
===

Homepage: http://packages.debian.org/dpatch
License : GPL

An easy to use patch system for packages, It lets you store patches
and other simple customization templates in debian/patches and
otherwise does not require much reorganization of your source tree. To
get the patches applied at build time you simply need to include a
makefile snippet and then depend on the patch/unpatch target in the
build or clean stage of debian/rules - or you can use the dpatch
patching script directly.

CHANGES SINCE LAST RELEASE
==

Not aplicable

INSTALL OR UPGRADE NOTES


Not aplicable

CYGWIN INSTALLATION INFORMATION
===

To install this package, click on the "Install Cygwin now" link on the
 web page. This downloads setup.exe to your
system. Then, run setup and answer all of the questions. You'll find
the package listed in the "All" category. After installation, read the
documentation at directories:

/usr/share/doc//*
/usr/share/doc/Cygwin/.README

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

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


This message has been sent to cygwin-announce list.

If you want to unsubscribe from the 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]

More information on unsubscribing can be found:

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

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


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



[ANNOUNCEMENT] Updated: xgraph 12.1-2

2007-08-29 Thread Jari Aalto
PACKAGE DESCRIPTION
===

Homepage:
License : GPL

Accepts data files or stdin in a form similar to the unix program
graph and displays line graphs, scatter plots, or bar charts on an X11
display. Fully annotated with title, axis numbering and labels, and
legend. Zooming with the mouse is supported. Can generate hardcopy
output to Postscript printers and HPGL plotters. Output can be
directly pasted into idraw (drawtool) for further annotation.
Particularly useful in shell scripts. Also see "ygraph" which is a
similar tool using an attractive albeit slower modern graphics
library, which is under active maintenance and development.

CHANGES SINCE LAST RELEASE
==

Corrected install to man1/*.1x

INSTALL OR UPGRADE NOTES


None

CYGWIN INSTALLATION INFORMATION
===

To install this package, click on the "Install Cygwin now" link on the
 web page. This downloads setup.exe to your
system. Then, run setup and answer all of the questions. You'll find
the package listed in the "All" category. After installation, read the
documentation at directories:

/usr/share/doc//*
/usr/share/doc/Cygwin/.README

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

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


This message has been sent to cygwin-announce list.

If you want to unsubscribe from the 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]

More information on unsubscribing can be found:

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

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


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



1.5.24: sin() bug

2007-08-29 Thread Dmitry Karasik
Hello,

I'd like to submit a bug in cygwin implementation of sin().
The following simple program demonstrates this:


#include 
#include 
int main( int argc, char ** argv)
{
double g = (double) 3.1415926535897900074;
printf("sin(%.10g)=%.10g\n", g, sin(g));
}

output is :

sin(3.141592654)=3.231089149e-15

whereas all other sin() implementation I could find ( freebsd, linux, msvc)
report this:

sin(3.141592654)=3.231085104e-015

the difference is in 7th digit, and is significant for double precision.

Please find attached cygcheck.out .


-- 
Sincerely,

Dmitry Karasik




Cygwin Configuration Diagnostics

Current System Time: Wed Aug 29 17:25:46 2007



Windows XP Professional Ver 5.1 Build 2600 Service Pack 2



Path:   d

\cygwin\bin



Output from d:\cygwin\bin\id.exe (nontsec)

UID: 400(dk)   GID: 401(mkpasswd)

401(mkpasswd)



Output from d:\cygwin\bin\id.exe (ntsec)

UID: 400(dk)   GID: 401(mkpasswd)

401(mkpasswd)



SysDir: C:\WINDOWS\system32

WinDir: C:\WINDOWS



TCL_LIBRARY = 'C:\IBMTOOLS\Python22\tcl\tcl8.4'

PWD = '/cygdrive/c/home/src/sin'

HOME = '/cygdrive/c/home'



PYTHONCASEOK = '1'

HOMEPATH = '\Documents and Settings\dk'

APPDATA = 'C:\Documents and Settings\dk\Application Data'

TERM = 'cygwin'

PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 13 Stepping 8, GenuineIntel'

WINDIR = 'C:\WINDOWS'

TK_LIBRARY = 'C:\IBMTOOLS\Python22\tcl\tk8.4'

OLDPWD = '/cygdrive/c/home/src/sin/bin'

USERDOMAIN = 'AGUIRRE'

OS = 'Windows_NT'

ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'

TEMP = '/cygdrive/c/tmp'

COMMONPROGRAMFILES = 'C:\Program Files\Common Files'

LIB = 'C:\Program Files\DevStudio\VC\lib'

QTJAVA = 'C:\Program Files\IBM\Java142\jre\lib\ext\QTJava.zip'

USERNAME = 'dk'

RRU = 'C:\Program Files\IBM\IBM Rapid Restore Ultra\'

PROCESSOR_LEVEL = '6'

FP_NO_HOST_CHECK = 'NO'

SYSTEMDRIVE = 'C:'

USERPROFILE = 'C:\Documents and Settings\dk'

LOGONSERVER = '\\AGUIRRE'

PROCESSOR_ARCHITECTURE = 'x86'

!C: = 'C:\'

SHLVL = '1'

PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.pyo;.pyc;.py;.pyw'

HOMEDRIVE = 'C:'

!D: = 'D:\cygwin\bin'

PROMPT = '$P$G'

COMSPEC = 'C:\WINDOWS\system32\cmd.exe'

TMP = '/tmp'

SYSTEMROOT = 'C:\WINDOWS'

PYTHONPATH = 'C:\IBMTOOLS\utils\support;C:\IBMTOOLS\utils\logger'

IBMSHARE = 'C:\IBMSHARE'

PROCESSOR_REVISION = '0d08'

CVS_RSH = 'ssh'

CLASSPATH = '.;C:\Program Files\IBM\Java142\jre\lib\ext\QTJava.zip'

PROGRAMFILES = 'C:\Program Files'

NUMBER_OF_PROCESSORS = '1'

INCLUDE = 'C:\Program Files\DevStudio\VC\include'

SESSIONNAME = 'Console'

COMPUTERNAME = 'AGUIRRE'

!EXITCODE = ''

_ = '/cygdrive/d/cygwin/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) = 'd:\cygwin'

  flags = 0x000a

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin

  (default) = 'd:\cygwin/bin'

  flags = 0x000a

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib

  (default) = 'd:\cygwin/lib'

  flags = 0x000a

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options



c:  hd  NTFS 15673Mb  85% CP CS UN PA FC IBM_PRELOAD

d:  hd  FAT3244322Mb  99% CPUN   

e:  cd N/AN/A

f:  cd N/AN/A



d:\cygwin  /  system  binmode

d:\cygwin/bin  /usr/bin   system  binmode

d:\cygwin/lib  /usr/lib   system  binmode

.  /cygdrive  system  binmode,cygdrive



Found: \bin\awk.exe

Found: d:\cygwin\bin\bash.exe

Found: d:\cygwin\bin\cat.exe

Found: d:\cygwin\bin\cp.exe

Found: d:\cygwin\bin\cpp.exe

Not Found: crontab

Found: d:\cygwin\bin\find.exe

Found: d:\cygwin\bin\gcc.exe

Found: d:\cygwin\bin\gdb.exe

Found: d:\cygwin\bin\grep.exe

Found: d:\cygwin\bin\kill.exe

Found: d:\cygwin\bin\ld.exe

Found: d:\cygwin\bin\ls.exe

Not Found: make

Found: d:\cygwin\bin\mv.exe

Found: d:\cygwin\bin\patch.exe

Found: d:\cygwin\bin\perl.exe

Found: d:\cygwin\bin\rm.exe

Found: d:\cygwin\bin\sed.exe

Found: d:\cygwin\bin\ssh.exe

Found: d:\cygwin\bin\sh.exe

Found: \bin\sh.exe

Warning: d:\cygwin\bin\sh.exe hides \bin\sh.exe

Found: d:\cygwin\bin\tar.exe

Found: \bin\tar.exe

Warning: d:\cygwin\bin\tar.exe hides \bin\tar.exe

Found: d:\cygwin\bin\test.exe

Not Found: vi

Found: d:\cygwin\bin\vim.exe



   87k 2006/02/16 d:\cygwin\bin\cygatk-1.0-0.dll - os=4.0 img=1.0 sys=4.0

  "cygatk-1.0-0.dll" v0.0 ts=2006/2/6 22:13

  271k 2007/08/24 d:\cygwin\b

RE: octave configure on cygwin snapshot

2007-08-29 Thread Marco Atzeri
--- Dave Korn <[EMAIL PROTECTED]> ha scritto:

> On 29 August 2007 13:24, Eric Blake wrote:
> 
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> > 
> > According to Marco Atzeri on 8/29/2007 1:02 AM:
> >> 
> >> gcc -o conftest.exe -g -O2   conftest.c -ldl
> -lwsock32
> >> -lz -lm  -lwsock32
> > 
> > Why are you linking against -lwsock32?
> 
>   Well in the absence of any further information I
> would assume that's what
> the failing configure script is doing...

Right assumption. This test is performed by configure
to verify is gettimeofday have one or 2 arguments.
As in the snapshot the program fail to compile,
configure wrongly assume that gettimeofday have only
one argument.
On 1.5.24 the program compile fine an gettimeofday 
is reported as function with two arguments.

> 
> > Why not show us the snippet of conftest.c that is
> triggering the error
> > message?
> 
>   Well in the absence of any further information I
> would assume that's what's
> in the attached conftest.c.

Sorry yahoo mail is not the best to handle the issue.

> 
> 
>   Eric?  I think you haven't had enough caffeine
> this morning/${TZ}!

Should I attach some espresso ;-) ?

Marco




  ___ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
http://it.docs.yahoo.com/nowyoucan.html

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



Re: octave configure on cygwin snapshot

2007-08-29 Thread Eric Blake
Marco Atzeri  yahoo.it> writes:

> Right assumption. This test is performed by configure
> to verify is gettimeofday have one or 2 arguments.
> As in the snapshot the program fail to compile,
> configure wrongly assume that gettimeofday have only
> one argument.

I'm not sure of any platforms where it has only one parameter; more often,
the portability problem is whether the parameter is void* (as required by 
POSIX) or something else (as was the case in cygwin 1.5.24).

> On 1.5.24 the program compile fine an gettimeofday 
> is reported as function with two arguments.
> 
> > 
> > > Why not show us the snippet of conftest.c that is
> > triggering the error
> > > message?
> > 

OK, I see the problem now.  Run the preprocessor on conftest.c:

$ gcc -E conftest.c |grep -n -C2 timezone
440-};
441-
442:struct timezone {
443-  int tz_minuteswest;
444-  int tz_dsttime;
--
817-__tzinfo_type *__attribute__((__cdecl__)) __gettzinfo (void);
818-# 118 "/usr/include/time.h" 3 4
819:extern __attribute__((dllimport)) long _timezone;
820-extern __attribute__((dllimport)) int _daylight;
821-extern __attribute__((dllimport)) char *_tzname[2];
--
1168-# 73 "/usr/include/sys/time.h" 3 4
1169-int __attribute__((__cdecl__)) gettimeofday (struct timeval *__p, void 
*__tz);
1170:int __attribute__((__cdecl__)) settimeofday (const struct timeval *, const 
struct _timezone *);
1171-int __attribute__((__cdecl__)) utimes (const char *__path, const struct 
timeval *__tvp);
1172-int __attribute__((__cdecl__)) getitimer (int __which, struct itimerval 
*__value);
--
1178-{
1179-struct timeval time;
1180:  struct _timezone dummy;
1181-  gettimeofday (&time, &dummy);
1182-  ;

Oops - this line in cygwin/time.h is causing the problem:

#define timezone _timezone

As your testcase shows, the inclusion of  manages to define struct 
timezone, but then subsequent includes trigger the macro that changes the 
spelling to _timezone, and your declarations all end up referring to the 
incomplete type struct _timezone, hence the compiler error.  So something in 
cygwin's headers needs to change in order to make sure struct timezone is not 
hidden by the macro in .

A workaround in the meantime might be configuring with
CFLAGS=-Dtimezone=_timezone.

-- 
Eric Blake



--
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: splint 3.1.1-2

2007-08-29 Thread Dr. Volker Zell
> Jari Aalto writes:

> CHANGES SINCE LAST RELEASE
> ==

> No changes. New maintainer.

I only noticed now, during installation, that the old splint package
used to create a symbolic link: lint -> splint in a postinstall script.

Ciao
  Volker

--
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: octave configure on cygwin snapshot

2007-08-29 Thread Eric Blake
Eric Blake  byu.net> writes:

> As your testcase shows, the inclusion of  manages to define 
struct 
> timezone, but then subsequent includes trigger the macro that changes the 
> spelling to _timezone, and your declarations all end up referring to the 
> incomplete type struct _timezone, hence the compiler error.  So something in 
> cygwin's headers needs to change in order to make sure struct timezone is not 
> hidden by the macro in .

At first, I thought the solution might be as simple as having  
declare struct _timezone which is identical in layout to 's struct 
timezone.  But then I realized there is another clash to also fix - if the user 
does:
#include 
#include 

then how do they refer to struct timeb.timezone?  Maybe the correct fix is a 
cygwin-specific newlib patch to both sys/timeb.h and sys/time.h that moves the 
#include  earlier in the file, so that timezone is redefined to 
_timezone before any other declaration that tries to use the name timezone.

-- 
Eric Blake




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



Request for Cairo/Pango Binary Update

2007-08-29 Thread larryjadams
Jari,

Any chance of getting Cairo/Pango upto date in Cygwin?  I would really like to 
see them built and operational.  If you can not do it, is there a good place 
that can provide direction as to who owns updates to that package so that I 
might attempt to inspire that person.

Thanks,

Larry Adams
www.cacti.net

 -- Original message --
From: Jari Aalto <[EMAIL PROTECTED]>
> PACKAGE DESCRIPTION
> ===
> 
> Homepage: http://directory.fsf.org/all/wdiff.html
> License : GPL
> 
> Find word deleted or added from the first file to make the second. A
> word is defined as anything between whitespace. It works by creating
> two temporary files, one word per line, and the executes 'diff' on
> these fields. It collects the 'diff' output and uses it to produce a
> nicer display of word differences between the original files.
> 
> CHANGES SINCE LAST RELEASE
> ==
> 
> Not aplicable
> 
> INSTALL OR UPGRADE NOTES
> 
> 
> Not aplicable
> 
> CYGWIN INSTALLATION INFORMATION
> ===
> 
> To install this package, click on the "Install Cygwin now" link on the
>  web page. This downloads setup.exe to your
> system. Then, run setup and answer all of the questions. You'll find
> the package listed in the "All" category. After installation, read the
> documentation at directories:
> 
> /usr/share/doc//*
> /usr/share/doc/Cygwin/.README
> 
> If you have questions or comments, please send them to the Cygwin
> mailing list at .
> 
> CYGWIN-ANNOUNCE UNSUBSCRIBE INFO
> 
> 
> This message has been sent to cygwin-announce list.
> 
> If you want to unsubscribe from the 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]
> 
> More information on unsubscribing can be found:
> 
> http://sources.redhat.com/lists.html#unsubscribe-simple
> 
> Please read *all* of the information on unsubscribing that is available
> starting at the above URL.
> 


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



Re: trouble starting syslogd

2007-08-29 Thread Will Parsons
Dave Korn wrote:
> On 28 August 2007 15:49, Will Parsons wrote:
>
>> I had a working syslogd on my computer at work, but now the computer has
>> been replaced (the IT department copied over the contents from the old
>> computer) 
>
>   Please god they didn't use the 'doze "Files and Settings transfer wizard".
> That totally messed up all my symlinks when I used it once.
>
>> Configuration finished. Have fun!
>> 151$ ls -l /etc/syslog.conf
>> -rwx--+ 1 wbp Domain Users 472 May 15 10:42 /etc/syslog.conf
>> 152$ chmod +r /etc/syslog.conf
>> 153$ chmod -x /etc/syslog.conf
>> 154$ ls -l /etc/syslog.conf
>> -rw-r--r--+ 1 wbp Domain Users 472 May 15 10:42 /etc/syslog.conf
>> 155$ cygrunsrv -L
>> syslogd
>> 156$ cygrunsrv -S syslogd
>> cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
>> The service has not been started.
>
>   You need to take a look in the windows event log and see if you can find a
> more detailed error message there.

I did that, but it doesn't help me:

The description for Event ID ( 0 ) in Source ( syslogd ) cannot be
found. The local computer may not have the necessary registry information
or message DLL files to display messages from a remote computer. You may be
able to use the /AUXSOURCE= flag to retrieve this description; see Help and
Support for details. The following information is part of the event:
syslogd: PID 2720: `syslogd' service stopped, exit status: 0.

>> I've chmod'ed the files in /var/log so as to be readable and writable by
>> all.
>
>   Yeh, can't see anything immediately obviously wrong yet.  Maybe you could
> rerun the config, but this time answer 'yes' when it asks if it should
> overwrite the .conf file - save a copy of your current one, by all means, but
> it's a worthwhile experiment to try and narrow down the source of the trouble.

I renamed syslog.conf and re-ran syslogd-config to re-generate it, but with
the same effect, so I don't think I'm any further along.

- Will


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



How do I make scripts my PC executable

2007-08-29 Thread zip184

I have some scripts I'd like to run without starting cygwin and typing in
their paths.  Is there a way to make windows recognize that a file is a
bash/python script and run them like as if I ran them in cygwin?  I'd like
to just be able to doubleclick them in windows explorer.  Is this possible? 
(I'm using bash and python scripts)
-- 
View this message in context: 
http://www.nabble.com/How-do-I-make-scripts-my-PC-executable-tf4349032.html#a12391292
Sent from the Cygwin Users 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: octave configure on cygwin snapshot

2007-08-29 Thread Dave Korn
On 29 August 2007 17:51, Eric Blake wrote:

> Eric Blake  byu.net> writes:
> 
>> As your testcase shows, the inclusion of  manages to define
>> struct timezone, but then subsequent includes trigger the macro that
>> changes the spelling to _timezone, and your declarations all end up
>> referring to the incomplete type struct _timezone, hence the compiler
>> error.  So something in cygwin's headers needs to change in order to make
>> sure struct timezone is not hidden by the macro in .
> 
> At first, I thought the solution might be as simple as 


  It would be worth going back through the archives; IIRC, this was a recent
change made by CV in response to a PR on the list.  Any un-cautious solution
would probably just regress back the original bug...


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: 1.5.24: sin() bug

2007-08-29 Thread Brian Dessent
Dmitry Karasik wrote:

> #include 
> #include 
> int main( int argc, char ** argv)
> {
> double g = (double) 3.1415926535897900074;
> printf("sin(%.10g)=%.10g\n", g, sin(g));
> }
> 
> output is :
> 
> sin(3.141592654)=3.231089149e-15
> 
> whereas all other sin() implementation I could find ( freebsd, linux, msvc)
> report this:
> 
> sin(3.141592654)=3.231085104e-015
> 
> the difference is in 7th digit, and is significant for double precision.

This appears to be due to an approximation in __kernel_sin in which if
|x| < 2**-27 the approximation sin(x) ~ x is used.

.

This code seems to be completely untouched since the original import
into CVS in 2000, so I'm guessing it's a very old implementation.  I'm
not sure how we'd go about fixing this other than to look for a more
sophisticated implementation and contribute it to newlib.

In any case this is more of a newlib issue than a Cygwin issue as we are
just a consumer of this code, so followups should go to the newlib list.

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: How do I make scripts my PC executable

2007-08-29 Thread Dave Korn
On 29 August 2007 17:59, zip184 wrote:

> I have some scripts I'd like to run without starting cygwin and typing in
> their paths.  Is there a way to make windows recognize that a file is a
> bash/python script and run them like as if I ran them in cygwin?  I'd like
> to just be able to doubleclick them in windows explorer.  Is this possible?
> (I'm using bash and python scripts)

  Windoze doesn't understand about shebangs (the #! line at the start of the
script), and bases all its decisions on the filename extension.  So, if you
name your scripts according to the pattern '*.sh', and make sure to chmod a+x
them, you can double-click in explorer.

  The first time you do that, windows will complain it doesn't know what to do
with a sh file, and offer you the choice of looking up on the web or selecting
from a list which program you want to open .sh files with; choose the
select-from-a-list option, when the list appears click the browse button, find
your way to cygwin\bin\bash.exe and select that.  Make sure "Always use this
program" is ticked, enter a nice descriptive name such as "Bash script" in the
description box, OK it and away you go!



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: 1.5.24: sin() bug

2007-08-29 Thread Dave Korn
On 29 August 2007 18:07, Brian Dessent wrote:

> Dmitry Karasik wrote:
> 
>> #include 
>> #include 
>> int main( int argc, char ** argv)
>> {
>> double g = (double) 3.1415926535897900074;
>> printf("sin(%.10g)=%.10g\n", g, sin(g));
>> }
>> 
>> output is :
>> 
>> sin(3.141592654)=3.231089149e-15
>> 
>> whereas all other sin() implementation I could find ( freebsd, linux,
>> msvc) report this: 
>> 
>> sin(3.141592654)=3.231085104e-015
>> 
>> the difference is in 7th digit, and is significant for double precision.
> 
> This appears to be due to an approximation in __kernel_sin in which if
>> x| < 2**-27 the approximation sin(x) ~ x is used.

  Since when was pi less than 2^-27?

> In any case this is more of a newlib issue than a Cygwin issue as we are
> just a consumer of this code, so followups should go to the newlib list.

  I'd just like to point out that I got the exact same result as cygwin
supplies on a recent linux box:

  On cygwin, I get:

/tmp $ ./sin.exe
sin(3.141592654)=3.231089149e-15

... whereas on linux (x86_64), I get ...

[EMAIL PROTECTED] gxlinux-ent]$ ./sin 
sin(3.141592654)=3.231089149e-15

... and with mingw:

$ ./sin.exe 
sin(3.141592654)=3.231085104e-015

  I think it may be an artefact of FP precision and/or rounding mode, but I'd
need to do more experiments to make sure.  OTOH it could be an artifact of the
printf %g specfier.  Like I said, more experimentation is needed!


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: 1.5.24: sin() bug

2007-08-29 Thread Brian Dessent
Dave Korn wrote:

>   Since when was pi less than 2^-27?

This is a kernel sin, a function over the limited range [-pi/4, pi/4],
where the general case sin is reduced to kernel sin by the remainder of
modulus pi/2.

>   I think it may be an artefact of FP precision and/or rounding mode, but I'd
> need to do more experiments to make sure.  OTOH it could be an artifact of the
> printf %g specfier.  Like I said, more experimentation is needed!

A problem with the testcase is the .10.  It helps to expand that so that
you see the entire value.  Or use %a.  newlib returns 3CED1A62633145C0
whereas both MSVCRT and x86 linux seem to return 3CED1A60.  It
sort of looks like a truncation problem but since glibc agrees with
msvcrt (shock!) I tend to think the latter is right.  The actual
mantissas are:

newlib 1.110100011010011000100110001100110001010001011100
other  1.1101000110100110

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: 1.5.24: sin() bug

2007-08-29 Thread Brian Dessent
Brian Dessent wrote:

> >   Since when was pi less than 2^-27?
> 
> This is a kernel sin, a function over the limited range [-pi/4, pi/4],
> where the general case sin is reduced to kernel sin by the remainder of
> modulus pi/2.

And note that the testcase is not exactly pi, it's pi minus a very small
number:

// M_PI3.14159265358979323846
double g = 3.1415926535897900074;

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/



Using Windows XP SP2 firewall API

2007-08-29 Thread Miguel Angel Cabrera

Hi,

i am trying to make a program to manage Windows XP SP2 firewall API, using 
cygwin gcc with -mno-cygwin option.


To use that api is necessary to use netfw.h (not included in cygwin), i 
tried to just copy it from the Windows XP SP2 Platform SDK 
(http://www.microsoft.com/msdownload/platformsdk/sdkupdate/XPSP2FULLInstall.htm) 
but cygwin gcc cannot compile it.


Someone could help me to use that api under cygwin?

Thanks for your time

_
Horóscopo, tarot, numerología... Escucha lo que te dicen los astros. 
http://astrocentro.msn.es/



--
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: lilypond-2.10.29-1

2007-08-29 Thread Jan Nieuwenhuizen
The LilyPond music typesetter has been updated to the new stable
version 2.10.29.

Changes:

  * New upstream release.
  * Fix python #! on scripts.  Thanks Volker!

Enjoy,
Jan.


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.

-- 
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: 1.5.24: sin() bug

2007-08-29 Thread Dave Korn
On 29 August 2007 18:31, Brian Dessent wrote:

> Dave Korn wrote:
> 
>>   Since when was pi less than 2^-27?
> 
> This is a kernel sin, a function over the limited range [-pi/4, pi/4],
> where the general case sin is reduced to kernel sin by the remainder of
> modulus pi/2.

  Ah, I see.
 
>>   I think it may be an artefact of FP precision and/or rounding mode, but
>> I'd need to do more experiments to make sure.  OTOH it could be an
>> artifact of the printf %g specfier.  Like I said, more experimentation is
>> needed! 
> 
> A problem with the testcase is the .10.  It helps to expand that so that
> you see the entire value.  Or use %a.  newlib returns 3CED1A62633145C0
> whereas both MSVCRT and x86 linux seem to return 3CED1A60.  It
> sort of looks like a truncation problem but since glibc agrees with
> msvcrt (shock!) I tend to think the latter is right.  The actual
> mantissas are:
> 
> newlib 1.110100011010011000100110001100110001010001011100
> other  1.1101000110100110


  This looks more and more like an extended precision issue.  Good ol' PR323!
I'll dig out my fpctl macro and have a try...


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 "quilt add" + patch

2007-08-29 Thread Peter Rosin
On Wed, Aug 29, 2007 at 10:08:55AM +0200, Peter Rosin wrote:
> Hi!
> 
> I'm having problems with "quilt add".

Sorry to reply to self, but if there is an update to the quilt package,
the maintainer should perhaps take the opportunity to add diffutils
to the requires line.

But, hey, that's needed even if the fix isn't taken...

Cheers,
Peter

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



Re: How do I make scripts my PC executable

2007-08-29 Thread Gary Johnson
On 2007-08-29, Dave Korn wrote:
> On 29 August 2007 17:59, zip184 wrote:
> 
> > I have some scripts I'd like to run without starting cygwin and typing in
> > their paths.  Is there a way to make windows recognize that a file is a
> > bash/python script and run them like as if I ran them in cygwin?  I'd like
> > to just be able to doubleclick them in windows explorer.  Is this possible?
> > (I'm using bash and python scripts)
> 
>   Windoze doesn't understand about shebangs (the #! line at the start of the
> script), and bases all its decisions on the filename extension.  So, if you
> name your scripts according to the pattern '*.sh', and make sure to chmod a+x
> them, you can double-click in explorer.
> 
>   The first time you do that, windows will complain it doesn't know what to do
> with a sh file, and offer you the choice of looking up on the web or selecting
> from a list which program you want to open .sh files with; choose the
> select-from-a-list option, when the list appears click the browse button, find
> your way to cygwin\bin\bash.exe and select that.  Make sure "Always use this
> program" is ticked, enter a nice descriptive name such as "Bash script" in the
> description box, OK it and away you go!

That won't run the script in the same environment that it would get 
when run from a Cygwin login shell, though, will it?  I would think 
the program might have to be a .bat file that contains something 
like this (untested):

   C:\cygwin\bin\bash.exe --login -c %1

Regards,
Gary

--
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: Full reinstall now fails with Vista STATUS_ACCESS_VIOLATION during postinstall

2007-08-29 Thread Jim Kleckner

Jim Kleckner wrote:

In trying to figure out what was going on with Vista Business,
I removed all of cygwin and reinstalled, first as me with
administrator privileges and then with "run as administrator".
In all cases, the postinstall scripts all fail with lines like:


I've given up on Vista and told the owner of the computer to scrape it
and put Win XP onto it.

Here's hoping that helps...

Jim

--
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: guile-1.8.2-1

2007-08-29 Thread janneke-list
The Guile scheme intepreter has been updated to the new stable point
release 1.8.2.  This Cygwin Guile package now includes no additional
patches.

Enjoy,
Jan.


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.

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



[ANNOUNCEMENT] Updated: lilypond-2.10.29-1

2007-08-29 Thread janneke-list
The LilyPond music typesetter has been updated to the new stable
version 2.10.29.

Changes:

  * New upstream release.
  * Fix python #! on scripts.  Thanks Volker!

Enjoy,
Jan.


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.

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



[ANNOUNCEMENT] Updated: guile-1.8.2-1

2007-08-29 Thread Jan Nieuwenhuizen
The Guile scheme intepreter has been updated to the new stable point
release 1.8.2.  This Cygwin Guile package now includes no additional
patches.

Enjoy,
Jan.


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.

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



[ANNOUNCEMENT] New package: scsh-0.6.7-2

2007-08-29 Thread Reini Urban

scsh - the "scheme shell" - has been added to the cygwin distribution.

scsh is the open-source Unix shell embedded within Scheme 48, running on 
all major Unix platforms. See http://www.scsh.net/


scsh is a variant of Scheme 48 (an R5RS compliant new-tech Scheme 
system). scsh is designed for writing real-life standalone Unix programs 
and shell scripts. scsh spans a wide range of application, from script 
applications usually handled with perl or sh, to more standard systems 
applications usually written in C.


Notes:
* Yes, there's no readline interface. Complain elsewhere.
* The socket server bug recently reported on the scsh list is fixed,
  only closing a socket doesn't work yet.
* Both maintainers, here and upstream, are happy to get an official
  cygwin release, because 90% of the reported errors concern bogus
  cygwin packages around.
  Probably some of mine from ten years ago...


If you have questions or comments, please send them to
the Cygwin mailing list at: cygwin@cygwin.com .
I'll answer only there and I don't answer private mails.

*** 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 this URL.




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



[ANNOUNCEMENT] Updated: rsync 2.6.9-2 (security fix)

2007-08-29 Thread Lapo Luchini
Version 2.6.9-2 of rsync has been uploaded.

rsync is a file transfer program. rsync uses the 'rsync algorithm' which
provides a very fast method for bringing remote files into sync. It does
this by sending just the differences in the files across the link,
without requiring that both sets of files are present at one of the ends
of the link beforehand.

Please notice that 2.6.9-1 rsync has a security bug that might
(or might not) affect you, depending on your use case.
http://secunia.com/advisories/26493/
This rsync-2.6.9-2 package containing a patch to this problem.

If you're not sure what version do you have you can
use the following command to both check version number
and integrity of the install:
% cygcheck -c rsync


If you have questions or comments, please send them to the Cygwin
mailing list at: cygwin@cygwin.com .

  *** 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 this URL.

-- 
Lapo Luchini
[EMAIL PROTECTED] (OpenPGP & X.509)
www.lapo.it (Jabber, ICQ, MSN)


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



Failure in building Emacs 23.0.50 on Cygwin

2007-08-29 Thread Angelo Graziosi

I have tried to bootstrap the last Emacs-23.0.50 CVS (checked out about an
hour ago) on Cygwin, but it fails:

---
Configuring...
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for AIX... no
checking whether gcc understands -Wno-pointer-sign... yes
checking whether ln -s works... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for install-info... /usr/bin/install-info
checking for install-info... (cached) /usr/bin/install-info
checking for install-info... (cached) /usr/bin/install-info
checking for gzip... /usr/bin/gzip
checking for makeinfo... /usr/bin/makeinfo
checking for -znocombreloc... no
configure: checking the machine- and system-dependent files to find out
 - which libraries the lib-src programs will want, and
 - whether the GNU malloc routines are usable...
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking machine/soundcard.h usability... no
checking machine/soundcard.h presence... no
checking for machine/soundcard.h... no
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking soundcard.h usability... no
checking soundcard.h presence... no
checking for soundcard.h... no
checking for _oss_ioctl in -lossaudio... no
checking for pkg-config... /usr/bin/pkg-config
checking for alsa >= 1.0.0... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking linux/version.h usability... no
checking linux/version.h presence... no
checking for linux/version.h... no
checking sys/systeminfo.h usability... no
checking sys/systeminfo.h presence... no
checking for sys/systeminfo.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking termcap.h usability... yes
checking termcap.h presence... yes
checking for termcap.h... yes
checking stdio_ext.h usability... no
checking stdio_ext.h presence... no
checking for stdio_ext.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for strings.h... (cached) yes
checking coff.h usability... no
checking coff.h presence... no
checking for coff.h... no
checking pty.h usability... yes
checking pty.h presence... yes
checking for pty.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/vlimit.h usability... no
checking sys/vlimit.h presence... no
checking for sys/vlimit.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/_mbstate_t.h usability... no
checking sys/_mbstate_t.h presence... no
checking for sys/_mbstate_t.h... no
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking if personality LINUX32 can be set... no
checking for term.h... no
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... y

mkgroup (366): [2123] The API return buffer is too small.

2007-08-29 Thread Brian Egge
When running mkgroup after installing cygwin I receive the following
error:

$ mkgroup  -l -d > /etc/group
mkgroup (366): [2123] The API return buffer is too small.

I suspect this is due to the large number of groups our organization
has.


cygcheck.out
Description: cygcheck.out
--
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: Request for Cairo/Pango Binary Update

2007-08-29 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to [EMAIL PROTECTED] on 8/29/2007 10:56 AM:
> Jari,
> 
> Any chance of getting Cairo/Pango upto date in Cygwin?  I would really like 
> to see them built and operational.  If you can not do it, is there a good 
> place that can provide direction as to who owns updates to that package so 
> that I might attempt to inspire that person.

Jari is not the cairo/pango maintainer; it is Yaakov.  But since both of
them read this list, you should http://cygwin.com/acronyms/#PPIOSPE.  And
you should have started a new thread, rather than replying to an existing
thread and just changing the subject line, since you messed up threading.
 Also, avoid http://cygwin.com/acronyms/#TOFU - top-posting is frowned
upon on the list.

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

iD8DBQFG1hF384KuGfSFAYARAho7AJ4p0YVtK0QZVT3WyUhGZNeAPkdDoACeMYGC
8WBiLL35/wNwp6BYn/1Mh0Y=
=j61e
-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: octave configure on cygwin snapshot

2007-08-29 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Dave Korn on 8/29/2007 11:00 AM:
> 
>   It would be worth going back through the archives; IIRC, this was a recent
> change made by CV in response to a PR on the list.  Any un-cautious solution
> would probably just regress back the original bug...

It was this commit:
http://cygwin.com/ml/cygwin-cvs/2007-q3/msg3.html

But I don't see any list traffic related to char *timezone() vs. long
timezone in that timeframe.

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

iD8DBQFG1hHU84KuGfSFAYARAjWqAJ4pTe/H6Netz5E9kEbFY6nN/EvdzQCgmWRI
RlRxRDQZ8CW5AfxEb99EDH0=
=4gPl
-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: Using Windows XP SP2 firewall API

2007-08-29 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Miguel Angel Cabrera on 8/29/2007 11:51 AM:
> Hi,
> 
> i am trying to make a program to manage Windows XP SP2 firewall API,
> using cygwin gcc with -mno-cygwin option.
^^^

What part of no-cygwin did you not get?  You are telling the compiler to
avoid cygwin, so the cygwin list will not be able to help you; try the
mingw list instead.

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

iD8DBQFG1hJI84KuGfSFAYARAvlFAKCjQvD+gzWErjZKRN8fLyCDOPl9DQCgnXFt
GqWXBeK+eoKWmyRYhJXI9XE=
=xMAy
-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: [ANNOUNCEMENT] New package: scsh-0.6.7-2

2007-08-29 Thread Mark Harig

Reini Urban writes:

> scsh - the "scheme shell" - has been added to the cygwin distribution.

Thank you for providing this package.

1. This package is classified in 'setup' as a 'Misc' package.  Should
  this package be classified as a 'Shell' package instead?

2. The manual page 'scsh.1.gz' in /usr/share/man/man1 has only 27 bytes
  in it.  The manual page, 'scsh.man', included in the source for
  'scsh' has 1982 bytes.  Is there a defect in the scsh cygwin package
  (i.e., did the manual page get package incorrectly), or is this
  a problem with my cygwin installation?




--
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 "quilt add" + patch

2007-08-29 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Peter Rosin on 8/29/2007 2:38 PM:
> Sorry to reply to self, but if there is an update to the quilt package,
> the maintainer should perhaps take the opportunity to add diffutils
> to the requires line.

Adjusted on the mirrors for now, but yes, the maintainer needs to fix this
for the next upload.

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

iD8DBQFG1hM384KuGfSFAYARAhWMAKCOn+bMUSQm62Fa9kHILS0+4FKsLgCeNrSy
Yj5HJT3C8pUV0w2VbcdKkiI=
=TOSK
-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: Failure in building Emacs 23.0.50 on Cygwin

2007-08-29 Thread Dan Nicolaescu
Angelo Graziosi <[EMAIL PROTECTED]> writes:

  > I have tried to bootstrap the last Emacs-23.0.50 CVS (checked out about an
  > hour ago) on Cygwin, but it fails:

[snip]  

  > gcc   -Wl,--enable-auto-import -Wl,--enable-auto-image-base
  > -L/usr/X11R6/lib -o temacs ecrt0.o dispnew.o frame.o scroll.o xdisp.o
  > xmenu.o window.o charset.o coding.o category.o ccl.o cm.o term.o
  > terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o
  > fringe.o image.o  emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o
  > filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o
  > casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o
  > doc.o editfns.o callint.o eval.o floatfns.o fns.o print.o lread.o abbrev.o
  > syntax.o unexcw.o bytecode.o process.o callproc.o region-cache.o sound.o
  > atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.o
  > sheap.o terminfo.o gmalloc.o ralloc.o lastfile.o vm-limit.o  widget.o
  > mktime.o getloadavg.o   ../lwlib/liblw.a -L/usr/X11R6/lib -lXaw3d -lXmu
  > -lXt -lSM -lICE -lXext -ltiff -ljpeg -lpng -lz -lm -lungif -lXpm -lX11
  > -lcurses -lg  `gcc -print-libgcc-file-name` -lm -lc `gcc
  > -print-libgcc-file-name`
  > term.o: In function `dissociate_if_controlling_tty':
  > /tmp/emacs/src/term.c:3146: undefined reference to `_croak'
  > collect2: ld returned 1 exit status
  > make[2]: *** [temacs.exe] Error 1
  > make[2]: Leaving directory `/tmp/emacs/build/src'
  > make[1]: *** [bootstrap-build] Error 2
  > make[1]: Leaving directory `/tmp/emacs/build'
  > make: *** [bootstrap] Error 2
  > ---
  > 
  > (Note that term.c was one of the last update files before I checked out
  > CVS)
  > 
  > 
  > The same CVS bootstraps fine on GNU/Linux SLC4.
  > 
  > 
  > The CVS of 20070819 builds fine on both systems (linux and cygwin)

This is because the multi-tty branch got merged into emacs CVS
mainline. Most likely nobody tried it on cygwin before. Someone that
uses cygwin needs to take a look at what does it take to make it
compile again. Probably just a few #ifs need to be updated.

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



Crontab runs fine in cmd line not via CRON for expect scripts

2007-08-29 Thread John-Mc

Hi All,

I'm new here so please bear with me. I have a server running Windows Server
2003 Std Edition w/ SP2 and for whatever reason I cannot get CRON to execute
my expect scripts. If I run them manually they run just fine. Another
co-worker has some perl scripts that kick off without any issues, can
someone tell me why Cygwin won't execute them. I'm including a copy of
crontab below, Thanks!

$ crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.2Y63xGCfwf installed on Wed Aug 29 13:58:48 2007)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp
$)
#* * * * * /bin/date.exe >> /cygdrive/e/Downloads/out.txt
#* * * * * /bin/date.exe >> /home/Administrator/file.txt
0 * * * * /bin/perl.exe /home/Administrator/scripts/get-switchportnamesv2.pl
0 * * * * /bin/perl.exe /home/Administrator/scripts/regenswitchcfgs.pl
30 6 * * * /bin/perl.exe /home/Administrator/scripts/backupmrtg.pl
59 13 * * * /bin/expect.exe /home/Administrator/scripts/getCOREFWSMcfgs
59 13 * * * /home/Administrator/scripts/getASAcfgs
35 3 * * * /home/Administrator/scripts/getCOREcfgs
40 3 * * * /home/Administrator/scripts/getDISTcfgs
45 3 * * * /home/Administrator/scripts/getNCcfgs
50 3 * * * /home/Administrator/scripts/getPOEcfgs
55 3 * * * /home/Administrator/scripts/getVOIPcfgs
15 4 * * * /bin/perl.exe /home/Administrator/scripts/backup-rtr-sw-cfgs.pl
30 5 * * * /bin/perl.exe /home/Administrator/scripts/rtr-sw-cfg-2-dirs.pl

-- 
View this message in context: 
http://www.nabble.com/Crontab-runs-fine-in-cmd-line-not-via-CRON-for-expect-scripts-tf4351639.html#a12399572
Sent from the Cygwin Users 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: Crontab runs fine in cmd line not via CRON for expect scripts

2007-08-29 Thread Larry Hall (Cygwin)

John-Mc wrote:

Hi All,

I'm new here so please bear with me. I have a server running Windows Server
2003 Std Edition w/ SP2 and for whatever reason I cannot get CRON to execute
my expect scripts. If I run them manually they run just fine. Another
co-worker has some perl scripts that kick off without any issues, can
someone tell me why Cygwin won't execute them. I'm including a copy of
crontab below, Thanks!


Typically when scripts run fine from the command line and not from 'cron',
it's because they explicitly or implicitly depend on some environment
settings (i.e. variables) that aren't available when 'cron' runs.  The
typical solution is to make sure that you include those environment settings
in your scripts or your crontab.  FWIW, this is not a Cygwin specific issue.
The same thing would happen to you running the script from 'cron' on other
platforms.  So if you find that this is indeed your problem, you may want
to review the man pages for 'cron' and/or other 'cron' documentation.

--
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: [ANNOUNCEMENT] New package: scsh-0.6.7-2

2007-08-29 Thread Christopher Faylor
On Wed, Aug 29, 2007 at 08:41:27PM -0400, Mark Harig wrote:
> Reini Urban writes:
>
> > scsh - the "scheme shell" - has been added to the cygwin distribution.
>
> Thank you for providing this package.
>
> 1. This package is classified in 'setup' as a 'Misc' package.  Should
>   this package be classified as a 'Shell' package instead?

It is in the category "Interpreters" under Debian so I've put it there
for Cygwin as well.

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: How do I make scripts my PC executable

2007-08-29 Thread David Christensen
zip184 wrote:
> I have some scripts I'd like to run without starting cygwin and
> typing in their paths.  Is there a way to make windows recognize that
> a file is a bash/python script and run them like as if I ran them in
> cygwin?  I'd like to just be able to doubleclick them in windows
> explorer.  Is this possible? (I'm using bash and python scripts)

I have a series of Cygwin Bash and Perl scripts for backing up my machines.  I
develop/debug them interactively using Cygwin Bash shells.  Once everything
works, I light them off using a shortcut pointing to a batch file that fires up
Cygwin Bash and tells it to process the top-level Bash shell script:

$ cat ssh-backup-all.bat
C:\cygwin\bin\bash ./ssh-backup-all


The top-level Bash shell script sets the environment up to match interactive
login and then does it's job:

$ cat ssh-backup-all
#! /bin/sh
. /etc/profile
. /home/dpchrist/.bash_profile
# do backup stuff


HTH,

David


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



Re: How do I make scripts my PC executable

2007-08-29 Thread Steve Holden

David Christensen wrote:

zip184 wrote:

I have some scripts I'd like to run without starting cygwin and
typing in their paths.  Is there a way to make windows recognize that
a file is a bash/python script and run them like as if I ran them in
cygwin?  I'd like to just be able to doubleclick them in windows
explorer.  Is this possible? (I'm using bash and python scripts)


I have a series of Cygwin Bash and Perl scripts for backing up my machines.  I
develop/debug them interactively using Cygwin Bash shells.  Once everything
works, I light them off using a shortcut pointing to a batch file that fires up
Cygwin Bash and tells it to process the top-level Bash shell script:

$ cat ssh-backup-all.bat
C:\cygwin\bin\bash ./ssh-backup-all


The top-level Bash shell script sets the environment up to match interactive
login and then does it's job:

$ cat ssh-backup-all
#! /bin/sh
. /etc/profile
. /home/dpchrist/.bash_profile
# do backup stuff

Wouldn't it be possible to omit the first two executable lines and have 
the batch script read


c:\cygwin\bin\bash -l ./ssh-backup-all

regards
 Steve
--
Steve Holden+1 571 484 6266   +1 800 494 3119
Holden Web LLC/Ltd   http://www.holdenweb.com
Skype: holdenweb  http://del.icio.us/steve.holden
--- Asciimercial --
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
--- Thank You for Reading -

--
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] New package: scsh-0.6.7-2

2007-08-29 Thread Mark Harig

Christopher Faylor wrote:


1. This package is classified in 'setup' as a 'Misc' package.  Should
  this package be classified as a 'Shell' package instead?


It is in the category "Interpreters" under Debian so I've put it there
for Cygwin as well.


Note that some packages are in multiple categories.  clisp, for example,
is in the Interpreters and Shells categories.  And the editors Emacs and
Xemacs are in the Interpreters and Editors categories.  scsh likely belongs
in both the Interpreters and Shells categories.  Many people will look for
the "Scheme shell" in the Shells category.



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



ldconfig problem

2007-08-29 Thread Senthil Nathan
Hi,
I'm using cygwin for the first time to compile my programs.

I get the following error during dynamic loading of my libraries.
And I came to know that there is no concept of "ldconfig".

So how do I load my dynamic libraries while compiling.

this is the command i run on linux platform, which works well.
$ gcc `xml2-config --cflags --libs` -o save save.c  --> /usr/local/lib
has the library to linked with this.

but how do i compile this in cygwin.
and the error I get in cygwin is,
/cygdrive/c/DOCUME~1/che02099/LOCALS~1/Temp/ccWWThmX.o:save.c:(.text+0x15c):
undefined reference
collect2: ld returned 1 exit status

Thanks
Senthil

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