Re: [Cppcms-users] Catched unknown exception
Brought to you by:
artyom-beilis
|
From: Manveru <ma...@ma...> - 2013-03-05 15:06:32
|
Tested with -rdynamic seems doing noting. The queries over the socket are not processed. Nothing in the log. I surrender. I do not see a chance to make it working on this FreeBSD. 2013/3/4 Manveru <ma...@ma...> > > > 2013/3/4 Artyom Beilis <art...@ya...> > >> >> Are you sure you configured service correctly? >> > > No, I can't. I expect that if any error happen it would help me solve the > configuraion issue. > > > One thing I remember about FreeBSD is that CMake does not provide >> -rdynamic option to linker so you may have problems with sharing >> exceptions over DSO... >> >> >> http://sourceforge.net/p/cppcms/code/2238/tree/framework/trunk/CMakeLists.txt#l135 >> >> >> Probably you need to add this to wikipp's CMakeLists.txt file... Or add a >> compilation >> option in command line. >> > > That is interesting. The other missing option was -pthread to get compiled > and linked against pthreads in non-standard /usr/local location. > > > >> >>> >> >>>Why tests (invoked by make test on cppcms) fail on FreeBSD? >> >>> >> >> >> >> >> >>1. What CppCMS version? >> > Latest from SVN >> > >> >> Currently there some failures on FreeBSD in svn version, but not that much >> http://cppcms.com/files/nightly-build-report.html >> >> Also they will be fixed >> >> The question why do you use svn version? >> > > Because I had problems with release version so I thought I give trunk a > try. I tried with clang as well, but that does not work as well. I may try > whatever compilation combination you like on this FreeBSD 9 I have access > to. > > >> > >> >2. Which test fails? >> >> >> > >> > 3 - storage_test (Failed) >> > 7 - cache_backend_test (Failed) >> > 15 - status_test (Failed) >> > ... >> > 74 - test_aio_prefork (Failed) >> > >> >> >> http://cppcms.com/wikipp/en/page/cppcms_1x_build_troubleshooting#Lots.of.tests.fails >> >> >> > OK. Port gives some hint. > Current results: > Total Test time (real) = 297.70 sec > > The following tests FAILED: > > 3 - storage_test (Failed) > 7 - cache_backend_test (Failed) > 23 - http_timeouts_test_write (Failed) > Errors while running CTest > *** Error code 8 > > Tested without -rdynamic yet. > > > Some additional info according the link you gave me: > ~/sources/cppcms-1.0.3/build>$ python -V > Python 2.7.2 > ~/sources/cppcms-1.0.3/build>$ cmake --version > cmake version 2.8.7 > ~/sources/cppcms-1.0.3/build>$ pcretest > PCRE version 8.30 2012-02-04 > ~/sources/cppcms-1.0.3/build>$ gcc --version > gcc (GCC) 4.2.1 20070831 patched [FreeBSD] > ~/sources/cppcms-1.0.3/build>$ gcc46 --version > gcc46 (FreeBSD Ports Collection) 4.6.3 20120120 (prerelease) > > /usr/local/include/unicode/uvernum.h:#define U_ICU_VERSION "4.8.1.1" > > > > -- > Manveru > jabber: ma...@ma... > gg: 1624001 > http://www.manveru.pl > -- Manveru jabber: ma...@ma... gg: 1624001 http://www.manveru.pl |