Fwd: Undefined symbol "Perl_pad_sv" building mp2

Fwd: Undefined symbol "Perl_pad_sv" building mp2

am 02.09.2009 04:47:58 von Craig MacKenna

--Apple-Mail-1-822054933
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
delsp=yes;
format=flowed

>
> I have always included previous perl libraries in the @INC of
> new builds. And it has always worked, with the single
> exception of building mod_perl2 this time. All of the perl
> scripts and modules on my site work well under the new 5.10.1.
>
> Aside from the pain of re-downloading all kinds of modules
> as they prove to be needed over the next year or so, I know
> there are items in the 5.8.7 libraries from my Internet
> Hosting Provider, that are needed to run software from the IHP.
>
> I can certainly build a 5.10.1 without the otherlibs, and
> locate it somewhere else than in /usr/local/bin. Will that
> process completely replace all of:
>
> /usr/local/lib/perl5/5.10.1/i386-freebsd
> /usr/local/lib/perl5/5.10.1
> /usr/local/lib/perl5/site_perl/5.10.1/i386-freebsd
> /usr/local/lib/perl5/site_perl/5.10.1
> ??
>
> If so, I suppose could copy them somewhere before the
> build, and copy them back after the build.
>
> In "Non-Boolean Build Options" on
>
> http://perl.apache.org/docs/2.0/user/install/install.html,
>
> I don't see a command to tell the mod_perl build process to
> use a particular perl. If I say $perl_other Makefile.PL
> in the modperl-2.x directory, does that do it?
>
> Thanks for being there,
> cmac
>
>
> On Sep 1, 2009, at 5:58 PM, Fred Moyer wrote:
>
>> Can you please cc the list on all replies?
>>
>> On Tue, Sep 1, 2009 at 5:41 PM, wrote:
>>> cd /build/perl-5.10.1/
>>> make veryclean
>>> ./Configure -Dd_dosuid
>>> -Dotherlibdirs=/usr/local/lib/perl5/5.8.9:/usr/local/lib/per l5/
>>> site_perl/5.8.9:/usr/local/lib/perl5/5.8.8:/usr/local/lib/pe rl5/
>>> site_perl/5.8.8:/usr/local/lib/perl5/5.8.7:/usr/local/lib/pe rl5/
>>> site_perl/5.8.7:/usr/local/lib/perl5/vendor_perl/5.8.7
>>> -Dmydomain=animalhead.com
>>
>> Why are you configuring 5.10.1 with 5.8.x libs?
>>
>> Can you try a build without otherlibdirs?
>>
>>>
>>> change optimization '-O' to '-O2'
>>> search other versions? [5.8.9 5.8.8 5.8.7] none
>>> change email 'xxxxxxxx@animalhead.com' to 'mackenna@...'
>>>
>>> make
>>> make test <-- no errors for 5.10.1
>>> sudo make install
>>>
>>>
>>> On Sep 1, 2009, at 11:23 AM, Fred Moyer wrote:
>>>
>>>> On Tue, Sep 1, 2009 at 9:27 AM, wrote:
>>>>>
>>>>> A bit more data on the problem reported below:
>>>>>
>>>>> /build/modperl-2.0 $ grep -r Perl_pad_sv *
>>>>> Binary file src/modules/perl/mod_perl.so matches
>>>>> /build/modperl-2.0 $ ll src/modules/perl/mod_perl.so
>>>>> -rwxr-xr-x 1 user wheel 1559168 Aug 29 21:22
>>>>> src/modules/perl/mod_perl.so
>>>>> /build/modperl-2.0 $ cd /usr/local/bin
>>>>>
>>>>> /usr/local/bin $ ll perl5*
>>>>> lrwxr-xr-x 1 root wheel 10 Aug 29 16:04 perl5 ->
>>>>> perl5.10.1
>>>>> -rwxr-xr-x 3 root wheel 1078522 Aug 30 00:52 perl5.10.1
>>>>> -rwxr-xr-x 2 root wheel 949166 Nov 14 2005 perl5.8.7
>>>>> -rwxr-xr-x 1 root wheel 2050866 Nov 18 2008 perl5.8.8
>>>>> -rwxr-xr-x 1 root wheel 951373 Jan 7 2009 perl5.8.9
>>>>> /usr/local/bin $ grep -r Perl_pad_sv perl*
>>>>> Binary file perl5.8.7 matches
>>>>> Binary file perl5.8.8 matches
>>>>> Binary file perl5.8.9 matches
>>>>> /usr/local/bin $
>>>>>
>>>>> So the symbol in the error message is wanted by the newly-built
>>>>> mod_perl, but perl 5.10.1 does not include it.
>>>>>
>>>>> Yes that's exactly what the error message says, but the mailing
>>>>> list is so quiet that I wonder if my filters have started eating
>>>>> its emails...
>>>>
>>>> Perl_pad_sv is in there. How did you install 5.10.1?
>>>>
>>>> phred@harpua ~/perl-5.10.1 $ ack Perl_pad_sv
>>>> embed.h
>>>> 638:#define pad_sv Perl_pad_sv
>>>> 2958:#define pad_sv(a) Perl_pad_sv(aTHX_ a)
>>>>
>>>> makedef.pl
>>>> 627: Perl_pad_sv
>>>>
>>>> pad.c
>>>> 927:Perl_pad_sv(pTHX_ PADOFFSET po)
>>>>
>>>> proto.h
>>>> 2386:PERL_CALLCONV SV* Perl_pad_sv(pTHX_ PADOFFSET po);
>>>>
>>>>
>>>>>
>>>>> cmac
>>>>>
>>>>>> On Aug 30, 2009, at 11:49 AM, Fred Moyer wrote:
>>>>>>
>>>>>>> On Sat, Aug 29, 2009 at 9:43 PM, wrote:
>>>>>>>>
>>>>>>>> -------------8<---------- Start Bug Report
>>>>>>>> ------------8<----------
>>>>>>>> 1. Problem Description:
>>>>>>>>
>>>>>>>> I have upgraded to Apache 2.2.13 and Perl 5.10.1. Both seem
>>>>>>>> to be
>>>>>>>> working
>>>>>>>> OK,
>>>>>>>> although Apache with using my old mod_perl 2.04 that uses
>>>>>>>> perl 5.8.9.
>>>>>>>
>>>>>>> Have you rebuilt your mod_perl 2.0.4 instance from scratch using
>>>>>>> 5.10.1? Undefined symbol warnings like this usually mean you
>>>>>>> are
>>>>>>> trying to use a version of mod_perl that has been built with
>>>>>>> another
>>>>>>> perl binary.
>>>>>>>
>>>>>>> Suggest running make clean, then:
>>>>>>>
>>>>>>> perl Makefile.PL MP_APXS=/path/to/my/httpd/apxs
>>>>>>> make
>>>>>>> make test
>>>>>>
>>>>>> Yes, that is pretty much exactly what I've done. Here is the
>>>>>> command
>>>>>> file
>>>>>> (that precedes make):
>>>>>>
>>>>>> #! /bin/sh
>>>>>> CFLAGS="-DVERIO -DVERIO_VPS"; export CFLAGS
>>>>>> LDFLAGS="-L/usr/local/lib"; export LDFLAGS
>>>>>> perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs
>>>>>>
>>>>>>>>
>>>>>>>> make test in both the release mod_perl 2.0.4 and the latest
>>>>>>>> snapshot
>>>>>>>> 2.0.5
>>>>>>>> gives the same error:
>>>>>>>>
>>>>>>>> $ make test
>>>>>>>> cd "src/modules/perl" && make
>>>>>>>> /usr/bin/perl -Iblib/arch -Iblib/lib t/TEST -clean
>>>>>>>> APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT=
>>>>>>>> APACHE_TEST_USER=
>>>>>>>> APACHE_TEST_APXS= /usr/bin/perl -Iblib/arch -Iblib/lib t/TEST
>>>>>>>> -bugreport
>>>>>>>> -verbose=0
>>>>>>>> /usr/local/apache2/bin/httpd -d /build/modperl-2.0/t -f
>>>>>>>> /build/modperl-2.0/t/conf/httpd.conf -D APACHE2
>>>>>>>> using Apache/2.2.13 (prefork MPM)
>>>>>>>>
>>>>>>>> waiting 120 seconds for server to start: .httpd: Syntax
>>>>>>>> error on line
>>>>>>>> 17
>>>>>>>> of
>>>>>>>> /build/modperl-2.0/t/conf/httpd.conf: Cannot load
>>>>>>>> /build/modperl-2.0/src/modules/perl/mod_perl.so into server:
>>>>>>>> /build/modperl-2.0/src/modules/perl/mod_perl.so: Undefined
>>>>>>>> symbol
>>>>>>>> "Perl_pad_sv"
>>>>>>>>
>>>>>>>>
>>>>>>>> 2. Used Components and their Configuration:
>>>>>>>>
>>>>>>>> *** mod_perl version 2.000005
>>>>>>>>
>>>>>>>> *** using /build/modperl-2.0/lib/Apache2/BuildConfig.pm
>>>>>>>>
>>>>>>>> *** Makefile.PL options:
>>>>>>>> MP_APR_LIB => aprext
>>>>>>>> MP_APXS => /usr/local/apache2/bin/apxs
>>>>>>>> MP_COMPAT_1X => 1
>>>>>>>> MP_GENERATE_XS => 1
>>>>>>>> MP_LIBNAME => mod_perl
>>>>>>>> MP_USE_DSO => 1
>>>>>>>>
>>>>>>>>
>>>>>>>> *** /usr/local/apache2/bin/httpd -V
>>>>>>>> Server version: Apache/2.2.13 (Unix)
>>>>>>>> Server built: Aug 29 2009 16:57:40
>>>>>>>> Server's Module Magic Number: 20051115:23
>>>>>>>> Server loaded: APR 1.3.8, APR-Util 1.3.9
>>>>>>>> Compiled using: APR 1.3.8, APR-Util 1.3.9
>>>>>>>> Architecture: 32-bit
>>>>>>>> Server MPM: Prefork
>>>>>>>> threaded: no
>>>>>>>> forked: yes (variable process count)
>>>>>>>> Server compiled with....
>>>>>>>> -D APACHE_MPM_DIR="server/mpm/prefork"
>>>>>>>> -D APR_HAS_SENDFILE
>>>>>>>> -D APR_HAS_MMAP
>>>>>>>> -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
>>>>>>>> -D APR_USE_FLOCK_SERIALIZE
>>>>>>>> -D APR_USE_PTHREAD_SERIALIZE
>>>>>>>> -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
>>>>>>>> -D APR_HAS_OTHER_CHILD
>>>>>>>> -D AP_HAVE_RELIABLE_PIPED_LOGS
>>>>>>>> -D DYNAMIC_MODULE_LIMIT=128
>>>>>>>> -D HTTPD_ROOT="/usr/local/apache2"
>>>>>>>> -D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
>>>>>>>> -D DEFAULT_PIDLOG="logs/httpd.pid"
>>>>>>>> -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
>>>>>>>> -D DEFAULT_LOCKFILE="logs/accept.lock"
>>>>>>>> -D DEFAULT_ERRORLOG="logs/error_log"
>>>>>>>> -D AP_TYPES_CONFIG_FILE="conf/mime.types"
>>>>>>>> -D SERVER_CONFIG_FILE="conf/httpd.conf"
>>>>>>>>
>>>>>>>> *** /usr/bin/ldd /usr/local/apache2/bin/httpd
>>>>>>>> /usr/local/apache2/bin/httpd:
>>>>>>>> libz.so.3 => /lib/libz.so.3 (0x28209000)
>>>>>>>> libm.so.4 => /lib/libm.so.4 (0x2821a000)
>>>>>>>> libpcre.so.0 => /usr/local/lib/libpcre.so.0 (0x28230000)
>>>>>>>> libaprutil-1.so.3 => /usr/local/apache2/lib/
>>>>>>>> libaprutil-1.so.3
>>>>>>>> (0x2825c000)
>>>>>>>> libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x2827c000)
>>>>>>>> libapr-1.so.3 => /usr/local/apache2/lib/libapr-1.so.3
>>>>>>>> (0x2829d000)
>>>>>>>> libcrypt.so.3 => /lib/libcrypt.so.3 (0x282c5000)
>>>>>>>> libpthread.so.2 => /lib/libpthread.so.2 (0x282dd000)
>>>>>>>> libc.so.6 => /lib/libc.so.6 (0x28301000)
>>>>>>>>
>>>>>>>>
>>>>>>>> *** (apr|apu)-config linking info
>>>>>>>>
>>>>>>>> -L/usr/local/apache2/lib -laprutil-1 -lexpat -L/usr/
>>>>>>>> local/lib
>>>>>>>> -L/usr/local/apache2/lib -lapr-1 -lcrypt -lpthread
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> *** /usr/local/bin/perl -V
>>>>>>>> Summary of my perl5 (revision 5 version 10 subversion 1)
>>>>>>>> configuration:
>>>>>>>>
>>>>>>>> Platform:
>>>>>>>> osname=freebsd, osvers=6.3-release, archname=i386-freebsd
>>>>>>>> uname='freebsd animalhead.com 6.3-release freebsd 6.3-
>>>>>>>> release #3: fri
>>>>>>>> jan
>>>>>>>> 23 16:43:41 mst 2009 root@fc:usrsrcsysi386compilevkern i386 '
>>>>>>>> config_args='-Dd_dosuid
>>>>>>>>
>>>>>>>>
>>>>>>>> -Dotherlibdirs=/usr/local/lib/perl5/5.8.9:/usr/local/lib/
>>>>>>>> perl5/5.8.8:/usr/local/lib/perl5/5.8.7
>>>>>>>> -Dvendorprefix=/usr/local -Dmydomain=animalhead.com'
>>>>>>>> hint=recommended, useposix=true, d_sigaction=define
>>>>>>>> useithreads=undef, usemultiplicity=undef
>>>>>>>> useperlio=define, d_sfio=undef, uselargefiles=define,
>>>>>>>> usesocks=undef
>>>>>>>> use64bitint=undef, use64bitall=undef, uselongdouble=undef
>>>>>>>> usemymalloc=n, bincompat5005=undef
>>>>>>>> Compiler:
>>>>>>>> cc='cc', ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H
>>>>>>>> -fno-strict-aliasing -pipe -I/usr/local/include',
>>>>>>>> optimize='-O',
>>>>>>>> cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-
>>>>>>>> aliasing
>>>>>>>> -pipe -I/usr/local/include'
>>>>>>>> ccversion='', gccversion='3.4.6 [FreeBSD] 20060305',
>>>>>>>> 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 ='-Wl,-E -L/usr/local/lib'
>>>>>>>> libpth=/usr/lib /usr/local/lib
>>>>>>>> libs=-lgdbm -lm -lcrypt -lutil -lc
>>>>>>>> perllibs=-lm -lcrypt -lutil -lc
>>>>>>>> libc=, so=so, useshrplib=false, libperl=libperl.a
>>>>>>>> gnulibc_version=''
>>>>>>>> Dynamic Linking:
>>>>>>>> dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
>>>>>>>> cccdlflags='-DPIC -fPIC', lddlflags='-shared -L/usr/local/
>>>>>>>> lib'
>>>>>>>>
>>>>>>>>
>>>>>>>> Characteristics of this binary (from libperl):
>>>>>>>> Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
>>>>>>>> USE_LARGE_FILES USE_PERLIO
>>>>>>>> Built under freebsd
>>>>>>>> Compiled at Aug 29 2009 20:24:18
>>>>>>>> %ENV:
>>>>>>>> PERL_LWP_USE_HTTP_10="1"
>>>>>>>> @INC:
>>>>>>>> /usr/local/lib/perl5/5.10.1/i386-freebsd
>>>>>>>> /usr/local/lib/perl5/5.10.1
>>>>>>>> /usr/local/lib/perl5/site_perl/5.10.1/i386-freebsd
>>>>>>>> /usr/local/lib/perl5/site_perl/5.10.1
>>>>>>>> /usr/local/lib/perl5/site_perl/5.8.9
>>>>>>>> /usr/local/lib/perl5/site_perl/5.8.8
>>>>>>>> /usr/local/lib/perl5/site_perl/5.8.7
>>>>>>>> /usr/local/lib/perl5/site_perl
>>>>>>>> /usr/local/lib/perl5/vendor_perl/5.10.1/i386-freebsd
>>>>>>>> /usr/local/lib/perl5/vendor_perl/5.10.1
>>>>>>>> /usr/local/lib/perl5/vendor_perl/5.8.7
>>>>>>>> /usr/local/lib/perl5/vendor_perl
>>>>>>>> /usr/local/lib/perl5/5.8.9/i386-freebsd
>>>>>>>> /usr/local/lib/perl5/5.8.9
>>>>>>>> /usr/local/lib/perl5/5.8.8/i386-freebsd
>>>>>>>> /usr/local/lib/perl5/5.8.8
>>>>>>>> /usr/local/lib/perl5/5.8.7/i386-freebsd
>>>>>>>> /usr/local/lib/perl5/5.8.7
>>>>>>>> .
>>>>>>>>
>>>>>>>> *** Packages of interest status:
>>>>>>>>
>>>>>>>> Apache2 : -
>>>>>>>> Apache2::Request : -
>>>>>>>> CGI : 3.45
>>>>>>>> ExtUtils::MakeMaker: 6.48, 6.54, 6.55_02
>>>>>>>> LWP : 5.831
>>>>>>>> mod_perl : -
>>>>>>>> mod_perl2 : -
>>>>>>>>
>>>>>>>>
>>>>>>>> 3. This is the core dump trace: (if you get a core dump):
>>>>>>>>
>>>>>>>> [CORE TRACE COMES HERE]
>>>>>>>>
>>>>>>>> This report was generated by t/REPORT on Sun Aug 30 04:28:22
>>>>>>>> 2009 GMT.
>>>>>>>>
>>>>>>>> -------------8<---------- End Bug Report
>>>>>>>> --------------8<----------
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>
>>>
>


