SID-01314: configure.pl ERROR
| Status: |
Answered |
TWiki version: |
5.1.0 |
Perl version: |
5.14.2 |
| Category: |
CategoryInstallation |
Server OS: |
Win 7, 64bit |
Last update: |
14 years ago |
I am having massive troubles in installing the wiki.
I tried it on several systems but i cant cat to the point where i can run the configure script.
Thats the latest error.
Thank you.
Failed to load the perl module TWiki::Configure::Load. The module was found at c:/www/twiki/lib/TWiki/Configure/Load.pm
Please ensure that:
- TWiki::Configure::Load is installed,
- that the module is available on the @INC
path,
- that the webserver user (SYSTEM) has permission to read the TWiki/Configure/Load.pm file.
The detailed error seen was:
Use of qw(...) as parentheses is deprecated at c:/www/twiki/lib/TWiki/Configure/Load.pm line 89.
Compilation failed in require at (eval 35) line 2.
BEGIN failed--compilation aborted at (eval 35) line 2.
--
WernerPoetzelberger - 2011-11-01
Discussion and Answer
I already read all the hints regarding config files, read/write access, etc.
I also did all the steps in the installation for windows, changing scripts to .pl, changing the shebang etc.
Nothing helps.
Thanks for some help or advice.
Cheers
--
WernerPoetzelberger - 2011-11-01
I do not have time to help debug. I recommend to
DownloadTWikiVM, installation is quick and you get better performance than on a native TWiki install on Windows.
--
PeterThoeny - 2011-11-01
Right.
I installed the VM wiki. This works.
Its still annoying not to have the other run.
I tried to install 4.2. with a similar result.
Software error:
Failed to load the perl module TWiki::Configure::Load. The module was found at c:/www/twiki/lib/TWiki/Configure/Load.pm, but I don't have permission to read it.
Please ensure that:
- TWiki::Configure::Load is installed,
- that the module is available on the @INC
path,
- that the webserver user (SYSTEM) has permission to read the TWiki/Configure/Load.pm file.
The detailed error seen was:
Use of qw(...) as parentheses is deprecated at c:/www/twiki/lib/TWiki/Configure/Load.pm line 89.
Compilation failed in require at (eval 35) line 2.
BEGIN failed--compilation aborted at (eval 35) line 2.
Anyway. Interesting, that no one has experienced the same error.
In the end I definitely want to have a windows installation for our company.
So I will try on.
Thank you.
--
WernerPoetzelberger - 2011-11-01
I found a solution for that.
I was using the Active Perl for Windows V.5.14.2.
This was causing the compiler error.
We are using now Cygwin and the Perl Included there, which is running nicely.
So I guess the question is answered now.
--
WernerPoetzelberger - 2011-11-02
I am glad it worked out. Out of curiosity, could you compare the performance of the Cygwin based install and the VMware based install of TWiki?
--
PeterThoeny - 2011-11-02
I installed the windows based, cygwin on a 5 years old athlon, 1 gb ram.
The vm ware on a i5, 24 gb machine. I just did some basic stuff and didn't experience performance differences. Maybe in time, when i get to know twiki, i could make much better statements about performance. Now i dont have enough experience to compare, but i hope i will get it

Cheers. Werner.
--
WernerPoetzelberger - 2011-11-02
Thanks Werner for the info!
--
PeterThoeny - 2011-11-02
Just to carry on as i am learning...
We installed Ubuntu on a machine, apache and twiki.
This machine is 1 year old and a a desktop machine.
First of all, all the installation is amazingly easier.
twiki runs truely 10 times faster, also over the Inet.
To add to this, we are running the system off a OCZ Vertex 3 SSD. May be this creates the boost.
--
WernerPoetzelberger - 2011-11-03
Yes, a super fast disk with SSD makes a big difference.
--
PeterThoeny - 2011-11-03
I've also encounterd this problem today on a fresh Fedora 16 install.
After doing some digging, it appears that as of perl 5.14, the use of "gw ( )" has been changed to "(gw( ))" inside of foreach loops.
See
http://blogs.perl.org/users/rurban/2010/09/qw-in-list-context-deprecated.html
for a more detailed explanation.
There are 256 locations in the twiki code that use the gw() construct. Apparently only the ones within foreach (about 25) need to be changed for perl 5.14 or greater installations.
So is there any configuration work around or will the code have to be changed?
--
MikeSmithJr - 2011-11-11
oops....fat fingered there.....should be qw not gw.
--
MikeSmithJr - 2011-11-11
We already fixed the code in SVN trunk, to be released in upcoming TWiki-5.1.1. For now you could re-apply the patches listed in
TWikibug:Item6800
.
--
PeterThoeny - 2011-11-11
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.