Apache::SharedMem 0.07 installation problem

2001-10-02 Thread Alexei Barantsev

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/timedoutlock1..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/zdestroy1..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 87  87.50%  2-8
t/smartlock.t   2   51216   15  93.75%  2-16
t/timedoutlock.t2   512 87  87.50%  2-8
t/zdestroy.t2   512 33 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




Re: Apache::SharedMem 0.07 installation problem

2001-10-02 Thread Olivier Poitrey

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  rP  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/timedoutlock1..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/zdestroy1..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 87  87.50%  2-8
 t/smartlock.t   2   51216   15  93.75%  2-16
 t/timedoutlock.t2   512 87  87.50%  2-8
 t/zdestroy.t2   512 33 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






RE: Apache::SharedMem 0.07 installation problem

2001-10-02 Thread Alexei Barantsev

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  rP  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/timedoutlock1..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/zdestroy1..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 87  87.50%  2-8
  t/smartlock.t   2   51216   15  93.75%  2-16
  t/timedoutlock.t2   512 87  87.50%  2-8
  t/zdestroy.t2   512 33 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
 
 





Re: Apache::SharedMem 0.07 installation problem

2001-10-02 Thread Olivier Poitrey

Ok, the test failed because your $ENV{PWD} is empty, I'll trap this error on
0.08. By the way,
why is your $ENV{PWD} empty ?

regards

--
___
 O  l  i  v  i  e  rP  o  i  t  r  e  y

USA disaster support http://www.osdn.com/911.shtml*

- Original Message -
From: Alexei Barantsev [EMAIL PROTECTED]
To: Olivier Poitrey [EMAIL PROTECTED]; Modperl List
[EMAIL PROTECTED]
Sent: Tuesday, October 02, 2001 10:50 AM
Subject: RE: Apache::SharedMem 0.07 installation problem


 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  rP  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/timedoutlock1..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/zdestroy1..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 87  87.50%  2-8
   t/smartlock.t   2   51216   15  93.75%  2-16
   t/timedoutlock.t2   512 87  87.50%  2-8
   t/zdestroy.t2   512 33 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
  
  
 






RE: Apache::SharedMem 0.07 installation problem

2001-10-02 Thread Alexei Barantsev

Actually, it is strange.

bash$ echo $PWD
/home/barancev
bash$ perl -e 'print $ENV{PWD}'
bash$ perl -e 'print Oops!\n unless exists $ENV{PWD}'
Oops!
bash$

By the way, `env` command does not show PWD variable too.

Somebody khows what the reason can be?

Once again my system configuration is
bash$ uname -a
Linux dallas 2.2.14-5.0 #1 Tue Mar 7 21:07:39 EST 2000 i686 unknown

Looks like it is not mod_perl related topic, sorry for noise.

 -Original Message-
 From: Olivier Poitrey [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, October 02, 2001 1:05 PM
 To: [EMAIL PROTECTED]; Modperl List
 Subject: Re: Apache::SharedMem 0.07 installation problem
 
 
 Ok, the test failed because your $ENV{PWD} is empty, I'll trap 
 this error on
 0.08. By the way,
 why is your $ENV{PWD} empty ?
 
 regards
 
 --
 __
 _
  O  l  i  v  i  e  rP  o  i  t  r  e  y
 
 USA disaster support http://www.osdn.com/911.shtml*
 
 - Original Message -
 From: Alexei Barantsev [EMAIL PROTECTED]
 To: Olivier Poitrey [EMAIL PROTECTED]; Modperl List
 [EMAIL PROTECTED]
 Sent: Tuesday, October 02, 2001 10:50 AM
 Subject: RE: Apache::SharedMem 0.07 installation problem
 
 
  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