--Apple-Mail-1-822054933
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=US-ASCII

-webkit-line-break: after-white-space; ">

type=3D"cite">
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "> class=3D"Apple-style-span" color=3D"#000000">
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">I have always included previous perl libraries in =
the @INC of
margin-bottom: 0px; margin-left: 0px; ">new builds. class=3D"Apple-converted-space">  And it has always worked, =
with the single
margin-bottom: 0px; margin-left: 0px; ">exception of building mod_perl2 =
this time.  All of the =
perl
margin-bottom: 0px; margin-left: 0px; ">scripts and modules on my site =
work well under the new 5.10.1.
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; ">
margin-bottom: 0px; margin-left: 0px; ">Aside from the pain of =
re-downloading all kinds of modules
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">as they prove =
to be needed over the next year or so, I know
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">there are items in the 5.8.7 libraries from my =
Internet
margin-bottom: 0px; margin-left: 0px; ">Hosting Provider, that are =
needed to run software from the IHP.
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; ">
margin-bottom: 0px; margin-left: 0px; ">I can certainly build a 5.10.1 =
without the otherlibs, and
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">locate it =
somewhere else than in /usr/local/bin. class=3D"Apple-converted-space">  Will that
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">process completely replace all of:
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; ">
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">/usr/local/lib/perl5/5.10.1/i386-freebsd
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">/usr/local/lib/perl5/5.10.1
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">/usr/local/lib/perl5/site_perl/5.10.1/i386-freebsd
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">/usr/local/lib/perl5/site_perl/5.10.1
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">??
0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; =
">
margin-bottom: 0px; margin-left: 0px; ">If so, I suppose could copy them =
somewhere before the
0px; margin-bottom: 0px; margin-left: 0px; ">build, and copy them back =
after the build.
margin-bottom: 0px; margin-left: 0px; min-height: 14px; ">
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">In "Non-Boolean Build Options" on
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; ">
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> href=3D"http://perl.apache.org/docs/2.0/user/install/install .html">http://=
perl.apache.org/docs/2.0/user/install/install.html
,
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; ">
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I don't =
see a command to tell the mod_perl build process to
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">use a particular perl. class=3D"Apple-converted-space">  If I say $perl_other =
Makefile.PL
margin-bottom: 0px; margin-left: 0px; ">in the modperl-2.x directory, =
does that do it?
margin-bottom: 0px; margin-left: 0px; min-height: 14px; ">
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">Thanks for being there,
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">cmac
margin-bottom: 0px; margin-left: 0px; min-height: 14px; ">
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; ">
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">On Sep =
1, 2009, at 5:58 PM, Fred Moyer wrote:
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
min-height: 14px; ">
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">Can you please cc the list on all replies?
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; ">
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">On Tue, =
Sep 1, 2009 at 5:41 PM, < href=3D"mailto:craig@animalhead.com">craig@animalhead.com> =
wrote:
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">cd =
/build/perl-5.10.1/
0px; margin-bottom: 0px; margin-left: 0px; ">make veryclean
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">./Configure -Dd_dosuid
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">-Dotherlibdirs=3D/usr/local/lib/perl5/5.8.9:/usr/local/lib /perl5/site_pe=
rl/5.8.9:/usr/local/lib/perl5/5.8.8:/usr/local/lib/perl5/sit e_perl/5.8.8:/=
usr/local/lib/perl5/5.8.7:/usr/local/lib/perl5/site_perl/5.8 .7:/usr/local/=
lib/perl5/vendor_perl/5.8.7
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">-Dmydomain=3Danimalhead.com
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
min-height: 14px; ">
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Why are you =
configuring 5.10.1 with 5.8.x libs?
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; ">
margin-bottom: 0px; margin-left: 0px; ">Can you try a build without =
otherlibdirs?
margin-bottom: 0px; margin-left: 0px; min-height: 14px; ">
=
0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; =
">
margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space">    change optimization =
'-O' to '-O2'
margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space">    search other =
versions? [5.8.9 5.8.8 5.8.7] none
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space">    change email ' href=3D"mailto:xxxxxxxx@animalhead.com">xxxxxxxx@animalhead. com' to =
'mackenna@...'
margin-bottom: 0px; margin-left: 0px; min-height: 14px; ">
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">make
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">make =
test        =
             
<-- no errors =
for 5.10.1
margin-bottom: 0px; margin-left: 0px; ">sudo make install
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; ">
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
min-height: 14px; ">
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">On Sep 1, =
2009, at 11:23 AM, Fred Moyer wrote:
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; ">
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">On Tue, =
Sep 1, 2009 at 9:27 AM, < href=3D"mailto:craig@animalhead.com">craig@animalhead.com> =
wrote:
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; ">
margin-bottom: 0px; margin-left: 0px; ">A bit more data on the problem =
reported below:
margin-bottom: 0px; margin-left: 0px; min-height: 14px; ">
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">/build/modperl-2.0 $ grep -r Perl_pad_sv *
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">Binary file src/modules/perl/mod_perl.so =
matches
margin-bottom: 0px; margin-left: 0px; ">/build/modperl-2.0 $ ll =
src/modules/perl/mod_perl.so
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">-rwxr-xr-x  1 =
user  wheel class=3D"Apple-converted-space">  1559168 Aug 29 =
21:22
margin-bottom: 0px; margin-left: 0px; =
">src/modules/perl/mod_perl.so
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">/build/modperl-2.0 $ cd /usr/local/bin
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
min-height: 14px; ">
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">/usr/local/bin $ ll perl5*
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">lrwxr-xr-x  1 =
root  wheel class=3D"Apple-converted-space">      10 Aug 29 =
16:04 perl5 -> perl5.10.1
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">-rwxr-xr-x  3 =
root  wheel class=3D"Apple-converted-space">  1078522 Aug 30 00:52 =
perl5.10.1
margin-bottom: 0px; margin-left: 0px; ">-rwxr-xr-x class=3D"Apple-converted-space">  2 root class=3D"Apple-converted-space">  wheel class=3D"Apple-converted-space">  949166 Nov 14 class=3D"Apple-converted-space">  2005 perl5.8.7
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">-rwxr-xr-x =
1 root  =
wheel  2050866 =
Nov 18  2008 =
perl5.8.8
margin-bottom: 0px; margin-left: 0px; ">-rwxr-xr-x class=3D"Apple-converted-space">  1 root class=3D"Apple-converted-space">  wheel class=3D"Apple-converted-space">  951373 Jan class=3D"Apple-converted-space">  7 class=3D"Apple-converted-space">  2009 perl5.8.9
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">/usr/local/bin $ grep -r Perl_pad_sv perl*
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">Binary file perl5.8.7 matches
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">Binary file perl5.8.8 matches
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">Binary file perl5.8.9 matches
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">/usr/local/bin $
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; ">
margin-bottom: 0px; margin-left: 0px; ">So the symbol in the error =
message is wanted by the newly-built
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">mod_perl, but =
perl 5.10.1 does not include it.
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; ">
margin-bottom: 0px; margin-left: 0px; ">Yes that's exactly what the =
error message says, but the mailing
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">list is so =
quiet that I wonder if my filters have started eating
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">its emails...
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; ">
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">Perl_pad_sv is in there.  =
How did you install 5.10.1?
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; ">
margin-bottom: 0px; margin-left: 0px; ">phred@harpua ~/perl-5.10.1 $ ack =
Perl_pad_sv
margin-bottom: 0px; margin-left: 0px; ">embed.h
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">638:#define pad_sv class=3D"Apple-converted-space">          =
           
