modcplusplus-user Mailing List for mod_cplusplus (Page 14)
Brought to you by:
gr84b8,
johnksterling
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
(16) |
May
|
Jun
|
Jul
|
Aug
(15) |
Sep
(3) |
Oct
(4) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2005 |
Jan
|
Feb
|
Mar
(7) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2006 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
(2) |
Aug
(1) |
Sep
(1) |
Oct
(19) |
Nov
(16) |
Dec
(40) |
2007 |
Jan
(5) |
Feb
(10) |
Mar
(9) |
Apr
(57) |
May
(69) |
Jun
(94) |
Jul
(112) |
Aug
(58) |
Sep
(13) |
Oct
(13) |
Nov
(12) |
Dec
(9) |
2008 |
Jan
(6) |
Feb
(19) |
Mar
(38) |
Apr
(18) |
May
(12) |
Jun
(6) |
Jul
(15) |
Aug
(8) |
Sep
(15) |
Oct
(15) |
Nov
(31) |
Dec
(42) |
2009 |
Jan
(37) |
Feb
(11) |
Mar
(11) |
Apr
(23) |
May
(32) |
Jun
(22) |
Jul
(33) |
Aug
(3) |
Sep
(2) |
Oct
|
Nov
|
Dec
(13) |
2010 |
Jan
(11) |
Feb
(7) |
Mar
(6) |
Apr
(3) |
May
|
Jun
(2) |
Jul
(4) |
Aug
(2) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
From: <jo...@st...> - 2002-08-27 18:17:16
|
Hi - >-- Original Message -- >Subject: RE: [Modcplusplus-user] Re: httpd crash at startup with custom c++ > (mod_cplusplus) module >From: Pachi Sucunza <pa...@sc...> >To: jo...@st... >Cc: mod...@li... >Date: 27 Aug 2002 18:33:30 +0200 > >running with -DONE_PROCESS isn't useful, as it works well (as with >"httpd -X"). >running it without it, in gdb (ddd actually), sent me to the place where= >it dies, it's rather surprising: >After first initialization round (...), in main.c:617 (apache 2.0.40 >from apache.org), when it enters ap_run_pre_config() --> ... --> This make me think there is a definite api difference. i'll take a look at the pre_config phase, but there have been cases where a function used to be void and now returns a value..... and this causes all hell to break= loose. I'll look into it tonight. john |
From: Pachi S. <pa...@sc...> - 2002-08-27 16:27:35
|
Hi... Sorry, it's late suddenly (gdb is too hard for me :), I must go soon. Just a breif description of what I've found: running with -DONE_PROCESS isn't useful, as it works well (as with "httpd -X"). running it without it, in gdb (ddd actually), sent me to the place where it dies, it's rather surprising: After first initialization round (...), in main.c:617 (apache 2.0.40 from apache.org), when it enters ap_run_pre_config() --> ... --> in prefork_pre_config() (server/mpm/prefork/prefork.c), the call to apr_proc_detach() just makes the server end! (with return code 0 :) Maybe it's something about MPM's (although I tried several different, with the same result), about threads... ??? Any hint? Thanks again, sorry for being so brief this time... Tomorrow I'll tell you more... Bye! Pachi. On Tue, 2002-08-27 at 15:50, jo...@st... wrote: > Hi Pachi - > > Intersting stuff. I would suggest that next you try running in the debugger > > gdb httpd; > run -DONE_PROCESS > > and see where it el-kabongs on you. In the mean time, I'll look through > the configure scripts. The latest mod_cplusplus with apache 2.0.40 runs > great on Mac OS-X at least :) We should be able to figure this out pretty > soon. > > John > > >-- Original Message -- > >From: Pachi Sucunza <pa...@sc...> > >To: "John K.Sterling" <jo...@st...> > >Cc: mod...@li... > >Subject: [Modcplusplus-user] Re: httpd crash at startup with custom c++ > (mod_cplusplus) > >module > >Date: 27 Aug 2002 12:34:52 +0200 > > > > > > > >Hi John, > > > >Thanks again for your time and efforts. > >You're right, mod_cplusplus 1.0.2 wasn't supposed to work with apache > >2.0.40. I forgot to mention (very sorry for that) that I had also done > >some little changes to fit the new API, which turned out to be exactly > >the same ones (and now I'm more confident about them :). I thought > >(although my experience with apache modules is still very little) that > >the changes were not that important for my tests, since the affected > >functions were never called with my modules (I checked that to be sure). > > > >I downloaded the 1.0.3 version (tgz, not CVS). > >I checked the differences with the new version, and I couldn't find any > >but those changes in mod_cplusplus.c (there are also changes in > >Makefile's, etc, but I think they're not the point now -- but maybe I'm > >missing something). > >So, as I suspected, the new version didn't fix the problem :( > > > >I checked the configure & make process, nothing seems wrong (AFAIK). No > >warning during compilation... I'm sending you the script of that session > >in case you'd like to check it (I hope you don't care). The only thing > >that semt weird (probably due to my ignorance) could be this lines when > >I run configure: > > > > ... > > checking for working makeinfo... missing > > ... > > checking whether -lc should be explicitly linked in... no > > ... > > > >I don't know if makeinfo is important, or the comsecuencies of not > >having it. The second line is simply something I don't understand, so I > >don't know if I must worry about it :) > > > >About the tests, I've been trying tu run them, but I seem to have some > >problem with the "ancient" perl shipped with potato :) I'll keep trying > >and inform you ASAP. > > > > > >I'm lost again... I think I'll try with apache 2.0.39 and see how it > >works, just in case it gives me some clue. I'll try also to test all of > >this in Woody. I'll tell you about it all too. > > > >Below is the result of the configure / make > > > >Thank you for your help! > > > >Pachi. > > > >--- > > > >Script started on Tue Aug 27 11:18:26 2002 > > > >pachi@pachi:~/proyectos/web$ tar -xzvf mod_cplusplus-1.0.3.tar.gz > >mod_cplusplus-1.0.3/ > >mod_cplusplus-1.0.3/Makefile.in > >mod_cplusplus-1.0.3/AUTHORS > >(...) > >mod_cplusplus-1.0.3/test/Apache-Test/t/TEST.PL > >mod_cplusplus-1.0.3/test/Apache-Test/t/ping.t > >mod_cplusplus-1.0.3/test/Apache-Test/t/request.t > >mod_cplusplus-1.0.3/test/Makefile.am > > > >pachi@pachi:~/proyectos/web$ cd mod_cplusplus-1.0.3 > > > >pachi@pachi:~/proyectos/web/mod_cplusplus-1.0.3$ ./configure > >--with-httpd=/usr/loocal/apache2/ > >creating cache ./config.cache > >checking for a BSD compatible install... /usr/bin/install -c > >checking whether build environment is sane... yes > >checking whether make sets ${MAKE}... yes > >checking for working aclocal... found > >checking for working autoconf... found > >checking for working automake... found > >checking for working autoheader... found > >checking for working makeinfo... missing > >checking for gcc... gcc > >checking whether the C compiler (gcc ) works... yes > >checking whether the C compiler (gcc ) is a cross-compiler... no > >checking whether we are using GNU C... yes > >checking whether gcc accepts -g... yes > >checking for c++... c++ > >checking whether the C++ compiler (c++ ) works... yes > >checking whether the C++ compiler (c++ ) is a cross-compiler... no > >checking whether we are using GNU C++... yes > >checking whether c++ accepts -g... yes > >checking for Cygwin environment... no > >checking for mingw32 environment... no > >checking how to run the C preprocessor... gcc -E > >checking host system type... i686-pc-linux-gnu > >checking build system type... i686-pc-linux-gnu > >checking for ld used by GCC... /usr/bin/ld > >checking if the linker (/usr/bin/ld) is GNU ld... yes > >checking for /usr/bin/ld option to reload object files... -r > >checking for BSD-compatible nm... /usr/bin/nm -B > >checking whether ln -s works... yes > >checking how to recognise dependant libraries... pass_all > >checking for object suffix... o > >checking for executable suffix... no > >checking command to parse /usr/bin/nm -B output... ok > >checking for dlfcn.h... yes > >checking for ranlib... ranlib > >checking for strip... strip > >checking for objdir... .libs > >checking for gcc option to produce PIC... -fPIC > >checking if gcc PIC flag -fPIC works... yes > >checking if gcc static flag -static works... yes > >checking if gcc supports -c -o file.o... yes > >checking if gcc supports -c -o file.lo... > >checking if gcc supports -fno-rtti -fno-exceptions... yes > >checking whether the linker (/usr/bin/ld) supports shared libraries... > >yes > >checking how to hardcode library paths into programs... immediate > >checking whether stripping libraries is possible... yes > >checking dynamic linker characteristics... GNU/Linux ld.so > >checking if libtool supports shared libraries... yes > >checking whether -lc should be explicitly linked in... no > >checking for httpd... found /usr/local/apache2 > >checking for __ti7ostream in -lstdc++... yes > >updating cache ./config.cache > >creating ./config.status > >creating Makefile > >creating src/Makefile > >creating example/Makefile > >creating example/handler/Makefile > >creating example/input_filter/Makefile > >creating example/output_filter/Makefile > >creating example/protocol/Makefile > >creating test/Makefile > >creating test/t/conf/extra.conf > > > >pachi@pachi:~/proyectos/web/mod_cplusplus-1.0.3$ make > >Making all in src > >make[1]: Entering directory > >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/src' > >/bin/sh ../libtool --mode=compile gcc -DPACKAGE=\"mod_cplusplus\" > >-DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. > >-DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >mod_cplusplus.c > >mkdir .libs > >gcc -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. > >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >mod_cplusplus.c -fPIC -DPIC -o .libs/mod_cplusplus.lo > >gcc -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. > >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >mod_cplusplus.c -o mod_cplusplus.o >/dev/null 2>&1 > >mv -f .libs/mod_cplusplus.lo mod_cplusplus.lo > >/bin/sh ../libtool --mode=compile c++ -DPACKAGE=\"mod_cplusplus\" > >-DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. > >-DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >apache_handler.cpp > >rm -f .libs/apache_handler.lo > >c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. > >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >apache_handler.cpp -fPIC -DPIC -o .libs/apache_handler.lo > >c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. > >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >apache_handler.cpp -o apache_handler.o >/dev/null 2>&1 > >mv -f .libs/apache_handler.lo apache_handler.lo > >/bin/sh ../libtool --mode=compile c++ -DPACKAGE=\"mod_cplusplus\" > >-DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. > >-DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >apache_filters.cpp > >rm -f .libs/apache_filters.lo > >c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. > >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >apache_filters.cpp -fPIC -DPIC -o .libs/apache_filters.lo > >c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. > >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >apache_filters.cpp -o apache_filters.o >/dev/null 2>&1 > >mv -f .libs/apache_filters.lo apache_filters.lo > >/bin/sh ../libtool --mode=compile c++ -DPACKAGE=\"mod_cplusplus\" > >-DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. > >-DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >apache_protocol.cpp > >rm -f .libs/apache_protocol.lo > >c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. > >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >apache_protocol.cpp -fPIC -DPIC -o .libs/apache_protocol.lo > >c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. > >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >apache_protocol.cpp -o apache_protocol.o >/dev/null 2>&1 > >mv -f .libs/apache_protocol.lo apache_protocol.lo > >/bin/sh ../libtool --mode=compile c++ -DPACKAGE=\"mod_cplusplus\" > >-DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. > >-DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >cpp_request.cpp > >rm -f .libs/cpp_request.lo > >c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. > >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >cpp_request.cpp -fPIC -DPIC -o .libs/cpp_request.lo > >c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. > >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >cpp_request.cpp -o cpp_request.o >/dev/null 2>&1 > >mv -f .libs/cpp_request.lo cpp_request.lo > >/bin/sh ../libtool --mode=compile c++ -DPACKAGE=\"mod_cplusplus\" > >-DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. > >-DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >cpp_server.cpp > >rm -f .libs/cpp_server.lo > >c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. > >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include _g -O2 -c > >cpp_server.cpp -fPIC -DPIC -o .libs/cpp_server.lo > >c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. > >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >cpp_server.cpp -o cpp_server.o >/dev/null 2>&1 > >mv -f .libs/cpp_server.lo cpp_server.lo > >/bin/sh ../libtool --mode=compile c++ -DPACKAGE=\"mod_cplusplus\" > >-DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. > >-DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >apache_output_buffer.cpp > >rm -f .libs/apache_output_buffer.lo > >c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. > >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >apache_output_buffer.cpp -fPIC -DPIC -o .libs/apache_output_buffer.lo > >c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. > >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >apache_output_buffer.cpp -o apache_output_buffer.o >/dev/null 2>&1 > >mv -f .libs/apache_output_buffer.lo apache_output_buffer.lo > >/bin/sh ../libtool --mode=compile c++ -DPACKAGE=\"mod_cplusplus\" > >-DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. > >-DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >request_env.cpp > >rm -f .libs/request_env.lo > >c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. > >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >request_env.cpp -fPIC -DPIC -o .libs/request_env.lo > >c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. > >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >request_env.cpp -o request_env.o >/dev/null 2>&1 > >mv -f .libs/request_env.lo request_env.lo > >/bin/sh ../libtool --mode=compile c++ -DPACKAGE=\"mod_cplusplus\" > >-DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. > >-DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >env_value.cpp > >rm -f .libs/env_value.lo > >c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. > >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >env_value.cpp -fPIC -DPIC -o .libs/env_value.lo > >c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. > >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >env_value.cpp -o env_value.o >/dev/null 2>&1 > >mv -f .libs/env_value.lo env_value.lo > >/bin/sh ../libtool --mode=link c++ -g -O2 -o libmod_cplusplus.la > >-rpath /usr/local/lib mod_cplusplus.lo apache_handler.lo > >apache_filters.lo apache_protocol.lo cpp_request.lo cpp_server.lo > >apache_output_buffer.lo request_env.lo env_value.lo -lstdc++ > >rm -fr .libs/libmod_cplusplus.la .libs/libmod_cplusplus.* > >.libs/libmod_cplusplus.* > >gcc -shared mod_cplusplus.lo apache_handler.lo apache_filters.lo > >apache_protocol.lo cpp_request.lo cpp_server.lo apache_output_buffer.lo > >request_env.lo env_value.lo -lstdc++ -Wl,-soname > >-Wl,libmod_cplusplus.so.0 -o .libs/libmod_cplusplus.so.0.0.0 > >(cd .libs && rm -f libmod_cplusplus.so.0 && ln -s > >libmod_cplusplus.so.0.0.0 libmod_cplusplus.so.0) > >(cd .libs && rm -f libmod_cplusplus.so && ln -s > >libmod_cplusplus.so.0.0.0 libmod_cplusplus.so) > >ar cru .libs/libmod_cplusplus.a mod_cplusplus.o apache_handler.o > >apache_filters.o apache_protocol.o cpp_request.o cpp_server.o > >apache_output_buffer.o request_env.o env_value.o > >ranlib .libs/libmod_cplusplus.a > >creating libmod_cplusplus.la > >(cd .libs && rm -f libmod_cplusplus.la && ln -s ../libmod_cplusplus.la > >libmod_cplusplus.la) > >make[1]: Leaving directory > >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/src' > >Making all in example > >make[1]: Entering directory > >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example' > >Making all in handler > >make[2]: Entering directory > >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example/handler' > >/bin/sh ../../libtool --mode=compile c++ -DPACKAGE=\"mod_cplusplus\" > >-DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. > >-DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >test_handler.cpp > >mkdir .libs > >c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. > >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >test_handler.cpp -fPIC -DPIC -o .libs/test_handler.lo > >c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. > >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >test_handler.cpp -o test_handler.o >/dev/null 2>&1 > >mv -f .libs/test_handler.lo test_handler.lo > >/bin/sh ../../libtool --mode=compile c++ -DPACKAGE=\"mod_cplusplus\" > >-DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. > >-DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >test_auth.cpp > >rm -f .libs/test_auth.lo > >c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. > >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >test_auth.cpp -fPIC -DPIC -o .libs/test_auth.lo > >c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. > >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >test_auth.cpp -o test_auth.o >/dev/null 2>&1 > >mv -f .libs/test_auth.lo test_auth.lo > >/bin/sh ../../libtool --mode=link c++ -g -O2 -o libtest_handler.la > >-rpath /usr/local/lib test_handler.lo test_auth.lo > >rm -fr .libs/libtest_handler.la .libs/libtest_handler.* > >.libs/libtest_handler.* > >gcc -shared test_handler.lo test_auth.lo -Wl,-soname > >-Wl,libtest_handler.so.0 -o .libs/libtest_handler.so.0.0.0 > >(cd .libs && rm -f libtest_handler.so.0 && ln -s > >libtest_handler.so.0.0.0 libtest_handler.so.0) > >(cd .libs && rm -f libtest_handler.so && ln -s libtest_handler.so.0.0.0 > >libtest_handler.so) > >ar cru .libs/libtest_handler.a test_handler.o test_auth.o > >ranlib .libs/libtest_handler.a > >creating libtest_handler.la > >(cd .libs && rm -f libtest_handler.la && ln -s ../libtest_handler.la > >libtest_handler.la) > >make[2]: Leaving directory > >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example/handler' > >Making all in input_filter > >make[2]: Entering directory > >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example/input_filter' > >/bin/sh ../../libtool --mode=compile c++ -DPACKAGE=\"mod_cplusplus\" > >-DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. > >-DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >test_input.cpp > >mkdir .libs > >c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. > >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >test_input.cpp -fPIC -DPIC -o .libs/test_input.lo > >c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. > >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >test_input.cpp -o test_input.o >/dev/null 2>&1 > >mv -f .libs/test_input.lo test_input.lo > >/bin/sh ../../libtool --mode=link c++ -g -O2 -o libtest_input.la > >-rpath /usr/local/lib test_input.lo > >rm -fr .libs/libtest_input.la .libs/libtest_input.* > >.libs/libtest_input.* > >gcc -shared test_input.lo -Wl,-soname -Wl,libtest_input.so.0 -o > >.libs/libtest_input.so.0.0.0 > >(cd .libs && rm -f libtest_input.so.0 && ln -s libtest_input.so._.0.0 > >libtest_input.so.0) > >(cd .libs && rm -f libtest_input.so && ln -s libtest_input.so.0.0.0 > >libtest_input.so) > >ar cru .libs/libtest_input.a test_input.o > >ranlib .libs/libtest_input.a > >creating libtest_input.la > >(cd .libs && rm -f libtest_input.la && ln -s ../libtest_input.la > >libtest_input.la) > >make[2]: Leaving directory > >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example/input_filter' > >Making all in output_filter > >make[2]: Entering directory > >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example/output_filter' > >/bin/sh ../../libtool --mode=compile c++ -DPACKAGE=\"mod_cplusplus\" > >-DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. > >-DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >test_output.cpp > >mkdir .libs > >c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. > >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >test_output.cpp -fPIC -DPIC -o .libs/test_output.lo > >c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. > >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >test_output.cpp -o test_output.o >/dev/null 2>&1 > >mv -f .libs/test_output.lo test_output.lo > >/bin/sh ../../libtool --mode=link c++ -g -O2 -o libtest_output.la > >-rpath /usr/local/lib test_output.lo > >rm -fr .libs/libtest_output.la .libs/libtest_output.* > >.libs/libtest_output.* > >gcc -shared test_output.lo -Wl,-soname -Wl,libtest_output.so.0 -o > >.libs/libtest_output.so.0.0.0 > >(cd .libs && rm -f libtest_output.so.0 && ln -s libtest_output.so.0.0.0 > >libtest_output.so.0) > >(cd .libs && rm -f libtest_output.so && ln -s libtest_output.so.0.0.0 > >libtest_output.so) > >ar cru .libs/libtest_output.a test_output.o > >ranlib .libs/libtest_output.a > >creating libtest_output.la > >(cd .libs && rm -f libtest_output.la && ln -s ../libtest_output.la > >libtest_output.la) > >make[2]: Leaving directory > >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example/output_filter' > >Making all in protocol > >make[2]: Entering directory > >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example/protocol' > >/bin/sh ../../libtool --mode=compile c++ -DPACKAGE=\"mod_cplusplus\" > >-DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. > >-DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >test_protocol.cpp > >mkdir .libs > >c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. > >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >test_protocol.cpp -fPIC -DPIC -o .libs/test_protocol.lo > >c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. > >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g > >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c > >test_protocol.cpp -o test_protocol.o >/dev/null 2>&1 > >mv -f .libs/test_protocol.lo test_protocol.lo > >/bin/sh ../../libtool --mode=link c++ -g -O2 -o libtest_protocol.la > >-rpath /usr/local/lib test_protocol.lo > >rm -fr .libs/libtest_protocol.la .libs/libtest_protocol.* > >.libs/libtest_protocol.* > >gcc -shared test_protocol.lo -Wl,-soname -Wl,libtest_protocol.so.0 -o > >.libs/libtest_protocol.so.0.0.0 > >(cd .libs && rm -f libtest_protocol.so.0 && ln -s > >libtest_protocol.so.0.0.0 libtest_protocol.so.0) > >(cd .libs && rm -f libtest_protocol.so && ln -s > >libtest_protocol.so.0.0.0 libtest_protocol.so) > >ar cru .libs/libtest_protocol.a test_protocol.o > >ranlib .libs/libtest_protocol.a > >creating libtest_protocol.la > >(cd .libs && rm -f libtest_protocol.la && ln -s ../libtest_protocol.la > >libtest_protocol.la) > >make[2]: Leaving directory > >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example/protocol' > >make[2]: Entering directory > >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example' > >make[2]: Nothing to be done for `all-am'. > >make[2]: Leaving directory > >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example' > >make[1]: Leaving directory > >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example' > >Making all in test > >make[1]: Entering directory > >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/test' > >make[1]: Nothing to be done for `all'. > >make[1]: Leaving directory > >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/test' > >make[1]: Entering directory > >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3' > >make[1]: Nothing to be done for `all-am'. > >make[1]: Leaving directory > >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3' > > > >pachi@pachi:~/proyectos/web/mod_cplusplus-1.0.3$ exit > > > >Script done on Tue Aug 27 11:19:44 2002 > > > > > > > > > >------------------------------------------------------- > >This sf.net email is sponsored by: OSDN - Tired of that same old > >cell phone? Get a new here for FREE! > >https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > >_______________________________________________ > >Modcplusplus-user mailing list > >Mod...@li... > >https://lists.sourceforge.net/lists/listinfo/modcplusplus-user > > > |
From: <jo...@st...> - 2002-08-27 13:48:02
|
Hi Pachi - Intersting stuff. I would suggest that next you try running in the debug= ger gdb httpd; run -DONE_PROCESS and see where it el-kabongs on you. In the mean time, I'll look through the configure scripts. The latest mod_cplusplus with apache 2.0.40 runs great on Mac OS-X at least :) We should be able to figure this out prett= y soon. John >-- Original Message -- >From: Pachi Sucunza <pa...@sc...> >To: "John K.Sterling" <jo...@st...> >Cc: mod...@li... >Subject: [Modcplusplus-user] Re: httpd crash at startup with custom c++ (mod_cplusplus) >module >Date: 27 Aug 2002 12:34:52 +0200 > > > >Hi John, > >Thanks again for your time and efforts. >You're right, mod_cplusplus 1.0.2 wasn't supposed to work with apache >2.0.40. I forgot to mention (very sorry for that) that I had also done >some little changes to fit the new API, which turned out to be exactly >the same ones (and now I'm more confident about them :). I thought >(although my experience with apache modules is still very little) that >the changes were not that important for my tests, since the affected >functions were never called with my modules (I checked that to be sure).= > >I downloaded the 1.0.3 version (tgz, not CVS). >I checked the differences with the new version, and I couldn't find any >but those changes in mod_cplusplus.c (there are also changes in >Makefile's, etc, but I think they're not the point now -- but maybe I'm >missing something). >So, as I suspected, the new version didn't fix the problem :( > >I checked the configure & make process, nothing seems wrong (AFAIK). No >warning during compilation... I'm sending you the script of that session= >in case you'd like to check it (I hope you don't care). The only thing >that semt weird (probably due to my ignorance) could be this lines when >I run configure: > > ... > checking for working makeinfo... missing > ... > checking whether -lc should be explicitly linked in... no > ... > >I don't know if makeinfo is important, or the comsecuencies of not >having it. The second line is simply something I don't understand, so I >don't know if I must worry about it :) > >About the tests, I've been trying tu run them, but I seem to have some >problem with the "ancient" perl shipped with potato :) I'll keep trying >and inform you ASAP. > > >I'm lost again... I think I'll try with apache 2.0.39 and see how it >works, just in case it gives me some clue. I'll try also to test all of >this in Woody. I'll tell you about it all too. > >Below is the result of the configure / make > >Thank you for your help! > >Pachi. > >--- > >Script started on Tue Aug 27 11:18:26 2002 > >pachi@pachi:~/proyectos/web$ tar -xzvf mod_cplusplus-1.0.3.tar.gz >mod_cplusplus-1.0.3/ >mod_cplusplus-1.0.3/Makefile.in >mod_cplusplus-1.0.3/AUTHORS >(...) >mod_cplusplus-1.0.3/test/Apache-Test/t/TEST.PL >mod_cplusplus-1.0.3/test/Apache-Test/t/ping.t >mod_cplusplus-1.0.3/test/Apache-Test/t/request.t >mod_cplusplus-1.0.3/test/Makefile.am > >pachi@pachi:~/proyectos/web$ cd mod_cplusplus-1.0.3 > >pachi@pachi:~/proyectos/web/mod_cplusplus-1.0.3$ ./configure >--with-httpd=3D/usr/loocal/apache2/ >creating cache ./config.cache >checking for a BSD compatible install... /usr/bin/install -c >checking whether build environment is sane... yes >checking whether make sets ${MAKE}... yes >checking for working aclocal... found >checking for working autoconf... found >checking for working automake... found >checking for working autoheader... found >checking for working makeinfo... missing >checking for gcc... gcc >checking whether the C compiler (gcc ) works... yes >checking whether the C compiler (gcc ) is a cross-compiler... no >checking whether we are using GNU C... yes >checking whether gcc accepts -g... yes >checking for c++... c++ >checking whether the C++ compiler (c++ ) works... yes >checking whether the C++ compiler (c++ ) is a cross-compiler... no >checking whether we are using GNU C++... yes >checking whether c++ accepts -g... yes >checking for Cygwin environment... no >checking for mingw32 environment... no >checking how to run the C preprocessor... gcc -E >checking host system type... i686-pc-linux-gnu >checking build system type... i686-pc-linux-gnu >checking for ld used by GCC... /usr/bin/ld >checking if the linker (/usr/bin/ld) is GNU ld... yes >checking for /usr/bin/ld option to reload object files... -r >checking for BSD-compatible nm... /usr/bin/nm -B >checking whether ln -s works... yes >checking how to recognise dependant libraries... pass_all >checking for object suffix... o >checking for executable suffix... no >checking command to parse /usr/bin/nm -B output... ok >checking for dlfcn.h... yes >checking for ranlib... ranlib >checking for strip... strip >checking for objdir... .libs >checking for gcc option to produce PIC... -fPIC >checking if gcc PIC flag -fPIC works... yes >checking if gcc static flag -static works... yes >checking if gcc supports -c -o file.o... yes >checking if gcc supports -c -o file.lo... >checking if gcc supports -fno-rtti -fno-exceptions... yes >checking whether the linker (/usr/bin/ld) supports shared libraries... >yes >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking dynamic linker characteristics... GNU/Linux ld.so >checking if libtool supports shared libraries... yes >checking whether -lc should be explicitly linked in... no >checking for httpd... found /usr/local/apache2 >checking for __ti7ostream in -lstdc++... yes >updating cache ./config.cache >creating ./config.status >creating Makefile >creating src/Makefile >creating example/Makefile >creating example/handler/Makefile >creating example/input_filter/Makefile >creating example/output_filter/Makefile >creating example/protocol/Makefile >creating test/Makefile >creating test/t/conf/extra.conf > >pachi@pachi:~/proyectos/web/mod_cplusplus-1.0.3$ make >Making all in src >make[1]: Entering directory >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/src' >/bin/sh ../libtool --mode=3Dcompile gcc -DPACKAGE=3D\"mod_cplusplus\" >-DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D1 -I. -I. >-DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >mod_cplusplus.c >mkdir .libs >gcc -DPACKAGE=3D\"mod_cplusplus\" -DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D= 1 -I. >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >mod_cplusplus.c -fPIC -DPIC -o .libs/mod_cplusplus.lo >gcc -DPACKAGE=3D\"mod_cplusplus\" -DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D= 1 -I. >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >mod_cplusplus.c -o mod_cplusplus.o >/dev/null 2>&1 >mv -f .libs/mod_cplusplus.lo mod_cplusplus.lo >/bin/sh ../libtool --mode=3Dcompile c++ -DPACKAGE=3D\"mod_cplusplus\" >-DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D1 -I. -I. >-DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >apache_handler.cpp >rm -f .libs/apache_handler.lo >c++ -DPACKAGE=3D\"mod_cplusplus\" -DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D= 1 -I. >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >apache_handler.cpp -fPIC -DPIC -o .libs/apache_handler.lo >c++ -DPACKAGE=3D\"mod_cplusplus\" -DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D= 1 -I. >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >apache_handler.cpp -o apache_handler.o >/dev/null 2>&1 >mv -f .libs/apache_handler.lo apache_handler.lo >/bin/sh ../libtool --mode=3Dcompile c++ -DPACKAGE=3D\"mod_cplusplus\" >-DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D1 -I. -I. >-DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >apache_filters.cpp >rm -f .libs/apache_filters.lo >c++ -DPACKAGE=3D\"mod_cplusplus\" -DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D= 1 -I. >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >apache_filters.cpp -fPIC -DPIC -o .libs/apache_filters.lo >c++ -DPACKAGE=3D\"mod_cplusplus\" -DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D= 1 -I. >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >apache_filters.cpp -o apache_filters.o >/dev/null 2>&1 >mv -f .libs/apache_filters.lo apache_filters.lo >/bin/sh ../libtool --mode=3Dcompile c++ -DPACKAGE=3D\"mod_cplusplus\" >-DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D1 -I. -I. >-DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >apache_protocol.cpp >rm -f .libs/apache_protocol.lo >c++ -DPACKAGE=3D\"mod_cplusplus\" -DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D= 1 -I. >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >apache_protocol.cpp -fPIC -DPIC -o .libs/apache_protocol.lo >c++ -DPACKAGE=3D\"mod_cplusplus\" -DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D= 1 -I. >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >apache_protocol.cpp -o apache_protocol.o >/dev/null 2>&1 >mv -f .libs/apache_protocol.lo apache_protocol.lo >/bin/sh ../libtool --mode=3Dcompile c++ -DPACKAGE=3D\"mod_cplusplus\" >-DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D1 -I. -I. >-DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >cpp_request.cpp >rm -f .libs/cpp_request.lo >c++ -DPACKAGE=3D\"mod_cplusplus\" -DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D= 1 -I. >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >cpp_request.cpp -fPIC -DPIC -o .libs/cpp_request.lo >c++ -DPACKAGE=3D\"mod_cplusplus\" -DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D= 1 -I. >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >cpp_request.cpp -o cpp_request.o >/dev/null 2>&1 >mv -f .libs/cpp_request.lo cpp_request.lo >/bin/sh ../libtool --mode=3Dcompile c++ -DPACKAGE=3D\"mod_cplusplus\" >-DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D1 -I. -I. >-DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >cpp_server.cpp >rm -f .libs/cpp_server.lo >c++ -DPACKAGE=3D\"mod_cplusplus\" -DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D= 1 -I. >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include _g -O2 -c >cpp_server.cpp -fPIC -DPIC -o .libs/cpp_server.lo >c++ -DPACKAGE=3D\"mod_cplusplus\" -DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D= 1 -I. >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >cpp_server.cpp -o cpp_server.o >/dev/null 2>&1 >mv -f .libs/cpp_server.lo cpp_server.lo >/bin/sh ../libtool --mode=3Dcompile c++ -DPACKAGE=3D\"mod_cplusplus\" >-DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D1 -I. -I. >-DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >apache_output_buffer.cpp >rm -f .libs/apache_output_buffer.lo >c++ -DPACKAGE=3D\"mod_cplusplus\" -DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D= 1 -I. >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >apache_output_buffer.cpp -fPIC -DPIC -o .libs/apache_output_buffer.lo >c++ -DPACKAGE=3D\"mod_cplusplus\" -DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D= 1 -I. >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >apache_output_buffer.cpp -o apache_output_buffer.o >/dev/null 2>&1 >mv -f .libs/apache_output_buffer.lo apache_output_buffer.lo >/bin/sh ../libtool --mode=3Dcompile c++ -DPACKAGE=3D\"mod_cplusplus\" >-DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D1 -I. -I. >-DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >request_env.cpp >rm -f .libs/request_env.lo >c++ -DPACKAGE=3D\"mod_cplusplus\" -DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D= 1 -I. >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >request_env.cpp -fPIC -DPIC -o .libs/request_env.lo >c++ -DPACKAGE=3D\"mod_cplusplus\" -DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D= 1 -I. >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >request_env.cpp -o request_env.o >/dev/null 2>&1 >mv -f .libs/request_env.lo request_env.lo >/bin/sh ../libtool --mode=3Dcompile c++ -DPACKAGE=3D\"mod_cplusplus\" >-DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D1 -I. -I. >-DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >env_value.cpp >rm -f .libs/env_value.lo >c++ -DPACKAGE=3D\"mod_cplusplus\" -DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D= 1 -I. >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >env_value.cpp -fPIC -DPIC -o .libs/env_value.lo >c++ -DPACKAGE=3D\"mod_cplusplus\" -DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D= 1 -I. >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >env_value.cpp -o env_value.o >/dev/null 2>&1 >mv -f .libs/env_value.lo env_value.lo >/bin/sh ../libtool --mode=3Dlink c++ -g -O2 -o libmod_cplusplus.la >-rpath /usr/local/lib mod_cplusplus.lo apache_handler.lo >apache_filters.lo apache_protocol.lo cpp_request.lo cpp_server.lo >apache_output_buffer.lo request_env.lo env_value.lo -lstdc++ >rm -fr .libs/libmod_cplusplus.la .libs/libmod_cplusplus.* >.libs/libmod_cplusplus.* >gcc -shared mod_cplusplus.lo apache_handler.lo apache_filters.lo >apache_protocol.lo cpp_request.lo cpp_server.lo apache_output_buffer.lo >request_env.lo env_value.lo -lstdc++ -Wl,-soname >-Wl,libmod_cplusplus.so.0 -o .libs/libmod_cplusplus.so.0.0.0 >(cd .libs && rm -f libmod_cplusplus.so.0 && ln -s >libmod_cplusplus.so.0.0.0 libmod_cplusplus.so.0) >(cd .libs && rm -f libmod_cplusplus.so && ln -s >libmod_cplusplus.so.0.0.0 libmod_cplusplus.so) >ar cru .libs/libmod_cplusplus.a mod_cplusplus.o apache_handler.o >apache_filters.o apache_protocol.o cpp_request.o cpp_server.o >apache_output_buffer.o request_env.o env_value.o >ranlib .libs/libmod_cplusplus.a >creating libmod_cplusplus.la >(cd .libs && rm -f libmod_cplusplus.la && ln -s ../libmod_cplusplus.la >libmod_cplusplus.la) >make[1]: Leaving directory >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/src' >Making all in example >make[1]: Entering directory >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example' >Making all in handler >make[2]: Entering directory >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example/handler' >/bin/sh ../../libtool --mode=3Dcompile c++ -DPACKAGE=3D\"mod_cplusplus\"= >-DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D1 -I. -I. >-DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >test_handler.cpp >mkdir .libs >c++ -DPACKAGE=3D\"mod_cplusplus\" -DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D= 1 -I. >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >test_handler.cpp -fPIC -DPIC -o .libs/test_handler.lo >c++ -DPACKAGE=3D\"mod_cplusplus\" -DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D= 1 -I. >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >test_handler.cpp -o test_handler.o >/dev/null 2>&1 >mv -f .libs/test_handler.lo test_handler.lo >/bin/sh ../../libtool --mode=3Dcompile c++ -DPACKAGE=3D\"mod_cplusplus\"= >-DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D1 -I. -I. >-DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >test_auth.cpp >rm -f .libs/test_auth.lo >c++ -DPACKAGE=3D\"mod_cplusplus\" -DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D= 1 -I. >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >test_auth.cpp -fPIC -DPIC -o .libs/test_auth.lo >c++ -DPACKAGE=3D\"mod_cplusplus\" -DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D= 1 -I. >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >test_auth.cpp -o test_auth.o >/dev/null 2>&1 >mv -f .libs/test_auth.lo test_auth.lo >/bin/sh ../../libtool --mode=3Dlink c++ -g -O2 -o libtest_handler.la >-rpath /usr/local/lib test_handler.lo test_auth.lo >rm -fr .libs/libtest_handler.la .libs/libtest_handler.* >.libs/libtest_handler.* >gcc -shared test_handler.lo test_auth.lo -Wl,-soname >-Wl,libtest_handler.so.0 -o .libs/libtest_handler.so.0.0.0 >(cd .libs && rm -f libtest_handler.so.0 && ln -s >libtest_handler.so.0.0.0 libtest_handler.so.0) >(cd .libs && rm -f libtest_handler.so && ln -s libtest_handler.so.0.0.0 >libtest_handler.so) >ar cru .libs/libtest_handler.a test_handler.o test_auth.o >ranlib .libs/libtest_handler.a >creating libtest_handler.la >(cd .libs && rm -f libtest_handler.la && ln -s ../libtest_handler.la >libtest_handler.la) >make[2]: Leaving directory >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example/handler' >Making all in input_filter >make[2]: Entering directory >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example/input_filter' >/bin/sh ../../libtool --mode=3Dcompile c++ -DPACKAGE=3D\"mod_cplusplus\"= >-DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D1 -I. -I. >-DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >test_input.cpp >mkdir .libs >c++ -DPACKAGE=3D\"mod_cplusplus\" -DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D= 1 -I. >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >test_input.cpp -fPIC -DPIC -o .libs/test_input.lo >c++ -DPACKAGE=3D\"mod_cplusplus\" -DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D= 1 -I. >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >test_input.cpp -o test_input.o >/dev/null 2>&1 >mv -f .libs/test_input.lo test_input.lo >/bin/sh ../../libtool --mode=3Dlink c++ -g -O2 -o libtest_input.la >-rpath /usr/local/lib test_input.lo >rm -fr .libs/libtest_input.la .libs/libtest_input.* >.libs/libtest_input.* >gcc -shared test_input.lo -Wl,-soname -Wl,libtest_input.so.0 -o >.libs/libtest_input.so.0.0.0 >(cd .libs && rm -f libtest_input.so.0 && ln -s libtest_input.so._.0.0 >libtest_input.so.0) >(cd .libs && rm -f libtest_input.so && ln -s libtest_input.so.0.0.0 >libtest_input.so) >ar cru .libs/libtest_input.a test_input.o >ranlib .libs/libtest_input.a >creating libtest_input.la >(cd .libs && rm -f libtest_input.la && ln -s ../libtest_input.la >libtest_input.la) >make[2]: Leaving directory >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example/input_filter' >Making all in output_filter >make[2]: Entering directory >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example/output_filter' >/bin/sh ../../libtool --mode=3Dcompile c++ -DPACKAGE=3D\"mod_cplusplus\"= >-DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D1 -I. -I. >-DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >test_output.cpp >mkdir .libs >c++ -DPACKAGE=3D\"mod_cplusplus\" -DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D= 1 -I. >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >test_output.cpp -fPIC -DPIC -o .libs/test_output.lo >c++ -DPACKAGE=3D\"mod_cplusplus\" -DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D= 1 -I. >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >test_output.cpp -o test_output.o >/dev/null 2>&1 >mv -f .libs/test_output.lo test_output.lo >/bin/sh ../../libtool --mode=3Dlink c++ -g -O2 -o libtest_output.la >-rpath /usr/local/lib test_output.lo >rm -fr .libs/libtest_output.la .libs/libtest_output.* >.libs/libtest_output.* >gcc -shared test_output.lo -Wl,-soname -Wl,libtest_output.so.0 -o >.libs/libtest_output.so.0.0.0 >(cd .libs && rm -f libtest_output.so.0 && ln -s libtest_output.so.0.0.0 >libtest_output.so.0) >(cd .libs && rm -f libtest_output.so && ln -s libtest_output.so.0.0.0 >libtest_output.so) >ar cru .libs/libtest_output.a test_output.o >ranlib .libs/libtest_output.a >creating libtest_output.la >(cd .libs && rm -f libtest_output.la && ln -s ../libtest_output.la >libtest_output.la) >make[2]: Leaving directory >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example/output_filter' >Making all in protocol >make[2]: Entering directory >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example/protocol' >/bin/sh ../../libtool --mode=3Dcompile c++ -DPACKAGE=3D\"mod_cplusplus\"= >-DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D1 -I. -I. >-DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >test_protocol.cpp >mkdir .libs >c++ -DPACKAGE=3D\"mod_cplusplus\" -DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D= 1 -I. >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >test_protocol.cpp -fPIC -DPIC -o .libs/test_protocol.lo >c++ -DPACKAGE=3D\"mod_cplusplus\" -DVERSION=3D\"1.0.3\" -DHAVE_DLFCN_H=3D= 1 -I. >-I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g >-I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c >test_protocol.cpp -o test_protocol.o >/dev/null 2>&1 >mv -f .libs/test_protocol.lo test_protocol.lo >/bin/sh ../../libtool --mode=3Dlink c++ -g -O2 -o libtest_protocol.la >-rpath /usr/local/lib test_protocol.lo >rm -fr .libs/libtest_protocol.la .libs/libtest_protocol.* >.libs/libtest_protocol.* >gcc -shared test_protocol.lo -Wl,-soname -Wl,libtest_protocol.so.0 -o= >.libs/libtest_protocol.so.0.0.0 >(cd .libs && rm -f libtest_protocol.so.0 && ln -s >libtest_protocol.so.0.0.0 libtest_protocol.so.0) >(cd .libs && rm -f libtest_protocol.so && ln -s >libtest_protocol.so.0.0.0 libtest_protocol.so) >ar cru .libs/libtest_protocol.a test_protocol.o >ranlib .libs/libtest_protocol.a >creating libtest_protocol.la >(cd .libs && rm -f libtest_protocol.la && ln -s ../libtest_protocol.la >libtest_protocol.la) >make[2]: Leaving directory >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example/protocol' >make[2]: Entering directory >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example' >make[2]: Nothing to be done for `all-am'. >make[2]: Leaving directory >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example' >make[1]: Leaving directory >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example' >Making all in test >make[1]: Entering directory >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/test' >make[1]: Nothing to be done for `all'. >make[1]: Leaving directory >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3/test' >make[1]: Entering directory >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3' >make[1]: Nothing to be done for `all-am'. >make[1]: Leaving directory >`/home/pachi/proyectos/web/mod_cplusplus-1.0.3' > >pachi@pachi:~/proyectos/web/mod_cplusplus-1.0.3$ exit > >Script done on Tue Aug 27 11:19:44 2002 > > > > >------------------------------------------------------- >This sf.net email is sponsored by: OSDN - Tired of that same old >cell phone? Get a new here for FREE! >https://www.inphonic.com/r.asp?r=3Dsourceforge1&refcode1=3Dvs3390 >_______________________________________________ >Modcplusplus-user mailing list >Mod...@li... >https://lists.sourceforge.net/lists/listinfo/modcplusplus-user |
From: Pachi S. <pa...@sc...> - 2002-08-27 10:29:05
|
Hi John, Thanks again for your time and efforts. You're right, mod_cplusplus 1.0.2 wasn't supposed to work with apache 2.0.40. I forgot to mention (very sorry for that) that I had also done some little changes to fit the new API, which turned out to be exactly the same ones (and now I'm more confident about them :). I thought (although my experience with apache modules is still very little) that the changes were not that important for my tests, since the affected functions were never called with my modules (I checked that to be sure). I downloaded the 1.0.3 version (tgz, not CVS). I checked the differences with the new version, and I couldn't find any but those changes in mod_cplusplus.c (there are also changes in Makefile's, etc, but I think they're not the point now -- but maybe I'm missing something). So, as I suspected, the new version didn't fix the problem :( I checked the configure & make process, nothing seems wrong (AFAIK). No warning during compilation... I'm sending you the script of that session in case you'd like to check it (I hope you don't care). The only thing that semt weird (probably due to my ignorance) could be this lines when I run configure: ... checking for working makeinfo... missing ... checking whether -lc should be explicitly linked in... no ... I don't know if makeinfo is important, or the comsecuencies of not having it. The second line is simply something I don't understand, so I don't know if I must worry about it :) About the tests, I've been trying tu run them, but I seem to have some problem with the "ancient" perl shipped with potato :) I'll keep trying and inform you ASAP. I'm lost again... I think I'll try with apache 2.0.39 and see how it works, just in case it gives me some clue. I'll try also to test all of this in Woody. I'll tell you about it all too. Below is the result of the configure / make Thank you for your help! Pachi. --- Script started on Tue Aug 27 11:18:26 2002 pachi@pachi:~/proyectos/web$ tar -xzvf mod_cplusplus-1.0.3.tar.gz mod_cplusplus-1.0.3/ mod_cplusplus-1.0.3/Makefile.in mod_cplusplus-1.0.3/AUTHORS (...) mod_cplusplus-1.0.3/test/Apache-Test/t/TEST.PL mod_cplusplus-1.0.3/test/Apache-Test/t/ping.t mod_cplusplus-1.0.3/test/Apache-Test/t/request.t mod_cplusplus-1.0.3/test/Makefile.am pachi@pachi:~/proyectos/web$ cd mod_cplusplus-1.0.3 pachi@pachi:~/proyectos/web/mod_cplusplus-1.0.3$ ./configure --with-httpd=/usr/loocal/apache2/ creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... missing checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for c++... c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking for Cygwin environment... no checking for mingw32 environment... no checking how to run the C preprocessor... gcc -E checking host system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependant libraries... pass_all checking for object suffix... o checking for executable suffix... no checking command to parse /usr/bin/nm -B output... ok checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking for httpd... found /usr/local/apache2 checking for __ti7ostream in -lstdc++... yes updating cache ./config.cache creating ./config.status creating Makefile creating src/Makefile creating example/Makefile creating example/handler/Makefile creating example/input_filter/Makefile creating example/output_filter/Makefile creating example/protocol/Makefile creating test/Makefile creating test/t/conf/extra.conf pachi@pachi:~/proyectos/web/mod_cplusplus-1.0.3$ make Making all in src make[1]: Entering directory `/home/pachi/proyectos/web/mod_cplusplus-1.0.3/src' /bin/sh ../libtool --mode=compile gcc -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c mod_cplusplus.c mkdir .libs gcc -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c mod_cplusplus.c -fPIC -DPIC -o .libs/mod_cplusplus.lo gcc -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c mod_cplusplus.c -o mod_cplusplus.o >/dev/null 2>&1 mv -f .libs/mod_cplusplus.lo mod_cplusplus.lo /bin/sh ../libtool --mode=compile c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c apache_handler.cpp rm -f .libs/apache_handler.lo c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c apache_handler.cpp -fPIC -DPIC -o .libs/apache_handler.lo c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c apache_handler.cpp -o apache_handler.o >/dev/null 2>&1 mv -f .libs/apache_handler.lo apache_handler.lo /bin/sh ../libtool --mode=compile c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c apache_filters.cpp rm -f .libs/apache_filters.lo c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c apache_filters.cpp -fPIC -DPIC -o .libs/apache_filters.lo c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c apache_filters.cpp -o apache_filters.o >/dev/null 2>&1 mv -f .libs/apache_filters.lo apache_filters.lo /bin/sh ../libtool --mode=compile c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c apache_protocol.cpp rm -f .libs/apache_protocol.lo c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c apache_protocol.cpp -fPIC -DPIC -o .libs/apache_protocol.lo c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c apache_protocol.cpp -o apache_protocol.o >/dev/null 2>&1 mv -f .libs/apache_protocol.lo apache_protocol.lo /bin/sh ../libtool --mode=compile c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c cpp_request.cpp rm -f .libs/cpp_request.lo c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c cpp_request.cpp -fPIC -DPIC -o .libs/cpp_request.lo c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c cpp_request.cpp -o cpp_request.o >/dev/null 2>&1 mv -f .libs/cpp_request.lo cpp_request.lo /bin/sh ../libtool --mode=compile c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c cpp_server.cpp rm -f .libs/cpp_server.lo c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include _g -O2 -c cpp_server.cpp -fPIC -DPIC -o .libs/cpp_server.lo c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c cpp_server.cpp -o cpp_server.o >/dev/null 2>&1 mv -f .libs/cpp_server.lo cpp_server.lo /bin/sh ../libtool --mode=compile c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c apache_output_buffer.cpp rm -f .libs/apache_output_buffer.lo c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c apache_output_buffer.cpp -fPIC -DPIC -o .libs/apache_output_buffer.lo c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c apache_output_buffer.cpp -o apache_output_buffer.o >/dev/null 2>&1 mv -f .libs/apache_output_buffer.lo apache_output_buffer.lo /bin/sh ../libtool --mode=compile c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c request_env.cpp rm -f .libs/request_env.lo c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c request_env.cpp -fPIC -DPIC -o .libs/request_env.lo c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c request_env.cpp -o request_env.o >/dev/null 2>&1 mv -f .libs/request_env.lo request_env.lo /bin/sh ../libtool --mode=compile c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c env_value.cpp rm -f .libs/env_value.lo c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c env_value.cpp -fPIC -DPIC -o .libs/env_value.lo c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c env_value.cpp -o env_value.o >/dev/null 2>&1 mv -f .libs/env_value.lo env_value.lo /bin/sh ../libtool --mode=link c++ -g -O2 -o libmod_cplusplus.la -rpath /usr/local/lib mod_cplusplus.lo apache_handler.lo apache_filters.lo apache_protocol.lo cpp_request.lo cpp_server.lo apache_output_buffer.lo request_env.lo env_value.lo -lstdc++ rm -fr .libs/libmod_cplusplus.la .libs/libmod_cplusplus.* .libs/libmod_cplusplus.* gcc -shared mod_cplusplus.lo apache_handler.lo apache_filters.lo apache_protocol.lo cpp_request.lo cpp_server.lo apache_output_buffer.lo request_env.lo env_value.lo -lstdc++ -Wl,-soname -Wl,libmod_cplusplus.so.0 -o .libs/libmod_cplusplus.so.0.0.0 (cd .libs && rm -f libmod_cplusplus.so.0 && ln -s libmod_cplusplus.so.0.0.0 libmod_cplusplus.so.0) (cd .libs && rm -f libmod_cplusplus.so && ln -s libmod_cplusplus.so.0.0.0 libmod_cplusplus.so) ar cru .libs/libmod_cplusplus.a mod_cplusplus.o apache_handler.o apache_filters.o apache_protocol.o cpp_request.o cpp_server.o apache_output_buffer.o request_env.o env_value.o ranlib .libs/libmod_cplusplus.a creating libmod_cplusplus.la (cd .libs && rm -f libmod_cplusplus.la && ln -s ../libmod_cplusplus.la libmod_cplusplus.la) make[1]: Leaving directory `/home/pachi/proyectos/web/mod_cplusplus-1.0.3/src' Making all in example make[1]: Entering directory `/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example' Making all in handler make[2]: Entering directory `/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example/handler' /bin/sh ../../libtool --mode=compile c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c test_handler.cpp mkdir .libs c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c test_handler.cpp -fPIC -DPIC -o .libs/test_handler.lo c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c test_handler.cpp -o test_handler.o >/dev/null 2>&1 mv -f .libs/test_handler.lo test_handler.lo /bin/sh ../../libtool --mode=compile c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c test_auth.cpp rm -f .libs/test_auth.lo c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c test_auth.cpp -fPIC -DPIC -o .libs/test_auth.lo c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c test_auth.cpp -o test_auth.o >/dev/null 2>&1 mv -f .libs/test_auth.lo test_auth.lo /bin/sh ../../libtool --mode=link c++ -g -O2 -o libtest_handler.la -rpath /usr/local/lib test_handler.lo test_auth.lo rm -fr .libs/libtest_handler.la .libs/libtest_handler.* .libs/libtest_handler.* gcc -shared test_handler.lo test_auth.lo -Wl,-soname -Wl,libtest_handler.so.0 -o .libs/libtest_handler.so.0.0.0 (cd .libs && rm -f libtest_handler.so.0 && ln -s libtest_handler.so.0.0.0 libtest_handler.so.0) (cd .libs && rm -f libtest_handler.so && ln -s libtest_handler.so.0.0.0 libtest_handler.so) ar cru .libs/libtest_handler.a test_handler.o test_auth.o ranlib .libs/libtest_handler.a creating libtest_handler.la (cd .libs && rm -f libtest_handler.la && ln -s ../libtest_handler.la libtest_handler.la) make[2]: Leaving directory `/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example/handler' Making all in input_filter make[2]: Entering directory `/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example/input_filter' /bin/sh ../../libtool --mode=compile c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c test_input.cpp mkdir .libs c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c test_input.cpp -fPIC -DPIC -o .libs/test_input.lo c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c test_input.cpp -o test_input.o >/dev/null 2>&1 mv -f .libs/test_input.lo test_input.lo /bin/sh ../../libtool --mode=link c++ -g -O2 -o libtest_input.la -rpath /usr/local/lib test_input.lo rm -fr .libs/libtest_input.la .libs/libtest_input.* .libs/libtest_input.* gcc -shared test_input.lo -Wl,-soname -Wl,libtest_input.so.0 -o .libs/libtest_input.so.0.0.0 (cd .libs && rm -f libtest_input.so.0 && ln -s libtest_input.so._.0.0 libtest_input.so.0) (cd .libs && rm -f libtest_input.so && ln -s libtest_input.so.0.0.0 libtest_input.so) ar cru .libs/libtest_input.a test_input.o ranlib .libs/libtest_input.a creating libtest_input.la (cd .libs && rm -f libtest_input.la && ln -s ../libtest_input.la libtest_input.la) make[2]: Leaving directory `/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example/input_filter' Making all in output_filter make[2]: Entering directory `/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example/output_filter' /bin/sh ../../libtool --mode=compile c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c test_output.cpp mkdir .libs c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c test_output.cpp -fPIC -DPIC -o .libs/test_output.lo c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c test_output.cpp -o test_output.o >/dev/null 2>&1 mv -f .libs/test_output.lo test_output.lo /bin/sh ../../libtool --mode=link c++ -g -O2 -o libtest_output.la -rpath /usr/local/lib test_output.lo rm -fr .libs/libtest_output.la .libs/libtest_output.* .libs/libtest_output.* gcc -shared test_output.lo -Wl,-soname -Wl,libtest_output.so.0 -o .libs/libtest_output.so.0.0.0 (cd .libs && rm -f libtest_output.so.0 && ln -s libtest_output.so.0.0.0 libtest_output.so.0) (cd .libs && rm -f libtest_output.so && ln -s libtest_output.so.0.0.0 libtest_output.so) ar cru .libs/libtest_output.a test_output.o ranlib .libs/libtest_output.a creating libtest_output.la (cd .libs && rm -f libtest_output.la && ln -s ../libtest_output.la libtest_output.la) make[2]: Leaving directory `/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example/output_filter' Making all in protocol make[2]: Entering directory `/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example/protocol' /bin/sh ../../libtool --mode=compile c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c test_protocol.cpp mkdir .libs c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c test_protocol.cpp -fPIC -DPIC -o .libs/test_protocol.lo c++ -DPACKAGE=\"mod_cplusplus\" -DVERSION=\"1.0.3\" -DHAVE_DLFCN_H=1 -I. -I. -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/apache2/include -g -I/home/pachi/proyectos/web/mod_cplusplus-1.0.3/include -g -O2 -c test_protocol.cpp -o test_protocol.o >/dev/null 2>&1 mv -f .libs/test_protocol.lo test_protocol.lo /bin/sh ../../libtool --mode=link c++ -g -O2 -o libtest_protocol.la -rpath /usr/local/lib test_protocol.lo rm -fr .libs/libtest_protocol.la .libs/libtest_protocol.* .libs/libtest_protocol.* gcc -shared test_protocol.lo -Wl,-soname -Wl,libtest_protocol.so.0 -o .libs/libtest_protocol.so.0.0.0 (cd .libs && rm -f libtest_protocol.so.0 && ln -s libtest_protocol.so.0.0.0 libtest_protocol.so.0) (cd .libs && rm -f libtest_protocol.so && ln -s libtest_protocol.so.0.0.0 libtest_protocol.so) ar cru .libs/libtest_protocol.a test_protocol.o ranlib .libs/libtest_protocol.a creating libtest_protocol.la (cd .libs && rm -f libtest_protocol.la && ln -s ../libtest_protocol.la libtest_protocol.la) make[2]: Leaving directory `/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example/protocol' make[2]: Entering directory `/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example' make[1]: Leaving directory `/home/pachi/proyectos/web/mod_cplusplus-1.0.3/example' Making all in test make[1]: Entering directory `/home/pachi/proyectos/web/mod_cplusplus-1.0.3/test' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/pachi/proyectos/web/mod_cplusplus-1.0.3/test' make[1]: Entering directory `/home/pachi/proyectos/web/mod_cplusplus-1.0.3' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/home/pachi/proyectos/web/mod_cplusplus-1.0.3' pachi@pachi:~/proyectos/web/mod_cplusplus-1.0.3$ exit Script done on Tue Aug 27 11:19:44 2002 |
From: John K. S. <jo...@st...> - 2002-08-27 02:46:18
|
On Monday, August 26, 2002, at 12:31 PM, Pachi Sucunza wrote: > > Hi John, > > Thanks for your fast reply! > > I'm using apache 2.0.40, the latest available version (I think so) from > www.apache.org. mod_cplusplus is version 1.0.2 ("Apache2_GA4"), from > your page at SourceForge. There are more details about my system in the > first message below. > OK - looks to me like that is a compatibility issue (you probably got some compiler warnings when you built). I have put up a new package of mod_cplusplus to match 2.0.40 - you can try that (or try cvs f you'd like). Let me know how it works. John |
From: John S. <jo...@st...> - 2002-08-27 01:46:08
|
Yo - I never actually released a mod_cplusplus for apache 2.0.40 - there=20 were api changes that I kept up with, but i did not re-release. Either=20= try from cvs, or wait - and I will put up a new version compatibly with=20= 2.0.40 thanks - John On Monday, August 26, 2002, at 12:31 PM, Pachi Sucunza wrote: > > Hi John, > > Thanks for your fast reply! > >> I'm CC-ing the mod_cplusplus users list (we can take it off=20 >> users@httpd >> if you like). I can help out later today on this, in the mean time=20 >> can you >> send me the version of apache and mod_cplusplus you are using (from=20= >> cvs?). > > Ok. I sent the mail to the httpd list because I saw little activity on > the mod_cplusplus, sorry... But now modcpluspus-users seems more > appropriate (and I subscribed). > > I'm using apache 2.0.40, the latest available version (I think so) = from > www.apache.org. mod_cplusplus is version 1.0.2 ("Apache2_GA4"), from > your page at SourceForge. There are more details about my system in = the > first message below. > > Now that you have been so kind to answer, I'll send you more specific > information about my efforts, hope I don't bore you :) > > This are the lines I added to httpd.conf to test my module and your > samples: > > ---begin > > LoadModule cplusplus_module modules/libmod_cplusplus.so > > LoadCPPHandler hello_world modules/libmod_HelloWorld.so > LoadCPPHandler test_handler modules/libtest_handler.so > LoadCPPHandler test_input_filter modules/libtest_input.so > > <Location /hello-world> > SetHandler hello-world > AddCPPHandler hello_world > </Location> > > <Location /test-handler> > SetHandler test-handler > AddCPPHandler test_handler > </Location> > > AddCPPConnectionInputFilter test_input_filter > <Location /test-input> > SetHandler cpp-handler > AddCPPHandler test_input_filter > </Location> > > ---end > > I think they are correct (?), as I said, because everything works with > "-X". I tried only some of them, as I explained (only one c++ module = at > a time), and the result is the same. Loading only mod_cplusplus.so=20 > works > fine, but I can't do any AddCPPHandler. > > My module is VERY simple: > > ---begin > > #include "apache_handler.h" > class mod_HelloWorld : public ApacheHandler > { > public: > mod_HelloWorld( void ); > ~mod_HelloWorld( void ); > int handler( ApacheRequestRec *pRequest ); > }; > > extern "C" cpp_factory_t hello_world; > > mod_HelloWorld::mod_HelloWorld() : ApacheHandler() > { > fprintf(stderr, "foo\n"); // or whatever... > } > > mod_HelloWorld::~mod_HelloWorld() > { > fprintf(stderr, "bar\n"); > } > > int mod_HelloWorld::handler( ApacheRequestRec *pRequest ) > { > pRequest->content_type( "text/html" ); > pRequest->rputs( "<HTML>\n" ); > pRequest->rputs( "<TITLE>M=F3dulo Hello World</TITLE>\n" ); > pRequest->rputs( "<H1>HELLO WORLD</H1>\n" ); > pRequest->rputs("</BODY></HTML>\n"); > return OK; > } > > ApacheHandler* instanciate_HelloWorld() > { > return new mod_HelloWorld(); > } > > cpp_factory_t hello_world =3D { > instanciate_HelloWorld, > NULL, > NULL, > NULL, > }; > > > --end > > I compiled it by hand (-fPIC, -shared to gcc...) and by modifying the > Makefiles in your samples. In both ways the result was the same :( > Everything works and I can see the "Hello World" with -X, as I said. > > Any hint? Thank you very much again for your help. > > > Pachi. > > PS: It's late now here, so I'm afraid I won't be able to respond very > quickly if you need any other information... I'll check mail early > tomorrow. > > >>> -- Original Message -- >>> Subject: httpd crash at startup with custom c++ (mod_cplusplus)=20 >>> module >>> From: Pachi Sucunza <pa...@sc...> >>> To: us...@ht..., jo...@st... >>> Date: 26 Aug 2002 16:45:38 +0200 >>> >>> >>> Hi everyone >>> >>> I have written an Apache module in C++ (using mod_cplusplus... >>> http://modcplusplus.sourceforge.net/ ) >>> The problem is that I can't get any C++ module working, the httpd=20 >>> process >>> dies right after initialization, without any complaint or message=20 >>> (in stdout >>> or any of the log files). >>> >>> I'll try to explain more thoroughly the situation: >>> - I'm running Linux - Debian 2.2 (potato), kernel 2.2.19-smp on a=20 >>> 2x1GHz >>> Intel Pentium III. I use Apache 2.0.40. mod_cplusplus is the latest=20= >>> version >>> (1.0.2). >>> My compiler is gcc 2.95.2 (the one packaged by Debian). >>> - I configured and compiled Apache, and mod_cplusplus, without=20 >>> problems. >>> - I changed httpd.conf accordingly, to load mod_cplusplus and my=20 >>> module >>> (as in the mod_cplusplus sample configuration files), copied = modules >> in >>> the >>> "modules" directory, etc. >>> - When I launch httpd, the mod_cplusplus initialization is done, and=20= >>> then >>> the one >>> in my custom module. After this (FIRST initializations), the server=20= >>> dies >>> without >>> any message. >>> - If I just load mod_cplusplus module, but none of the C++ modules,=20= >>> the >> server >>> doesn't die (but it's not very useful... :) >>> - If I launch apache with the "-X" option (single-process mode),=20 >>> EVERYTHING >>> works >>> PERFECTLY: mod_cplusplus, mod_cplusplus samples, and my module.=20 >>> That's >>> why I think >>> that the setup (httpd.conf) is right, and that my compilation and=20= >>> linking >>> seem >>> correct, too.. (?) >>> With that switch, mod_cplusplus' and my module's initialization are=20= >>> called >>> the second >>> time, and everything starts working OK. >>> - I've tried different settings to compile Apache=20 >>> (--enable-rule=3DSHARED_CORE, >>> --enable-module=3Dmost --enable-mods-shared=3Dmost, different = MPM's...), >> all >>> of them with the same results. >>> - I've tried all of this in a non-SMP machine, also with the same=20 >>> results. >>> - I've reduced my module to a minimum, just a few "pRequest->rputs(=20= >>> ... >> );", >>> content-type, etc.. in the "handler()" method. So I think it cant't=20= >>> be >>> (for the >>> moment :) a bug in my code. >>> - With the mod_cplusplus sample modules, the result are always the=20= >>> same >> as >>> with my >>> little module. >>> >>> Any hints? Anyone had any similar problem, even if not using=20 >>> mod_cplusplus? >>> Could it be a compiling/linking problem? Or with libraries? >>> >>> Any help would be *HIGHLY* appreciated, as I don't know what else=20 >>> can I >> try... >>> >>> Best regards, >>> >>> Pachi. >>> >>> > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=3Dsourceforge1&refcode1=3Dvs3390 > _______________________________________________ > Modcplusplus-user mailing list > Mod...@li... > https://lists.sourceforge.net/lists/listinfo/modcplusplus-user > |
From: <jo...@st...> - 2002-08-26 17:16:43
|
Thanks for the extra info, i'll pull down those versions and help you tro= ubleshoot. btw - does make check run the test suite for you? that is sometimes help= ful. I'll get back to you tonight. john |
From: Pachi S. <pa...@sc...> - 2002-08-26 16:25:17
|
Hi John, Thanks for your fast reply! > I'm CC-ing the mod_cplusplus users list (we can take it off users@httpd > if you like). I can help out later today on this, in the mean time can yo= u > send me the version of apache and mod_cplusplus you are using (from cvs?)= . Ok. I sent the mail to the httpd list because I saw little activity on the mod_cplusplus, sorry... But now modcpluspus-users seems more appropriate (and I subscribed). I'm using apache 2.0.40, the latest available version (I think so) from www.apache.org. mod_cplusplus is version 1.0.2 ("Apache2_GA4"), from your page at SourceForge. There are more details about my system in the first message below. Now that you have been so kind to answer, I'll send you more specific information about my efforts, hope I don't bore you :) This are the lines I added to httpd.conf to test my module and your samples: ---begin LoadModule cplusplus_module modules/libmod_cplusplus.so LoadCPPHandler hello_world modules/libmod_HelloWorld.so LoadCPPHandler test_handler modules/libtest_handler.so LoadCPPHandler test_input_filter modules/libtest_input.so <Location /hello-world> SetHandler hello-world AddCPPHandler hello_world </Location> <Location /test-handler> SetHandler test-handler AddCPPHandler test_handler </Location> AddCPPConnectionInputFilter test_input_filter <Location /test-input> SetHandler cpp-handler AddCPPHandler test_input_filter </Location> ---end I think they are correct (?), as I said, because everything works with "-X". I tried only some of them, as I explained (only one c++ module at a time), and the result is the same. Loading only mod_cplusplus.so works fine, but I can't do any AddCPPHandler. My module is VERY simple: ---begin #include "apache_handler.h" class mod_HelloWorld : public ApacheHandler { public: mod_HelloWorld( void ); ~mod_HelloWorld( void ); int handler( ApacheRequestRec *pRequest ); }; extern "C" cpp_factory_t hello_world; mod_HelloWorld::mod_HelloWorld() : ApacheHandler() { fprintf(stderr, "foo\n"); // or whatever... } mod_HelloWorld::~mod_HelloWorld() { fprintf(stderr, "bar\n"); } int mod_HelloWorld::handler( ApacheRequestRec *pRequest ) { pRequest->content_type( "text/html" ); pRequest->rputs( "<HTML>\n" ); pRequest->rputs( "<TITLE>M=F3dulo Hello World</TITLE>\n" ); pRequest->rputs( "<H1>HELLO WORLD</H1>\n" ); pRequest->rputs("</BODY></HTML>\n"); return OK; } ApacheHandler* instanciate_HelloWorld() { return new mod_HelloWorld(); } cpp_factory_t hello_world =3D { instanciate_HelloWorld, NULL, NULL, NULL, }; --end I compiled it by hand (-fPIC, -shared to gcc...) and by modifying the Makefiles in your samples. In both ways the result was the same :( Everything works and I can see the "Hello World" with -X, as I said. Any hint? Thank you very much again for your help. Pachi. PS: It's late now here, so I'm afraid I won't be able to respond very quickly if you need any other information... I'll check mail early tomorrow. > >-- Original Message -- > >Subject: httpd crash at startup with custom c++ (mod_cplusplus) module > >From: Pachi Sucunza <pa...@sc...> > >To: us...@ht..., jo...@st... > >Date: 26 Aug 2002 16:45:38 +0200 > > > > > >Hi everyone > > > >I have written an Apache module in C++ (using mod_cplusplus... > >http://modcplusplus.sourceforge.net/ ) > >The problem is that I can't get any C++ module working, the httpd proces= s > >dies right after initialization, without any complaint or message (in st= dout > >or any of the log files). > > > >I'll try to explain more thoroughly the situation: > >- I'm running Linux - Debian 2.2 (potato), kernel 2.2.19-smp on a 2x1GHz > > Intel Pentium III. I use Apache 2.0.40. mod_cplusplus is the latest ve= rsion > >(1.0.2). > > My compiler is gcc 2.95.2 (the one packaged by Debian). > >- I configured and compiled Apache, and mod_cplusplus, without problems. > >- I changed httpd.conf accordingly, to load mod_cplusplus and my module > > (as in the mod_cplusplus sample configuration files), copied modules > in > >the > > "modules" directory, etc. > >- When I launch httpd, the mod_cplusplus initialization is done, and the= n > >the one > > in my custom module. After this (FIRST initializations), the server di= es > >without > > any message. > >- If I just load mod_cplusplus module, but none of the C++ modules, the > server > > doesn't die (but it's not very useful... :) > >- If I launch apache with the "-X" option (single-process mode), EVERYTH= ING > >works > > PERFECTLY: mod_cplusplus, mod_cplusplus samples, and my module. That's > >why I think > > that the setup (httpd.conf) is right, and that my compilation and link= ing > >seem > > correct, too.. (?) > > With that switch, mod_cplusplus' and my module's initialization are ca= lled > >the second > > time, and everything starts working OK. > >- I've tried different settings to compile Apache (--enable-rule=3DSHARE= D_CORE, > > --enable-module=3Dmost --enable-mods-shared=3Dmost, different MPM's...= ), > all > > of them with the same results. > >- I've tried all of this in a non-SMP machine, also with the same result= s. > >- I've reduced my module to a minimum, just a few "pRequest->rputs( ... > );", > > content-type, etc.. in the "handler()" method. So I think it cant't be > >(for the > > moment :) a bug in my code. > >- With the mod_cplusplus sample modules, the result are always the same > as > >with my > > little module. > > > >Any hints? Anyone had any similar problem, even if not using mod_cpluspl= us? > >Could it be a compiling/linking problem? Or with libraries? > > > >Any help would be *HIGHLY* appreciated, as I don't know what else can I > try... > > > >Best regards, > > > >Pachi. > > > > |
From: <jo...@st...> - 2002-08-26 14:55:12
|
Hi Pachi - I'm CC-ing the mod_cplusplus users list (we can take it off users@httpd if you like). I can help out later today on this, in the mean time can yo= u send me the version of apache and mod_cplusplus you are using (from cvs?)= . thanks - John K. Sterling >-- Original Message -- >Subject: httpd crash at startup with custom c++ (mod_cplusplus) module >From: Pachi Sucunza <pa...@sc...> >To: us...@ht..., jo...@st... >Date: 26 Aug 2002 16:45:38 +0200 > > >Hi everyone > >I have written an Apache module in C++ (using mod_cplusplus... >http://modcplusplus.sourceforge.net/ ) >The problem is that I can't get any C++ module working, the httpd proces= s >dies right after initialization, without any complaint or message (in st= dout >or any of the log files). > >I'll try to explain more thoroughly the situation: >- I'm running Linux - Debian 2.2 (potato), kernel 2.2.19-smp on a 2x1GHz= > Intel Pentium III. I use Apache 2.0.40. mod_cplusplus is the latest ve= rsion >(1.0.2). > My compiler is gcc 2.95.2 (the one packaged by Debian). >- I configured and compiled Apache, and mod_cplusplus, without problems.= >- I changed httpd.conf accordingly, to load mod_cplusplus and my module > (as in the mod_cplusplus sample configuration files), copied modules in >the > "modules" directory, etc. >- When I launch httpd, the mod_cplusplus initialization is done, and the= n >the one > in my custom module. After this (FIRST initializations), the server di= es >without > any message. >- If I just load mod_cplusplus module, but none of the C++ modules, the server > doesn't die (but it's not very useful... :) >- If I launch apache with the "-X" option (single-process mode), EVERYTH= ING >works > PERFECTLY: mod_cplusplus, mod_cplusplus samples, and my module. That's= >why I think > that the setup (httpd.conf) is right, and that my compilation and link= ing >seem > correct, too.. (?) > With that switch, mod_cplusplus' and my module's initialization are ca= lled >the second > time, and everything starts working OK. >- I've tried different settings to compile Apache (--enable-rule=3DSHARE= D_CORE, > --enable-module=3Dmost --enable-mods-shared=3Dmost, different MPM's...= ), all > of them with the same results. >- I've tried all of this in a non-SMP machine, also with the same result= s. >- I've reduced my module to a minimum, just a few "pRequest->rputs( ... );", > content-type, etc.. in the "handler()" method. So I think it cant't be= >(for the > moment :) a bug in my code. >- With the mod_cplusplus sample modules, the result are always the same as >with my > little module. > >Any hints? Anyone had any similar problem, even if not using mod_cpluspl= us? >Could it be a compiling/linking problem? Or with libraries? > >Any help would be *HIGHLY* appreciated, as I don't know what else can I try... > >Best regards, > >Pachi. > > |
From: <jo...@st...> - 2002-04-26 18:50:45
|
Okeedokee - I've got your patch ready to commit. All patches to mod_cplusplus will be added under the mod_cplusplus license - before i commit i just want to make sure that's ok with you. sterling |
From: Nathan S. <na...@al...> - 2002-04-26 03:31:12
|
On Thu, 2002-04-25 at 15:07, jo...@st... wrote: > the only problem with the streams stuff is that we'll need to link against > some other libraries. did you do a LoadFile in order to run the test > suite as well? > Yes, you're correct. I had to add a: LoadFile /usr/lib/libstdc++-3-libc6.1-2-2.10.0.so in httpd.conf before LoadModule mod_cplusplus ... (You'll have to substitue for whatever version libstdc++ you have of course). The only reson I didn't think to mention it sooner as I had to add it to the httpd.conf to get mod_cplusplus to load originally. Not sure why, as you aren't useing anything that would seem to require it. If you decide not to use the streams it would be an easy matter to rip them out, just delete the apache_output_buffer class, and change request_env to not inherit from ostream. I'm a big fan of streams though. Like I think most c++ programmers I wasn't originally, and kept slipping back to good old printf, but after one two many printf("%d",char* p) situations I saw the light. Initially I thought they might have a rather severe impact on performance but my very unscientific ab testing show only about 7% loss on the test handler (which performs no real work). nathan |
From: <jo...@st...> - 2002-04-25 20:12:34
|
the only problem with the streams stuff is that we'll need to link against some other libraries. did you do a LoadFile in order to run the test suite as well? if so, let me know - we should add this to the build system i suppose. right? sterling |
From: <ste...@co...> - 2002-04-25 17:28:19
|
On 25 Apr 2002, Nathan Stitt wrote: > > Ok here's my first cut at a request parameters decoding class. > > A patch against cvs and a tarball of all new files created are at: > http://stitt.org/code/mod_cplusplus/ COOL - i should be able to patch test and commit this one today - problem is: i get a FORBIDDEN when visiting that url above - is it protected by mod_access? thanks. sterling |
From: Nathan S. <na...@al...> - 2002-04-25 16:13:57
|
Ok here's my first cut at a request parameters decoding class. A patch against cvs and a tarball of all new files created are at: http://stitt.org/code/mod_cplusplus/ I took the liberty of having the patch add a small description of the class to changelog, and setting my email to na...@st... vs na...@al.... na...@al... is my 'work' email, and seeing as I'm doing this on my own, I figured it would be better to use my private email, this gets confusing however as I usually send email from work. I also included a few minor cleanups in patch, which you may or may not find usefull. Let me know what you think, Nathan Short explanation of work follows I've created three classes: apache_output_buffer - Inherits from std::streambuf and sends all output to ap_rputs. It also features buffering, meaning output can be buffered and then sent all at once at the end of the requests. On my local lan this is slower, however it may or may not be under real load, as it be more efficient not to trickle output to grandma with her 9600 baud modem :) Also buffering has an advantage as it allows deciding against sending output later on in the request cycle (for instance if an error occurs). request_env - inherits from std::ostream allowing it to be used like so: request_env ap( pRequest->get_request_rec() ); ap << "Hello World!" << std::endl; also is responsible for decoding request parameters. See modified test_handler for (hopefuly) better explanation of it's use. env_value - holds each value that was decoded from request_env, basically a tiny wrapper around std::vector, only exposing parts that are usefull. |
From: <jo...@st...> - 2002-04-23 19:22:31
|
cc'ing users list on this one. thought there might be some others intersted in win32 versions. On Tue, 23 Apr 2002, John P. Coffey wrote: > Hi John, hi - > Lastly the dlload functions are specific to linux so I had comment these > references out temporarily - out of curiosity did you want to target > windows? It looks doable and if so do you intend writing the equvalent to > dlload() dlcose() I had to put the following code in place in > apache_handler.cpp Nice work - I had planned to port to win32 at some point, but wasn't too too careful on this first pass. I do have a win32 build machine, so i should be able to test and commit your patches. I will change all the dlload crap to use apr, which will solve our problems there. > Also I changed some of the standard include headers to be > #include <ctype.h> as opposed to > #include "ctype.h" for improved project specific dependencies good point. > The attached project setting for windows is not very useful except for > compiler settings and libraries but it's a good starting point. sweet - i'll use that as a starting point. them we'll probably just post win32 binaries for folks (thats what most projects do for windoze) > Hope this is useful very. i'll work through it when i get a breath of fresh air. hopefully later this week. thanks a bunch - and keep the input coming. sterling |
From: <jo...@st...> - 2002-04-21 19:24:30
|
I have made some changes and bug fixes (for those of you on the mod...@li... you've seen the commits) and started bundling tarballs with auto tools. i'm calling it GA2 - but now bug fix versions will start happening. if anyone is using these tarballs lemme know if you have problems (otherwise cvs should work fine). check out http://sourceforge.net/project/showfiles.php?group_id=26896 if you're interested sterling |
From: <jo...@st...> - 2002-04-16 17:05:47
|
On 16 Apr 2002, Nathan Stitt wrote: > On Mon, 2002-04-15 at 13:59, sterling wrote: > > > cool - i think i just found the problem. if your handler expects POSTs it > > either need to suck the content out of the bucket, or tell the request to > > discard it before returning..... i just committed it to cvs - are you > > building from cvs? or using the tarball up on sourceforge? i'll update > > the tarball with the change. > > > > It looks as though that fixed it! So all I was missing reading the > content? I was mistakenly ignoring it for the purpose of my simple > tests, I guess apache didn't like that. yup - if you are planning on not reading the content, apache needs to be told via pRequest->discard_request_body() method. sterling |
From: Nathan S. <na...@al...> - 2002-04-16 13:34:15
|
On Mon, 2002-04-15 at 13:59, sterling wrote: > cool - i think i just found the problem. if your handler expects POSTs it > either need to suck the content out of the bucket, or tell the request to > discard it before returning..... i just committed it to cvs - are you > building from cvs? or using the tarball up on sourceforge? i'll update > the tarball with the change. > It looks as though that fixed it! So all I was missing reading the content? I was mistakenly ignoring it for the purpose of my simple tests, I guess apache didn't like that. Thanks for all your help on this. Now I can start focusing on getting an actually library together for easily accessing the get and post values. Later, nathan |
From: Nathan S. <na...@al...> - 2002-04-15 22:44:20
|
On Mon, 2002-04-15 at 13:59, sterling wrote: > On 15 Apr 2002, Nathan Stitt wrote: > > > On Mon, 2002-04-15 at 13:22, jo...@st... wrote: > > > have you modified the exmpample cpp handler? > > > > > > > > I'm not sure which handler your refering to. I've been testing with the > > example/handler/test_handler.cpp. The only changes I've made is to add > > mHits = 0 in the constructor, and then when I saw it wasn't handling > > posts correctly, added a bunch of ap_log_error(...) calls. > > cool - i think i just found the problem. if your handler expects POSTs it > either need to suck the content out of the bucket, or tell the request to > discard it before returning..... i just committed it to cvs - are you > building from cvs? or using the tarball up on sourceforge? i'll update > the tarball with the change. > Cool! Was wondering if it was something like that. I'm running cvs, I'll resync tommorow and give it a shot. Thanks for all your help on this! On a side note, I've been looking into moddifing the gnu c++ cgi library http://www.gnu.org/software/cgicc/cgicc.html for use with modcplusplus apache. Right now it looks like a rather easy change, but will know more once I get started on it. It's a bit more heavy that I would like, as it has lots of classes to generate html tables, forms, etc. I probably won't use them, but looks like they aren't constructed unless used, and someone else would probably appreciate them. Later, Nathan |
From: sterling <ste...@co...> - 2002-04-15 19:02:13
|
On 15 Apr 2002, Nathan Stitt wrote: > On Mon, 2002-04-15 at 13:22, jo...@st... wrote: > > have you modified the exmpample cpp handler? > > > > > I'm not sure which handler your refering to. I've been testing with the > example/handler/test_handler.cpp. The only changes I've made is to add > mHits = 0 in the constructor, and then when I saw it wasn't handling > posts correctly, added a bunch of ap_log_error(...) calls. cool - i think i just found the problem. if your handler expects POSTs it either need to suck the content out of the bucket, or tell the request to discard it before returning..... i just committed it to cvs - are you building from cvs? or using the tarball up on sourceforge? i'll update the tarball with the change. sterling |
From: Nathan S. <na...@al...> - 2002-04-15 18:50:13
|
On Mon, 2002-04-15 at 13:22, jo...@st... wrote: > Just curious - do you have the example filters loaded too in your config > file? maybe the problem is in the filters...... i'm not quite able to > reproduce it yet.... > No, I'm running a completly stock Apache 2.0.35 GA, configured with: ./configure --enable-info --with-mpm=worker and the following added in the httpd.conf: LoadFile /usr/lib/libstdc++.so.3.0.2 LoadModule cplusplus_module modules/libmod_cplusplus.so.0.0.0 LoadCPPHandler test_handler modules/libtest_handler.so AddCPPConnectionInputFilter test_input_filter <Location /cpp-handler> SetHandler cpp-handler AddCPPHandler test_handler </Location> > have you modified the exmpample cpp handler? > > I'm not sure which handler your refering to. I've been testing with the example/handler/test_handler.cpp. The only changes I've made is to add mHits = 0 in the constructor, and then when I saw it wasn't handling posts correctly, added a bunch of ap_log_error(...) calls. I'm testing with some of the other examples now to see if they exibit the same behaviour. Will let you know the results. Nathan |
From: <jo...@st...> - 2002-04-15 18:24:34
|
Just curious - do you have the example filters loaded too in your config file? maybe the problem is in the filters...... i'm not quite able to reproduce it yet.... have you modified the exmpample cpp handler? thanks. sterling |
From: <jo...@st...> - 2002-04-15 17:21:33
|
very interesting - the content length looks correct..... but the browser hangs? I'll try to reproduce this. sterling On 15 Apr 2002, Nathan Stitt wrote: > Greetings all, > > I had emailed John about this earlier, but am posting here to recap what > I've figured out thus far. > > Whenever a HTTP POST request is made to a cpp module, apache immediatly > returns whatever output the module provides but then inexplicably (so > far) doesn't close the connection, leading to an around 10 second > timeout before apache (or browser, unsure which) gives up on waiting, > and closes the tcp connection. > > This only seems to occur with browsers that attempt a keep alive > connection during posts. Both Mozilla and IE versions > 4 do this, > however Netscape 4.x does not. > > Here's a sniffed request that works: > > POST /cpp-handler HTTP/1.1 > User-Agent: curl/7.9.2 (i686-pc-linux-gnu) libcurl 7.9.2 (OpenSSL > 0.9.6b) > Host: nas.office.allmed.net > Pragma: no-cache > Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* > Content-Length: 17 > Content-Type: application/x-www-form-urlencoded > > test1=sa&test2=32 > > > And one that does not: > > > POST /cpp-handler HTTP/1.1 > Host: nas.office.allmed.net > Accept: */* > Accept-Language: en > Pragma: no-cache > Connection: Keep-Alive > Referer: http://nas.office.allmed.net/test.html > User-Agent: Mozilla/4.0 (compatible; MSIE 5.12; Mac_PowerPC) > UA-OS: MacOS > UA-CPU: PPC > Content-type: application/x-www-form-urlencoded > Extension: Security/Remote-Passphrase > Content-length: 17 > > test1=sa&test2=32 > > > As you can see, the content-length and content is the same for both > requests, they are both HTTP/1.1, however the failing request has the > Connection: Keep-Alive header. > > >From what I've been able to figure out by crude ap_log statements in the > mod_cpp source, the request does get through mod_cpp just fine, and > control passes back to apache before the time-out occures. gdb is > useless with the multithreaded nature of apache2, and segfaults before > even getting it running. > > The problem to me seems to lie in mod_cpp, as normal cgi's work fine. > Therefore perhaps there is something that mod_cpp should perform for > post requests that it's not? > > I've confirmed that turning off keep alives off in httpd.conf, makes the > problem go away. > > Does anyone else see this behaviour or is it only myself? > > Nathan > > > _______________________________________________ > Modcplusplus-user mailing list > Mod...@li... > https://lists.sourceforge.net/lists/listinfo/modcplusplus-user > |
From: Nathan S. <na...@al...> - 2002-04-15 16:06:07
|
Greetings all, I had emailed John about this earlier, but am posting here to recap what I've figured out thus far. Whenever a HTTP POST request is made to a cpp module, apache immediatly returns whatever output the module provides but then inexplicably (so far) doesn't close the connection, leading to an around 10 second timeout before apache (or browser, unsure which) gives up on waiting, and closes the tcp connection. This only seems to occur with browsers that attempt a keep alive connection during posts. Both Mozilla and IE versions > 4 do this, however Netscape 4.x does not. Here's a sniffed request that works: POST /cpp-handler HTTP/1.1 User-Agent: curl/7.9.2 (i686-pc-linux-gnu) libcurl 7.9.2 (OpenSSL 0.9.6b) Host: nas.office.allmed.net Pragma: no-cache Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Content-Length: 17 Content-Type: application/x-www-form-urlencoded test1=sa&test2=32 And one that does not: POST /cpp-handler HTTP/1.1 Host: nas.office.allmed.net Accept: */* Accept-Language: en Pragma: no-cache Connection: Keep-Alive Referer: http://nas.office.allmed.net/test.html User-Agent: Mozilla/4.0 (compatible; MSIE 5.12; Mac_PowerPC) UA-OS: MacOS UA-CPU: PPC Content-type: application/x-www-form-urlencoded Extension: Security/Remote-Passphrase Content-length: 17 test1=sa&test2=32 As you can see, the content-length and content is the same for both requests, they are both HTTP/1.1, however the failing request has the Connection: Keep-Alive header. From what I've been able to figure out by crude ap_log statements in the mod_cpp source, the request does get through mod_cpp just fine, and control passes back to apache before the time-out occures. gdb is useless with the multithreaded nature of apache2, and segfaults before even getting it running. The problem to me seems to lie in mod_cpp, as normal cgi's work fine. Therefore perhaps there is something that mod_cpp should perform for post requests that it's not? I've confirmed that turning off keep alives off in httpd.conf, makes the problem go away. Does anyone else see this behaviour or is it only myself? Nathan |
From: <jo...@st...> - 2002-04-08 16:19:46
|
I'm forwarding this on the the public list so it will start getting archived for us. to subscribe go here: http://lists.sourceforge.net/lists/listinfo/modcplusplus-user attached is a makefile i used to build test_auth.cpp - i created a directory, copied over example/handler/test_auth.[h,cpp] and modified the Makefile to have the proper -I include paths. This is a very simple makefile to help get you started. sterling |