-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:

1.1 attempting to static-build mod_perl 2.0.4 and apache 2.2.10, is the following
    warning right at the end of the Makefile.PL output worrisome?

    [warning] mod_perl static library will be built as mod_perl.a

1.2 errors in make, after about 37 cc's have succeeded:
------------------------------------------------------------------------ ------- cc -I/build/mod_perl-2.0.4/src/modules/perl -I/build/mod_perl-2.0.4/ xs -I/build/httpd-2.2.10/include -I/build/httpd-2.2.10/srclib/apr/ include -I/build/httpd-2.2.10/srclib/apr-util/include -I/build/ httpd-2.2.10/os/unix -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H - DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement - I/usr/local/include -I/usr/local/lib/perl5/5.8.8/i386-freebsd/CORE - DMOD_PERL -DMP_COMPAT_1X -DMP_DEBUG -DMP_TRACE -g -c modperl_exports.c modperl_exports.c:1169: error: `modperl_thx_interp_get' undeclared here (not in a function) modperl_exports.c:1173: error: `modperl_thx_interp_set' undeclared here (not in a function)
*** Error code 1

Stop in /build/mod_perl-2.0.4/src/modules/perl.
*** Error code 1

Stop in /build/mod_perl-2.0.4.
------------------------------------------------------------------------ ------

1.3 is --enable-debug still valid as an Apache 2.2.10 configure option, or must this be --enable-maintainer-mode instead? Compiling some of the ssl stuff (last night before venturing into mod-perl) made warnings about prototypes...

NOTE: the contents of the shell script used to initiate Makefile.PL are
attached right before the "end bug report" line the near the end.


2. Used Components and their Configuration:

*** mod_perl version 2.000004

*** using /build/mod_perl-2.0.4/lib/Apache2/BuildConfig.pm

*** Makefile.PL options:
  MP_APR_LIB      => aprext
MP_AP_CONFIGURE => --prefix=/usr/local/apache2.2.10 --with- mpm=prefork --with-included-apr --with-ssl=/usr/local/ssl --enable- debug --enable-exception-hook --enable-mods-shared='all authn_alias cache disk_cache mem_cache charset_lite dav_lock ext_filter logio proxy proxy_connect proxy_ftp proxy_http proxy_ajp proxy_balancer' -- enable-authn_file=static --enable-authn_default=static --enable- authz_host=static --enable-authz_groupfile=static --enable- authz_user=static --enable-authz_default=static --enable- auth_basic=static --enable-include=static --enable-filter=static -- enable-log_config=static --enable-env=static --enable-expires=static --enable-setenvif=static --enable-mime=static --enable-status=static --enable-autoindex=static --enable-asis=static --enable-cgi=static -- enable-negotiation=static --enable-dir=static --enable-alias=static -- enable-actions=static --enable-deflate=static --enable-expires=static --enable-file_cache=static --enable-ssl=static --enable-suexec=static --with-suexec-uidmin=80 --with-suexec-gidmin=80 --with-suexec- caller=www --with-suexec-userdir=www/cgi-bin --with-suexec-docroot='/ home' --with-pcre=/usr/local/bin/pcre-config CFLAGS='-DVERIO - DVERIO_VPS' LDFLAGS='-L/usr/local/lib'
  MP_AP_DESTDIR   => /usr/local/apache2.2.10
  MP_AP_PREFIX    => /build/httpd-2.2.10
  MP_COMPAT_1X    => 1
  MP_DEBUG        => 1
  MP_GENERATE_XS  => 1
  MP_LIBNAME      => mod_perl
  MP_TRACE        => 1
  MP_USE_STATIC   => 1


*** The httpd binary was not found


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

-L/build/httpd-2.2.10/srclib/apr-util/.libs
-L/build/httpd-2.2.10/srclib/apr-util -laprutil-1 -lexpat -L/usr/ local/lib
-L/build/httpd-2.2.10/srclib/apr/.libs
 -L/build/httpd-2.2.10/srclib/apr -lapr-1 -lcrypt  -lpthread



*** /usr/local/bin/perl5.8.8 -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
  Platform:
    osname=freebsd, osvers=6.3-release, archname=i386-freebsd
uname='freebsd sakomina.securesites.net 6.3-release freebsd 6.3- release #2: wed jun 25 14:30:46 mdt 2008 [EMAIL PROTECTED]:usrsrcsysi386compilevkern i386 '
    config_args='-Doptimize=-g -Dusedevel'
    hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef 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 - DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement - I/usr/local/include',
    optimize='-g',
cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING -fno- strict-aliasing -pipe -Wdeclaration-after-statement -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: DEBUGGING PERL_MALLOC_WRAP USE_LARGE_FILES
                        USE_PERLIO
  Built under freebsd
  Compiled at Nov  9 2008 02:19:52
  %ENV:
    PERL_LWP_USE_HTTP_10="1"
  @INC:
    /usr/local/lib/perl5/5.8.8/i386-freebsd
    /usr/local/lib/perl5/5.8.8
    /usr/local/lib/perl5/site_perl/5.8.8/i386-freebsd
    /usr/local/lib/perl5/site_perl/5.8.8
    /usr/local/lib/perl5/site_perl
    /usr/local/lib/perl5/vendor_perl/5.8.7/i386-freebsd
    /usr/local/lib/perl5/vendor_perl/5.8.7
    /usr/local/lib/perl5/vendor_perl/5.8.7/i386-freebsd
    .

*** Packages of interest status:

Apache2            : -
Apache2::Request   : 2.07
CGI                : 3.15
ExtUtils::MakeMaker: 6.30
LWP                : 5.820
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 Thu Nov 13 04:49:57 2008 GMT.

-------------- shell script used to run Makefile.PL ---------------

#! /bin/sh
#
# Originally created by configure BUT MUCH EDITED!

# in final version add --build=(other than i386)

CFLAGS="-DVERIO -DVERIO_VPS"; export CFLAGS
LDFLAGS="-L/usr/local/lib"; export LDFLAGS
perl Makefile.PL MP_USE_STATIC=1 MP_DEBUG=1 \
MP_AP_PREFIX=/build/httpd-2.2.10 MP_AP_DESTDIR=/usr/local/ apache2.2.10 \ MP_AP_CONFIGURE="--prefix=/usr/local/apache2.2.10 --with- mpm=prefork --with-included-apr --with-ssl=/usr/local/ssl \
--enable-debug --enable-exception-hook \
--enable-mods-shared='all authn_alias cache disk_cache mem_cache charset_lite dav_lock ext_filter logio proxy proxy_connect proxy_ftp proxy_http proxy_ajp proxy_balancer' \ --enable-authn_file=static --enable-authn_default=static --enable- authz_host=static --enable-authz_groupfile=static --enable- authz_user=static \ --enable-authz_default=static --enable-auth_basic=static --enable- include=static --enable-filter=static --enable-log_config=static \ --enable-env=static --enable-expires=static --enable-setenvif=static --enable-mime=static --enable-status=static --enable-autoindex=static \ --enable-asis=static --enable-cgi=static --enable-negotiation=static --enable-dir=static --enable-alias=static --enable-actions=static \ --enable-deflate=static --enable-expires=static --enable- file_cache=static --enable-ssl=static --enable-suexec=static \ --with-suexec-uidmin=80 --with-suexec-gidmin=80 --with-suexec- caller=www --with-suexec-userdir=www/cgi-bin --with-suexec-docroot='/ home' \
--with-pcre=/usr/local/bin/pcre-config \
CFLAGS='-DVERIO -DVERIO_VPS' \
LDFLAGS='-L/usr/local/lib'" \
| tee configure.output


-------------8<---------- End Bug Report --------------8<----------

Note: Complete the rest of the details and post this bug report to
modperl <at> perl.apache.org. To subscribe to the list send an empty
email to [EMAIL PROTECTED]

Reply via email to