Just tried to build perl 2.0.3 via custombuild packages and here's what we are getting:
Below is system information:
Main error on compile seems to be:
error: 'XPVMG' has no member named 'xmg_magic'
No idea what that means. Not much of a result in googling the error. Anyone had trouble building this? Maybe this is AMD CPU related?
Any response from DA?
Code:
athena:/usr/local/directadmin/customapache# ./build mod_perl_ap2
cat: /etc/redhat-release: No such file or directory
cat: /etc/redhat-release: No such file or directory
Found /usr/local/directadmin/customapache/mod_perl-2.0-current.tar.gz
Extracting ...
Done.
Nuking previous mod_perl install (or configure will fail)...
Configuring mod_perl-2.0.3...
************* WARNING *************
Your Perl is configured to link against libgdbm,
but libgdbm.so was not found.
You could just symlink it to /usr/lib/libgdbm.so.3.0.0
************* WARNING *************
Reading Makefile.PL args from @ARGV
MP_APXS = /usr/sbin/apxs
MP_APR_CONFIG = /usr/bin/apr-1-config
MP_APU_CONFIG = /usr/bin/apu-1-config
no conflicting prior mod_perl version found - good.
Configuring Apache/2.0.63 mod_perl/2.0.3 Perl/v5.10.0
Writing Makefile for Apache::Test
Checking for File::Spec...ok
Checking for Cwd...ok
[ info] generating script t/TEST
[ info] generating script ./t/cgi-bin/cookies.pl
[ info] generating script ./t/cgi-bin/next_available_port.pl
[ info] generating script t/TEST
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.
Done. Making mod_perl-2.0.3...
Trying to make mod_perl-2.0...
cd "src/modules/perl" && make
make[1]: Entering directory `/usr/local/directadmin/customapache/mod_perl-2.0.3/src/modules/perl'
cc -I/usr/local/directadmin/customapache/mod_perl-2.0.3/src/modules/perl -I/usr/local/directadmin/customapache/mod_perl-2.0.3/xs -I/usr/include/apache -I/usr/include/apache -I/usr/include/apache -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/lib/perl/5.10/CORE -DMOD_PERL -DMP_COMPAT_1X -DLINUX=2 -DAP_HAVE_DESIGNATED_INITIALIZER -O2 -g -fPIC \
-c mod_perl.c && mv mod_perl.o mod_perl.lo
cc -I/usr/local/directadmin/customapache/mod_perl-2.0.3/src/modules/perl -I/usr/local/directadmin/customapache/mod_perl-2.0.3/xs -I/usr/include/apache -I/usr/include/apache -I/usr/include/apache -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/lib/perl/5.10/CORE -DMOD_PERL -DMP_COMPAT_1X -DLINUX=2 -DAP_HAVE_DESIGNATED_INITIALIZER -O2 -g -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: 'XPVMG' has no member named 'xmg_magic'
modperl_interp.c: In function 'modperl_interp_select':
modperl_interp.c:509: error: 'XPVMG' has no member named 'xmg_magic'
make[1]: *** [modperl_interp.lo] Error 1
make[1]: Leaving directory `/usr/local/directadmin/customapache/mod_perl-2.0.3/src/modules/perl'
make: *** [modperl_lib] Error 2
*** The make has failed, do you want to try to make again? (y,n):
Below is system information:
Code:
athena:/usr/local/directadmin/customapache# uname -a
Linux athena.xx.yy 2.6.12-1-k7-smp #1 SMP Tue Sep 27 13:37:32 JST 2005 i686 GNU/Linux
athena:/usr/local/directadmin/customapache# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 5.0.6 (lenny)
Release: 5.0.6
Codename: lenny
athena:/usr/local/directadmin/customapache# cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 43
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
stepping : 1
cpu MHz : 2010.220
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni lahf_lm cmp_legacy
bogomips : 3981.31
processor : 1
vendor_id : AuthenticAMD
cpu family : 15
model : 43
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
stepping : 1
cpu MHz : 2010.220
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni lahf_lm cmp_legacy
bogomips : 4014.08
Main error on compile seems to be:
error: 'XPVMG' has no member named 'xmg_magic'
No idea what that means. Not much of a result in googling the error. Anyone had trouble building this? Maybe this is AMD CPU related?
Any response from DA?
Last edited: