A.L.E.C wrote:
BEGIN failed--compilation aborted at t/1.t line 8. t/1.................dubious Test returned status 2 (wstat 512, 0x200) FAILED--1 test script could be run, alas--no output ever seen make: *** [test_dynamic] Error 2 root@hod_home:/tmp/lmspearl/Config-IniFiles-Import-1.100#
a instalujesz Config::IniFiles, czy Config::Inifiles::Import, bo to drugie nie jest potrzebne
juz sobie poradzilem z tym znalazlem jakies poprzedniego posta co robi to z "automatu" :) no i teraz mi wyskakuje cosik takiego po uruchomieniu lms-payments :
lms-payments, version 1.3-cvs (C) 2001-2004 LMS Developers Using file /etc/lms/lms.ini as config. Can't call method "val" on an undefined value at /usr/sbin/lms-payments line 90. root@hod_home:/tmp#
czesc lms-payments :
my $ini = new Config::IniFiles -file => $configfile;
my $dbtype = $ini->val('database', 'type') || 'mysql'; <<<<<<<<<<<<<<< to linia 90 my $dbhost = $ini->val('database', 'host') || 'localhost'; my $dbuser = $ini->val('database', 'user') || 'root';