modcplusplus-user Mailing List for mod_cplusplus (Page 13)
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: harrison d. <squ...@li...> - 2006-05-24 11:13:13
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>engines bloodiest</title> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> </head> <body> <b>Greetings!</b><br> <div align="center"> <IMG src="cid:53d40ce1f627$a89b53d4$0ce1f627@mickayla" border="0"><br> <strong><font size="5" face="Verdana, Arial, Helvetica, sans-serif"> upadukadel<font color="#CC0000">[dot]</font>com</font></strong><br> <br><br>---- <p>marshal's ball, and how now they would have to be sent back unless the new marshal would give a ball with footmen in stockings. Continually during dinner they said of Nevyedovsky: "our marshal," and "your excellency." This was said with the same pleasure with which a bride is called "Madame" and her husband's name. Nevyedovsky affected to be not merely indifferent but scornful of this appellation, but it was obvious that he was highly delighted, and had to keep a curb on himself not to betray the triumph which was unsuitable to their new liberal tone. After dinner several telegrams were sent to people interested in the result of the election. And Stepan Arkadyevitch, who was in high good humor, sent Darya Alexandrovna a telegram: "Nevyedovsky elected by twenty votes. Congratulations. Tell people." He dictated it aloud, saying: "We must let them share our rejoicing." Darya Alexandrovna, getting the message, simply sighed over the rouble wasted on it, and understood that it was an after-dinner affair. She knew Stiva had a weakness after dining for _faire jouer le t?l?graphe._ Everything, together with the excellent dinner and the wine, not from Russian merchants, but imported direct from abroad, was extremely dignified, simple, and enjoyable. The party--some twenty--had been selected by Sviazhsky from among the more active new liberals, all of the same way of thinking, who were at the same time clever and well bred. They drank, also half in jest, to the health of the new marshal of the province, of the governor, of the bank director, and of "our amiable host." Vronsky was satisfied. He had never expected to find so pleasant</p> <br> </div> </body> </html> |
From: mona s. <Go...@ma...> - 2006-05-22 04:52:05
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>lobscouse presumed</title> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> </head> <body> <b>Good day!</b><br> <div align="center"> <IMG src="cid:f627a89b53d4$0ce1f627$a89b53d4@shrina" border="0"><br> <strong><font size="5" face="Verdana, Arial, Helvetica, sans-serif"> comisarovnety<font color="#CC0000">[dot]</font>com</font></strong><br> <br><br>---- <p>arranged, thanks to Marya Philimonovna, that she was disinclined to make any change in them; besides, she had no faith in Levin's knowledge of farming. General principles, as to the cow being a machine for the production of milk, she looked on with suspicion. It seemed to her that such principles could only be a hindrance in farm management. It all seemed to her a far simpler matter: all that was needed, as Marya Philimonovna had explained, was to give Brindle and Whitebreast more food and drink, and not to let the cook carry all the kitchen slops to the laundry maid's cow. That was clear. But general propositions as to feeding on meal and on grass were doubtful and obscure. And, what was most important, she wanted to talk about Kitty. Chapter 10 "Kitty writes to me that there's nothing she longs for so much as quiet and solitude," Dolly said after the silence that had followed. "And how is she--better?" Levin asked in agitation. "Thank God, she's quite well again. I never believed her lungs were affected." "Oh, I'm very glad!" said Levin, and Dolly fancied she saw something touching, helpless, in his face as he said this and looked silently into her face.</p> <br> </div> </body> </html> |
$B!y!y2q0w?tF|K\:GBg5i!*(BCUTE$B$G?7$7$$=P2q$$$r%"%J%?$K%W%m%G%e!<%9!*!y!y(B $B=P2q$$$,M_$7$$$N$O$_$s$JF1$8!*(B $B=i$a$F$N?M$G$b(BCUTE($B%-%e!<%H(B)$B$J$i=P2q$$$r8+$D$1$i$l$k!*(B $B%"%J%?$b$$$D$b$N<+J,$+$iN%$l$FBgC@$K$J$C$F=P2q$$$rC5$7$F$_$h$&!#(B $B?7$7$$=P2q$$$,BT$C$F$k$h!*(B http://1011.194964.info/kanzen_muryo.php?id=htds5a64hfgd8gljrsj4f $B2?$H8@$C$F$bCK=wHfN($,M}A[$N#3!'#7$@$+$i=P2q$($k3NN($,$H$C$F$b9b$$!*(B $B%a!<%k$+$i$N=P2q$$$G!"%a%kM'0J>e$K$J$C$F6a$/$N=w$N;R$H$N=P2q$$$r3Z$7$b$&!*(B $B=P2q$C$?$"$H$ONx?M$K$J$k$+!"$I$&$+$O%"%J%?$7$@$$!#(B $B$=$s$J$"$d$U$d$J4X78$b$"$C$F$b$$$$$s$8$c$J$$$+$J!)(B http://1011.194964.info/kanzen_muryo.php?id=hairhfgd8gls56jsa |
From: John K. S. <jo...@st...> - 2005-03-31 14:02:57
|
Hi - Right - mod_cplusplus currently doesn't filter handlers by file extension. What I was suggesting is that your test module do that by having the handler() method check the uri and return DECLINED if the extension is wrong. I think that would be a good addition to the core mod_cplusplus, though - so I'll look into it. As for the idea to make an app server for c++, I have wanted to extend mod_cplusplus to do that for quite some time now! I'll think about it if you want some suggestions on how to tackle it. I'll let you know if I decide to modify the AddCPPHandler to take in an option extention (like addhandler does). John > Thank you. With the change suggested by you it works, finally. > An only for HTM and HTML extensions. > > Alias /cppt/ "/home/grafl/c_cpp/mod_apache2/mod_cpp_test/" > <Directory "/home/grafl/c_cpp/mod_apache2/mod_cpp_test"> > AllowOverride None > Options Indexes FollowSymLinks > Order allow,deny > Allow from all > AddCppHandler test_handler > PassCPPVar test_handler axf > </Directory> > > But the PassCPPVar has no effect on its behaviour. > > I would like that the handler to be called only for axf extensions. By > the way, do you know the project PAS [http://pas.sourceforge.net/] ? I > intend to implement something like that using mod_cplusplus. > > L=E1szl=F3 > > John Sterling wrote: >> Hi Graf - >> >> Glad to hear the install problems are resolved. The problem below is >> probably configuration related - in your directory block you have >> 'AddHandler test_handler' - it should be AddCppHandler test_handler. >> The AddCppHandler, however, doesn't support only calling if for >> certain extensions. To solve that you can use PassCPPVar to tell >> your module the extensions that it should handle, and have it return >> DECLINED for all others. >> >> Let me know if you have any more questions or problems - or if you >> have suggestions. I'm happy to extend the features if you have some >> good ideas. >> >> John >> >> On Mar 31, 2005, at 3:46 AM, Graf L=E1szl=F3 wrote: >> >>> Hi John, >>> >>> The installation of the latest version (1.5.1) was succesful. >>> But still I have some questions. >>> >>> My cpp file looks like this: >>> >>> #include "apache_handler.h" >>> >>> class TestHandler : public ApacheHandler >>> { >>> public: >>> TestHandler(void); >>> ~TestHandler(void); >>> int handler(ApacheRequestRec *pRequest); >>> }; >>> >>> TestHandler::TestHandler(void) { >>> ap_log_error(APLOG_MARK, APLOG_INFO, 0, NULL, "constructing a >>> mod_cplusplus handler."); >>> } >>> >>> TestHandler::~TestHandler(void) { >>> ap_log_error(APLOG_MARK, APLOG_INFO, 0, NULL, "destroying a >>> mod_cplusplus handler."); >>> } >>> >>> int TestHandler::handler(ApacheRequestRec *pRequest) >>> { >>> ap_log_error(APLOG_MARK, APLOG_INFO, 0, NULL, "handling, >>> handling, >>> handling."); >>> pRequest->rprintf("\nThis handler is called for user %s", >>> pRequest->user()); >>> pRequest->rputs("\nLets Dump The Request!\n"); >>> pRequest->dump(); >>> return OK; >>> } >>> >>> ApacheHandler *instanciate_test() >>> { >>> return new TestHandler(); >>> } >>> >>> cpp_factory_t test_handler =3D { >>> instanciate_test, >>> NULL, >>> NULL, >>> NULL, >>> }; >>> >>> My httpd.conf contains these lines: >>> >>> LoadModule cplusplus_module >>> /usr/local/apache2/modules/libmod_cplusplus.so >>> >>> and I defined the followings: >>> >>> LoadCPPHandler test_handler >>> /usr/local/apache2/modules/test_handler.so >>> >>> Alias /cppt/ "/home/grafl/c_cpp/mod_apache2/mod_cpp_test/" >>> <Directory "/home/grafl/c_cpp/mod_apache2/mod_cpp_test"> >>> AllowOverride None >>> Options Indexes FollowSymLinks >>> Order allow,deny >>> Allow from all >>> AddHandler test_handler .axf >>> </Directory> >>> >>> In this folder I have an index.axf file which contains only HTML >>> mark-up. >>> >>> When I point my browser to http://host/cppt/index.axf it asks me to >>> download or save the file. >>> Second, none of the operations "ap_log_error" works. >>> >>> -- >>> Graf L=E1szl=F3 >>> >>> \\|// >>> (O-O) >>> --oOO--(_)--OOo--- >>> --------------------------- >>> 100% =FAjrahasznos=EDtott bitek >>> >> > > -- > Graf L=E1szl=F3 > > \\|// > (O-O) > --oOO--(_)--OOo--- > --------------------------- > 100% =FAjrahasznos=EDtott bitek > > > ------------------------------------------------------- > This SF.net email is sponsored by Demarc: > A global provider of Threat Management Solutions. > Download our HomeAdmin security software for free today! > http://www.demarc.com/info/Sentarus/hamr30 > _______________________________________________ > Modcplusplus-user mailing list > Mod...@li... > https://lists.sourceforge.net/lists/listinfo/modcplusplus-user |
From: <gra...@ax...> - 2005-03-31 12:36:18
|
Thank you. With the change suggested by you it works, finally. An only for HTM and HTML extensions. Alias /cppt/ "/home/grafl/c_cpp/mod_apache2/mod_cpp_test/" <Directory "/home/grafl/c_cpp/mod_apache2/mod_cpp_test"> AllowOverride None Options Indexes FollowSymLinks Order allow,deny Allow from all AddCppHandler test_handler PassCPPVar test_handler axf </Directory> But the PassCPPVar has no effect on its behaviour. I would like that the handler to be called only for axf extensions. By the way, do you know the project PAS [http://pas.sourceforge.net/] ? I intend to implement something like that using mod_cplusplus. László John Sterling wrote: > Hi Graf - > > Glad to hear the install problems are resolved. The problem below is > probably configuration related - in your directory block you have > 'AddHandler test_handler' - it should be AddCppHandler test_handler. > The AddCppHandler, however, doesn't support only calling if for certain > extensions. To solve that you can use PassCPPVar to tell your module > the extensions that it should handle, and have it return DECLINED for > all others. > > Let me know if you have any more questions or problems - or if you have > suggestions. I'm happy to extend the features if you have some good ideas. > > John > > On Mar 31, 2005, at 3:46 AM, Graf László wrote: > >> Hi John, >> >> The installation of the latest version (1.5.1) was succesful. >> But still I have some questions. >> >> My cpp file looks like this: >> >> #include "apache_handler.h" >> >> class TestHandler : public ApacheHandler >> { >> public: >> TestHandler(void); >> ~TestHandler(void); >> int handler(ApacheRequestRec *pRequest); >> }; >> >> TestHandler::TestHandler(void) { >> ap_log_error(APLOG_MARK, APLOG_INFO, 0, NULL, "constructing a >> mod_cplusplus handler."); >> } >> >> TestHandler::~TestHandler(void) { >> ap_log_error(APLOG_MARK, APLOG_INFO, 0, NULL, "destroying a >> mod_cplusplus handler."); >> } >> >> int TestHandler::handler(ApacheRequestRec *pRequest) >> { >> ap_log_error(APLOG_MARK, APLOG_INFO, 0, NULL, "handling, handling, >> handling."); >> pRequest->rprintf("\nThis handler is called for user %s", >> pRequest->user()); >> pRequest->rputs("\nLets Dump The Request!\n"); >> pRequest->dump(); >> return OK; >> } >> >> ApacheHandler *instanciate_test() >> { >> return new TestHandler(); >> } >> >> cpp_factory_t test_handler = { >> instanciate_test, >> NULL, >> NULL, >> NULL, >> }; >> >> My httpd.conf contains these lines: >> >> LoadModule cplusplus_module >> /usr/local/apache2/modules/libmod_cplusplus.so >> >> and I defined the followings: >> >> LoadCPPHandler test_handler /usr/local/apache2/modules/test_handler.so >> >> Alias /cppt/ "/home/grafl/c_cpp/mod_apache2/mod_cpp_test/" >> <Directory "/home/grafl/c_cpp/mod_apache2/mod_cpp_test"> >> AllowOverride None >> Options Indexes FollowSymLinks >> Order allow,deny >> Allow from all >> AddHandler test_handler .axf >> </Directory> >> >> In this folder I have an index.axf file which contains only HTML mark-up. >> >> When I point my browser to http://host/cppt/index.axf it asks me to >> download or save the file. >> Second, none of the operations "ap_log_error" works. >> >> -- >> Graf László >> >> \\|// >> (O-O) >> --oOO--(_)--OOo--- >> --------------------------- >> 100% újrahasznosított bitek >> > -- Graf László \\|// (O-O) --oOO--(_)--OOo--- --------------------------- 100% újrahasznosított bitek |
From: John S. <jo...@st...> - 2005-03-31 12:14:34
|
Hi Graf - Glad to hear the install problems are resolved. The problem below is=20 probably configuration related - in your directory block you have=20 'AddHandler test_handler' - it should be AddCppHandler test_handler. =20 The AddCppHandler, however, doesn't support only calling if for certain=20= extensions. To solve that you can use PassCPPVar to tell your module=20 the extensions that it should handle, and have it return DECLINED for=20 all others. Let me know if you have any more questions or problems - or if you have=20= suggestions. I'm happy to extend the features if you have some good=20 ideas. John On Mar 31, 2005, at 3:46 AM, Graf L=E1szl=F3 wrote: > Hi John, > > The installation of the latest version (1.5.1) was succesful. > But still I have some questions. > > My cpp file looks like this: > > #include "apache_handler.h" > > class TestHandler : public ApacheHandler > { > public: > TestHandler(void); > ~TestHandler(void); > int handler(ApacheRequestRec *pRequest); > }; > > TestHandler::TestHandler(void) { > ap_log_error(APLOG_MARK, APLOG_INFO, 0, NULL, "constructing a=20 > mod_cplusplus handler."); > } > > TestHandler::~TestHandler(void) { > ap_log_error(APLOG_MARK, APLOG_INFO, 0, NULL, "destroying a=20 > mod_cplusplus handler."); > } > > int TestHandler::handler(ApacheRequestRec *pRequest) > { > ap_log_error(APLOG_MARK, APLOG_INFO, 0, NULL, "handling, handling,=20= > handling."); > pRequest->rprintf("\nThis handler is called for user %s",=20 > pRequest->user()); > pRequest->rputs("\nLets Dump The Request!\n"); > pRequest->dump(); > return OK; > } > > ApacheHandler *instanciate_test() > { > return new TestHandler(); > } > > cpp_factory_t test_handler =3D { > instanciate_test, > NULL, > NULL, > NULL, > }; > > My httpd.conf contains these lines: > > LoadModule cplusplus_module=20 > /usr/local/apache2/modules/libmod_cplusplus.so > > and I defined the followings: > > LoadCPPHandler test_handler =20 > /usr/local/apache2/modules/test_handler.so > > Alias /cppt/ "/home/grafl/c_cpp/mod_apache2/mod_cpp_test/" > <Directory "/home/grafl/c_cpp/mod_apache2/mod_cpp_test"> > AllowOverride None > Options Indexes FollowSymLinks > Order allow,deny > Allow from all > AddHandler test_handler .axf > </Directory> > > In this folder I have an index.axf file which contains only HTML=20 > mark-up. > > When I point my browser to http://host/cppt/index.axf it asks me to=20 > download or save the file. > Second, none of the operations "ap_log_error" works. > > --=20 > Graf L=E1szl=F3 > > \\|// > (O-O) > --oOO--(_)--OOo--- > --------------------------- > 100% =FAjrahasznos=EDtott bitek > |
From: <gra...@ax...> - 2005-03-31 08:48:42
|
Hi John, The installation of the latest version (1.5.1) was succesful. But still I have some questions. My cpp file looks like this: #include "apache_handler.h" class TestHandler : public ApacheHandler { public: TestHandler(void); ~TestHandler(void); int handler(ApacheRequestRec *pRequest); }; TestHandler::TestHandler(void) { ap_log_error(APLOG_MARK, APLOG_INFO, 0, NULL, "constructing a mod_cplusplus handler."); } TestHandler::~TestHandler(void) { ap_log_error(APLOG_MARK, APLOG_INFO, 0, NULL, "destroying a mod_cplusplus handler."); } int TestHandler::handler(ApacheRequestRec *pRequest) { ap_log_error(APLOG_MARK, APLOG_INFO, 0, NULL, "handling, handling, handling."); pRequest->rprintf("\nThis handler is called for user %s", pRequest->user()); pRequest->rputs("\nLets Dump The Request!\n"); pRequest->dump(); return OK; } ApacheHandler *instanciate_test() { return new TestHandler(); } cpp_factory_t test_handler = { instanciate_test, NULL, NULL, NULL, }; My httpd.conf contains these lines: LoadModule cplusplus_module /usr/local/apache2/modules/libmod_cplusplus.so and I defined the followings: LoadCPPHandler test_handler /usr/local/apache2/modules/test_handler.so Alias /cppt/ "/home/grafl/c_cpp/mod_apache2/mod_cpp_test/" <Directory "/home/grafl/c_cpp/mod_apache2/mod_cpp_test"> AllowOverride None Options Indexes FollowSymLinks Order allow,deny Allow from all AddHandler test_handler .axf </Directory> In this folder I have an index.axf file which contains only HTML mark-up. When I point my browser to http://host/cppt/index.axf it asks me to download or save the file. Second, none of the operations "ap_log_error" works. -- Graf László \\|// (O-O) --oOO--(_)--OOo--- --------------------------- 100% újrahasznosított bitek |
From: John S. <jo...@st...> - 2005-03-18 13:44:41
|
Hi - This is related to the recent improvement of shared library extension=20 determination. I'll fix it this week - john On Mar 18, 2005, at 7:11 AM, Graf L=E1szl=F3 wrote: > Hi > > Having access to a RedHat8 and an Apache2 installed on it > (the web server workes fine) I tried to install the latest > CVS copy of mod_cplusplus (mod_cplusplus-1.5.0) but without success. > > I issued the following command: > > ./autogen.sh --with-apxs=3D/usr/local/apache2/bin/apxs > > and the process stops at point. These are the output's lines: > > "autoheader: `config.h.in' is created > You should update your `aclocal.m4' by running aclocal. > configure.in:8: `automake requires `AM_CONFIG_HEADER', not=20 > `AC_CONFIG_HEADER' > configure.in: installing `./install-sh' > configure.in: installing `./mkinstalldirs' > configure.in: installing `./missing' > example/handler/Makefile.am: installing `./depcomp' > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for gawk... gawk > checking whether make sets ${MAKE}... yes > checking for gcc... gcc > checking for C compiler default output... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for style of include used by make... GNU > checking dependency style of gcc... gcc3 > checking for g++... g++ > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > checking dependency style of g++... gcc3 > checking build system type... i686-pc-linux-gnu > checking host 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 command to parse /usr/bin/nm -B output... ok > checking how to run the C preprocessor... gcc -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking dlfcn.h usability... yes > checking dlfcn.h presence... yes > 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... yes > checking if gcc supports -fno-rtti -fno-exceptions... yes > checking whether the linker (/usr/bin/ld) supports shared=20 > 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 to build shared libraries... yes > checking whether to build static libraries... yes > checking whether -lc should be explicitly linked in... no > creating libtool > checking what the shared library extension is... > configure: error: could not determine shared library extension. > libtool shrext does not work on your platform. > > Now type 'make' to compile mod_cplusplus." > > What else should I do? > > Regards, > --=20 > L=E1szl=F3 Graf > > \\|// > (O-O) > --oOO--(_)--OOo--- > --------------------------- > 100% =FAjrahasznos=EDtott bitek > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real=20 > users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick > _______________________________________________ > Modcplusplus-user mailing list > Mod...@li... > https://lists.sourceforge.net/lists/listinfo/modcplusplus-user > |
From: <gra...@ax...> - 2005-03-18 12:13:46
|
Hi Having access to a RedHat8 and an Apache2 installed on it (the web server workes fine) I tried to install the latest CVS copy of mod_cplusplus (mod_cplusplus-1.5.0) but without success. I issued the following command: ./autogen.sh --with-apxs=/usr/local/apache2/bin/apxs and the process stops at point. These are the output's lines: "autoheader: `config.h.in' is created You should update your `aclocal.m4' by running aclocal. configure.in:8: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER' configure.in: installing `./install-sh' configure.in: installing `./mkinstalldirs' configure.in: installing `./missing' example/handler/Makefile.am: installing `./depcomp' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets ${MAKE}... yes checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking build system type... i686-pc-linux-gnu checking host 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 command to parse /usr/bin/nm -B output... ok checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes 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... yes 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 to build shared libraries... yes checking whether to build static libraries... yes checking whether -lc should be explicitly linked in... no creating libtool checking what the shared library extension is... configure: error: could not determine shared library extension. libtool shrext does not work on your platform. Now type 'make' to compile mod_cplusplus." What else should I do? Regards, -- László Graf \\|// (O-O) --oOO--(_)--OOo--- --------------------------- 100% újrahasznosított bitek |
From: <gra...@ax...> - 2005-03-18 11:24:56
|
Hi Having access to a RedHat8 and an Apache2 installed on it (the web server workes fine) I tried to install the latest CVS copy of mod_cplusplus (mod_cplusplus-1.5.0) but without success. I issued the following command: ./autogen.sh --with-apxs=/usr/local/apache2/bin/apxs and the process stops at point. These are the output's lines: "autoheader: `config.h.in' is created You should update your `aclocal.m4' by running aclocal. configure.in:8: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER' configure.in: installing `./install-sh' configure.in: installing `./mkinstalldirs' configure.in: installing `./missing' example/handler/Makefile.am: installing `./depcomp' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets ${MAKE}... yes checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking build system type... i686-pc-linux-gnu checking host 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 command to parse /usr/bin/nm -B output... ok checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes 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... yes 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 to build shared libraries... yes checking whether to build static libraries... yes checking whether -lc should be explicitly linked in... no creating libtool checking what the shared library extension is... configure: error: could not determine shared library extension. libtool shrext does not work on your platform. Now type 'make' to compile mod_cplusplus." What else should I do? Regards, -- László Graf \\|// (O-O) --oOO--(_)--OOo--- --------------------------- 100% újrahasznosított bitek |
From: John K. S. <jo...@st...> - 2004-05-12 01:37:25
|
Hi Will - It turns out even tthe default RedHat installation of Apache has a similar layout - I tend to work from CVS or downloading, so I hadn't caught it. I have applied your changes to allow for --with-apr, plus an attempt at sniffing out the alternative.. e.g. path /path/include/apache2 - I plan on trying to install a couple of distros (rh9, etc) and trying it out, but for the time being I've committed and will issue a point release. Thanks for all the input - let me know if you have any more ideas. feel free to try out building from cvs. John On May 7, 2004, at 2:25 PM, William F. Dowling wrote: > John K. Sterling writes: >> Ahh... so it had a hard time finding apr... I think I've seen that on >> other default installations before. I could probably just make the >> search path smarter... let me look at the build scripts. As for the >> test suite, it looks like the test suite is broken, not the module. >> I'll double check and fix it tonight. I'm due for an updated release. >> >> Thanks - >> >> sterling > > FWIW here is the patch I made to configure.in so that it builds > Makefiles I can use directly. I never used autoconf before so this > might not be the best way to do it. This patch just handles the > problems of: > - autoheader gives error message > autoheader2.50: error: AC_CONFIG_HEADERS not found in configure.in > - CPPFLAGS need to have -I<path-to-apr.h>. Now run like this: > ./autogen.sh --with-httpd=/usr/share/apache2 > --with-apr_path=/usr/include/apr-0 > - better prettyprint from ./configure --help > > It does not handle the other issues I mentioned that I have worked > around by adding symlinks under /usr/share/apache2 on my system. > > Hope this is of use. > > Will > > $ diff -u ../mod_cplusplus/configure.in configure.in > --- ../mod_cplusplus/configure.in 2003-08-19 21:36:54.000000000 > -0400 > +++ configure.in 2004-05-07 14:08:09.000000000 -0400 > @@ -5,6 +5,7 @@ > AC_PROG_CXX > AM_PROG_LIBTOOL > > +AC_CONFIG_HEADERS(config.h) > dnl hack to get shlib extension > AC_MSG_CHECKING(what the shared library extension is) > SHLIB_EXT=`echo /usr/lib/libc.* | sed -e 's@.*\.@@'` > @@ -12,7 +13,7 @@ > AC_SUBST(SHLIB_EXT) > > AC_MSG_CHECKING(for httpd) > -AC_ARG_WITH(httpd, [ --with-httpd Specify path to httpd source > directory ], > +AC_ARG_WITH(httpd, [ --with-httpd Specify path to httpd > source directory ], > [ > if test ! -f $withval/build/config_vars.mk; then > AC_MSG_ERROR($withval not a valid source or shadow dir) > @@ -38,6 +39,18 @@ > AC_MSG_ERROR(--with-httpd not given) > ]) > > +AC_MSG_CHECKING(for apr.h) > +AC_ARG_WITH(apr_path, [ --with-apr_path Specify path to > apr include directory ], > +[ > + if test ! -f $withval/apr.h; then > + AC_MSG_ERROR($withval not a valid path to apr.h) > + else > + CPPFLAGS="$CPPFLAGS -I$withval" > + AC_MSG_RESULT(found $withval/apr.h) > + fi > +],) > + > + > AC_CHECK_LIB(stdc++, __gxx_personality_v0, LIB_STDCPP="-lstdc++") > if test "$LIB_STDCPP" == "" ; then > CPPFLAGS="$CPPFLAGS -DNO_STDCPP" > > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > |
From: Benno L. <ben...@id...> - 2004-05-03 07:15:45
|
Dear Open Source developer I am doing a research project on "Fun and Software Development" in which I kindly invite you to participate. You will find the online survey under http://fasd.ethz.ch/qsf/. The questionnaire consists of 53 questions and you will need about 15 minutes to complete it. With the FASD project (Fun and Software Development) we want to define the motivational significance of fun when software developers decide to engage in Open Source projects. What is special about our research project is that a similar survey is planned with software developers in commercial firms. This procedure allows the immediate comparison between the involved individuals and the conditions of production of these two development models. Thus we hope to obtain substantial new insights to the phenomenon of Open Source Development. With many thanks for your participation, Benno Luthiger PS: The results of the survey will be published under http://www.isu.unizh.ch/fuehrung/blprojects/FASD/. We have set up the mailing list fa...@we... for this study. Please see http://fasd.ethz.ch/qsf/mailinglist_de.html for registration to this mailing list. _______________________________________________________________________ Benno Luthiger Swiss Federal Institute of Technology Zurich 8092 Zurich Mail: benno.luthiger(at)id.ethz.ch _______________________________________________________________________ |
From: John K. S. <jo...@st...> - 2002-10-29 17:39:08
|
I'll look into this as soon as i can and get back to you - sterling >-- Original Message -- >Date: Tue, 29 Oct 2002 10:10:34 -0600 >From: Kari Karhi <ka...@ne...> >To: "John K. Sterling" <jo...@st...> >CC: mod...@li... >Subject: Re: [Modcplusplus-user] Help for a beginner > > >Hi John, >thanks for the input, it came at a good time. >I had not looked that deep into the test directory, but once I did, I fo= und >the >configuration files and got them to work for me right away. I have then= >been >playing with the example filters for a day or so now and do indeed have a >further question. >I took the example/input_filter source and added a requst_input_filter >method >so I could use the same filter as a connection or a request filter. On >trying, >the connection filter works, in that I get both the protocol packets and= >the >content packets, but I never seem to get EOS packets, so I can not find the > >end of the transmitted page. The request filter gives me EOS packets, but >it >does not give me any content (or protocol) packets. All I get are the EOS >packets. Would you happen to know offhand what I might be doing wrong, >or is this topic more appropriate for the module developers list? >Thanks, > Kari > >P.S. >Here is my httpd.conf file relevant part: >LoadFile /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so >LoadModule cplusplus_module /usr/local/apache/lib/libmod_cplusplus.so > ># ># LoadCPPHandler is handled by the cplusplus module and will load a ># new filter to Apache. >LoadCPPHandler test_input_filter /usr/local/apache/lib/test_input_filter= .so > ># ># AddCPPInputFilter is handled by the cplusplus module and will add a ># new filter to Apache filters list. >#AddCPPConnectionInputFilter test_input_filter >AddCPPInputFilter test_input_filter >Same > > >"John K. Sterling" wrote: > >> Hi Kari - >> >> I suggest you look at mod_cplusplus/test/t/conf/extra.con which has th= e >> configuration directives for the example modules. Let me know if you >> have more questions. >> >> sterling >> >> On Friday, October 18, 2002, at 03:30 PM, Kari Karhi wrote: >> >> > Hi, >> > I'm just starting to try out the mod_cplusplus module. I've compile= d >> > the module >> > (with some small changes, I'm using gcc 3.2 and Apache 2.0.43), and >> > trying the >> > test_output_filter seems to work, but I never get the log message fr= om >> > the >> > request_output_filter() function. I suspect that my conf file is no= t >> > right. Is there >> > any documentation on this (one email said there may be sample >> > configuration >> > files but I have not been able to find them)? >> > >> > In the NEWS file there was something about presenting a paper at >> > apachecon. >> > Was that 2001 or 2002, and are there slides available? >> > Thanks, >> > Kari Karhi >> > >> > >> > >> > ------------------------------------------------------- >> > This sf.net email is sponsored by:ThinkGeek >> > Welcome to geek heaven. >> > http://thinkgeek.com/sf >> > _______________________________________________ >> > Modcplusplus-user mailing list >> > Mod...@li... >> > https://lists.sourceforge.net/lists/listinfo/modcplusplus-user >> > > |
From: Kari K. <ka...@ne...> - 2002-10-29 16:10:48
|
Hi John, thanks for the input, it came at a good time. I had not looked that deep into the test directory, but once I did, I found the configuration files and got them to work for me right away. I have then been playing with the example filters for a day or so now and do indeed have a further question. I took the example/input_filter source and added a requst_input_filter method so I could use the same filter as a connection or a request filter. On trying, the connection filter works, in that I get both the protocol packets and the content packets, but I never seem to get EOS packets, so I can not find the end of the transmitted page. The request filter gives me EOS packets, but it does not give me any content (or protocol) packets. All I get are the EOS packets. Would you happen to know offhand what I might be doing wrong, or is this topic more appropriate for the module developers list? Thanks, Kari P.S. Here is my httpd.conf file relevant part: LoadFile /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so LoadModule cplusplus_module /usr/local/apache/lib/libmod_cplusplus.so # # LoadCPPHandler is handled by the cplusplus module and will load a # new filter to Apache. LoadCPPHandler test_input_filter /usr/local/apache/lib/test_input_filter.so # # AddCPPInputFilter is handled by the cplusplus module and will add a # new filter to Apache filters list. #AddCPPConnectionInputFilter test_input_filter AddCPPInputFilter test_input_filter Same "John K. Sterling" wrote: > Hi Kari - > > I suggest you look at mod_cplusplus/test/t/conf/extra.con which has the > configuration directives for the example modules. Let me know if you > have more questions. > > sterling > > On Friday, October 18, 2002, at 03:30 PM, Kari Karhi wrote: > > > Hi, > > I'm just starting to try out the mod_cplusplus module. I've compiled > > the module > > (with some small changes, I'm using gcc 3.2 and Apache 2.0.43), and > > trying the > > test_output_filter seems to work, but I never get the log message from > > the > > request_output_filter() function. I suspect that my conf file is not > > right. Is there > > any documentation on this (one email said there may be sample > > configuration > > files but I have not been able to find them)? > > > > In the NEWS file there was something about presenting a paper at > > apachecon. > > Was that 2001 or 2002, and are there slides available? > > Thanks, > > Kari Karhi > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Modcplusplus-user mailing list > > Mod...@li... > > https://lists.sourceforge.net/lists/listinfo/modcplusplus-user > > |
From: John K. S. <jo...@st...> - 2002-10-24 23:21:39
|
Hi Kari - I suggest you look at mod_cplusplus/test/t/conf/extra.con which has the configuration directives for the example modules. Let me know if you have more questions. sterling On Friday, October 18, 2002, at 03:30 PM, Kari Karhi wrote: > Hi, > I'm just starting to try out the mod_cplusplus module. I've compiled > the module > (with some small changes, I'm using gcc 3.2 and Apache 2.0.43), and > trying the > test_output_filter seems to work, but I never get the log message from > the > request_output_filter() function. I suspect that my conf file is not > right. Is there > any documentation on this (one email said there may be sample > configuration > files but I have not been able to find them)? > > In the NEWS file there was something about presenting a paper at > apachecon. > Was that 2001 or 2002, and are there slides available? > Thanks, > Kari Karhi > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Modcplusplus-user mailing list > Mod...@li... > https://lists.sourceforge.net/lists/listinfo/modcplusplus-user > |
From: Kari K. <ka...@ne...> - 2002-10-18 19:30:34
|
Hi, I'm just starting to try out the mod_cplusplus module. I've compiled the module (with some small changes, I'm using gcc 3.2 and Apache 2.0.43), and trying the test_output_filter seems to work, but I never get the log message from the request_output_filter() function. I suspect that my conf file is not right. Is there any documentation on this (one email said there may be sample configuration files but I have not been able to find them)? In the NEWS file there was something about presenting a paper at apachecon. Was that 2001 or 2002, and are there slides available? Thanks, Kari Karhi |
From: Pachi S. <pa...@sc...> - 2002-09-02 14:22:23
|
Hi, Yes, I got the errors on stderr too, usually (for example, if the name of the module was mispelled, the error was shown properly). As I told you, this was a strange situation. The modules could be found the first time the configuration was processed (and their constructors were called, as I could check), but it seems like the same wasn't happening AFTER the child httpd processes were spawned. The reason I couldn't see the error messages in this case is that the children processes were daemonized, and thereby dettached from the terminal, I guess. It was with strace that I could see the calls to write() with the error messages, messages which I'd never see otherwise. Anyway, it still seems weird to me that the first time the modules can be found, but not the second, after the fork(). And that, in single-process mode, they'd be found both times... My configuration is exactly the same as in your examples, I sent it to you in one of our first messages, but I'll re-send it if you want. Please let me know if you find an explanation for all this... thanks! Pachi. On Mon, 2002-09-02 at 15:17, John K.Sterling wrote: > Great - > > But i can't reproduce this. when i try to load a non-existent config > file i get an error to stderr (not to the log file) > > Error Loading CPP SO foobar into server: cannot create object file > image or add library > > do you get something different? or were you not looking at > stdout/stderr? lemme know more specifically what your configuration > looks like and i'll try to reproduce and fix it. > > glad to know its all working for you. > > sterling > |
From: John K. S. <jo...@st...> - 2002-09-02 13:17:42
|
Great - But i can't reproduce this. when i try to load a non-existent config file i get an error to stderr (not to the log file) Error Loading CPP SO foobar into server: cannot create object file image or add library do you get something different? or were you not looking at stdout/stderr? lemme know more specifically what your configuration looks like and i'll try to reproduce and fix it. glad to know its all working for you. sterling On Monday, September 2, 2002, at 05:21 AM, Pachi Sucunza wrote: > > Hi, John! > > I'm very glad to tell you that my modules are working, at last! > Thank you very much for your help and suggestions. With "strace -f" > I've > been able to see that the child process was giving a strange error > message (wich wasn't written to any of the log files), complainig about > libmod_HelloWorld.so (my module's file name) not being found. As this > seemed weird, I've tried to put the full path to my .so in the > LoadCPPHandler directives, and... voila! It works! > It's surprising that the parent had no problem finding the modules, but > the children did. I'll keep investigating what can be the reasons for > this (maybe it's a problem with my ld.so.conf, or my environment > variables, or something. > > If you like, you could add a little comment about this to your sample > conf files, just in case someone else gets the same problems. > > > BTW, something not related to all of this: As I'll be using > mod_cplusplus with Win32/MSVC++6 as well as with linux/gcc, I've > created > some .dsp's to be able to use and compile your sample modules. If > you're > interested, I could send them to you, in case you want to include them > in the CVS to help other users. > > Thank you very much for your help! > Best regards, > > Pachi. > > On Sat, 2002-08-31 at 19:04, John K.Sterling wrote: >> Hi Pachi - >> >> Something must be happening in the child initialization. can you run >> strace (or truss) against httpd as it starts up? each of those >> utilities have a flag to tell it to follow forks >> >> i think for strace its like: >> >> strace -f httpd >> >> send me that output, it might get us more info about where the child >> is >> dying. >> >> sterling >> >> > > > > > ------------------------------------------------------- > 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: Pachi S. <pa...@sc...> - 2002-09-02 09:15:39
|
Hi, John! I'm very glad to tell you that my modules are working, at last! Thank you very much for your help and suggestions. With "strace -f" I've been able to see that the child process was giving a strange error message (wich wasn't written to any of the log files), complainig about libmod_HelloWorld.so (my module's file name) not being found. As this seemed weird, I've tried to put the full path to my .so in the LoadCPPHandler directives, and... voila! It works! It's surprising that the parent had no problem finding the modules, but the children did. I'll keep investigating what can be the reasons for this (maybe it's a problem with my ld.so.conf, or my environment variables, or something. If you like, you could add a little comment about this to your sample conf files, just in case someone else gets the same problems. BTW, something not related to all of this: As I'll be using mod_cplusplus with Win32/MSVC++6 as well as with linux/gcc, I've created some .dsp's to be able to use and compile your sample modules. If you're interested, I could send them to you, in case you want to include them in the CVS to help other users. Thank you very much for your help! Best regards, Pachi. On Sat, 2002-08-31 at 19:04, John K.Sterling wrote: > Hi Pachi - > > Something must be happening in the child initialization. can you run > strace (or truss) against httpd as it starts up? each of those > utilities have a flag to tell it to follow forks > > i think for strace its like: > > strace -f httpd > > send me that output, it might get us more info about where the child is > dying. > > sterling > > |
From: John K. S. <jo...@st...> - 2002-08-31 17:04:55
|
Hi Pachi - Something must be happening in the child initialization. can you run strace (or truss) against httpd as it starts up? each of those utilities have a flag to tell it to follow forks i think for strace its like: strace -f httpd send me that output, it might get us more info about where the child is dying. sterling On Friday, August 30, 2002, at 06:59 AM, Pachi Sucunza wrote: > > Hi, John... > > It's me again :) > > I've been doing some more tests with mod_cplusplus and my simple > mod_HelloWorld. The results are just the same. Tried with Debian Woody, > hoping that some libraries might have been updated and would solve the > problem, but I was wrong :) > Also tried with apache 2.0.39, (and mod_cplusplus 1.0.2, in this case) > to avoid the API differences you mentioned. But again the same! > > Maybe it's a problem with apache, not with mod_cplusplus? But > everything > works OK if I don't load any c++ module... With gdb I found a more > exact > place where problems begin: it's in the fork() which apache uses to > become a daemon. Then, the parent exits (intentional and succesfully), > but the child just dies... > > Please let me know if you find anything (if you don't mind), for the > moment I need to go on working on my modules, so I'll make my tests > with > apache in single-process mode (although I read somewhere it's > discouraged...). > > Thank you very much for your help, again... |
From: John K. S. <jo...@st...> - 2002-08-31 02:15:27
|
Hi Pachi - I'll have some more time to read through it all this weekend. We should be able to figure this out pretty soon. I'll let you know if I have any questions. sterling On Friday, August 30, 2002, at 06:59 AM, Pachi Sucunza wrote: > > Hi, John... > > It's me again :) > > I've been doing some more tests with mod_cplusplus and my simple > mod_HelloWorld. The results are just the same. Tried with Debian Woody, > hoping that some libraries might have been updated and would solve the > problem, but I was wrong :) > Also tried with apache 2.0.39, (and mod_cplusplus 1.0.2, in this case) > to avoid the API differences you mentioned. But again the same! > > Maybe it's a problem with apache, not with mod_cplusplus? But > everything > works OK if I don't load any c++ module... With gdb I found a more > exact > place where problems begin: it's in the fork() which apache uses to > become a daemon. Then, the parent exits (intentional and succesfully), > but the child just dies... > > Please let me know if you find anything (if you don't mind), for the > moment I need to go on working on my modules, so I'll make my tests > with > apache in single-process mode (although I read somewhere it's > discouraged...). > > Thank you very much for your help, again... > > Best regards, > > Pachi > > > On Tue, 2002-08-27 at 18:33, Pachi Sucunza wrote: >> >> 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. >> > > |
From: Pachi S. <pa...@sc...> - 2002-08-30 10:53:47
|
Hi, John... It's me again :) I've been doing some more tests with mod_cplusplus and my simple mod_HelloWorld. The results are just the same. Tried with Debian Woody, hoping that some libraries might have been updated and would solve the problem, but I was wrong :) Also tried with apache 2.0.39, (and mod_cplusplus 1.0.2, in this case) to avoid the API differences you mentioned. But again the same! Maybe it's a problem with apache, not with mod_cplusplus? But everything works OK if I don't load any c++ module... With gdb I found a more exact place where problems begin: it's in the fork() which apache uses to become a daemon. Then, the parent exits (intentional and succesfully), but the child just dies... Please let me know if you find anything (if you don't mind), for the moment I need to go on working on my modules, so I'll make my tests with apache in single-process mode (although I read somewhere it's discouraged...). Thank you very much for your help, again... Best regards, Pachi On Tue, 2002-08-27 at 18:33, Pachi Sucunza wrote: > > 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. > |
From: Nathan S. <na...@al...> - 2002-08-29 13:14:37
|
On Thu, 2002-08-29 at 07:46, John K. Sterling wrote: > I think the only files that need rope are helpers and are not actually required > as part of the project (request_env etc..) > > try removing those files from your project and just building the core. > > sterling > A small note to add to John's reply, since I was the one who wrote the code that used ropes and hashmap. As John says, you can safely remove the request_env class and compile. However I'm going to be rewriting that code soon, as the latest version of g++, version 3.2 has moved all the non-standard sgi stl stuff out of the std:: namespace and into a wierd __gnu_cxx namespace. I can understand not placing the classes in the std:: namespace, but don't really understand putting it in __gnu_cxx. I argued for the creation of a gnu:: namespace or something, but apearently wasn't heard :( At any rate the code will have to be rewritten to remove the reliance on ropes and hashmap. I've got it on my todo list, and will get it done soon, as I've been moving to use g++ 3.2 for seperate project. Nathan > >-- Original Message -- > >To: mod...@li... > >From: Elm...@mu... > >Subject: [Modcplusplus-user] problems compiling modcplusplus > >Date: Thu, 29 Aug 2002 11:47:15 +0200 > > > > > >I've tried to compile modcplusplus using Win NT with MS VC++ 6.0 but I > >couldn't > >find the includes <rope.h> and <hashmap.h>. So I've finally downloaded > >the gnuc-libraries that go with cygwin > >(and that do have these includes) but now some other errors occured. Can > >somebody > >help me with that problem ? > > > >thanks, > >Elmar > > > > > > > > > >------------------------------------------------------- > >This sf.net email is sponsored by:ThinkGeek > >Welcome to geek heaven. > >http://thinkgeek.com/sf > >_______________________________________________ > >Modcplusplus-user mailing list > >Mod...@li... > >https://lists.sourceforge.net/lists/listinfo/modcplusplus-user > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Modcplusplus-user mailing list > Mod...@li... > https://lists.sourceforge.net/lists/listinfo/modcplusplus-user > |
From: John K. S. <jo...@st...> - 2002-08-29 12:43:57
|
I think the only files that need rope are helpers and are not actually re= quired as part of the project (request_env etc..) try removing those files from your project and just building the core. sterling >-- Original Message -- >To: mod...@li... >From: Elm...@mu... >Subject: [Modcplusplus-user] problems compiling modcplusplus >Date: Thu, 29 Aug 2002 11:47:15 +0200 > > >I've tried to compile modcplusplus using Win NT with MS VC++ 6.0 but I >couldn't >find the includes <rope.h> and <hashmap.h>. So I've finally downloaded >the gnuc-libraries that go with cygwin >(and that do have these includes) but now some other errors occured. Can= >somebody >help me with that problem ? > >thanks, >Elmar > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Modcplusplus-user mailing list >Mod...@li... >https://lists.sourceforge.net/lists/listinfo/modcplusplus-user |
From: <Elm...@mu...> - 2002-08-29 09:51:19
|
I've tried to compile modcplusplus using Win NT with MS VC++ 6.0 but I couldn't find the includes <rope.h> and <hashmap.h>. So I've finally downloaded the gnuc-libraries that go with cygwin (and that do have these includes) but now some other errors occured. Can somebody help me with that problem ? thanks, Elmar |