Hello! I wanted to build a debian package of apache for my specific purposes. My specific purpose is mod_accel support. I downloaded a source for apache debian package (apache-1.3.26) from stable distribution, add mod_accel patches and it have been compiled well.
These are config options and flags: -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O1 \ -DEAPI_MM=SYSTEM -DEAPI_MM_CORE_PATH=\\\\\"/var/run/apache.mm\\\\\" \ -lmm --target=apache --with-layout=Debian \ --enable-suexec --suexec-caller=www-data \ --suexec-docroot=/var/www --includedir=/$(inc) \ --suexec-logfile=/var/log/apache/suexec.log \ --without-confadjust --without-execstrip \ --enable-shared=max --enable-rule=SHARED_CHAIN \ --enable-module=most --enable-module=status \ --enable-module=auth_digest --enable-module=log_referer \ --enable-module=log_agent --enable-module=auth_db \ --activate-module=src/modules/accel/libaccel.a \ --enable-shared=accel \ --activate-module=src/modules/extra/mod_macro.c ----------------------- Also I've installed mod_perl debian package - libapache-mod-perl_1.26, which was compiled be mantainer with apxs: Makefile.PL USE_APXS=1 WITH_APXS=/usr/bin/apxs \ PERL_SECTIONS=1 PERL_SSI=1 PERL_METHOD_HANDLERS=1 ALL_HOOKS=1 \ PERL_TIE_TABLES=1 PERL_DIRECTIVE_HANDLERS=1 PERL_STACKED_HANDLERS=1 \ PERL_TRACE=0 PERL_LOG_API=1 PERL_URI_API=1 PERL_UTIL_API=1 \ PERL_TABLE_API=1 PERL_FILE_API=1 \ INSTALLDIRS=vendor PERL_DEBUG=1 ---------------- I added PERL_DEBUG later... I'm using front and backend installation and starts two instance of apache with mod_accel and mod_perl support. apachectl -DSIMPLE (with mod_accel) starts normal apachectl -DPOWER (with mod_perl) says that httpd started, but there is no any httpd processes with POWER functionality warzavod:/etc/apache# gdb /usr/sbin/apache-power GNU gdb 2002-04-01-cvs Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-linux"... (gdb) set args -X -DPOWER (gdb) run Starting program: /usr/sbin/apache -X -DPOWER perl_parse args: '/dev/null' ...allocating perl interpreter...ok constructing perl interpreter...ok PerlPassEnv: `ORACLE_HOME'=`/u01/app/oracle/product/8.1.7' PerlPassEnv: `NLS_LANG'=`AMERICAN_AMERICA.CL8MSWIN1251' PerlPassEnv: `ORA_NLS'=`/u01/app/oracle/product/8.1.7/ocommon/nls/admin/data' running perl interpreter...ok mod_perl: 0 END blocks encountered during server startup PerlRequire: arg=`startup.pl' attempting to require `startup.pl' loading perl module 'Apache::Constants::Exports'...ok [New Thread 1024 (LWP 15551)] Program received signal SIGABRT, Aborted. [Switching to Thread 1024 (LWP 15551)] 0x40107781 in kill () from /lib/libc.so.6 (gdb) where #0 0x40107781 in kill () from /lib/libc.so.6 #1 0x40373cd3 in Perl_my_unexec () from /usr/lib/libperl.so.5.6 #2 0x403e3210 in Perl_pp_goto () from /usr/lib/libperl.so.5.6 #3 0x403e2510 in Perl_pp_dump () from /usr/lib/libperl.so.5.6 #4 0x403ba401 in Perl_runops_standard () from /usr/lib/libperl.so.5.6 #5 0x40372b1c in S_call_body () from /usr/lib/libperl.so.5.6 #6 0x40372cbe in perl_eval_sv () from /usr/lib/libperl.so.5.6 #7 0x40331bab in perl_do_file () from /usr/lib/apache/1.3/mod_perl.so #8 0x40331c4c in perl_load_startup_script () from /usr/lib/apache/1.3/mod_perl.so #9 0x4032cb03 in perl_cmd_require () from /usr/lib/apache/1.3/mod_perl.so #10 0x08054f09 in invoke_cmd (cmd=0x40350cd8, parms=0xbffff5a0, mconfig=0x8096b00, args=0xbfffd522 "") at http_config.c:946 #11 0x0805528a in ap_handle_command (parms=0xbffff5a0, config=0x808a490, l=0xbfffd50c "PerlRequire startup.pl") at http_config.c:1079 #12 0x080552d1 in ap_srm_command_loop (parms=0xbffff5a0, config=0x808a490) at http_config.c:1093 #13 0x08055802 in ap_process_resource_config (s=0x8089f58, fname=0x8082980 "/etc/apache/httpd.conf", p=0x8089f30, ptemp=0x808df60) at http_config.c:1355 #14 0x08055efc in ap_read_config (p=0x8089f30, ptemp=0x808df60, confname=0x8082980 "/etc/apache/httpd.conf") at http_config.c:1647 #15 0x0805e4d8 in main (argc=3, argv=0xbffff6e4) at http_main.c:5528 I dont know what to do now... Thanx in advance -- Sergey Polyakov aka BeerBong Chief of WebZavod http://www.webzavod.ru Tel. +7 (8462) 43-93-85 | +7 (8462) 43-93-86 mailto:[EMAIL PROTECTED] -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html