This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Windows popup/message box?


My dll was also in the PATH and it didn't work. 

Liora


Igor Peshansky wrote:
> 
> 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@XXXXXX.XXX
>> Subject: RE: Windows popup/message box?
>>
>> > -----Original Message-----
>> > From: Igor Peshansky [mailto:pechtcha@XX.XXX.XXX]
>> > Sent: Tuesday, August 29, 2006 00:20
>> > To: Liora Milbaum
>> > Cc: cygwin@XXXXXX.XXX
>> > Subject: Re: Windows popup/message box?
> 
> <http://cygwin.com/acronyms/#PCYMTNQREAIYR>.  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@cs.nyu.edu | igor@watson.ibm.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/
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Windows-popup-message-box--tf2011811.html#a6121556
Sent from the Cygwin Users forum 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]