[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: trouble installing wml
- From: Denis Barbier <nospam@thanx>
- Date: Mon, 10 May 1999 09:42:24 +0200 (CET)
On Sun, 9 May 1999, jeff covey wrote:
> >>>>> "Denis" == Denis Barbier <barbier@imacs.polytechnique.fr> writes:
>
> Denis> wml-1.6.8 has to be patched to work with perl 5.00502. You
> Denis> can find this patch at
> Denis> http://www.engelschall.com/sw/wml/distrib/wml-1.6.8-patches
>
> applied the patch to a clean source, but make test still fails on both
> tests with "Can't locate loadable object for module Term::ReadKey in
> @INC".
Hi Jeff,
it may be due to a perl misconfiguration. To know where wml searches the
Perl modules, take a look into wml_test/TEST.root/bin/wml
The lines beginning with ``use lib'' tell you where WML will search perl
modules.
* If the 4 lines match
use lib "/some/path/wml_test/TEST.root/lib/wml/any/subdirs";
(where ``/some/path'' and ``/any/subdirs'' depend on your system)
your installation is ok.
You should remove wml_common/*/.configured and rerun ``make; make test''
If it still fails, try ``make distclean'' and rebuild wml.
* If not, e.g. you see /usr/local/lib/.... something's wrong with
your perl configuration.
I had such problems and here is what i did:
- locate the Config.pm file
- edit it and find the 4 variables
installarchlib installprivlib installsitearch installsitelib
On my computer with perl 5.00404, the last 2 variables were defined by
installsitearch='/usr/local/lib/site_perl/i386-linux'
installsitelib='/usr/local/lib/site_perl'
I change them to
installsitearch='/usr/lib/perl5/site_perl/i386-linux'
installsitelib='/usr/lib/perl5/site_perl'
and everything worked fine (take care, iirc locations are different
under perl 5.00502).
Denis
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com