On Fri Jul 30 16:01:36 2010, CLAESJAC wrote:
Show quoted text> On Fri Jul 30 14:57:27 2010, LAWALSH wrote:
> > On Fri Jul 30 14:38:38 2010, CLAESJAC wrote:
> > > Did you set JS_LIB and JS_INC correctly? you might be trying to build
> > > it on a system where we
> > > don't autodetect it.
> > Don't see those mention in the CPAN module writeup.
> >
> > You might want to mention dependencies there.
> >
> > I read the write and tried to install it via CPAN.
> >
> > It doesn't doesn't work that way.
> >
> > You might want to explain that.
> >
> > I thought it interpreted JS by itself I *looked* for dependencies in the
> > writeup.
> >
> > There were none listed.
> >
>
> The README clearly says that SpiderMonkey is required
>
Then your bug is obvious the CPAN page for your module:
http://search.cpan.org/~claesjac/JavaScript-1.16/lib/JavaScript.pm
Has no mention of a "README".
Why would I even *think* to look in something that is not mentioned.
If I read about module in CPAN, next step is to
install module -- NOT to go looking for things that are not mentioned!
I didn't look in the "MSDOSCOMPAT" file either. ...Whole BUNCH of
things I didn't look in. It's not a normal part of installing a CPAN
module.
if you want to release a project NOT on CPAN, then a README would be
relevant, as they would be expected to unpack a tarball first.
I never went through such a step. In CPAN, you install it first. There
is no tarball to download -- that's supposed to be a hidden part of it
being in CPAN. If you can't handle CPAN compatibility, then please
don't list your module in CPAN.
It's ok to have requirements -- check for them and say
xxyz not found -- please install [and BUILD*?] xxyz from http:\\blahblah
into <dir> and set XXYZ=<dir> and rerun.
But you don't just FAIL and expect me to know what you meant.
Note I say "[BUILD*?" above -- if you want me to build it, you should
say so, since YOUR CPAN module might only need headers OR might build
things from source that it needs. Be explicit about how to proceed.
This needs to work for "my grand-ma-ma" -- NOT just you", else it's
noise to put in CPAN.