You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "J. W. Ballantine" <jw...@homer.att.com> on 2002/08/14 17:33:37 UTC
Another mod_perl-1.99_04 compile failure
After applying the patch Kyoichi sent, mod_perl.c compiled fine and the make
continued until:
cd "src/modules/perl" && make -f Makefile.modperl
cc -c -I/a4/WWW/APACHE2/mod_perl-1.99_04/src/modules/perl
-I/a4/WWW/APACHE2/mod_perl-1.99_04/xs -I/a3/APACHE/Apache2/include
-I/usr/local/include -DMOD_PERL -O -DVERSION=\"0.01\"
-DXS_VERSION=\"0.01\" -KPIC -I/usr/add-on/perl-5.6.0/lib/5.6.0/sun4-solaris/COR
E Table.c
"/usr/add-on/perl-5.6.0/lib/5.6.0/sun4-solaris/CORE/perl.h", line 23:
warning: macro redefined: VOIDUSED
"/a4/WWW/APACHE2/mod_perl-1.99_04/xs/APR/Table/APR__Table.h", line 73:
undefined struct/union member: a
"/a4/WWW/APACHE2/mod_perl-1.99_04/xs/APR/Table/APR__Table.h", line 73:
non-unique member requires struct/union object: pool
"/a4/WWW/APACHE2/mod_perl-1.99_04/xs/APR/Table/APR__Table.h", line 73:
warning: left operand of "." must be struct/union object
"/a4/WWW/APACHE2/mod_perl-1.99_04/xs/APR/Table/APR__Table.h", line 73:
cannot access member of non-struct/union object
cc: acomp failed for Table.c
*** Error code 2
make: Fatal error: Command failed for target `Table.o'
Current working directory /a4/WWW/APACHE2/mod_perl-1.99_04/WrapXS/APR/Table
*** Error code 1
make: Fatal error: Command failed for target `subdirs'
Current working directory /a4/WWW/APACHE2/mod_perl-1.99_04/WrapXS/APR
*** Error code 1
make: Fatal error: Command failed for target `subdirs'
Current working directory /a4/WWW/APACHE2/mod_perl-1.99_04/WrapXS
*** Error code 1
make: Fatal error: Command failed for target `subdirs'
t/REPORT follows. Does anyone have and pointers or suggestions??
Also, is my setup strange, or is finding this problems usual?
Thanks
Jim Ballantine
-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:
[DESCRIBE THE PROBLEM HERE]
2. Used Components and their Configuration:
*** using lib/Apache/BuildConfig.pm
*** Makefile.PL options:
MP_AP_PREFIX => /a3/APACHE/Apache2
MP_GENERATE_XS => 1
MP_INST_APACHE2 => 1
MP_LIBNAME => mod_perl
MP_USE_STATIC => 1
*** /a3/APACHE/Apache2/bin/httpd -V
Server version: Apache/2.0.40
Server built: Aug 12 2002 15:12:21
Server's Module Magic Number: 20020628:0
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_MMAP
-D APR_USE_PROC_PTHREAD_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/a3/APACHE/Apache2"
-D SUEXEC_BIN="/a3/APACHE/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/add-on/perl-5.6.0/bin/perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
Platform:
osname=solaris, osvers=2.6, archname=sun4-solaris
uname='sunos hera 5.6 generic_105181-17 sun4u sparc
> > sunw,ultra-enterprise '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define
use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=und
ef
Compiler:
cc='cc', optimize='-O', gccversion=
cppflags='-I/usr/local/include'
ccflags ='-I/usr/local/include -D_LARGEFILE_SOURCE
> > -D_FILE_OFFSET_BITS=64'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
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, usemymalloc=y, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib '
libpth=/usr/local/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldb -ldl -lm -lc -lcrypt -lsec
libc=/usr/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-KPIC', lddlflags='-G -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under solaris
Compiled at Apr 19 2000 09:57:26
%ENV:
PERL_LWP_USE_HTTP_10="1"
@INC:
/usr/add-on/perl-5.6.0/lib/5.6.0/sun4-solaris
/usr/add-on/perl-5.6.0/lib/5.6.0
/usr/add-on/perl-5.6.0/lib/site_perl/5.6.0/sun4-solaris
/usr/add-on/perl-5.6.0/lib/site_perl/5.6.0
/usr/add-on/perl-5.6.0/lib/site_perl
.
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 Tue Aug 13 17:56:51 2002 GMT.
-------------8<---------- End Bug Report --------------8<----------
Re: Another mod_perl-1.99_04 compile failure
Posted by Kyoichi Ozaki <k...@k10i.org>.
hi j.w.,
using mod_perl-1.99_05-dev might help.
> After applying the patch Kyoichi sent, mod_perl.c compiled fine and the make
> continued until:
--
Kyoichi Ozaki <k...@k10i.org>
Re: Another mod_perl-1.99_04 compile failure
Posted by Stas Bekman <st...@stason.org>.
J. W. Ballantine wrote:
> After applying the patch Kyoichi sent, mod_perl.c compiled fine and the make
> continued until:
>
> cd "src/modules/perl" && make -f Makefile.modperl
> cc -c -I/a4/WWW/APACHE2/mod_perl-1.99_04/src/modules/perl
> -I/a4/WWW/APACHE2/mod_perl-1.99_04/xs -I/a3/APACHE/Apache2/include
> -I/usr/local/include -DMOD_PERL -O -DVERSION=\"0.01\"
> -DXS_VERSION=\"0.01\" -KPIC -I/usr/add-on/perl-5.6.0/lib/5.6.0/sun4-solaris/COR
> E Table.c
> "/usr/add-on/perl-5.6.0/lib/5.6.0/sun4-solaris/CORE/perl.h", line 23:
> warning: macro redefined: VOIDUSED
> "/a4/WWW/APACHE2/mod_perl-1.99_04/xs/APR/Table/APR__Table.h", line 73:
> undefined struct/union member: a
> "/a4/WWW/APACHE2/mod_perl-1.99_04/xs/APR/Table/APR__Table.h", line 73:
> non-unique member requires struct/union object: pool
> "/a4/WWW/APACHE2/mod_perl-1.99_04/xs/APR/Table/APR__Table.h", line 73:
> warning: left operand of "." must be struct/union object
> "/a4/WWW/APACHE2/mod_perl-1.99_04/xs/APR/Table/APR__Table.h", line 73:
> cannot access member of non-struct/union object
Apache has changed its API again. The cvs version solves this problem.
Remember that mod_perl 1.99_04 works with Apache 2.0.39. If you take a
newer Apache 2.0.40 or Apache cvs, you must either wait for 1.99_05 to
be released, or use the mod_perl cvs.
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com