Tags:
create new tag
view all tags

SID-01063: configure won't run, @INC issue

Status: Unanswered 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

      Change status to:
ALERT! 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.
SupportForm
Status Unanswered
Title configure won't run, @INC issue
SupportCategory CategoryInstallation
TWiki version 5.0.1
Server OS Ubuntu Linux 10.04
Web server Apache 2.2.14
Perl version 5.10.1
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2011-01-03 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.