-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm in the process of updating all my packages for perl; however,
mod_perl 2.0.3 fails as follows:
+ cd mod_perl-2.0.3
+ LANG=C
+ export LANG
+ unset DISPLAY
+ CFLAGS=-O2 -g -pipe -march=i386 -mcpu=i686
+ /usr/bin/perl Makefile.PL
PREFIX=/var/tmp/mod_perl-2.0.3-1-root-root/usr INSTALLDIRS=vendor
MP_APXS=/usr/sbin/apxs
Reading Makefile.PL args from @ARGV
~ MP_APXS = /usr/sbin/apxs
no conflicting prior mod_perl version found - good.
Configuring Apache/2.0.61 mod_perl/2.0.3 Perl/v5.10.0
Checking if your kit is complete...
Looks good
[ info] generating script t/TEST
[ info] generating script ./t/cgi-bin/cookies.pl
[ info] generating script ./t/cgi-bin/next_available_port.pl
Writing Makefile for Apache::Test
Checking for File::Spec...ok
Checking for Cwd...ok
[ info] generating script t/TEST
Checking if your kit is complete...
Looks good
Writing Makefile for ModPerl::Registry
Writing Makefile for APR::Base64
Writing Makefile for APR::Brigade
Writing Makefile for APR::Bucket
Writing Makefile for APR::BucketAlloc
Writing Makefile for APR::BucketType
Writing Makefile for APR::Date
Writing Makefile for APR::Error
Writing Makefile for APR::Finfo
Writing Makefile for APR::IpSubnet
Writing Makefile for APR::OS
Writing Makefile for APR::Pool
Writing Makefile for APR::SockAddr
Writing Makefile for APR::Socket
Writing Makefile for APR::Status
Writing Makefile for APR::String
Writing Makefile for APR::Table
Writing Makefile for APR::ThreadMutex
Writing Makefile for APR::URI
Writing Makefile for APR::UUID
Writing Makefile for APR::Util
Writing Makefile for APR
Writing Makefile for Apache2::Access
Writing Makefile for Apache2::CmdParms
Writing Makefile for Apache2::Command
Writing Makefile for Apache2::Connection
Writing Makefile for Apache2::ConnectionUtil
Writing Makefile for Apache2::Directive
Writing Makefile for Apache2::Filter
Writing Makefile for Apache2::FilterRec
Writing Makefile for Apache2::HookRun
Writing Makefile for Apache2::Log
Writing Makefile for Apache2::MPM
Writing Makefile for Apache2::Module
Writing Makefile for Apache2::Process
Writing Makefile for Apache2::RequestIO
Writing Makefile for Apache2::RequestRec
Writing Makefile for Apache2::RequestUtil
Writing Makefile for Apache2::Response
Writing Makefile for Apache2::ServerRec
Writing Makefile for Apache2::ServerUtil
Writing Makefile for Apache2::SubProcess
Writing Makefile for Apache2::SubRequest
Writing Makefile for Apache2::URI
Writing Makefile for Apache2::Util
Writing Makefile for Apache2
Writing Makefile for ModPerl::Global
Writing Makefile for ModPerl::Util
Writing Makefile for ModPerl
Writing Makefile for ModPerl::WrapXS
Writing Makefile for APR
Writing Makefile for APR::Const
Writing Makefile for APR::PerlIO
Writing Makefile for libaprext
Writing Makefile for APR_build
Writing Makefile for Apache2::Const
Writing Makefile for Apache2_build
Writing Makefile for ModPerl::Const
Writing Makefile for ModPerl
Writing Makefile for ModPerl::XS
Writing Makefile for mod_perl2
[warning] mod_perl dso library will be built as mod_perl.so
[warning] You'll need to add the following to httpd.conf:
[warning]
[warning] LoadModule perl_module modules/mod_perl.so
[warning]
[warning] depending on your build, mod_perl might not live in
[warning] the modules/ directory.
[warning] Check the results of
[warning]
[warning] $ /usr/sbin/apxs -q LIBEXECDIR
[warning]
[warning] and adjust the LoadModule directive accordingly.
+ make 'OPTIMIZE=-O2 -g -pipe -march=i386 -mcpu=i686'
cd "src/modules/perl" && make
make[1]: Entering directory
`/usr/src/redhat/BUILD/mod_perl-2.0.3/src/modules/perl'
gcc -I/usr/src/redhat/BUILD/mod_perl-2.0.3/src/modules/perl
-I/usr/src/redhat/BUILD/mod_perl-2.0.3/xs -I/usr/include/apr-0
-I/usr/include/apr-0 -I/usr/include/httpd -D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/local/include -I/usr/include/gdbm
-I/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE -DMOD_PERL
-DMP_COMPAT_1X -DLINUX=2 -DAP_HAVE_DESIGNATED_INITIALIZER -O2 -g -pipe
-march=i386 -mcpu=i686 -fPIC \
~ -c mod_perl.c && mv mod_perl.o mod_perl.lo
gcc -I/usr/src/redhat/BUILD/mod_perl-2.0.3/src/modules/perl
-I/usr/src/redhat/BUILD/mod_perl-2.0.3/xs -I/usr/include/apr-0
-I/usr/include/apr-0 -I/usr/include/httpd -D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/local/include -I/usr/include/gdbm
-I/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE -DMOD_PERL
-DMP_COMPAT_1X -DLINUX=2 -DAP_HAVE_DESIGNATED_INITIALIZER -O2 -g -pipe
-march=i386 -mcpu=i686 -fPIC \
~ -c modperl_interp.c && mv modperl_interp.o modperl_interp.lo
modperl_interp.c: In function `modperl_interp_unselect':
modperl_interp.c:294: error: structure has no member named `xmg_magic'
modperl_interp.c: In function `modperl_interp_select':
modperl_interp.c:509: error: structure has no member named `xmg_magic'
make[1]: *** [modperl_interp.lo] Error 1
make[1]: Leaving directory
`/usr/src/redhat/BUILD/mod_perl-2.0.3/src/modules/perl'
make: *** [modperl_lib] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.83996 (%build)
===========
any idea on how to fix this or what I'm doing wrong???
Thanks
James Kosin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHfqUekNLDmnu1kSkRAlvnAJ9thUU8GgRrA533f0+ywrnrtvj/RQCeJkN8
/m9Qd8exVaBl3VEA6lG8uMw=
=4d4+
-----END PGP SIGNATURE-----
--
Scanned by ClamAV - http://www.clamav.net