X-Spam-Check-By: sourceware.org Date: Thu, 31 Aug 2006 09:30:30 -0400 (EDT) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: Liora Milbaum cc: cygwin AT cygwin DOT com Subject: RE: Windows popup/message box? In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Ugh, top-posting... Reformatted. On Thu, 31 Aug 2006, Liora Milbaum wrote: > -----Original Message----- > From: Liora Milbaum > Sent: Tuesday, August 29, 2006 18:03 > To: cygwin AT XXXXXX DOT XXX > Subject: RE: Windows popup/message box? > > > -----Original Message----- > > From: Igor Peshansky [mailto:pechtcha AT XX DOT XXX DOT XXX] > > Sent: Tuesday, August 29, 2006 00:20 > > To: Liora Milbaum > > Cc: cygwin AT XXXXXX DOT XXX > > Subject: Re: Windows popup/message box? . Thanks. > > > Ugh, top-posting... Reformatted. > > > > > > On Mon, 28 Aug 2006, liora milbaum wrote: > > > > > > > Reini Urban wrote: > > > > > > > > >> Interesting. Does it go away a rebaseall? > > > > > > > > > > I meant: Interesting. Does it go away after a rebaseall? > > > > > > > > Have you managed fixing the missing dll problem? I have the same > > > > problem as you do with different module. > > > > > > Liora, > > > > > > Sorry, no, I didn't spend much more time on this, as it wasn't > > > something that affected me directly, but rather a curious failure > > > I've discovered by accident. Since you're obviously interested in > > > getting this fixed, perhaps you could help Reini track this down > > > further. > > > > > > And, to answer Reini's question: I still see the same problem after > > > a rebaseall. You might want to try this anyway, to see if it fixes > > > things for you. > > > Igor > > > > Igor, > > > > I investigated this issue a little more. I changed my cron command to: > > * * * * * perl -e 'use GD;' >& /usr/tmp/test.log > > > > Here is the content of the test.log file: > > > > "Can't load '/usr/lib/perl5/site_perl/5.8/cygwin/auto/GD/GD.dll' for > > module GD: No such file or directory at > > /usr/lib/perl5/5.8/cygwin/DynaLoader.pm line 230. > > at -e line 1 > > Compilation failed in require at -e line 1. > > BEGIN failed--compilation aborted at -e line 1." > > > > > > The only issue here that the perl module tries to load a dll file. It > > works just fine from the command line. > > > > I think that it is a bug of cygwin cron or cygwin perl. > > > > I have also tried to use the perl2exe for this command but it didn't > > work. Perl2exe doesn't work with cygwin perl. > > > > I am in a dead end. > > > > Thanks for the help, > > Liora > > I found a solution to my problem. As soon as I changed the crontab > command to: > * * * * * bash --login -c 'perl -e "use GD;"' >& /usr/tmp/test.log > > It worked. Then you don't have the same problem as me. For me, the DLL is in the PATH, and perl still can't find it. I'm running everything from a bash login prompt. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte." "But no -- you are no fool; you call yourself a fool, there's proof enough in that!" -- Rostand, "Cyrano de Bergerac" -- 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/