linking 3rd party DLLs to my code.

2003-11-21 Thread Suresh Venkatasubramanian
Hi, I am trying to link a 3rd party dll to my code. Specifically I have a library cg.dll and wish to link it using -lcg Now I read the FAQ section on using DLLs, and unfortunately the library has stripped symbols (and I have no access to its src) so I can't make the import libraries as the FAQ

Re: 1.5.5 and perl 5.8.2-5: bug with perl's system() cmd

2003-11-21 Thread Andrew Markebo
/ Reed White <[EMAIL PROTECTED]> wrote: | Versions: crgwin dll 1.5.5 and perl 5.8.2-5 | | When executing system() commands in perl, the system fails to handle | escaped quotes properly. For example, the following is not parsed | properly: | | system("rsync ... --rsh=\"ssh -l blah\" ... ")

Cygwin with "gcc 3.2" and the patch for "ns-2.1b9a"

2003-11-21 Thread 이희진
Hi, Is there any other Cygwin patch for ns-2.1b9a, rather than "ns-allinone-2.1b9a-gcc32-cygwin.path"? Without the patch, the installation did not proceed. To install ns-2.1b9a, I already tried and failed on the recent version of Cygwin with the "ns-allinone-2.1b9a-gcc32-cygwin.path." Now, I

Re: Any current plans for an SDL package?

