Hi,

I am trying to read javascript: urls with LWP (under cygwin).

Then imported the JavaScript-0.55 perl package,
but after an slightly modified compilation...
I succeded to build (but badly) the JavaScript.dll with js from 
ftp://ftp.mozilla.org/???/js.
I had to fiddle with a few settings in js-1.5 but made js.exe to work.

However, arriving to the perl package I failed miserably with this:

"....Can't load 
'/usr/src/JavaScript-0.55/blib/arch/auto/JavaScript/JavaScript.dll' for module 
JavaScript: Bad address at /usr/lib/perl5/5.8/cygwin/DynaLoader.pm line 230..."

Then I cropped down to bare minimum the JavaScript.pm and JavaScript.xs, but 
still ended with failure:

"....Can't load 
'/usr/src/JavaScript-0.55/blib/arch/auto/JavaScript/JavaScript.dll' for module 
JavaScript: No such file or directory at 
/usr/lib/perl5/5.8/cygwin/DynaLoader.pm line 230...."


Has anyone had better experience with those packages and give me some tips on 
how to carry the installation?

Are there better ways to implement javascript modules under LWP (a la cygwin)?

How to use gdb with a perl session, and trap the cause of dynamic loader 
failure?


Thanks for any answers,

Christian.
-- 
========================================
Dr. Christian Montanari,
SHARP TELECOMMUNICATIONS OF EUROPE Ltd.,
Azure House,
Bagshot Road,
Bracknell,
Berks, RG12 7QY, UK.
Tel: +44 (0) 1344 301883
Fax: +44 (0) 1344 300293
========================================

Reply via email to