• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Hi All,

I'm stuck. A syntax error is being reported by configure on a new installation in TWiki.pm. I've checked and double checked the install for both LocalLib.cfg and Localsite.cfg. Checked permissions and reinstalled the whole thing from scratch. My Localsite.cfg was created by the configure process and not modified by me in any way.

Twiki version 4.0.1

configure: [Fri Feb 10 13:55:24 2006] configure: syntax error at /web/twiki/lib/TWiki.pm line 269, near "PubDir TemplateDir ScriptUrlPath LocalesDir )" [Fri Feb 10 13:55:24 2006] configure: [Fri Feb 10 13:55:24 2006] configure: (Might be a runaway multi-line () string starting on line 268) [Fri Feb 10 13:55:24 2006] configure: [Fri Feb 10 13:55:24 2006] configure: BEGIN not safe after errors--compilation aborted at /web/twiki/lib/TWiki.pm line 274.

All help is most welcome and appreciated. I'm fighting an MS sharepoint happy IT dept.


System Information:

perl -version

This is perl, version 5.005_03 built for i686-linux

Module versions:

Error   0.15
CGI   2.46
Algorithm::Diff   1.1901
FileHandle   2.00
CGI::Carp   1.13
File::Spec   0.82
File::Copy   2.02

cat /proc/version:
Linux version 2.2.25  (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release))

cat LocalSite.cfg:
$TWiki::cfg{DataDir} = '/web/twiki/data';
$TWiki::cfg{Site}{FullLang} = 'en-us';
$TWiki::cfg{LocalesDir} = '/web/twiki/locale';
$TWiki::cfg{TemplateDir} = '/web/twiki/templates';
$TWiki::cfg{ScriptUrlPath} = '/bin';
$TWiki::cfg{PubDir} = '/web/twiki/pub';
$TWiki::cfg{DefaultUrlHost} = 'http://test1.quince.cobaltgroup.com';
$TWiki::cfg{Site}{Lang} = 'en';
$TWiki::cfg{Site}{CharSet} = 'iso-8859-15';
$TWiki::cfg{PubUrlPath} = '/pub';
$TWiki::cfg{UseClientSessions} = 0;

Could your problem be Perl 5.5? Just about everyone else is using 5.8. Just a thought.


No further information forthcoming from the reporter, and I can't reproduce it, so I'm discarding this.


I just ran into the same error, using perl 5.00503 as well (TWiki-4.0.1). When I changed to 5.6, the problem was gone. (It remains fairly annoying as I can't change /usr/bin/perl on the box I'm using so I'm changing #! in all scripts...)

-- Wim Livens - 19 Feb 2006

Summary Syntax error reported in TWiki.pm by configure
ReportedBy TWiki:Main.JeffKinum

SVN Range Thu, 02 Feb 2006 build 8675
AppliesTo Engine

Priority Urgent
CurrentState No Action Required

TargetRelease major
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r6 - 2006-02-19 - WimLivens
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback