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 w

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 catego

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

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

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 clas

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 with

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,

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 scro

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

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

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

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 origin

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 direct

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 inf

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

[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

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

[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

[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

[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

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

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?

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 e

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 t

[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

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

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 sm

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

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

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

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 cou

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

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?

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 transf

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 Ada

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

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

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

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 >

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

[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

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 m

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

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

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

[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

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

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

[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

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

[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, 20

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

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

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

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

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 a

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 o

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

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 notati

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,

[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

[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. ~

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

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

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: