perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snowcrash+modperl <schneecrash+modp...@gmail.com>
Subject modperl2/svn make error @ "mpxs_Apache2__RequestRec_location_merge"
Date Thu, 17 Jul 2008 01:48:36 GMT
i've been running with a build of modperl/trunk, r635647.

i just co'd current modperl/trunk, r677481.

a new build with,

	perl Makefile.PL MP_GENERATE_XS=1
MP_APXS=/usr/local/apache2/sbin/apxs MP_USE_DSO
		Reading Makefile.PL args from @ARGV
		   MP_APXS = /usr/local/apache2/sbin/apxs
		   MP_USE_DSO =
		no conflicting prior mod_perl version found - good.
		Configuring Apache/2.3.0-dev mod_perl/2.0.5-dev Perl/v5.10.0
		...
	make

fails @
	
	chmod 755 ../../../blib/arch/auto/Apache2/RequestRec/RequestRec.bundle
	cp RequestRec.bs ../../../blib/arch/auto/Apache2/RequestRec/RequestRec.bs
	chmod 644 ../../../blib/arch/auto/Apache2/RequestRec/RequestRec.bs
	cp RequestUtil.pm ../../../blib/lib/Apache2/RequestUtil.pm
	/usr/local/perl5/bin/perl
/usr/local/lib/perl5/privlib/ExtUtils/xsubpp  -typemap
/usr/local/lib/perl5/privlib/ExtUtils/typemap -typemap
/Volumes/build/modperl2/xs/typemap  RequestUtil.xs > RequestUtil.xsc
&& mv RequestUtil.xsc RequestUtil.c
	cc -c  -I/Volumes/build/modperl2/src/modules/perl
-I/Volumes/build/modperl2/xs -I/usr/local/apache2/include
-I/usr/local/apache2/include -I/usr/local/db47/include
-I/usr/local/include -I/usr/local/apache2/include -fno-common
-DPERL_DARWIN -fno-strict-aliasing -pipe -I/usr/local/db47/include
-I/usr/local/include -DMOD_PERL -DMP_COMPAT_1X -DDARWIN
-DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp  -O3
-DVERSION=\"2.000005\" -DXS_VERSION=\"2.000005\"
"-I/usr/local/lib/perl5/privlib/darwin-thread-multi-2level/CORE"
-DMP_HAVE_APR_LIBS RequestUtil.c
	In file included from
/usr/local/lib/perl5/privlib/darwin-thread-multi-2level/CORE/perl.h:2382,
					 from /Volumes/build/modperl2/src/modules/perl/modperl_perl_includes.h:65,
					 from /Volumes/build/modperl2/src/modules/perl/modperl_common_includes.h:24,
					 from /Volumes/build/modperl2/src/modules/perl/mod_perl.h:21,
					 from RequestUtil.xs:18:
	/usr/local/lib/perl5/privlib/darwin-thread-multi-2level/CORE/handy.h:85:1:
warning: "bool" redefined
	In file included from /usr/include/mach-o/dyld.h:29,
					 from /usr/local/apache2/include/apr_portable.h:166,
					 from /usr/local/apache2/include/http_protocol.h:31,
					 from /Volumes/build/modperl2/src/modules/perl/modperl_apache_includes.h:30,
					 from /Volumes/build/modperl2/src/modules/perl/mod_perl.h:20,
					 from RequestUtil.xs:18:
	/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/stdbool.h:36:1:
warning: this is the location of the previous definition
	In file included from RequestUtil.xs:26:
	/Volumes/build/modperl2/xs/Apache2/RequestUtil/Apache2__RequestUtil.h:
In function 'mpxs_Apache2__RequestRec_location_merge':
	/Volumes/build/modperl2/xs/Apache2/RequestUtil/Apache2__RequestUtil.h:157:
error: 'core_dir_config' has no member named 'ap_auth_type'
	/Volumes/build/modperl2/xs/Apache2/RequestUtil/Apache2__RequestUtil.h:158:
error: 'core_dir_config' has no member named 'ap_auth_type'
	/Volumes/build/modperl2/xs/Apache2/RequestUtil/Apache2__RequestUtil.h:160:
error: 'core_dir_config' has no member named 'ap_auth_name'
	/Volumes/build/modperl2/xs/Apache2/RequestUtil/Apache2__RequestUtil.h:161:
error: 'core_dir_config' has no member named 'ap_auth_name'
	make[3]: *** [RequestUtil.o] Error 1
	make[2]: *** [subdirs] Error 2
	make[1]: *** [subdirs] Error 2
	make: *** [subdirs] Error 2


per instructions, output of

perl build/config.pl
*** mod_perl version 2.000005

*** using /Volumes/build/modperl2/lib/Apache2/BuildConfig.pm

*** Makefile.PL options:
  MP_APR_LIB     => aprext
  MP_APXS        => /usr/local/apache2/sbin/apxs
  MP_COMPAT_1X   => 1
  MP_GENERATE_XS => 1
  MP_LIBNAME     => mod_perl
  MP_USE_DSO     => 1


*** The httpd binary was not found

{ DON'T KNOW WHY THIS IS 'NOT FOUND' ...
 which httpd
  /usr/local/apache2/sbin/httpd
  httpd -V
	Server version: Apache/2.3.0-dev (Unix)
	Server built:   Jul 14 2008 17:33:16
	Server's Module Magic Number: 20080528:1
	Server loaded:  APR 1.3.2, APR-UTIL 1.3.2
	Compiled using: APR 1.3.2, APR-UTIL 1.3.2
	Architecture:   32-bit
	Server MPM:     Worker
	  threaded:     yes (fixed thread count)
		forked:     yes (variable process count)
	Server compiled with....
	 -D APACHE_MPM_DIR="server/mpm/worker"
	 -D APR_HAS_SENDFILE
	 -D APR_HAS_MMAP
	 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
	 -D APR_USE_SYSVSEM_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_SCOREBOARD="logs/apache_runtime_status"
	 -D DEFAULT_ERRORLOG="logs/error_log"
	 -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
	 -D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"
}

*** (apr|apu)-config linking info

 -L/usr/local/apache2/lib -laprutil  -ldb-4.7 -lexpat -liconv
-L/usr/local/db47/lib -L/usr/local/lib
 -L/usr/local/apache2/lib -lapr -lpthread



*** /usr/local/perl5/bin/perl -V
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
  Platform:
    osname=darwin, osvers=9.4.0, archname=darwin-thread-multi-2level
    uname='darwin tiedgar.mydomain.net 9.4.0 darwin kernel version
9.4.0: mon jun 9 19:36:17 pdt 2008; root:xnu-1228.5.20~1release_ppc
power macintosh '
    config_args='-Dfirstmakefile=GNUmakefile -Dprefix=/usr/local/perl5
-Dperladmin=postmaster@mydomain.com -Dcf_email=postmaster@mydomain.com
-Dloclibpth=/usr/local/db47/lib /usr/local/lib /usr/lib
-Dlocincpth=/usr/local/db47/include /usr/local/include /usr/include
-Dldflags=-L/usr/local/db47/lib -L/usr/local/lib -L/usr/lib
-Dperllibs=-ldb -lc -lm -ldl -Dlibs=-ldb -lc -lm -ldl
-Dprivlib=/usr/local/lib/perl5/privlib
-Darchlib=/usr/local/lib/perl5/privlib/darwin-thread-multi-2level
-Dsitelib=/usr/local/lib/perl5/sitelib
-Dsitearch=/usr/local/lib/perl5/sitelib/darwin-thread-multi-2level
-Dvendorlib=/usr/local/lib/perl5/vendorlib
-Dvendorarch=/usr/local/lib/perl5/vendorlib/darwin-thread-multi-2level
-Dvendorbin=/usr/local/lib/perl5/bin
-Dvendorprefix=/usr/local/lib/perl5
-Dhtml1dir=/usr/local/share/html/Perl
-Dhtml3dir=/usr/local/share/html/Perl
-Dsitehtml1=/usr/local/share/html/Perl
-Dsitehtml3=/usr/local/share/html/Perl
-Dvendorhtml1=/usr/local/share/html/Perl
-Dvendorhtml3=/usr/local/share/html/Perl
-Dman1dir=/usr/local/share/man/man1
-Dman3dir=/usr/local/share/man/man3
-Dsiteman1dir=/usr/local/share/man/man1
-Dsiteman3dir=/usr/local/share/man/man3 -Dman1ext=1 -Dman3ext=3
-Dinstallusrbinperl -Duseshrplib -Duseperlio -Duseithreads
-Dd_union_semun'
    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 ='-fno-common -DPERL_DARWIN -fno-strict-aliasing
-pipe -I/usr/local/db47/include -I/usr/local/include',
    optimize='-O3',
    cppflags='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe
-I/usr/local/db47/include -I/usr/local/include'
    ccversion='', gccversion='4.2.1 (Apple Inc. build 5531)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='env MACOSX_DEPLOYMENT_TARGET=10.5 cc', ldflags
='-L/usr/local/db47/lib -L/usr/local/lib -L/usr/lib'
    libpth=/usr/local/db47/lib /usr/local/lib /usr/lib
    libs=-ldb -lc -lm -ldl
    perllibs=-lc -lm -ldl
    libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, libperl=libperl.dylib
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-L/usr/local/db47/lib -L/usr/local/lib
-L/usr/lib -bundle -undefined dynamic_lookup'


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 darwin
  Compiled at Jul 11 2008 08:24:53
  %ENV:
    PERL_LWP_USE_HTTP_10="1"
    PERL_MM_OPT="INSTALLPRIVLIB=/usr/local/lib/perl5/privlib
INSTALLSITELIB=/usr/local/lib/perl5/sitelib
INSTALLVENDORLIB=/usr/local/lib/perl5/vendorlib
INSTALLARCHLIB=/usr/local/lib/perl5/privlib/darwin-thread-multi-2level
INSTALLSITEARCH=/usr/local/lib/perl5/sitelib/darwin-thread-multi-2level
INSTALLVENDORARCH=/usr/local/lib/perl5/vendorlib/darwin-thread-multi-2level
INSTALLMAN1DIR=/usr/local/share/man/man1
INSTALLMAN3DIR=/usr/local/share/man/man3
INSTALLSITEMAN1DIR=/usr/local/share/man/man1
INSTALLSITEMAN3DIR=/usr/local/share/man/man3
INSTALLVENDORMAN1DIR=/usr/local/share/man/man1
INSTALLVENDORMAN3DIR=/usr/local/share/man/man3
INST_MAN1DIR=/usr/local/share/man/man1
INST_MAN3DIR=/usr/local/share/man/man3"
  @INC:
    /usr/local/lib/perl5/privlib/darwin-thread-multi-2level
    /usr/local/lib/perl5/privlib
    /usr/local/lib/perl5/sitelib/darwin-thread-multi-2level
    /usr/local/lib/perl5/sitelib
    /usr/local/lib/perl5/vendorlib/darwin-thread-multi-2level
    /usr/local/lib/perl5/vendorlib
    /usr/local/lib/perl5/vendorlib
    .

haven't yet found any relevant posts/bugs ...

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


Mime
View raw message