Re: [mp2] build (make) error and 2 questions
[EMAIL PROTECTED] wrote: Philip: but I liked the idea of a static build? Not just for operational performance, but for startup performance and perhaps for some possible better integration of the symbol tables for debugging? Are you saying that the 1.2 error cannot be worked around, and I should just give up on the static build idea? Like I had to on perl SSI's (
Re: [mp2] build (make) error and 2 questions
please see below On Nov 12, 2008, at 10:07 PM, Philip M. Gollucci wrote: Fred Moyer wrote: On Wed, Nov 12, 2008 at 9:30 PM, <[EMAIL PROTECTED]> wrote: -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 Not worrisome, mod_perl just did not build. Can you build as a shared object rather than compiling it into Apache statically? perl Makefile.PL MP_APXS=/path/to/my/httpd2/bin/apxs Static hasn't worked for a long time in 2.x though it is on the infinite list; however, the performance reasons for doing it statically are not really an issue in 2.x -- -- -- Philip M. Gollucci ([EMAIL PROTECTED]) c: 703.336.9354 Fred: mod_perl did not build YET? (This warning is only at the end of the Makefile.PL output, and it is phrased in terms of how it WILL be built.) Or am I "on the wrong page" in saying this? Of course I could build statically, but (old saying) that's not the swamp I set out to drain. Philip: but I liked the idea of a static build? Not just for operational performance, but for startup performance and perhaps for some possible better integration of the symbol tables for debugging? Are you saying that the 1.2 error cannot be worked around, and I should just give up on the static build idea? Like I had to on perl SSI's (
Re: [mp2] build (make) error and 2 questions
Fred Moyer wrote: On Wed, Nov 12, 2008 at 9:30 PM, <[EMAIL PROTECTED]> wrote: -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? Not worrisome, mod_perl just did not build. Can you build as a shared object rather than compiling it into Apache statically? perl Makefile.PL MP_APXS=/path/to/my/httpd2/bin/apxs Static hasn't worked for a long time in 2.x though it is on the infinite list; however, the performance reasons for doing it statically are not really an issue in 2.x -- Philip M. Gollucci ([EMAIL PROTECTED]) c: 703.336.9354 Consultant - P6M7G8 Inc. http://p6m7g8.net Senior System Admin - RideCharge, Inc. http://ridecharge.com 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching.
Re: [mp2] build (make) error and 2 questions
On Wed, Nov 12, 2008 at 9:30 PM, <[EMAIL PROTECTED]> wrote: > -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? Not worrisome, mod_perl just did not build. Can you build as a shared object rather than compiling it into Apache statically? perl Makefile.PL MP_APXS=/path/to/my/httpd2/bin/apxs > >[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.04 > > *** 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
[mp2] build (make) error and 2 questions
-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.04 *** 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=