Perl_pad_sv
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">2958:#define pad_sv(a) class=3D"Apple-converted-space">          =
Perl_pad_sv(aTHX_ a)
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; ">
margin-bottom: 0px; margin-left: 0px; ">makedef.pl
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">627:  =
              =
Perl_pad_sv
0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; =
">
margin-bottom: 0px; margin-left: 0px; ">pad.c
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">927:Perl_pad_sv(pTHX_ PADOFFSET po)
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; ">
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">proto.h
margin-bottom: 0px; margin-left: 0px; ">2386:PERL_CALLCONV SV* class=3D"Apple-converted-space">  Perl_pad_sv(pTHX_ =
PADOFFSET po);
margin-bottom: 0px; margin-left: 0px; min-height: 14px; ">
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; ">
type=3D"cite">
margin-bottom: 0px; margin-left: 0px; min-height: 14px; ">
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">cmac
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; ">
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">On Aug =
30, 2009, at 11:49 AM, Fred Moyer wrote:
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
min-height: 14px; ">
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">On Sat, Aug 29, 2009 at 9:43 PM, < href=3D"mailto:craig@animalhead.com">craig@animalhead.com> =
wrote:
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; ">
margin-bottom: 0px; margin-left: 0px; ">-------------8<---------- =
Start Bug Report ------------8<----------
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">1. Problem Description:
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
min-height: 14px; ">
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I have =
upgraded to Apache 2.2.13 and Perl 5.10.1. class=3D"Apple-converted-space">  Both seem to be
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">working
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">OK,
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">although Apache with using my old mod_perl 2.04 that =
uses perl 5.8.9.
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; ">
margin-bottom: 0px; margin-left: 0px; ">Have you rebuilt your mod_perl =
2.0.4 instance from scratch using
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">5.10.1? class=3D"Apple-converted-space">  Undefined symbol warnings =
like this usually mean you are
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">trying to use =
a version of mod_perl that has been built with another
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">perl binary.
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; ">
margin-bottom: 0px; margin-left: 0px; ">Suggest running make clean, =
then:
margin-bottom: 0px; margin-left: 0px; min-height: 14px; ">
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">perl Makefile.PL =
MP_APXS=3D/path/to/my/httpd/apxs
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">make
margin-bottom: 0px; margin-left: 0px; ">make test
=
margin-bottom: 0px; margin-left: 0px; min-height: 14px; ">
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">Yes, that is pretty much exactly what I've =
done.  Here is the =
command
margin-bottom: 0px; margin-left: 0px; ">file
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">(that precedes make):
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
min-height: 14px; ">
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#! =
/bin/sh
margin-bottom: 0px; margin-left: 0px; ">CFLAGS=3D"-DVERIO -DVERIO_VPS"; =
export CFLAGS
margin-bottom: 0px; margin-left: 0px; ">LDFLAGS=3D"-L/usr/local/lib"; =
export LDFLAGS
margin-bottom: 0px; margin-left: 0px; ">perl Makefile.PL =
MP_APXS=3D/usr/local/apache2/bin/apxs
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
min-height: 14px; ">
type=3D"cite">
margin-bottom: 0px; margin-left: 0px; min-height: 14px; ">
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">make test in both the release mod_perl 2.0.4 and the =
latest snapshot
margin-bottom: 0px; margin-left: 0px; ">2.0.5
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">gives the same error:
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
min-height: 14px; ">
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">$ make =
test
margin-bottom: 0px; margin-left: 0px; ">cd "src/modules/perl" && =
make
margin-bottom: 0px; margin-left: 0px; ">/usr/bin/perl -Iblib/arch =
-Iblib/lib  t/TEST =
-clean
margin-bottom: 0px; margin-left: 0px; ">APACHE_TEST_GROUP=3D =
APACHE_TEST_HTTPD=3D APACHE_TEST_PORT=3D
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">APACHE_TEST_USER=3D
0px; margin-bottom: 0px; margin-left: 0px; ">APACHE_TEST_APXS=3D class=3D"Apple-converted-space">  /usr/bin/perl -Iblib/arch =
-Iblib/lib  =
t/TEST
margin-bottom: 0px; margin-left: 0px; ">-bugreport
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">-verbose=3D0
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">/usr/local/apache2/bin/httpd =
-d /build/modperl-2.0/t -f
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">/build/modperl-2.0/t/conf/httpd.conf -D APACHE2
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">using Apache/2.2.13 (prefork MPM)
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; ">
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">waiting =
120 seconds for server to start: .httpd: Syntax error on line
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">17
0px; margin-bottom: 0px; margin-left: 0px; ">of
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">/build/modperl-2.0/t/conf/httpd.conf: Cannot =
load
margin-bottom: 0px; margin-left: 0px; =
">/build/modperl-2.0/src/modules/perl/mod_perl.so into server:
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">/build/modperl-2.0/src/modules/perl/mod_perl.so: =
Undefined symbol
margin-bottom: 0px; margin-left: 0px; ">"Perl_pad_sv"
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; ">
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
min-height: 14px; ">
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">2. Used =
Components and their Configuration:
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; ">
margin-bottom: 0px; margin-left: 0px; ">*** mod_perl version =
2.000005
margin-bottom: 0px; margin-left: 0px; min-height: 14px; ">
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">*** using =
/build/modperl-2.0/lib/Apache2/BuildConfig.pm
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; ">
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">*** =
Makefile.PL options:
0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> MP_APR_LIB class=3D"Apple-converted-space">    =3D> =
aprext
margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> MP_APXS class=3D"Apple-converted-space">        =3D>=
/usr/local/apache2/bin/apxs
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> MP_COMPAT_1X class=3D"Apple-converted-space">  =3D> 1
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "> class=3D"Apple-converted-space"> MP_GENERATE_XS =3D> =
1
0px; margin-left: 0px; "> class=3D"Apple-converted-space"> MP_LIBNAME class=3D"Apple-converted-space">    =3D> =
mod_perl
margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> MP_USE_DSO class=3D"Apple-converted-space">    =3D> 1
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; ">
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
min-height: 14px; ">
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">*** =
/usr/local/apache2/bin/httpd -V
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Server =
version: Apache/2.2.13 (Unix)
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Server built: =
  Aug 29 2009 =
