It still will not start.
I downloaded a fresh copy of the SVN sources and did a 'perl Makefile.PL'. In bold/italic text there are two lines I think are telling me something is wrong:
Code: Select all
debian:/home/zenah# perl Makefile.PL
include /home/zenah/inc/Module/Install.pm
include inc/Module/Install/Metadata.pm
include inc/Module/Install/Base.pm
<i><b>Cannot determine perl version info from lib/ZenAH.pm</b></i>
include inc/Module/Install/Catalyst.pm
*** Module::Install::Catalyst
include inc/Module/Install/Makefile.pm
<i><b>Please run "make catalyst_par" to create the PAR package!</b></i>
*** Module::Install::Catalyst finished.
include inc/Module/Install/Scripts.pm
include inc/Module/Install/AutoInstall.pm
include inc/Module/Install/Include.pm
include inc/Module/AutoInstall.pm
*** Module::AutoInstall version 1.03
*** Checking for Perl dependencies...
[Core Features]
- Module::Install ...loaded. (0.64)
- DBD::SQLite ...loaded. (1.13)
- Class::DBI::SQLite ...loaded. (0.110)
- Test::More ...loaded. (0.620)
- Catalyst ...loaded. (5.700600 >= 5.64)
- Template::Provider ...loaded. (2.930 >= 2.93)
- xPL::Base ...loaded. (0.060 >= 0.05)
- Catalyst::Plugin::FormValidator ...loaded. (0.020)
- Catalyst::Plugin::SubRequest ...loaded. (0.100)
- Class::DBI::FromForm ...loaded. (0.040)
- Class::DBI::AsForm ...loaded. (2.420)
- Class::DBI::Loader ...loaded. (0.330)
- Class::DBI::Loader::Relationship ...loaded. (1.300)
- Class::DBI::Sweet ...loaded. (0.080)
- DateTime::Format::Strptime ...loaded. (1.070000)
- Template::Plugin::Class ...loaded. (0.130)
*** Module::AutoInstall configuration finished.
include inc/Module/Install/WriteAll.pm
Writing META.yml
include inc/Module/Install/Win32.pm
include inc/Module/Install/Can.pm
include inc/Module/Install/Fetch.pm
Writing Makefile for ZenAH
debian:/home/zenah#
After this I ran make. This runs fine, no errors.
Then I set the longitude/latitude/tz environment variables and finally start the rules engine:
Code: Select all
debian:/home/zenah# perl -Iblib/lib blib/script/zenah_server.pl
closing dbh with active statement handles at /usr/share/perl5/Class/DBI/Loader/SQLite.pm line 110.
Use of uninitialized value in hash element at /usr/share/perl5/Class/DBI/Loader/Generic.pm line 79.
Use of uninitialized value in hash element at /usr/share/perl5/Class/DBI/Loader/Generic.pm line 79.
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Lingua/EN/Inflect.pm line 719.
Use of uninitialized value in string eq at /usr/share/perl5/Lingua/EN/Inflect.pm line 770.
Use of uninitialized value in string eq at /usr/share/perl5/Lingua/EN/Inflect.pm line 770.
Use of uninitialized value in hash element at /usr/share/perl5/Class/DBI/Loader/Generic.pm line 79.
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Lingua/EN/Inflect.pm line 719.
Use of uninitialized value in string eq at /usr/share/perl5/Lingua/EN/Inflect.pm line 770.
Use of uninitialized value in string eq at /usr/share/perl5/Lingua/EN/Inflect.pm line 770.
Can't call method "has_a" on an undefined value at /usr/share/perl5/Class/DBI/Loader/Relationship.pm line 101.
Compilation failed in require at /home/zenah/blib/script/../lib/ZenAH/Templates.pm line 34.
BEGIN failed--compilation aborted at /home/zenah/blib/script/../lib/ZenAH/Templates.pm line 34.
Compilation failed in require at /home/zenah/blib/script/../lib/ZenAH/View/UI.pm line 5.
BEGIN failed--compilation aborted at /home/zenah/blib/script/../lib/ZenAH/View/UI.pm line 5.
Compilation failed in require at (eval 97) line 3.
Compilation failed in require at blib/script/zenah_server.pl line 56.
I followed the exact steps as set-out in the wiki, but unfortunately still no luck.
What am I doing wrong?
Als het niet kapot is, niet repareren!