Nothing, sir! :) The matter is that $ENV{PWD} is empty. Neither works this one: $ perl -MIPC::SysV -e 'print IPC::SysV::ftok(`pwd`, $<), "\n"'
This variant works though: $ perl -MIPC::SysV -e 'chomp($pwd = `pwd`); print IPC::SysV::ftok($pwd, $<), "\n"' -1760399103 > -----Original Message----- > From: Olivier Poitrey [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 02, 2001 12:24 PM > To: [EMAIL PROTECTED]; Modperl List > Subject: Re: Apache::SharedMem 0.07 installation problem > > > What this command return on your system: > > $ perl -MIPC::SysV -e 'print IPC::SysV::ftok($ENV{PWD}, $<), "\n"' > > best regards > > -- > __________________________________________________________________ > _________ > O l i v i e r P o i t r e y > > USA disaster support http://www.osdn.com/911.shtml > > ----- Original Message ----- > From: "Alexei Barantsev" <[EMAIL PROTECTED]> > To: "Modperl List" <[EMAIL PROTECTED]> > Sent: Tuesday, October 02, 2001 8:32 AM > Subject: Apache::SharedMem 0.07 installation problem > > > > I have problems with Apache::SharedMem 0.07 installation. > > > > Here is my configuration: > > > > bash$ uname -a > > Linux dallas 2.2.14-5.0 #1 Tue Mar 7 21:07:39 EST 2000 i686 unknown > > > > bash$ perl -v > > This is perl, v5.6.1 built for i686-linux > > > > And here is 'make test' report: > > > > bash$ make test TEST_VERBOSE=1 > > PERL_DL_NONLAZY=1 > > > /usr/bin/perl5.00503 -Iblib/arch -Iblib/lib > -I/usr/lib/perl5/5.00503/i386-li > > nux -I/usr/lib/perl5/5.005 > > 03 -e 'use Test::Harness qw(&runtests $verbose); $verbose=1; runtests > > @ARGV;' t/*.t > > t/assign..........1..8 > > ok 1 > > Use of uninitialized value at blib/lib/Apache/SharedMem.pm line 1073. > > Use of uninitialized value at blib/lib/Apache/SharedMem.pm line 1075. > > Apache::SharedMem object creation missing rootkey parameter. at > t/assign.t > > line 14 > > dubious > > Test returned status 2 (wstat 512, 0x200) > > DIED. FAILED tests 2-8 > > Failed 7/8 tests, 12.50% okay > > t/import..........1..5 > > ok 1 > > ok 2 > > ok 3 > > ok 4 > > ok 5 > > ok > > t/smartlock.......1..16 > > ok 1 > > Use of uninitialized value at blib/lib/Apache/SharedMem.pm line 1073. > > Use of uninitialized value at blib/lib/Apache/SharedMem.pm line 1075. > > Apache::SharedMem object creation missing rootkey parameter. at > > t/smartlock.t line 14 > > dubious > > Test returned status 2 (wstat 512, 0x200) > > DIED. FAILED tests 2-16 > > Failed 15/16 tests, 6.25% okay > > t/timedoutlock....1..8 > > ok 1 > > Use of uninitialized value at blib/lib/Apache/SharedMem.pm line 1073. > > Use of uninitialized value at blib/lib/Apache/SharedMem.pm line 1075. > > Apache::SharedMem object creation missing rootkey parameter. at > > t/timedoutlock.t line 14 > > dubious > > Test returned status 2 (wstat 512, 0x200) > > DIED. FAILED tests 2-8 > > Failed 7/8 tests, 12.50% okay > > t/zdestroy........1..3 > > Use of uninitialized value at blib/lib/Apache/SharedMem.pm line 1073. > > Use of uninitialized value at blib/lib/Apache/SharedMem.pm line 1075. > > Apache::SharedMem object creation missing rootkey parameter. at > t/zdestroy.t > > line 14 > > dubious > > Test returned status 2 (wstat 512, 0x200) > > DIED. FAILED tests 1-3 > > Failed 3/3 tests, 0.00% okay > > Failed Test Stat Wstat Total Fail Failed List of Failed > > > -------------------------------------------------------------------------- > -- > > --- > > t/assign.t 2 512 8 7 87.50% 2-8 > > t/smartlock.t 2 512 16 15 93.75% 2-16 > > t/timedoutlock.t 2 512 8 7 87.50% 2-8 > > t/zdestroy.t 2 512 3 3 100.00% 1-3 > > Failed 4/5 test scripts, 20.00% okay. 32/40 subtests failed, > 20.00% okay. > > make: *** [test_dynamic] Error 2 > > > > -- > > Alexei Barantsev, ISP RAS > > E-mail: [EMAIL PROTECTED] > > ICQ : 3959207 > > > > >