16:57:40
margin-bottom: 0px; margin-left: 0px; ">Server's Module Magic Number: =
20051115:23
margin-bottom: 0px; margin-left: 0px; ">Server loaded: class=3D"Apple-converted-space">  APR 1.3.8, APR-Util =
1.3.9
margin-bottom: 0px; margin-left: 0px; ">Compiled using: APR 1.3.8, =
APR-Util 1.3.9
margin-bottom: 0px; margin-left: 0px; ">Architecture: class=3D"Apple-converted-space">  32-bit
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">Server MPM: class=3D"Apple-converted-space">    Prefork
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "> class=3D"Apple-converted-space"> threaded: class=3D"Apple-converted-space">    no
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "> class=3D"Apple-converted-space"> forked: class=3D"Apple-converted-space">    yes (variable =
process count)
margin-bottom: 0px; margin-left: 0px; ">Server compiled =
with....
margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> -D =
APACHE_MPM_DIR=3D"server/mpm/prefork"
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> -D =
APR_HAS_SENDFILE
margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> -D APR_HAS_MMAP
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "> -D =
APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "> -D =
APR_USE_FLOCK_SERIALIZE
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> -D =
APR_USE_PTHREAD_SERIALIZE
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> -D =
SINGLE_LISTEN_UNSERIALIZED_ACCEPT
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> -D =
APR_HAS_OTHER_CHILD
0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> -D =
AP_HAVE_RELIABLE_PIPED_LOGS
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> -D =
DYNAMIC_MODULE_LIMIT=3D128
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> -D =
HTTPD_ROOT=3D"/usr/local/apache2"
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> -D =
SUEXEC_BIN=3D"/usr/local/apache2/bin/suexec"
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "> -D =
DEFAULT_PIDLOG=3D"logs/httpd.pid"
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> -D =
DEFAULT_SCOREBOARD=3D"logs/apache_runtime_status"
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "> -D =
DEFAULT_LOCKFILE=3D"logs/accept.lock"
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> -D =
DEFAULT_ERRORLOG=3D"logs/error_log"
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> -D =
AP_TYPES_CONFIG_FILE=3D"conf/mime.types"
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> -D =
SERVER_CONFIG_FILE=3D"conf/httpd.conf"
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
min-height: 14px; ">
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">*** =
/usr/bin/ldd /usr/local/apache2/bin/httpd
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">/usr/local/apache2/bin/httpd:
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space">     libz.so.3 =
=3D> /lib/libz.so.3 (0x28209000)
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space">     libm.so.4 =
=3D> /lib/libm.so.4 (0x2821a000)
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space">     libpcre.so.0 =
=3D> /usr/local/lib/libpcre.so.0 (0x28230000)
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">   =
 
