What steps will reproduce the problem?
- Installing the module from CPAN: install App:Ack
- Compiling the module from its source code @: make or ./ack
What is the expected output? What do you see instead?
All of the tests are failing.
By running: ./ack I'm getting the output:
yoni@Server:~/Desktop/compile/ack-1.88$ ./ack
"our" variable $VERSION redeclared at ./ack line 1005.
Useless use of private variable in void context at ./ack line 2038.
Name "App::Ack::fh" used only once: possible typo at ./ack line 103.
Use of uninitialized value $App::Ack::VERSION in string ne at ./ack line 22.
Use of uninitialized value in concatenation (.) or string at ./ack line 23.
Use of uninitialized value $App::Ack::VERSION in concatenation (.) or
string at ./ack line 23.
Undefined subroutine &App::Ack::die called at ./ack line 23.
By Doing make the output I'm getting:
yoni@Server:~/Desktop/compile/ack-1.88$ make
cp Ack.pm blib/lib/App/Ack.pm
cp Repository.pm blib/lib/App/Ack/Repository.pm
cp Plugin.pm blib/lib/App/Ack/Plugin.pm
cp Resource.pm blib/lib/App/Ack/Resource.pm
cp Basic.pm blib/lib/App/Ack/Plugin/Basic.pm
/usr/bin/perl squash ack-base File::Next Ack.pm Repository.pm Resource.pm
Basic.pm > ack
Reading ack-base
Reading /usr/local/share/perl/5.10.0/File/Next.pm
Reading Ack.pm
Reading Repository.pm
Reading Resource.pm
Reading Basic.pm
chmod 0755 ack
/usr/bin/perl -T -c ack
"our" variable $VERSION redeclared at ack line 1005.
Useless use of private variable in void context at ack line 2038.
Name "App::Ack::fh" used only once: possible typo at ack line 103.
ack syntax OK
/usr/bin/perl -T ack --noenv --help > ack-help.txt || perl -e0
"our" variable $VERSION redeclared at ack line 1005.
Useless use of private variable in void context at ack line 2038.
Name "App::Ack::fh" used only once: possible typo at ack line 103.
Use of uninitialized value $App::Ack::VERSION in string ne at ack line 22.
Use of uninitialized value in concatenation (.) or string at ack line 23.
Use of uninitialized value $App::Ack::VERSION in concatenation (.) or
string at ack line 23.
Undefined subroutine &App::Ack::die called at ack line 23.
/usr/bin/perl -T ack --noenv --help=types > ack-help-types.txt || perl -e0
"our" variable $VERSION redeclared at ack line 1005.
Useless use of private variable in void context at ack line 2038.
Name "App::Ack::fh" used only once: possible typo at ack line 103.
Use of uninitialized value $App::Ack::VERSION in string ne at ack line 22.
Use of uninitialized value in concatenation (.) or string at ack line 23.
Use of uninitialized value $App::Ack::VERSION in concatenation (.) or
string at ack line 23.
Undefined subroutine &App::Ack::die called at ack line 23.
cp ack blib/script/ack
/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/ack
Manifying blib/man1/ack.1p
Manifying blib/man3/Ack.3pm
Manifying blib/man3/Plugin.3pm
Manifying blib/man3/Repository.3pm
Manifying blib/man3/Basic.3pm
Manifying blib/man3/Resource.3pm
yoni@Server:~/Desktop/compile/ack-1.88$
What version of the product are you using? On what operating system?
Operating system:
Linux version 2.6.28-14-generic (buildd@palmer) (gcc version 4.3.3 (Ubuntu
4.3.3-5ubuntu4) ) #47-Ubuntu SMP Sat Jul 25 00:28:35 UTC 2009
Ubuntu Jaunty 9.04.
perl -V output:
yoni@Server:~/Desktop/compile/ack-1.88$ perl -V
This is perl, v5.10.0 built for i486-linux-gnu-thread-multi
Copyright 1987-2007, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
yoni@Server:~/Desktop/compile/ack-1.88$ perl -V
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
Platform:
osname=linux, osvers=2.6.24-23-server, archname=i486-linux-gnu-thread-multi
uname='linux rothera 2.6.24-23-server #1 smp wed apr 1 22:22:14 utc
2009 i686 gnulinux '
config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN
-Dcccdlflags=-fPIC -Darchname=i486-linux-gnu -Dprefix=/usr
-Dprivlib=/usr/share/perl/5.10 -Darchlib=/usr/lib/perl/5.10
-Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5
-Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local
-Dsitelib=/usr/local/share/perl/5.10.0
-Dsitearch=/usr/local/lib/perl/5.10.0 -Dman1dir=/usr/share/man/man1
-Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1
-Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl
-Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio -Uusenm
-DDEBUGGING=-g -Doptimize=-O2 -Duseshrplib -Dlibperl=libperl.so.5.10.0
-Dd_dosuid -des'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
optimize='-O2 -g',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing
-pipe -I/usr/local/include'
ccversion='', gccversion='4.3.3', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /usr/lib64
libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt
perllibs=-ldl -lm -lpthread -lc -lcrypt
libc=/lib/libc-2.9.so, so=so, useshrplib=true, libperl=libperl.so.5.10.0
gnulibc_version='2.9'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS
USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API
Built under linux
Compiled at Jun 26 2009 18:23:00
@inc:
/etc/perl
/usr/local/lib/perl/5.10.0
/usr/local/share/perl/5.10.0
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.10
/usr/share/perl/5.10
/usr/local/lib/site_perl
.
Please provide any additional information below.
Full output for the progress of installing App::Ack via MCPAN found in the
attached file.
Reported by Devorkin at 2009-08-08 17:24:SImported from Google Code issue number 152