From: Rob H. <ro...@ro...> - 2003-04-14 18:00:41
|
Hello, On Mon, Apr 14, 2003 at 03:52:29PM +0200, heino wrote: > [root@unsa cgi-bin]# sandweb-admin --add-user bob > Using a hash as a reference is deprecated at > /usr/lib/perl5/site_perl/5.8.0/SandWeb/Config.pm line 352. > Using a hash as a reference is deprecated at > /usr/lib/perl5/site_perl/5.8.0/SandWeb/Config.pm line 353. > unable to open config file: ../etc/sandweb.cfg > return data: <pre>$VAR1 = { > 'errlev' => 0, > 'data' => {} > }; > </pre>[root@unsa cgi-bin]# Hmm.. well, the "Using a hash as a reference" warning is probably from Perl 5.8.0 ( we're still using 5.6 ), I should probably upgrade :) The "unable to open config file: ../etc/sandweb.cfg" is rather odd. Can you send your "install.cfg" to the list? > _______ > > I got the 66.67% error with 'make test' but there was a thread and there > was told to go on with 'make install' " ... it should run ...." > This is what I get after 'make test' : > > _______ > [root@unsa sandweb]# make test > cp bin/sandweb-admin blib/script/sandweb-admin > /usr/bin/perl5.8.0 "-MExtUtils::MY" -e "MY->fixin(shift)" > blib/script/sandweb-admin > PERL_DL_NONLAZY=1 /usr/bin/perl5.8.0 "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/auth..........ok > > t/file..........ok > > t/repository....ok 8/190+1 Records ein > > 0+1 Records aus > Can't call method "debug" without a package or object reference at > /space/sandweb/blib/lib/SandWeb/Repository/cvs.pm line 2603. > t/repository....dubious I figured out what this is, it's because I negelected to update the test after adding a password file ( it makes the password handling more secure ). It's just the test that is broken, SandWeb itself is ok. > > Test returned status 1 (wstat 256, 0x100) > Scalar found where operator expected at (eval 151) line 1, near "'int' > $__val" > (Missing operator before $__val?) I haven't seen this, but it could be that perl 5.8 is more verbose. I'll have to check it out. > DIED. FAILED tests 9-19 > Failed 11/19 tests, 42.11% okay > Failed Test Stat Wstat Total Fail Failed List of Failed > ------------------------------------------------------------------------------- > t/repository.t 1 256 19 11 57.89% 9-19 > Failed 1/3 test scripts, 66.67% okay. 11/30 subtests failed, 63.33% okay. > make: *** [test_dynamic] Fehler 2 > [root@unsa sandweb]# > _______ > > There should be an error here at my host, because nobody else is > 'crying' here, but I don`t know where to start searching and for what! > Help is really welcome! > Thx for reading thru output `til here! > Heino Send your install.cfg, I don't know why sandweb-admin would be looking in "../etc" for sandweb.cfg The location of sandweb.cfg is set at install time. -- Rob |