perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Gies <r...@livesite.net>
Subject Re: Fwd: svn commit: r1022689 - in /perl/Apache-Test/trunk: Changes MANIFEST Makefile.PL lib/Apache/TestConfig.pm lib/Apache/TestRun.pm
Date Fri, 15 Oct 2010 16:30:58 GMT
On 10/14/2010 05:28 PM, Fred Moyer wrote:
> On Thu, Oct 14, 2010 at 2:25 PM, Ryan Gies<ryan@livesite.net>  wrote:
>    
>> >  Cannot create make file directly.  (Q: Is this suppose to work?)
>>      
> Thanks for the spot - here's what I see when I do that:
>
> phred@pooky ~/dev/svn/modperl/mod_perl-2.0/Apache-Test $ perl Makefile.PL
> Subroutine MY::test redefined at Makefile.PL line 237.
> Do not run 'perl Makefile.PL' when Apache-Test is a subdirectory of
> modperl-2.0. Copy it elsewhere and run from there.
>    
So, I moved the Apache-Test directory to a folder outside of the 
mod_perl-2.0 root and receive the same results.
> phred@pooky ~/dev/svn/modperl/mod_perl-2.0/Apache-Test $
>
> This looks like an unrelated issue - the local lib directory is not
> showing up on your @INC.
Hm, from the Results (below) the error indicates @INC *does* contain the 
local lib directory:

     Can't locate Apache2/Build.pm in @INC (@INC contains: lib ...

and further, that this error stems from:

...) at lib/Apache/TestConfig.pm line 34.

The IS_MOD_PERL_2 test (TestConfig.pm:31) returns a true value on this 
machine, because there is an installed version at:

/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/mod_perl2.pm

> Can you give me a few more details about
> your system?  I.e. version of apache and perl -V?
>    
--------------------------------------------------------------------------------
perl -V
--------------------------------------------------------------------------------
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
   Platform:
     osname=linux, osvers=2.6.32-44.el6.x86_64, archname=i386-linux-thread-multi
     uname='linux x86-09.phx2.fedoraproject.org 2.6.32-44.el6.x86_64 #1 smp wed jul 7 15:47:50
edt 2010 i686 i686 i386 gnulinux '
     config_args='-des -Doptimize=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables
-Accflags=-DPERL_USE_SAFE_PUTENV -Dversion=5.10.0 -Dmyhostname=localhost -Dperladmin=root@localhost
-Dcc=gcc -Dcf_by=Red Hat, Inc. -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr/local -Dprivlib=/usr/lib/perl5/5.10.0
-Dsitelib=/usr/local/lib/perl5/site_perl/5.10.0 -Dvendorlib=/usr/lib/perl5/vendor_perl/5.10.0
-Darchlib=/usr/lib/perl5/5.10.0/i386-linux-thread-multi -Dsitearch=/usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
-Dvendorarch=/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi -Dinc_version_list=none
-Darchname=i386-linux-thread-multi -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles
-Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio
-Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr -Dd_gethostent_r_proto
-Ud_endhostent_r_proto -Ud_sethostent_r_proto -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto
-Ud_endservent_r_proto -Ud_setservent_r_proto -Dscriptdir=/usr/bin -Dotherlibdirs=/usr/lib/perl5/site_perl'
     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='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing
-pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
     optimize='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4
-m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables',
     cppflags='-D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing
-pipe -I/usr/local/include -I/usr/include/gdbm'
     ccversion='', gccversion='4.4.4 20100630 (Red Hat 4.4.4-10)', 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='gcc', ldflags =' -L/usr/local/lib'
     libpth=/usr/local/lib /lib /usr/lib
     libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
     perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
     libc=/lib/libc-2.11.2.so, so=so, useshrplib=true, libperl=libperl.so
     gnulibc_version='2.11.2'
   Dynamic Linking:
     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE'
     cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables
-L/usr/local/lib'


