You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Alexei Barantsev <ba...@kazbek.ispras.ru> on 2001/10/02 08:32:28 UTC
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: barancev@kazbek.ispras.ru
ICQ : 3959207
RE: Apache::SharedMem 0.07 installation problem
Posted by Alexei Barantsev <ba...@kazbek.ispras.ru>.
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:olivier@pas-tres.net]
> Sent: Tuesday, October 02, 2001 1:05 PM
> To: barancev@kazbek.ispras.ru; 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 r P o i t r e y
>
> USA disaster support http://www.osdn.com/911.shtml*
>
> ----- Original Message -----
> From: "Alexei Barantsev" <ba...@kazbek.ispras.ru>
> To: "Olivier Poitrey" <ol...@pas-tres.net>; "Modperl List"
> <mo...@apache.org>
> 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
> >
Re: Apache::SharedMem 0.07 installation problem
Posted by Olivier Poitrey <ol...@pas-tres.net>.
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 r P o i t r e y
USA disaster support http://www.osdn.com/911.shtml*
----- Original Message -----
From: "Alexei Barantsev" <ba...@kazbek.ispras.ru>
To: "Olivier Poitrey" <ol...@pas-tres.net>; "Modperl List"
<mo...@apache.org>
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:olivier@pas-tres.net]
> > Sent: Tuesday, October 02, 2001 12:24 PM
> > To: barancev@kazbek.ispras.ru; 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" <ba...@kazbek.ispras.ru>
> > To: "Modperl List" <mo...@apache.org>
> > 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: barancev@kazbek.ispras.ru
> > > ICQ : 3959207
> > >
> > >
> >
>
>
RE: Apache::SharedMem 0.07 installation problem
Posted by Alexei Barantsev <ba...@kazbek.ispras.ru>.
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:olivier@pas-tres.net]
> Sent: Tuesday, October 02, 2001 12:24 PM
> To: barancev@kazbek.ispras.ru; 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" <ba...@kazbek.ispras.ru>
> To: "Modperl List" <mo...@apache.org>
> 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: barancev@kazbek.ispras.ru
> > ICQ : 3959207
> >
> >
>
Re: Apache::SharedMem 0.07 installation problem
Posted by Olivier Poitrey <ol...@pas-tres.net>.
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" <ba...@kazbek.ispras.ru>
To: "Modperl List" <mo...@apache.org>
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: barancev@kazbek.ispras.ru
> ICQ : 3959207
>
>