[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: trouble installing wml

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

* 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
    I change them to
    and everything worked fine (take care, iirc locations are different
    under perl 5.00502).


Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com