libaprutil-1.so.3 =3D> =
/usr/local/apache2/lib/libaprutil-1.so.3
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">(0x2825c000)
margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space">     libexpat.so.6 =
=3D> /usr/local/lib/libexpat.so.6 (0x2827c000)
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">   =
 
libapr-1.so.3 =3D> =
/usr/local/apache2/lib/libapr-1.so.3
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">(0x2829d000)
margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space">     libcrypt.so.3 =
=3D> /lib/libcrypt.so.3 (0x282c5000)
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space">     =
libpthread.so.2 =3D> /lib/libpthread.so.2 =
(0x282dd000)
margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space">     libc.so.6 =
=3D> /lib/libc.so.6 (0x28301000)
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; ">
margin-bottom: 0px; margin-left: 0px; min-height: 14px; ">
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">*** (apr|apu)-config linking info
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; ">
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> -L/usr/local/apache2/lib =
-laprutil-1     =
-lexpat -L/usr/local/lib
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> -L/usr/local/apache2/lib =
-lapr-1 -lcrypt  =
-lpthread
margin-bottom: 0px; margin-left: 0px; min-height: 14px; ">
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; ">
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
min-height: 14px; ">
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">*** =
/usr/local/bin/perl -V
0px; margin-bottom: 0px; margin-left: 0px; ">Summary of my perl5 =
(revision 5 version 10 subversion 1)
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">configuration:
margin-bottom: 0px; margin-left: 0px; min-height: 14px; ">
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "> class=3D"Apple-converted-space"> Platform:
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "> class=3D"Apple-converted-space"> osname=3Dfreebsd, =
osvers=3D6.3-release, archname=3Di386-freebsd
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "> class=3D"Apple-converted-space"> uname=3D'freebsd =
animalhead.com 6.3-release freebsd 6.3-release #3: fri
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">jan
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">23 16:43:41 =
mst 2009 root@fc:usrsrcsysi386compilevkern i386 '
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "> class=3D"Apple-converted-space"> config_args=3D'-Dd_dosuid v>
margin-left: 0px; min-height: 14px; ">
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
min-height: 14px; ">
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">-Dotherlibdirs=3D/usr/local/lib/perl5/5.8.9:/usr/local/lib /perl5/5.8.8:/=
usr/local/lib/perl5/5.8.7
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">-Dvendorprefix=3D/usr/local -Dmydomain=3Danimalhead.com'
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "> class=3D"Apple-converted-space"> hint=3Drecommended, =
useposix=3Dtrue, d_sigaction=3Ddefine
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> useithreads=3Dundef, =
usemultiplicity=3Dundef
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> useperlio=3Ddefine, =
d_sfio=3Dundef, uselargefiles=3Ddefine, usesocks=3Dundef
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "> class=3D"Apple-converted-space"> use64bitint=3Dundef, =
use64bitall=3Dundef, uselongdouble=3Dundef
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> usemymalloc=3Dn, =
bincompat5005=3Dundef
0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> Compiler:
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "> class=3D"Apple-converted-space"> cc=3D'cc', ccflags =
=3D'-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">-fno-strict-aliasing -pipe -I/usr/local/include',
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "> class=3D"Apple-converted-space"> optimize=3D'-O',
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "> class=3D"Apple-converted-space"> cppflags=3D'-DHAS_FPSETMASK =
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">-pipe =
-I/usr/local/include'
0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> ccversion=3D'', =
gccversion=3D'3.4.6 [FreeBSD] 20060305', gccosandvers=3D''
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "> class=3D"Apple-converted-space"> intsize=3D4, longsize=3D4, =
ptrsize=3D4, doublesize=3D8, byteorder=3D1234
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "> class=3D"Apple-converted-space"> d_longlong=3Ddefine, =
longlongsize=3D8, d_longdbl=3Ddefine, longdblsize=3D12
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "> class=3D"Apple-converted-space"> ivtype=3D'long', ivsize=3D4, =
nvtype=3D'double', nvsize=3D8, Off_t=3D'off_t',
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">lseeksize=3D8
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> alignbytes=3D4, =
prototype=3Ddefine
0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> Linker and =
Libraries:
margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> ld=3D'cc', ldflags =
=3D'-Wl,-E  =
-L/usr/local/lib'
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> libpth=3D/usr/lib =
/usr/local/lib
margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> libs=3D-lgdbm -lm -lcrypt =
-lutil -lc
margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> perllibs=3D-lm -lcrypt =
-lutil -lc
margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> libc=3D, so=3Dso, =
useshrplib=3Dfalse, libperl=3Dlibperl.a
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> gnulibc_version=3D''
v style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "> class=3D"Apple-converted-space"> Dynamic Linking:
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "> class=3D"Apple-converted-space"> dlsrc=3Ddl_dlopen.xs, =
dlext=3Dso, d_dlsymun=3Dundef, ccdlflags=3D' '
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "> class=3D"Apple-converted-space"> cccdlflags=3D'-DPIC -fPIC', =
lddlflags=3D'-shared  =
-L/usr/local/lib'
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; ">
margin-bottom: 0px; margin-left: 0px; min-height: 14px; ">
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">Characteristics of this binary (from =
libperl):
margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> Compile-time options: =
PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space">           =
         
