3.4.4. woes continue... :(
This is what 3.4.4 throws on me when I try to access the Koha intranet: Software error: syntax error at /usr/share/koha/lib/C4/Search.pm line 497, near "$data ~" syntax error at /usr/share/koha/lib/C4/Search.pm line 498, near "}->" syntax error at /usr/share/koha/lib/C4/Search.pm line 498, near "++;" syntax error at /usr/share/koha/lib/C4/Search.pm line 511, near "}" Compilation failed in require at /usr/share/koha/lib/C4/Heading.pm line 26. BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Heading.pm line 26. Compilation failed in require at /usr/share/koha/lib/C4/Biblio.pm line 38. Compilation failed in require at /usr/share/koha/lib/C4/Reserves.pm line 26. BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Reserves.pm line 26. Compilation failed in require at /usr/share/koha/lib/C4/Circulation.pm line 26. BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Circulation.pm line 26. Compilation failed in require at /usr/share/koha/lib/C4/Overdues.pm line 26. BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Overdues.pm line 26. Compilation failed in require at /usr/share/koha/lib/C4/Members.pm line 29. BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Members.pm line 29. Compilation failed in require at /usr/share/koha/lib/C4/Auth.pm line 30. BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Auth.pm line 30. Compilation failed in require at /usr/share/koha/intranet/cgi-bin/mainpage.pl line 23. BEGIN failed--compilation aborted at /usr/share/koha/intranet/cgi-bin/mainpage.pl line 23. For help, please send mail to the webmaster (webmaster@koha), giving this error message and the time and date of the error. What? Why? -- View this message in context: http://koha.1045719.n5.nabble.com/3-4-4-woes-continue-tp4781863p4781863.html Sent from the Koha - Discuss mailing list archive at Nabble.com.
On 8 September 2011 21:38, Perch <jp@pk.dy.fi> wrote:
This is what 3.4.4 throws on me when I try to access the Koha intranet:
Software error:
syntax error at /usr/share/koha/lib/C4/Search.pm line 497, near "$data ~" syntax error at /usr/share/koha/lib/C4/Search.pm line 498, near "}->" syntax error at /usr/share/koha/lib/C4/Search.pm line 498, near "++;" syntax error at /usr/share/koha/lib/C4/Search.pm line 511, near "}" Compilation failed in require at /usr/share/koha/lib/C4/Heading.pm line 26. BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Heading.pm line
Looks to me like your upgrade/install didn't complete right. rorohiko:[git/v3.04.04-]:~/git/koha% git checkout v3.04.04 HEAD is now at de9926a... Updating Version Number to 3.04.04.000 rorohiko:[git/v3.04.04-]:~/git/koha% perl -c C4/Search.pm C4/Search.pm syntax OK So I checked the tarball also rorohiko:/tmp% wget http://download.koha-community.org/koha-3.04.04.tar.gz rorohiko:/tmp% tar xzvf koha-3.04.04.tar.gz rorohiko:/tmp% cd koha-3.04.04 rorohiko:/tmp/koha-3.04.04% perl -c C4/Search.pm C4/Search.pm syntax OK Hmmm, I think I might know the problem What version of perl are you using? Line 497 is unless ( $data ~~ @used_datas ) { The ~~ is a binary smart matching operator, which doesn't exist in 5.8.8. Chris
My Perl version is 5.8.8 -- View this message in context: http://koha.1045719.n5.nabble.com/3-4-4-woes-continue-tp4781863p4781935.html Sent from the Koha - Discuss mailing list archive at Nabble.com.
So that will mean a complete system upgrade for me.. Oh bugger... -- View this message in context: http://koha.1045719.n5.nabble.com/3-4-4-woes-continue-tp4781863p4781951.html Sent from the Koha - Discuss mailing list archive at Nabble.com.
participants (2)
-
Chris Cormack -
Perch