I've updated (and bumped the version to 2.0.1) to fix that one issue. Can you try again and let me know what else you run into? I'd also like to know your platform.
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
the OS is CentOS release 4.4. The 2.0.1 version compiled perfectly well but failed the check for "protocol" test
waiting for server to start: .
waiting for server to start: ok (waited 0 secs)
server modtest.test.com:8529 started
filters/input........ok
filters/output.......ok
handler/auth.........ok
handler/handler......ok
protocol/protocol....
<!-- WARNING: this file is generated, do not edit
# Failed test 1 in protocol/protocol.t at line 34
protocol/protocol....FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
protocol/protocol.t 1 1 100.00% 1
*** server modtest.test.com:8529 shutdown
!!! error running tests (please examine t/logs/error_log)
make[1]: *** [check] Error 1
make[1]: Leaving directory `/mod_cplusplus/test'
make: *** [check-recursive] Error 1
Cheers
Sanjay
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, that test is failing across the board right now. I'll look into it, but in the mean time you should be good to go. I think it is just an issue with the test. I have some rework to do with the lifecycle of the protocol handlers and I'll tackle that test case along with it.
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am getting this message when I try to run 'make' after running the autogen.sh. Can someone throw some light on this problem.
if /bin/sh ../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/apache2/include -I/usr/local/apache2/include -I/usr/local/apache2/include -I/usr/local/apache2/include -I/usr/local/apache2/include -I/usr/local/apache2/include -I/usr/local/apache2/include -I/usr/local/apache2/include -I/usr/local/apache2/include -I/usr/local/apache2/include -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -pthread -Wall -Werror -g -I/mod_cplusplus/include -g -O2 -MT mod_cplusplus.lo -MD -MP -MF ".deps/mod_cplusplus.Tpo" -c -o mod_cplusplus.lo mod_cplusplus.c; \ then mv -f ".deps/mod_cplusplus.Tpo" ".deps/mod_cplusplus.Plo"; else rm -f ".deps/mod_cplusplus.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/apache2/include -I/usr/local/apache2/include -I/usr/local/apache2/include -I/usr/local/apache2/include -I/usr/local/apache2/include -I/usr/local/apache2/include -I/usr/local/apache2/include -I/usr/local/apache2/include -I/usr/local/apache2/include -I/usr/local/apache2/include -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -pthread -Wall -Werror -g -I/mod_cplusplus/include -g -O2 -MT mod_cplusplus.lo -MD -MP -MF .deps/mod_cplusplus.Tpo -c mod_cplusplus.c -fPIC -DPIC -o .libs/mod_cplusplus.o
mod_cplusplus.c: In function `cpp_close_handlers':
mod_cplusplus.c:79: warning: return makes integer from pointer without a cast
make: *** [mod_cplusplus.lo] Error 1
Cheers
Sanjay
Hi -
Sticky compiler. Just curious, what platform are you on (uname -a)? It is a real problem, so I'll fix it and re-distribute.
John
OK -
I've updated (and bumped the version to 2.0.1) to fix that one issue. Can you try again and let me know what else you run into? I'd also like to know your platform.
Thanks!
the OS is CentOS release 4.4. The 2.0.1 version compiled perfectly well but failed the check for "protocol" test
waiting for server to start: .
waiting for server to start: ok (waited 0 secs)
server modtest.test.com:8529 started
filters/input........ok
filters/output.......ok
handler/auth.........ok
handler/handler......ok
protocol/protocol....
<!-- WARNING: this file is generated, do not edit
# Failed test 1 in protocol/protocol.t at line 34
protocol/protocol....FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
protocol/protocol.t 1 1 100.00% 1
*** server modtest.test.com:8529 shutdown
!!! error running tests (please examine t/logs/error_log)
make[1]: *** [check] Error 1
make[1]: Leaving directory `/mod_cplusplus/test'
make: *** [check-recursive] Error 1
Cheers
Sanjay
Hi Sanjay -
Yes, that test is failing across the board right now. I'll look into it, but in the mean time you should be good to go. I think it is just an issue with the test. I have some rework to do with the lifecycle of the protocol handlers and I'll tackle that test case along with it.
Thanks!
Hi John
I can't the handler to work inside a VirtualHost. It works fine else where.
Also the protocol test that fails is inside a VirtualHost. These might be related.
Listen 8528
<VirtualHost _default_:8528>
LoadCPPHandler test_protocol /home/lenny/mod_cplusplus_svn/modcplusplus/trunk/example/protocol/.libs/libtest_protocol.so
AddCPPProtocol test_protocol
</VirtualHost>
- lny