USE_LARGE_FILES =
USE_PERLIO
margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> Built under =
freebsd
margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> Compiled at Aug 29 2009 =
20:24:18
margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> %ENV:
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "> class=3D"Apple-converted-space"> PERL_LWP_USE_HTTP_10=3D"1" iv>
margin-left: 0px; "> class=3D"Apple-converted-space"> @INC:
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "> class=3D"Apple-converted-space"> /usr/local/lib/perl5/5.10.1/i=
386-freebsd
margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> /usr/local/lib/perl5/5.10.1 div>
0px; margin-left: 0px; "> class=3D"Apple-converted-space"> /usr/local/lib/perl5/site_per=
l/5.10.1/i386-freebsd
0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> /usr/local/lib/perl5/site_per=
l/5.10.1
margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> /usr/local/lib/perl5/site_per=
l/5.8.9
margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> /usr/local/lib/perl5/site_per=
l/5.8.8
margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> /usr/local/lib/perl5/site_per=
l/5.8.7
margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> /usr/local/lib/perl5/site_per=
l
0px; margin-left: 0px; "> class=3D"Apple-converted-space"> /usr/local/lib/perl5/vendor_p=
erl/5.10.1/i386-freebsd
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> /usr/local/lib/perl5/vendor_p=
erl/5.10.1
margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> /usr/local/lib/perl5/vendor_p=
erl/5.8.7
margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> /usr/local/lib/perl5/vendor_p=
erl
margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> /usr/local/lib/perl5/5.8.9/i3=
86-freebsd
margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> /usr/local/lib/perl5/5.8.9 iv>
margin-left: 0px; "> class=3D"Apple-converted-space"> /usr/local/lib/perl5/5.8.8/i3=
86-freebsd
margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> /usr/local/lib/perl5/5.8.8 iv>
margin-left: 0px; "> class=3D"Apple-converted-space"> /usr/local/lib/perl5/5.8.7/i3=
86-freebsd
margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> /usr/local/lib/perl5/5.8.7 iv>
margin-left: 0px; "> class=3D"Apple-converted-space"> .
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; ">
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">*** =
Packages of interest status:
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; ">
margin-bottom: 0px; margin-left: 0px; ">Apache2 class=3D"Apple-converted-space">          =
 
