dlltool and def files with dots and aliasing

2007-12-11 Thread Kerem Bulbul
Hi: I am trying to build an import library from a windows dll for which I do not have the source code. I am new to cygwin and programming on windows, and I understand that there are two main steps to this: 1. Extract a def file from the dll 2. Use dlltool to create the import library The met

Re: Wish Setup would accept my Perl

2007-12-11 Thread Michael Kairys
"Andrew DeFaria" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Well that tells you that your previous invocations of system and backquote constructs were not portable to start with. It would be far better to centralize such things to a subroutine to try to mitigate the portability

Re: Wish Setup would accept my Perl

2007-12-11 Thread Michael Kairys
"Andrew DeFaria" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Well that tells you that your previous invocations of system and backquote constructs were not portable to start with. It would be far better to centralize such things to a subroutine to try to mitigate the portabilit

Re: Wish Setup would accept my Perl

2007-12-11 Thread Michael Kairys
"Brian Mathis" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I think the biggest problem you're having is conceptual. It's easy to view a bash prompt as just a better DOS prompt that gives you unix commands in addition to windows command line commands. ... The solution is to star

Re: Wish Setup would accept my Perl

2007-12-11 Thread Michael Kairys
"Jevin Sweval" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] At work, we develop using both Cygwin's perl and AS's perl (we distribute our app to people without Cygwin but with ActivePerl). Thank you for these comments, Your environment is similar to my situation; my coworkers to

Re: Wish Setup would accept my Perl

2007-12-11 Thread Michael Kairys
"Michael Kairys" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] As an aside, there seems to be something broken in my installation re. Tk (or perhaps I'm missing something). If I run a script containing (only) "use Tk" I get: Can't load '/usr/lib/perl5/vendor_perl/5.8/cygwin/auto

RE: Wish Setup would accept my Perl

2007-12-11 Thread Dave Korn
On 11 December 2007 12:21, Michael Kairys wrote: > To accomplish this I have put cygwin\bin on my Windows path. What is your > opinion on that, please? A wholly excellent idea IMO :) You can run into the occasional confusion about PATH ordering where there are utilities of the same name. T

Re: cygwin-1.5.25-5 is missing newlib math updates

2007-12-11 Thread Corinna Vinschen
On Dec 10 13:09, Cary R. wrote: > Attached are the two ChangeLog entries from newlib and a patch of the math > directory differences between my modified 1.5.24 and 1.5.25. I did a quick > visual check and this single patch appears to match the two I originally > sent. Please let me know if I can be

Re: cygwin-1.5.25-5 is missing newlib math updates

2007-12-11 Thread Lev Bishop
On Dec 11, 2007 8:06 AM, Corinna Vinschen wrote: > Thanks for the patches. I applied them to the 1.5.x branch. Barring > any further catastrophies in 1.5.25, I will release a new 1.5.25 within > a couple of days. While you're at it... http://sourceware.org/ml/newlib/2007/msg00912.html http://cy

Re: BUG: Timezone failures with threads under Cygwin 1.5.25

2007-12-11 Thread Corinna Vinschen
On Dec 10 17:00, Jerry D. Hedden wrote: > [...] > Under 1.5.24, this test always passes. Under 1.5.25, it is > now frequently failing. If I add a debugging call in the > central most loop: > > print("got: $lt exp: $localtime\n"); > > I get the following as typical of the problem: >

Re: Problems with PostgreSQL 8

2007-12-11 Thread cappellano
So far, I put postmaster to run, but it does not receive any connection. trying to start /etc/rc.d/init.d/postgres fails. Running cygsrv -S cygserver results in error 120. My conclusion is I cannot run Postgres 8 on this plataform. If anyone can run Postgres 7 or know any *working* tutorial, just

Re: cygwin-1.5.25-5 is missing newlib math updates

2007-12-11 Thread Corinna Vinschen
On Dec 11 09:06, Lev Bishop wrote: > On Dec 11, 2007 8:06 AM, Corinna Vinschen wrote: > > > Thanks for the patches. I applied them to the 1.5.x branch. Barring > > any further catastrophies in 1.5.25, I will release a new 1.5.25 within > > a couple of days. > > While you're at it... > http://so

kill -STOP mencoder_pid does not stop process execution

2007-12-11 Thread TAJTHY Tamás
Dear List, sometimes I have to pause the execution of the mencoder process on my cygwin hosted by an XP SP2. If I press Ctrl+S the mencoder is stopped nicely. I wanted to pause it from a script. I tried the normal UNIX way sending a SIGSTOP signal to the process (kill -STOP mencoder_PID) from an o

Re: BUG: Timezone failures with threads under Cygwin 1.5.25

2007-12-11 Thread Jerry D. Hedden
Jerry D. Hedden wrote: > [...] > Under 1.5.24, this test always passes. Under 1.5.25, it is > now frequently failing. If I add a debugging call in the > central most loop: > > print("got: $lt exp: $localtime\n"); > > I get the following as typical of the problem: > > 5 perl-curre

Re: get cygpath to leave relative paths as relative?

2007-12-11 Thread Corinna Vinschen
On Dec 10 22:34, Brent wrote: > If I execute > mypath=`cygpath -w ../` > echo $mypath > > I get > d:\unix\nextVersion\script > > OK, d:\unix\nextVersion\script is the correct windows version of the path, > but it is in absolute form. I would prefer it if cygpath left it in relative

Re: get cygpath to leave relative paths as relative?

2007-12-11 Thread Igor Peshansky
On Mon, 10 Dec 2007, Brent wrote: > If I execute > mypath=`cygpath -w ../` > echo $mypath > > I get > d:\unix\nextVersion\script > > OK, d:\unix\nextVersion\script is the correct windows version of the > path, but it is in absolute form. I would prefer it if cygpath left it > in relati