Characteristics of this binary (from libperl):
   Compile-time options: DEBUGGING MULTIPLICITY PERL_DONT_CREATE_GVSV
                         PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
                         PERL_TRACK_MEMPOOL PERL_USE_SAFE_PUTENV USE_ITHREADS
                         USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API
   Built under linux
   Compiled at Jul 22 2010 12:21:36
   %ENV:
     PERLLIB="/code/src/lib/perl"
   @INC:
     /code/src/lib/perl
     /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
     /usr/local/lib/perl5/site_perl/5.10.0
     /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
     /usr/lib/perl5/vendor_perl/5.10.0
     /usr/lib/perl5/vendor_perl
     /usr/lib/perl5/5.10.0/i386-linux-thread-multi
     /usr/lib/perl5/5.10.0
     /usr/lib/perl5/site_perl
     .

--------------------------------------------------------------------------------
rpm -qi mod_perl
--------------------------------------------------------------------------------
Name        : mod_perl                     Relocations: (not relocatable)
Version     : 2.0.4                             Vendor: Fedora Project
Release     : 9                             Build Date: Sun 26 Jul 2009 10:25:36 PM EDT
Install Date: Tue 30 Mar 2010 07:39:52 PM EDT      Build Host: x86-3.fedora.phx.redhat.com
Group       : System Environment/Daemons    Source RPM: mod_perl-2.0.4-9.src.rpm
Size        : 6633285                          License: ASL 2.0
Signature   : RSA/SHA1, Thu 06 Aug 2009 03:48:08 AM EDT, Key ID 9d1cc34857bbccba
Packager    : Fedora Project
URL         : http://perl.apache.org/
Summary     : An embedded Perl interpreter for the Apache HTTP Server


--------------------------------------------------------------------------------
rpm -qi httpd
--------------------------------------------------------------------------------
Install mod_perl if you're installing the Apache web server and you'd
like for it to directly incorporate a Perl interpreter.
Name        : httpd                        Relocations: (not relocatable)
Version     : 2.2.15                            Vendor: Fedora Project
Release     : 1.fc12.2                      Build Date: Sat 10 Apr 2010 11:22:12 AM EDT
Install Date: Tue 01 Jun 2010 07:06:47 PM EDT      Build Host: x86-05.phx2.fedoraproject.org
Group       : System Environment/Daemons    Source RPM: httpd-2.2.15-1.fc12.2.src.rpm
Size        : 2884796                          License: ASL 2.0
Signature   : RSA/8, Sat 10 Apr 2010 12:09:09 PM EDT, Key ID 9d1cc34857bbccba
Packager    : Fedora Project
URL         : http://httpd.apache.org/
Summary     : Apache HTTP Server

>
>
>    
>> >
>> >  Steps
>> >  -----
>> >
>> >  svn checkouthttps://svn.apache.org/repos/asf/perl/modperl/trunk/
>> >  mod_perl-2.0
>> >  cd mod_perl-2.0/Apache-Test/
>> >  perl Makefile.PL
>> >
>> >  Result
>> >  ------
>> >
>> >  Can't locate Apache2/Build.pm in @INC (@INC contains: lib /code/src/lib/perl
>> >  /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
>> >  /usr/local/lib/perl5/site_perl/5.10.0
>> >  /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
>> >  /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl
>> >  /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0
>> >  /usr/lib/perl5/site_perl .) at lib/Apache/TestConfig.pm line 34.
>> >  BEGIN failed--compilation aborted at lib/Apache/TestConfig.pm line 35.
>> >  Compilation failed in require at lib/Apache/TestMM.pm line 22.
>> >  BEGIN failed--compilation aborted at lib/Apache/TestMM.pm line 22.
>> >  Compilation failed in require at Makefile.PL line 17.
>> >  BEGIN failed--compilation aborted at Makefile.PL line 17.
>> >
>> >
>> >
>>      



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message