delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/31/09:30:49

X-Spam-Check-By: sourceware.org
Date: Thu, 31 Aug 2006 09:30:30 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Liora Milbaum <liora AT lmb DOT co DOT il>
cc: cygwin AT cygwin DOT com
Subject: RE: Windows popup/message box?
In-Reply-To: <D00B190D8FFBF24FB29FACF432A8DF9705077B@srv-lmb.LMB.local>
Message-ID: <Pine.GSO.4.63.0608310926120.22880@access1.cims.nyu.edu>
References: <D00B190D8FFBF24FB29FACF432A8DF9705077B AT srv-lmb DOT LMB DOT local>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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?

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019