Gentoo Archives: gentoo-user

From: Robert Persson <ireneshusband@××××××××.uk>
To: gentoo-user@l.g.o
Subject: [gentoo-user] trouble with perl path in twiki
Date: Thu, 16 Mar 2006 22:34:47
Message-Id: 200603161430.11080.ireneshusband@yahoo.co.uk
1 I have just been installing twiki and have got as far as getting the web-based
2 configuration tool working.
3
4 Where I am stuck is that the configurator can't find some perl modules, even
5 though they are most definitely (it seems to me) in the perl path used by the
6 configurator.
7
8 I get the following messages (including the printout of @INC—I've put in line
9 breaks at the spaces for readability):
10
11 Error: Perl Module(s) missing
12 Error: Essential Perl Module ' Error ' not installed - please check the
13 setting of @INC.
14
15 @INC = /var/www/localhost/htdocs/twiki/lib//CPAN/lib//arch/
16 /var/www/localhost/htdocs/twiki/lib//CPAN/lib//5.8.7/i686-linux-thread-multi/
17 /var/www/localhost/htdocs/twiki/lib//CPAN/lib//5.8.7/
18 /var/www/localhost/htdocs/twiki/lib//CPAN/lib//
19 /var/www/localhost/htdocs/twiki/lib/
20 /etc/perl
21 /usr/lib/perl5/site_perl/5.8.7/i686-linux-thread-multi
22 /usr/lib/perl5/site_perl/5.8.7
23 /usr/lib/perl5/site_perl/5.8.5
24 /usr/lib/perl5/site_perl/5.8.5/i686-linux-thread-multi
25 /usr/lib/perl5/site_perl/5.8.6
26 /usr/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi
27 /usr/lib/perl5/site_perl
28 /usr/lib/perl5/vendor_perl/5.8.7/i686-linux-thread-multi
29 /usr/lib/perl5/vendor_perl/5.8.7
30 /usr/lib/perl5/vendor_perl/5.8.5
31 /usr/lib/perl5/vendor_perl/5.8.5/i686-linux-thread-multi
32 /usr/lib/perl5/vendor_perl/5.8.6
33 /usr/lib/perl5/vendor_perl/5.8.6/i686-linux-thread-multi
34 /usr/lib/perl5/vendor_perl
35 /usr/lib/perl5/5.8.7/i686-linux-thread-multi
36 /usr/lib/perl5/5.8.7
37 /usr/local/lib/site_perl
38
39
40 However there most definitely is a perl module called Error.pm in the path:
41
42 zebedee lib# ls -d /var/www/localhost/htdocs/twiki/lib/CPAN/lib/Error.pm
43 /var/www/localhost/htdocs/twiki/lib/CPAN/lib/Error.pm
44
45 I have tried things such as keeping and removing trailing backslashes and
46 symlinking to another location in the perl path, but I just can't get the
47 configurator to recognise this module.
48
49 I have the same problem with another module – Twiki.pm. However all the
50 modules that are not part of the twiki installation (e.g. CGI, FileHandle and
51 Algorithm::Diff) do get picked up properly.
52
53 Have I made a simple error, or is there something metaphysical going on here?
54
55 Once again, thanks in advance
56 Robert
57 --
58 Robert Persson
59
60 Conspiracy Bears:
61 Once upon a time there were lots of conspiracy bears...
62
63
64 --
65 gentoo-user@g.o mailing list