2003-11-21 Thread Christopher Faylor
On Fri, Nov 21, 2003 at 08:24:50PM -0500, [EMAIL PROTECTED] wrote: >I am wondering if anybody currently plans to create an SDL mingw32 >binary package for cygwin. As it is currently hard to compile SDL, >having this package, (and SDL-image and SLD-mixer, 2 other libs that are >usually used with

Any current plans for an SDL package?

2003-11-21 Thread unknown_kev_cat
I am wondering if anybody currently plans to create an SDL mingw32 binary package for cygwin. As it is currently hard to compile SDL, having this package, (and SDL-image and SLD-mixer, 2 other libs that are usually used with sdl, that may even be harder to compile) would be of help to many ppl.

RE: Diff for generic readme and generic-build script

2003-11-21 Thread Alan Miles
Igor, New patch - basically I store the /usr/bin/basename of the Readme file variable == > /tmp/%PKG%.README Then I do an effective "mv -f /tmp/%PKG%.README /usr/share/doc/Cygwin/%PKG%.README" operation. Hopefully that mitigates all of your concerns. -Original Message- From: Igor Pecht

Re: 1.5.5: SEGV in calloc before start of main

2003-11-21 Thread Lloyd Lewins
Well I figured out the problem. The application defines its own heap management routines (malloc, free, realloc). However it does NOT define calloc. The existance of an application defined malloc causes malloc_wrappers to vector dll calloc calls to the application. However, since the application do

1.5.5 and perl 5.8.2-5: bug with perl's system() cmd

2003-11-21 Thread Reed White
Versions: crgwin dll 1.5.5 and perl 5.8.2-5 When executing system() commands in perl, the system fails to handle escaped quotes properly. For example, the following is not parsed properly: system("rsync ... --rsh=\"ssh -l blah\" ... ") ... Reed -- Reed White - ALTA RESEARCH - 877-3

Re: Crontab does not work, Windows 2000

2003-11-21 Thread Tim Ashman
Igor, I have looked through /usr/share/doc/Cygwin/cron.README like you suggested. The only problem is that the cygrunsrv file does not exist on my computer. I've done a thorough search. Do you have any idea why this happened? Is it common and what should I do about it? Thanks. Original Me

Re: [wayne@cs.toronto.edu: cygwin-1.5.5 sscanf on floats: 20 times slower than 2 years ago]

2003-11-21 Thread J. Johnston
Christopher Faylor wrote: On Fri, Nov 21, 2003 at 03:50:18PM -0500, J. Johnston wrote: J. Johnston wrote: Wayne Hayes wrote: Since scanf and the floating point arithmetic is implemented in newlib, I've redirected this message there. Does anybody have an idea, what could slow down float scannin

Re: Chronic Cron - cyg.txt (0/1)

2003-11-21 Thread Larry Hall
At 04:22 PM 11/21/2003, zzapper you wrote: >> >>ANYWAY CYGWIN CRON DOES WORK on WINXP HOME, so if you read this 'cos >>you're struggling with cron. Don't be too dis-heartened you will get >>there. >> >Igor, >There were so many "problem" msgs in this ng about Cron, I was >defeated in advance. It's

Re: Patch and directions for compiling GNU screen 3.9.15 on cygwin

2003-11-21 Thread Frédéric L. W. Meunier
On Fri, 21 Nov 2003, Igor Pechtchanski wrote: > On Fri, 21 Nov 2003, Christopher Faylor wrote: > > > On Fri, Nov 21, 2003 at 02:50:18PM -0600, Parker, Ron wrote: > > >I created a patch for GNU screen 3.9.15 that will allow it to be compiled > > >and installed on Cygwin. The patch is attached belo

Re: Patch and directions for compiling GNU screen 3.9.15 on cygwin

2003-11-21 Thread Igor Pechtchanski
On Fri, 21 Nov 2003, Igor Pechtchanski wrote: > On Fri, 21 Nov 2003, Christopher Faylor wrote: > > > On Fri, Nov 21, 2003 at 02:50:18PM -0600, Parker, Ron wrote: > > >I created a patch for GNU screen 3.9.15 that will allow it to be compiled > > >and installed on Cygwin. The patch is attached belo

Re: Patch and directions for compiling GNU screen 3.9.15 on cygwin

2003-11-21 Thread Igor Pechtchanski
On Fri, 21 Nov 2003, Christopher Faylor wrote: > On Fri, Nov 21, 2003 at 02:50:18PM -0600, Parker, Ron wrote: > >I created a patch for GNU screen 3.9.15 that will allow it to be compiled > >and installed on Cygwin. The patch is attached below, the basic build and > >install procedure is: > > > >

RE: nfs-server 2.2.47-2

2003-11-21 Thread Michael Lemke, Sternwarte Bamberg, Phone: +49-951-9522216
Igor Pechtchanski wrote to: Michael Lemke >On Fri, 21 Nov 2003, Michael Lemke wrote: > >> >> >Now I've tried to run the thing on W98 without any success. I just >> >> >want it to play with it, so I am not concerned with any security or >> >> stuff. >> >> >Just a mount from a VMS box should work.

Re: [wayne@cs.toronto.edu: cygwin-1.5.5 sscanf on floats: 20 times slower than 2 years ago]

2003-11-21 Thread Christopher Faylor
On Fri, Nov 21, 2003 at 03:50:18PM -0500, J. Johnston wrote: >J. Johnston wrote: >>Wayne Hayes wrote: >> Since scanf and the floating point arithmetic is implemented in newlib, I've redirected this message there. Does anybody have an idea, what could slow down float scanning in sscanf

Re: Patch and directions for compiling GNU screen 3.9.15 on cygwin

2003-11-21 Thread Christopher Faylor
On Fri, Nov 21, 2003 at 02:50:18PM -0600, Parker, Ron wrote: >I created a patch for GNU screen 3.9.15 that will allow it to be compiled >and installed on Cygwin. The patch is attached below, the basic build and >install procedure is: > > $ tar xzf {tar-path}/screen-3.9.15.tar.gz > $ cd

Re: Chronic Cron - cyg.txt (0/1)

2003-11-21 Thread zzapper
> >ANYWAY CYGWIN CRON DOES WORK on WINXP HOME, so if you read this 'cos >you're struggling with cron. Don't be too dis-heartened you will get >there. > Igor, There were so many "problem" msgs in this ng about Cron, I was defeated in advance. It's good netiquette to let the NG know which solution s

Re: [Module::Build] Re: Cwd::cwd() bug??? on Cygwin

2003-11-21 Thread Yitzchak Scott-Thoennes
On Fri, Nov 21, 2003 at 06:21:51AM -0500, "Randy W. Sims" <[EMAIL PROTECTED]> wrote: > >>># test.pl > >>>package MyModule; > >>>use Module; > >>>use base 'Module'; > >>>use Cwd; > > > > > >If you moved that above the use Module line then when Module.pm > >was compiled it would know Cwd::cwd was a

Re: Cwd::cwd() bug??? on Cygwin

2003-11-21 Thread Nick Ing-Simmons
Nick Ing-Simmons <[EMAIL PROTECTED]> writes: >>> package MyModule; >>> use Module; >>> use base 'Module'; >>> use Cwd; > >If you moved that above the use Module line then when Module.pm >was compiled it would know Cwd::cwd was a function. Sorry I could not see wood for the trees! What is happeni

Patch and directions for compiling GNU screen 3.9.15 on Cygwin

2003-11-21 Thread Parker, Ron
I created a patch for GNU screen 3.9.15 that will allow it to be compiled and installed on Cygwin. The patch is attached below, the basic build and install procedure is: $ tar xzf {tar-path}/screen-3.9.15.tar.gz $ cd screen-3.9.15 $ patch -p1 -s <{patch-path}/screen-3.9.15

Re: [wayne@cs.toronto.edu: Cygwin-1.5.5 sscanf on floats: 20 times slower than 2 years ago]

2003-11-21 Thread J. Johnston
J. Johnston wrote: Wayne Hayes wrote: Since scanf and the floating point arithmetic is implemented in newlib, I've redirected this message there. Does anybody have an idea, what could slow down float scanning in sscanf by a factor of 20? Thanks! Just to be pedentic, I realized that it's worse

1.5.5 and perl 5.8.2-5: symlinks (.lnk) fail in perl

2003-11-21 Thread Reed White
Versions: crgwin dll 1.5.5 and perl 5.8.2-5 When executing system() commands in perl, the system is unable to recognize "shortcut" files, like: system("my-program.exe.lnk") Note that I verified that ActiveState perl handles the situation properly. ... Reed -- Unsubscribe info: ht

Re: Can't Read /cygdrive/c in snapshots from 1108 on (unknown windows error 122)

2003-11-21 Thread Christopher Faylor
On Fri, Nov 21, 2003 at 01:42:27PM -0600, D. N. Knisely wrote: >Starting with the 20031108 snapshot on (for each snapshot after that), I >cannot read the "c:/" or "/cygdrive/c" drive. If I restore to any version >of cygwin1.dll earlier that that, I get the normal expected behavior. An >strace is

Re: Chronic Cron - cyg.txt (0/1)

2003-11-21 Thread zzapper
> >The last message seems to indicate the cause of the problem. What's the >output of "ls -ld /etc/cron.d"? > Igor, I'd created /etc/cron.d at some stage manually as a FILE . Have now deleted it and created it as a DIRECTORY. BINGO everything works (I don't know where that is on a stupidity s

Re: [wayne@cs.toronto.edu: Cygwin-1.5.5 sscanf on floats: 20 times slower than 2 years ago]

2003-11-21 Thread J. Johnston
Wayne Hayes wrote: Since scanf and the floating point arithmetic is implemented in newlib, I've redirected this message there. Does anybody have an idea, what could slow down float scanning in sscanf by a factor of 20? Thanks! Just to be pedentic, I realized that it's worse than a factor of 20.

Can't Read /cygdrive/c in snapshots from 1108 on (unknown windows error 122)

2003-11-21 Thread D. N. Knisely
Please excuse me if this has been reported previously, but I can't seem to find it mentioned in the archives. Starting with the 20031108 snapshot on (for each snapshot after that), I cannot read the "c:/" or "/cygdrive/c" drive. If I restore to any version of cygwin1.dll earlier that that, I get

Re: Chronic Cron - cyg.txt (0/1)

2003-11-21 Thread Igor Pechtchanski
On Fri, 21 Nov 2003, zzapper wrote: > >David, > > > >When you get error 1062, there's usually also some output in the Windows > >Event log. See if there's anything from the cron service? If there is, > >it's probably significant. > > > >What are the problems (errors) when running cron from the p

RE: nfs-server 2.2.47-2

2003-11-21 Thread Igor Pechtchanski
On Fri, 21 Nov 2003, Michael Lemke wrote: > >> >Now I've tried to run the thing on W98 without any success. I just > >> >want it to play with it, so I am not concerned with any security or > >> stuff. > >> >Just a mount from a VMS box should work. But doesn't. I start all > >> >manually. First

Re: Chronic Cron - cyg.txt (1/1)

2003-11-21 Thread zzapper
begin 644 cyg.txt M#0I#>6=W:[EMAIL PROTECTED]@0V]N9FEG=7)A=&EO;B!$:6%G;F]S=&EC6=W:6Y<=7-R7&QO8V%L M7&)I;@T*"4,Z7$-Y9W=I;EQB:6X-"@E#.EQ#>6=W:6Y<8FEN#0H)0SI<0WEG M=VEN7'5S6=W:6Y<=7-R M7&QO8V%L7&)I;@T*"4,Z7$-Y9W=I;EQB:6X-"@E#.EQ#>6=W:6Y<8FEN#0H) M0SI<0WEG=VEN7'5S7-T96TS,@T*5VEN1&ER.B!# M.EQ724Y$3U=3#

Re: Chronic Cron - cyg.txt (0/1)

2003-11-21 Thread zzapper
> >David, > >When you get error 1062, there's usually also some output in the Windows >Event log. See if there's anything from the cron service? If there is, >it's probably significant. > >What are the problems (errors) when running cron from the prompt? > >Also, there shouldn't be any need to po

RE: nfs-server 2.2.47-2

2003-11-21 Thread Michael Lemke
>Now I've tried to run the thing on W98 without any success. I just >want it to play with it, so I am not concerned with any security or stuff. >Just a mount from a VMS box should work. But doesn't. I start all >manually. First portmapper, then mountd, then nfsd. A netstat -a doesn't >show a

Re: Chronic Cron

2003-11-21 Thread Igor Pechtchanski
On Fri, 21 Nov 2003, zzapper wrote: > Hi > Cron must be close to being the number one problem in this NG. > > I've run Mark's latest cron_diagnose.sh which always reports OK > > I then obey:- > $ cygrunsrv --stop cron > $ cygrunsrv --remove cron > $ cygrunsrv --install cron -p /usr/sbin/cron

Chronic Cron

2003-11-21 Thread zzapper
Hi Cron must be close to being the number one problem in this NG. I've run Mark's latest cron_diagnose.sh which always reports OK I then obey:- $ cygrunsrv --stop cron $ cygrunsrv --remove cron $ cygrunsrv --install cron -p /usr/sbin/cron -a -D $ cygrunsrv --start cron The first 3 are OK

Re: Crontab does not work, Windows 2000

2003-11-21 Thread Igor Pechtchanski
On Thu, 20 Nov 2003, Tim Ashman wrote: > Igor, > > I did not run the cygrunsrv utility. I searched my hard drive and it does > not exist. I just created a crontab under my username from the "crontab -e" > command. Is cygrunsrv a trivial part of running cron tasks? Your cron service is not running

RE: running cygwin on multiple operating systems

2003-11-21 Thread kevin.lawton
No, I'm not like that. I simply answered some questions according to my experience and offered a few alternatives to consider. As I remember, the OP was also using Linux. In my experience, while it is possible to build a multi-boot system using the Windoze bootloader, it provides no real protec

Re: Perl PrivoxyWindowOpen missing?

2003-11-21 Thread Stephen Biggs
On 21 Nov 2003 at 7:00, Brian Dessent wrote: > Stephen Biggs wrote: > > > > This is actually due to a bug/config error in Privoxy. One of its popup > > > blocking filters changes all occurances of Javascript "open()" in page > > > sources to the one you're seeing. Unfortunately, that action was

Re: Perl PrivoxyWindowOpen missing?

2003-11-21 Thread Brian Dessent
Stephen Biggs wrote: > > This is actually due to a bug/config error in Privoxy. One of its popup > > blocking filters changes all occurances of Javascript "open()" in page > > sources to the one you're seeing. Unfortunately, that action was > > wrongfully applied to your URL. I believe this sel

Re: Perl PrivoxyWindowOpen missing?

2003-11-21 Thread Stephen Biggs
On 21 Nov 2003 at 6:23, Brian Dessent wrote: > Stephen Biggs wrote: > > > > Trying to run a downloaded Perl script that I really need to have working > > and I get the following error message: > > Undefined subroutine &main::PrivoxyWindowOpen called... > > > > This is with the latest install of

RE: running cygwin on multiple operating systems

2003-11-21 Thread kevin.lawton
Oh yes - there's many ways to do this, but some have distinct drawbacks. I too used to use hard drive caddies, but found that they only support ATA-33 and become unreliable after relatively short amounts of usage - extra connectors are added into the data path. Also, in some designs, the drives

Re: Maildir Support broken with Mutt 1.4.1?

2003-11-21 Thread Olaf Foellinger
On Wed, Nov 19, 2003 at 11:15:38PM -0600, Gary R. Van Sickle wrote: > 2. If you do use Maildir, put your mailbox on a Cygwin "Managed mount". This > may or may not work, I don't know. Now that's the best hint I've got about the problem for a long time, since it solves the problem. How come that

Re: Perl PrivoxyWindowOpen missing?

2003-11-21 Thread Brian Dessent
Stephen Biggs wrote: > > Trying to run a downloaded Perl script that I really need to have working > and I get the following error message: > Undefined subroutine &main::PrivoxyWindowOpen called... > > This is with the latest install of everything, done today. > > Is this a problem with Perl mis

Re: perl localtime returns gmttime

2003-11-21 Thread Christian Weinberger
Kirill Yarosh <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > I have update perl to 5.8.2 . > After that i did find symptomatic insane behaviour of "local" function. > Now it returns GMT time. > > Kirill. > Same problem with me. Only way to solve this was to go back to 5.6. Based on the

Re: [ANNOUNCEMENT] Updated Cygwin Package: postgresql-7.4-1

2003-11-21 Thread Jason Tishler
Volker, On Thu, Nov 20, 2003 at 09:39:15PM -0500, Jason Tishler wrote: > On Thu, Nov 20, 2003 at 11:53:26AM +0100, Dr. Volker Zell wrote: > > Is it by intention that the python dll's are missing relative to the > > latest version ? > > No, it appears that interfaces/python is no longer part of th

Re: bedroom and a girl

2003-11-21 Thread rochelle20
Is that really up? http://www.geocities.com/emerald07834/index20.html I found it working at http://www.geocities.com/ramesh18126/index20.html Let me know thanks See you -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Docum

Perl PrivoxyWindowOpen missing?

2003-11-21 Thread Stephen Biggs
Trying to run a downloaded Perl script that I really need to have working and I get the following error message: Undefined subroutine &main::PrivoxyWindowOpen called... This is with the latest install of everything, done today. Is this a problem with Perl missing some library? Is there some sort

xinetd and httpd

2003-11-21 Thread Robert Watkins
My goal is to have Apache start up when my machine boots. Using cygrunsrv, I've set init up as an NT service (on Win2K) so that part is fine. At first I wrote my own httpd startup script and put it into /etc/rc.d/init.d but this frequently led to an httpd.exe.stackdump, so next I enabled the httpd

RE: running cygwin on multiple operating systems

2003-11-21 Thread kevin.lawton
Can't quite imagine why you'd want Win2K and WinXP both installed, as they're essentially the same thing, but: You can have up to four primary partitions on each hard drive, but only one at a time can be 'active' (= bootable). Some of the more sophisticated boot managers allow for partition hid

Re: Cwd::cwd() bug??? on Cygwin

2003-11-21 Thread Randy W. Sims
Nick Ing-Simmons wrote: Randy W. Sims <[EMAIL PROTECTED]> writes: sub cwd { require Cwd; Cwd::cwd; If you made that Cwd::cwd(); it would work. nope. I already tried that. } 1; -><8- -><8- # test.pl package MyModule; use Module; use base 'Module'; use Cwd; If you mov

Re: Cwd::cwd() bug??? on Cygwin

2003-11-21 Thread Nick Ing-Simmons
Randy W. Sims <[EMAIL PROTECTED]> writes: >> >> sub cwd { >> require Cwd; >> Cwd::cwd; If you made that Cwd::cwd(); it would work. >> } >> >> 1; >> -><8- >> >> -><8- >> # test.pl >> package MyModule; >> use Module; >> use base 'Module'; >> use Cwd; If you moved tha

Re: Cwd::cwd() bug??? on Cygwin

2003-11-21 Thread Nick Ing-Simmons
Randy W. Sims <[EMAIL PROTECTED]> writes: >On 11/15/2003 10:56 AM, Randy W. Sims wrote: >> Ok, this might in fact be a Cygwin problem. Cygwin & Cwd. The following >> produces the error "Usage: Cwd::cwd() at Module.pm line 6." under Cygwin > >Ok, I finally had a chance to look into this one. Findi

Re: For masochists: the leap o faith

2003-11-21 Thread Corinna Vinschen
On Fri, Nov 21, 2003 at 07:58:36AM +1100, Robert Collins wrote: > On Mon, 2003-11-17 at 21:56, Corinna Vinschen wrote: > > On Sun, Nov 16, 2003 at 08:10:08AM +1100, Robert Collins wrote: > > > We have two choices (no particular order of preference): > > > a) make MAX_PATH and posix friends the maxi

getopt() musings

2003-11-21 Thread David F
First off, let me state the facts as I understand them: Cygwin's libc provides an implementation of getopt() and getopt_long(). The implementation provided in Cygwin is derived from the NetBSD implementation of getopt_long() witch was in turn designed to be reasonably compatible with GNU getopt

RE: running cygwin on multiple operating systems

2003-11-21 Thread kevin.lawton
Speaking of Linux, did you know that Cygwin runs under WINE? :-D - and then you can run a KDE desktop under Cygwin. Okay on the face of it exercises like the above, which I'm sure we all indulge in from time to time, might seem a little pointless. Of course, they're not really --

RE: Variables in Makefiles

2003-11-21 Thread Jörg Schaible
Brian Fallik wrote on Thursday, November 20, 2003 9:35 PM: > Cygwin folks, > > I'm having trouble getting makefiles to work in the cygwin > environment. They work perfectly fine in Linux. I've checked > the mailing list archives, google, google groups, and the faq > for help but haven't found th

Re: running cygwin on mutiple operating systems

2003-11-21 Thread Andrew DeFaria
Frédéric L. W. Meunier wrote: On Thu, 20 Nov 2003, Igor Pechtchanski wrote: P.P.S. Speaking of Linux, did you know that Cygwin runs under WINE? :-D Really ? Everything, including compiling ? That's pretty sick! I remember once somebody running an X server on Windows to an HP-UX box running a ve