: -
margin-bottom: 0px; margin-left: 0px; ">Apache2::Request class=3D"Apple-converted-space">  : -
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">CGI  =
             
: 3.45
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">ExtUtils::MakeMaker: 6.48, 6.54, 6.55_02
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">LWP  =
             
: =
5.831
margin-bottom: 0px; margin-left: 0px; ">mod_perl class=3D"Apple-converted-space">          =
: -
margin-bottom: 0px; margin-left: 0px; ">mod_perl2 class=3D"Apple-converted-space">          =
: -
margin-bottom: 0px; margin-left: 0px; min-height: 14px; ">
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; ">
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">3. This =
is the core dump trace: (if you get a core dump):
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; ">
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> class=3D"Apple-converted-space"> [CORE TRACE COMES =
HERE]
margin-bottom: 0px; margin-left: 0px; min-height: 14px; ">
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">This report was generated by t/REPORT on Sun Aug 30 =
04:28:22 2009 GMT.
0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; =
">
margin-bottom: 0px; margin-left: 0px; ">-------------8<---------- End =
Bug Report --------------8<----------
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
min-height: 14px; ">
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; ">
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
min-height: 14px; ">
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
min-height: 14px; ">
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; ">
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
min-height: 14px; ">
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; ">
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
min-height: 14px; ">

=

--Apple-Mail-1-822054933--

Re: Fwd: Undefined symbol "Perl_pad_sv" building mp2

am 02.09.2009 15:21:09 von mpeters

craig@animalhead.com wrote:
>>
>> I have always included previous perl libraries in the @INC of
>> new builds. And it has always worked, with the single
>> exception of building mod_perl2 this time. All of the perl
>> scripts and modules on my site work well under the new 5.10.1.

Pure Perl modules should work between versions (they might have some new
warnings, but they should work), but anything with XS (C code) isn't guaranteed
to work across major versions. So when you've upgraded between say 5.8.2 and
5.8.7 you wouldn't need to re-install. But when upgrading from 5.8.X to 5.10.X
you will need to re-install.

>> Aside from the pain of re-downloading all kinds of modules
>> as they prove to be needed over the next year or so, I know
>> there are items in the 5.8.7 libraries from my Internet
>> Hosting Provider, that are needed to run software from the IHP.

If you need 5.8.7 libs that you can't re-compile against 5.10.1 then just stick
with 5.8.7.

>> I don't see a command to tell the mod_perl build process to
>> use a particular perl. If I say $perl_other Makefile.PL
>> in the modperl-2.x directory, does that do it?

Yes, the perl you use when you run the Makefile.PL is the one that's used in the
compilation of mod_perl.

--
Michael Peters
Plus Three, LP

Re: Undefined symbol "Perl_pad_sv" building mp2

am 02.09.2009 18:22:49 von Craig MacKenna

On Sep 2, 2009, at 6:21 AM, Michael Peters wrote:

> craig@animalhead.com wrote:
>>>
>>> I have always included previous perl libraries in the @INC of
>>> new builds. And it has always worked, with the single
>>> exception of building mod_perl2 this time. All of the perl
>>> scripts and modules on my site work well under the new 5.10.1.
>
> Pure Perl modules should work between versions (they might have
> some new warnings, but they should work), but anything with XS (C
> code) isn't guaranteed to work across major versions. So when
> you've upgraded between say 5.8.2 and 5.8.7 you wouldn't need to re-
> install. But when upgrading from 5.8.X to 5.10.X you will need to
> re-install.

If you aren't up to being rigorous, be lucky: everything (except
mod_perl build, see crossed email with "resolved" in title) works
for me so far. Hopefully most modules for which this would be an
issue are covered by upgrades, which get installed at the top
(5.10.1) level.

What does make problems is that CPAN sometimes deletes modules
in an earlier-version directory when installing a new module
in the current-version directory. This tends to break the
lower-level perl w/r/t module availability. So I copy the
earlier-version directories before an upgrade session, and
run a "sync" program thereafter.
>
>>> Aside from the pain of re-downloading all kinds of modules
>>> as they prove to be needed over the next year or so, I know
>>> there are items in the 5.8.7 libraries from my Internet
>>> Hosting Provider, that are needed to run software from the IHP.
>
> If you need 5.8.7 libs that you can't re-compile against 5.10.1
> then just stick with 5.8.7.
>
I had a case like that in the current transition: my IHP's CGI
control panel works under 5.8.9 but logs taint warnings under
5.10.1. So I just ran a script that changed all of its bang
lines to 5.8.9. Sometimes one has to admit that life is too
short to tilt with every problem.

>>> I don't see a command to tell the mod_perl build process to
>>> use a particular perl. If I say $perl_other Makefile.PL
>>> in the modperl-2.x directory, does that do it?
>
> Yes, the perl you use when you run the Makefile.PL is the one
> that's used in the compilation of mod_perl.
>
Thank you for this valuable information! It should be in the
mod-perl documentation. (Bet it's not in there now, I looked
pretty hard.) Hope someone who can do that reads this suggestion.
> --
> Michael Peters
> Plus Three, LP