SID-01063: configure won't run, @INC
issue
| Status: |
Unanswered |
TWiki version: |
5.0.1 |
Perl version: |
5.10.1 |
| Category: |
CategoryInstallation |
Server OS: |
Ubuntu Linux 10.04 |
Last update: |
15 years ago |
During installation I came to the point where one should call
http:..../twiki/bin/configure
I got:
Perl error when reading
LocalSite.cfg: Please inform the site admin. BEGIN failed--compilation aborted at /data/twiki/lib/TWiki.pm line 526. Compilation failed in require at /data/twiki/bin/view line 41. BEGIN failed--compilation aborted at /data/twiki/bin/view line 41.
I checked line 41 of
view. It is
use TWiki;
For more information I tried:
perl -e "use TWiki"
Result:
Can't locate TWiki.pm in
@INC
(
@INC
contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at -e line 1. BEGIN failed--compilation aborted at -e line 1.
This indicates that somehow the
@INC
is not populated properly. I own quite some perl literature - but none covers the inner working of
@INC
...
How to correct the content of
@INC
? Or is the problem somewhere else?
--
DetlefMarxsen - 2010-12-20
Discussion and Answer
Did you set the
twiki/bin/LocalLib.cfg as described in
TWikiInstallationGuide?
--
PeterThoeny - 2011-01-02
See also related
SID-01024.
--
PeterThoeny - 2011-01-02
Please follow the discussion in
SID-01024. I will address further investigation results there.
--
DetlefMarxsen - 2011-01-03
Closing as duplicate.
--
PeterThoeny - 2011-01-03
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.