Re: BUG: Timezone failures with threads under Cygwin 1.5.25

2007-12-11 Thread Corinna Vinschen
On Dec 11 10:24, Jerry D. Hedden wrote: > Corinna Vinschen wrote: > > It would be more helpful if you would send self-contained code which > > doesn't have to be tweaked to do a test. I'm not a perl developer, so > > it took me some time to get it running. I'd also really prefer > > testcases in

Re: kill -STOP mencoder_pid does not stop process execution

2007-12-11 Thread Lev Bishop
On Dec 11, 2007 10:18 AM, TAJTHY Tamás wrote: > Dear List, > > sometimes I have to pause the execution of the mencoder process on my cygwin > hosted by an XP SP2. If I press Ctrl+S the mencoder is stopped nicely. I > wanted > to pause it from a script. I tried the normal UNIX way sending a SIGSTOP

All directories marked as non-writable on FAT32

2007-12-11 Thread Thorsten Kampe
Newest Cygwin: 1.5.25 Hi, with the newest Cygwin (see above) all directories on a FAT thumb drive[1] are marked as "500" (should be 700) - although the directories are of course writable. I think this is a bug and should be fixed. Thanks, Thorsten PS directories on C: (NTFS) show as 700 or 77

Re: All directories marked as non-writable on FAT32

2007-12-11 Thread Corinna Vinschen
On Dec 11 18:17, Thorsten Kampe wrote: > Newest Cygwin: 1.5.25 > > Hi, > > with the newest Cygwin (see above) all directories on a FAT thumb > drive[1] are marked as "500" (should be 700) Grr, I mixed this up because I failed to see an exclamation mark. So that was broken for all non-NTFS file

[ANNOUNCEMENT] Updated: squid-2.6.STABLE17-1: Web Proxy Cache

2007-12-11 Thread Dr. Volker Zell
Hi A new version of 'squid' has been uploaded to a server near you. Cygwin NEWS: o Maintainer change o New Upstream release o Switched to cygport build framework o Cleanup of installation directories squid NEWS: === o http://www.squid-cache.org/Versions/v2/

[ANNOUNCEMENT] Updated: rcs-5.7-4: The Revision Control System

2007-12-11 Thread Dr. Volker Zell
Hi A new version of `rcs' has been uploaded to a server near you. Cygwin NEWS: o Maintainer change o Switched to cygport build framework o Documentation and manual pages now under /usr/share/{man/doc} hierarchy o The patch posted in http://sources.redhat.com/ml/cygwin/2001-07/m

Re: question with xargs and jar- seems to drop files.

2007-12-11 Thread Richard Copley
On 05/12/2007, Mike Marchywka <[EMAIL PROTECTED]> wrote: > I seem to have an odd problem with xargs and jar. I'm not sure if I can > isolate a simple test > case but essentially it only seems to be taking some of the input files. > > This seems to work suggesting the file list is acceptable to ja

Re: kill -STOP mencoder_pid does not stop process execution

2007-12-11 Thread TAJTHY Tamás
Dear Lev, > 2007. 12. 11. k. 19:06, "Lev Bishop" <[EMAIL PROTECTED]> írta: >> sometimes I have to pause the execution of the mencoder process on my cygwin >> hosted by an XP SP2. If I press Ctrl+S the mencoder is stopped nicely. I >> wanted >> to pause it from a script. I tried the normal UNIX w

Re: Wish Setup would accept my Perl

2007-12-11 Thread Reini Urban
2007/11/7, Brian Mathis <[EMAIL PROTECTED]>: > On Nov 7, 2007 10:44 AM, Andrew DeFaria <[EMAIL PROTECTED]> wrote: > > DePriest, Jason R. wrote: > > > I once, like you, wondered why I couldn't just have one installation > > > of Perl or Python that works in either environment. Since I write > > > sc

Re: Problems with PostgreSQL 8

2007-12-11 Thread Reini Urban
2007/12/11, cappellano <[EMAIL PROTECTED]>: > So far, I put postmaster to run, but it > does not receive any connection. trying to start > /etc/rc.d/init.d/postgres fails. Running cygsrv -S cygserver results > in error 120. My conclusion is I cannot run Postgres 8 on this > plataform. > > If anyone

Re: Wish Setup would accept my Perl

2007-12-11 Thread Michael Kairys
"Reini Urban" <[EMAIL PROTECTED]> wrote in message Win32::OLE COM objects, Registry access, Win32:GUI and all of libwin32 works fine on cygwin perl. With cygwin perl you have the best of both worlds. Is it correct that Cygwin Perl/Tk requires a running X server? -- Unsubscribe info: h

Re: Wish Setup would accept my Perl

2007-12-11 Thread Tim Prince
Michael Kairys wrote: > > "Reini Urban" <[EMAIL PROTECTED]> wrote in message >> Win32::OLE COM objects, Registry access, Win32:GUI and all of >> libwin32 works fine on cygwin perl. With cygwin perl you have the best >> of both worlds. > > Is it correct that Cygwin Perl/Tk requires a running X ser

Re: get cygpath to leave relative paths as relative?

2007-12-11 Thread Brent
Corinna wrote: >This is not always possible when converting POSIX paths to Win32 paths >for a couple of reasons. One reason is that a relative path might >contain symlinks, another one is that a path containing .. could cross >mount points. To recognize both cases extra processing is necessary >

RE: Almost nothing works for me in Cygwin 1.5.24-2

2007-12-11 Thread Rob Larkins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I removed everything but "C:\Program Files\cygwin" from my PATH and I reinstalled Cygwin twice, from separate mirrors... Still getting the same errors. - -Rob -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) iD8DBQFHX3gK+KyO/KUp2FYRAhY