cppcms-users Mailing List for CppCMS C++ Web Framework (Page 110)
Brought to you by:
artyom-beilis
You can subscribe to this list here.
2009 |
Jan
|
Feb
(22) |
Mar
|
Apr
(3) |
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
(15) |
Nov
(16) |
Dec
(13) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2010 |
Jan
(4) |
Feb
|
Mar
(8) |
Apr
(8) |
May
(8) |
Jun
(36) |
Jul
(63) |
Aug
(126) |
Sep
(47) |
Oct
(66) |
Nov
(46) |
Dec
(42) |
2011 |
Jan
(87) |
Feb
(24) |
Mar
(54) |
Apr
(21) |
May
(22) |
Jun
(18) |
Jul
(22) |
Aug
(101) |
Sep
(57) |
Oct
(33) |
Nov
(34) |
Dec
(66) |
2012 |
Jan
(64) |
Feb
(76) |
Mar
(73) |
Apr
(105) |
May
(93) |
Jun
(83) |
Jul
(84) |
Aug
(88) |
Sep
(57) |
Oct
(59) |
Nov
(35) |
Dec
(49) |
2013 |
Jan
(67) |
Feb
(17) |
Mar
(49) |
Apr
(64) |
May
(87) |
Jun
(64) |
Jul
(93) |
Aug
(23) |
Sep
(15) |
Oct
(16) |
Nov
(62) |
Dec
(73) |
2014 |
Jan
(5) |
Feb
(23) |
Mar
(21) |
Apr
(11) |
May
(1) |
Jun
(19) |
Jul
(27) |
Aug
(16) |
Sep
(5) |
Oct
(37) |
Nov
(12) |
Dec
(9) |
2015 |
Jan
(7) |
Feb
(7) |
Mar
(44) |
Apr
(28) |
May
(5) |
Jun
(12) |
Jul
(8) |
Aug
|
Sep
(39) |
Oct
(34) |
Nov
(30) |
Dec
(34) |
2016 |
Jan
(66) |
Feb
(23) |
Mar
(33) |
Apr
(15) |
May
(11) |
Jun
(15) |
Jul
(26) |
Aug
(4) |
Sep
(1) |
Oct
(30) |
Nov
(10) |
Dec
|
2017 |
Jan
(52) |
Feb
(9) |
Mar
(24) |
Apr
(16) |
May
(9) |
Jun
(12) |
Jul
(33) |
Aug
(8) |
Sep
|
Oct
(1) |
Nov
(2) |
Dec
(6) |
2018 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
(14) |
Jun
(1) |
Jul
(9) |
Aug
(1) |
Sep
(13) |
Oct
(8) |
Nov
(2) |
Dec
(2) |
2019 |
Jan
(1) |
Feb
(1) |
Mar
(3) |
Apr
(3) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
2020 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(9) |
Jul
(6) |
Aug
(25) |
Sep
(10) |
Oct
(10) |
Nov
(6) |
Dec
|
2021 |
Jan
|
Feb
|
Mar
(7) |
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(9) |
Oct
(1) |
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: augustin <aug...@ov...> - 2011-08-12 03:32:31
|
Hello David: On Thursday 11 August 2011 11:56:01 pm David Elrom wrote: > How would you feel about a launchpad project for cppcms and cppcms-blog? > This would allow "non programmers" to install / use the blog, and expose a > much wider audience to cppcms.I believe the trick to > getting greater adoption of cppcms is to get as much as possible into > distros... See Mario Palomo's January 10th email to this list. He's build the Debian packages for i386 and amd64 architectures for CppCMS 0.99.5, which can be downloaded from this URL: http://mpalomo.users.sourceforge.net/cppcms/ Maybe you can coordinate efforts with him. > I also think launchpad has a much nicer interface than sourceforge > (especially the bug tracking) I agree regarding the sourceforge bug tracker! Blessings, Augustin. -- Friends: http://www.reuniting.info/ My projects: http://astralcity.org/ http://3enjeux.overshoot.tv/ http://linux.overshoot.tv/ http://overshoot.tv/ http://charityware.info/ http://masquilier.org/ http://openteacher.info/ http://minguo.info/ http://www.wechange.org/ http://searching911.info/ . |
From: 李明 <lim...@gm...> - 2011-08-12 01:05:21
|
We have a old CGI application and now want to refactor the code with cppcms framework. But our application configured with IIS, and we don't want our client change to another web server that might cause inconsistent user experience. But I cannot figure out how to configure IIS to host cppcms application. For example: I'm in windows 7 with IIS 7.5 Trying to run the an example with FastCgiModule. Filled "hello.exe -c config.js" in Executable option. But I can only get a blank webpage. There is no document for how to configure IIS to use cppcms, could someone give me some hint? Thanks! Ming |
From: Daniel R. <dan...@li...> - 2011-08-12 00:30:43
|
From: 陈抒 <csfreebird@...> Subject: Re: cppDB - ERROR: cppdb::driver failed to load driver mysql - no module found Newsgroups: gmane.comp.lib.cppcms.user Date: 2011-08-11 01:06:57 GMT (23 hours and 13 minutes ago) Try to check if your libcppdb.so is in /usr/lib folder or not?I assume you are using Linux.陈抒 Best regards http://blog.csdn.net/sheismylife Yes, indeed Im a linux user, and I've solve it copying the .so files to /usr/lib but another error appear. This time was Can't connect to local MySQL server through socket '/tmp/mysql.sock' The solution for this one was to create a link to the mysql.sock path ln -s /var/run/mysqld/mysqld.sock And finally rename the link to mysql.sock Thanks For the help !! |
From: David E. <dav...@gm...> - 2011-08-11 17:17:47
|
I just compiled the new cppcms-blog (props on the perfectly working cmake files, i can never get cmake to do what i want) and was about to start making some changes to the code (I want the ability to have per user views, i.e. certain pages and entries are only visible to certain users, etc). It occurred to me that this might be better suited as some sort of plugin. So.. Do you think there would be benefit / interest in implementing some sort of plugin / dynamically loadable module framework for cppcms-blog? It would be very nice if we could make cppcms-blog of the same caliber as say, wordpress / drupal (from an extensiblity point of view, not from a bloat pov). thoughts? -elrom |
From: David E. <dav...@gm...> - 2011-08-11 15:56:47
|
Erev tov Artyom, How would you feel about a launchpad project for cppcms and cppcms-blog? This would allow "non programmers" to install / use the blog, and expose a much wider audience to cppcms.I believe the trick to getting greater adoption of cppcms is to get as much as possible into distros... I also think launchpad has a much nicer interface than sourceforge (especially the bug tracking) -elrom |
From: Artyom B. <art...@ya...> - 2011-08-11 08:15:10
|
Or just even simpler... During build provide cmake -DCMAKE_INSTALL_PREFIX=/usr (all other options) And it will go to /usr/lib and /usr/include Best Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.sf.net/ CppDB - C++ SQL Connectivity: http://cppcms.sf.net/sql/cppdb/ >________________________________ >From: kpeo <sla...@ya...> >To: cpp...@li... >Sent: Thursday, August 11, 2011 9:06 AM >Subject: Re: [Cppcms-users] error while loading shared libraries: libcppcms.so.1: cannot open shared object file: No such file or directory > > >Set LD_LIBRARY_PATH globally - is not a good unix practice. You can: >1. set it locally before running the application: LD_LIBRARY_PATH=/path_to_lib ./application (but in this case, priority of libraries searching will be for this path); >2. set compiler options: -L /path_to_lib, -R /path_to_lib or -Wl -rpath,/path_to_lib >3. edit '/etc/ld.so.conf' or edit new file in '/etc/ld.so.conf.d' and add /path_to_lib. Then run ldconfig > >I prefer 1 - when this is a single case of start application, 2 - when i can compile application by myself, 3 - when this is not a single case of start application & for usual paths like /usr/local/lib >11.08.2011, 07:23, "陈抒" <csf...@gm...>: >Another way is to configure your environment in ~/.bashrc file. >>LD_LIBRARY_PATH=/usr/local/lib >>then run : source ~/.bashrc >>If you want to re-install the cppcms and booster libraries,just execute 'make install' command under cppcms build folder again. >> >>陈抒 >>Best regards >>http://blog.csdn.net/sheismylife >> >> >> >>On Thu, Aug 11, 2011 at 10:38 AM, 陈抒 <csf...@gm...> wrote: >> >>Your idea is good.My way is very simple,just run the following commands: >>>sudo cp /usr/local/lib/libcppcms.* /usr/lib/ >>>I am using UBuntu. >>> >>>陈抒 >>>Best regards >>>http://blog.csdn.net/sheismylife >>> >>> >>> >>> >>>On Thu, Aug 11, 2011 at 9:40 AM, Tae Sandoval Murgan <tae...@gm...> wrote: >>> >>>On Wed, Aug 10, 2011 at 21:17, 陈抒 <csf...@gm...> wrote: >>>>> My libcppcms.so.1 is in /usr/lib foder. >>>>That's the solution. I made a symlink in that directory, and the error changed: >>>> >>>>./hello: error while loading shared libraries: libbooster.so.0: cannot >>>> >>>>open shared object file: No such file or directory >>>>I'm running Arch Linux and I'm pretty used to the repositories system. >>>>Can I specify the installation directory of libraries? If so, I would >>>>like to know a list of all the framework's files to delete them and >>>>then reinstall. >>>> >>>>Thanks, and cheers from Chile. >>>> >>>> >>>> >>>>------------------------------------------------------------------------------ >>>>Get a FREE DOWNLOAD! and learn more about uberSVN rich system, >>>>user administration capabilities and model configuration. Take >>>>the hassle out of deploying and managing Subversion and the >>>>tools developers use with it. >>>>http://p.sf.net/sfu/wandisco-dev2dev >>>>_______________________________________________ >>>>Cppcms-users mailing list >>>>Cpp...@li... >>>>https://lists.sourceforge.net/lists/listinfo/cppcms-users >>------------------------------------------------------------------------------ >>Get a FREE DOWNLOAD! and learn more about uberSVN rich system, >>user administration capabilities and model configuration. Take >>the hassle out of deploying and managing Subversion and the >>tools developers use with it. >>http://p.sf.net/sfu/wandisco-dev2dev >>_______________________________________________ >>Cppcms-users mailing list >>Cpp...@li... >>https://lists.sourceforge.net/lists/listinfo/cppcms-users >------------------------------------------------------------------------------ >Get a FREE DOWNLOAD! and learn more about uberSVN rich system, >user administration capabilities and model configuration. Take >the hassle out of deploying and managing Subversion and the >tools developers use with it. >http://p.sf.net/sfu/wandisco-dev2dev >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |
From: kpeo <sla...@ya...> - 2011-08-11 06:18:53
|
It's usefull document on this: http://www.eyrie.org/~eagle/notes/rpath.html For analyse of your search path use "ldd -v ./application" or "ldd -ss ./application" on Solaris. Also see my previous letter about how to fix it. 11.08.2011, 01:20, "Tae Sandoval Murgan" <tae...@gm...>: > Hi there: > > I just installed the latest version, and now I am trying to run the > Hello World example with no luck. > > After compiling the hello.cpp without errors, and write the config.js, > I tried to run it, and I got the following error: > > ./hello: error while loading shared libraries: libcppcms.so.1: cannot > open shared object file: No such file or directory > > Reviewing the output of the installation process, I found the > following errors, all in the output of cmake .. / > > $ cmake ../ > -- The C compiler identification is GNU > -- The CXX compiler identification is GNU > -- Check for working C compiler: /usr/bin/gcc > -- Check for working C compiler: /usr/bin/gcc -- works > -- Detecting C compiler ABI info > -- Detecting C compiler ABI info - done > -- Check for working CXX compiler: /usr/bin/c++ > -- Check for working CXX compiler: /usr/bin/c++ -- works > -- Detecting CXX compiler ABI info > -- Detecting CXX compiler ABI info - done > CMake Warning at /usr/share/cmake-2.8/Modules/CPack.cmake:236 (MESSAGE): > CPack.cmake has already been included!! > Call Stack (most recent call first): > booster/CMakeLists.txt:14 (include) > > -- Looking for ICU libraries > -- ICU Found, building booster locale > -- Performing Test LIBC_ICONV > -- Performing Test LIBC_ICONV - Success > -- Performing Test GCC_IS_GCC4 > -- Performing Test GCC_IS_GCC4 - Success > -- Looking for dlopen > -- Looking for dlopen - not found > -- Looking for socket > -- Looking for socket - found > -- Looking for gethostbyname > -- Looking for gethostbyname - found > -- Performing Test BOOSTER_HAS_GCC_SYNC > -- Performing Test BOOSTER_HAS_GCC_SYNC - Success > -- Performing Test BOOSTER_HAVE_GCC_BITS_EXCHANGE_AND_ADD > -- Performing Test BOOSTER_HAVE_GCC_BITS_EXCHANGE_AND_ADD - Failed > -- Performing Test BOOSTER_HAVE_GCC_EXT_EXCHANGE_AND_ADD > -- Performing Test BOOSTER_HAVE_GCC_EXT_EXCHANGE_AND_ADD - Success > -- Performing Test BOOSTER_HAVE_FREEBSD_ATOMIC > -- Performing Test BOOSTER_HAVE_FREEBSD_ATOMIC - Failed > -- Performing Test BOOSTER_HAVE_EXECINFO > -- Performing Test BOOSTER_HAVE_EXECINFO - Success > -- Performing Test BOOSTER_HAVE_SOLARIS_ATOMIC > -- Performing Test BOOSTER_HAVE_SOLARIS_ATOMIC - Failed > -- Performing Test BOOSTER_HAVE_MAC_OS_X_ATOMIC > -- Performing Test BOOSTER_HAVE_MAC_OS_X_ATOMIC - Failed > -- Performing Test BOOSTER_HAVE_STDINT_H > -- Performing Test BOOSTER_HAVE_STDINT_H - Success > -- Performing Test BOOSTER_HAVE_INTTYPES_H > -- Performing Test BOOSTER_HAVE_INTTYPES_H - Success > -- Performing Test BOOSTER_AIO_HAVE_PF_INET6 > -- Performing Test BOOSTER_AIO_HAVE_PF_INET6 - Success > -- Performing Test CPPCMS_HAVE_STDINT_H > -- Performing Test CPPCMS_HAVE_STDINT_H - Success > -- Performing Test CPPCMS_HAVE_INTTYPES_H > -- Performing Test CPPCMS_HAVE_INTTYPES_H - Success > -- Looking for atoll > -- Looking for atoll - found > -- Looking for _atoi64 > -- Looking for _atoi64 - not found > -- Looking for snprintf > -- Looking for snprintf - found > -- Looking for stat > -- Looking for stat - found > -- Looking for _stat > -- Looking for _stat - not found > -- Performing Test CPPCMS_HAVE_STD_WSTRING > -- Performing Test CPPCMS_HAVE_STD_WSTRING - Success > -- Performing Test CPPCMS_HAVE_BSD_TM > -- Performing Test CPPCMS_HAVE_BSD_TM - Success > -- Performing Test CPPCMS_HAVE_CPP0X_UXSTRING > -- Performing Test CPPCMS_HAVE_CPP0X_UXSTRING - Failed > -- Performing Test CPPCMS_HAVE_CPP_0X_AUTO > -- Performing Test CPPCMS_HAVE_CPP_0X_AUTO - Failed > -- Performing Test CPPCMS_HAVE_CPP_0X_DECLTYPE > -- Performing Test CPPCMS_HAVE_CPP_0X_DECLTYPE - Failed > -- Performing Test CPPCMS_HAVE_GCC_TYPEOF > -- Performing Test CPPCMS_HAVE_GCC_TYPEOF - Success > -- Performing Test CPPCMS_HAVE_UNDERSCORE_TYPEOF > -- Performing Test CPPCMS_HAVE_UNDERSCORE_TYPEOF - Success > -- Looking for dlopen > -- Looking for dlopen - not found > -- Looking for dlopen in dl > -- Looking for dlopen in dl - found > -- Looking for socket > -- Looking for socket - found > -- Looking for gethostbyname > -- Looking for gethostbyname - found > -- Looking for canonicalize_file_name > -- Looking for canonicalize_file_name - found > -- Configuring done > -- Generating done > -- Build files have been written to: /home/tae/Webs/cppcms-0.99.9/build > > Can that be the problem? > > Thanks beforehand. > > ------------------------------------------------------------------------------ > uberSVN's rich system and user administration capabilities and model > configuration take the hassle out of deploying and managing Subversion and > the tools developers use with it. Learn more about uberSVN and get a free > download at: http://p.sf.net/sfu/wandisco-dev2dev > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users |
From: kpeo <sla...@ya...> - 2011-08-11 06:06:51
|
<div>Set LD_LIBRARY_PATH globally - is not a good unix practice. You can:</div><div>1. set it locally before running the application: LD_LIBRARY_PATH=/path_to_lib ./application (but in this case, priority of libraries searching will be for this path);</div><div>2. set compiler options: -L /path_to_lib, -R /path_to_lib or -Wl -rpath,/path_to_lib</div><div>3. edit '/etc/ld.so.conf' or edit new file in '/etc/ld.so.conf.d' and add /path_to_lib. Then run ldconfig</div><div> </div><div>I prefer 1 - when this is a single case of start application, 2 - when i can compile application by myself, 3 - when this is not a single case of start application & for usual paths like /usr/local/lib</div><div>11.08.2011, 07:23, "陈抒" <csf...@gm...>:</div><blockquote>Another way is to configure your environment in ~/.bashrc file.<div>LD_LIBRARY_PATH=/usr/local/lib</div><div>then run : source ~/.bashrc</div><div>If you want to re-install the cppcms and booster libraries,just execute 'make install' command under cppcms build folder again.</div><div><div><br />陈抒 <br />Best regards<br /><a href="http://blog.csdn.net/sheismylife" target="_blank">http://blog.csdn.net/sheismylife</a><br /> <br /><br /><div>On Thu, Aug 11, 2011 at 10:38 AM, 陈抒 <span dir="ltr"><<a href="mailto:csf...@gm...">csf...@gm...</a>></span> wrote:<br /><blockquote style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid #cccccc;padding-left:1ex;"><div>Your idea is good.My way is very simple,just run the following commands:</div><div>sudo cp /usr/local/lib/libcppcms.* /usr/lib/</div><div>I am using UBuntu.</div><div><br />陈抒 <br /> Best regards<br /><a href="http://blog.csdn.net/sheismylife" target="_blank">http://blog.csdn.net/sheismylife</a><br /> <br /><br /></div><div><div> </div><div><div>On Thu, Aug 11, 2011 at 9:40 AM, Tae Sandoval Murgan <span dir="ltr"><<a href="mailto:tae...@gm..." target="_blank">tae...@gm...</a>></span> wrote:<br /><blockquote style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid #cccccc;padding-left:1ex;"><div>On Wed, Aug 10, 2011 at 21:17, 陈抒 <<a href="mailto:csf...@gm..." target="_blank">csf...@gm...</a>> wrote:<br /> > My libcppcms.so.1 is in /usr/lib foder.<br /> </div>That's the solution. I made a symlink in that directory, and the error changed:<br /> <br /> ./hello: error while loading shared libraries: libbooster.so.0: cannot<br /><div>open shared object file: No such file or directory<br /> </div>I'm running Arch Linux and I'm pretty used to the repositories system.<br /> Can I specify the installation directory of libraries? If so, I would<br /> like to know a list of all the framework's files to delete them and<br /> then reinstall.<br /> <br /> Thanks, and cheers from Chile.<br /><div><div> </div><div><br /> ------------------------------------------------------------------------------<br /> Get a FREE DOWNLOAD! and learn more about uberSVN rich system,<br /> user administration capabilities and model configuration. Take<br /> the hassle out of deploying and managing Subversion and the<br /> tools developers use with it.<br /> <a href="http://p.sf.net/sfu/wandisco-dev2dev" target="_blank">http://p.sf.net/sfu/wandisco-dev2dev</a><br /> _______________________________________________<br /> Cppcms-users mailing list<br /> <a href="mailto:Cpp...@li..." target="_blank">Cpp...@li...</a><br /> <a href="https://lists.sourceforge.net/lists/listinfo/cppcms-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/cppcms-users</a></div></div></blockquote></div></div></div></blockquote></div></div></div><p>------------------------------------------------------------------------------<br />Get a FREE DOWNLOAD! and learn more about uberSVN rich system, <br />user administration capabilities and model configuration. Take <br />the hassle out of deploying and managing Subversion and the <br />tools developers use with it. <br /><a href="http://p.sf.net/sfu/wandisco-dev2dev">http://p.sf.net/sfu/wandisco-dev2dev</a></p><p>_______________________________________________<br />Cppcms-users mailing list<br /><a href="mailto:Cpp...@li...">Cpp...@li...</a><br /><a href="https://lists.sourceforge.net/lists/listinfo/cppcms-users">https://lists.sourceforge.net/lists/listinfo/cppcms-users</a></p></blockquote> |
From: 陈抒 <csf...@gm...> - 2011-08-11 03:22:38
|
Another way is to configure your environment in ~/.bashrc file. LD_LIBRARY_PATH=/usr/local/lib then run : source ~/.bashrc If you want to re-install the cppcms and booster libraries,just execute 'make install' command under cppcms build folder again. 陈抒 Best regards http://blog.csdn.net/sheismylife On Thu, Aug 11, 2011 at 10:38 AM, 陈抒 <csf...@gm...> wrote: > Your idea is good.My way is very simple,just run the following commands: > sudo cp /usr/local/lib/libcppcms.* /usr/lib/ > > I am using UBuntu. > > 陈抒 > Best regards > http://blog.csdn.net/sheismylife > > > On Thu, Aug 11, 2011 at 9:40 AM, Tae Sandoval Murgan <tae...@gm...>wrote: > >> On Wed, Aug 10, 2011 at 21:17, 陈抒 <csf...@gm...> wrote: >> > My libcppcms.so.1 is in /usr/lib foder. >> >> That's the solution. I made a symlink in that directory, and the error >> changed: >> >> ./hello: error while loading shared libraries: libbooster.so.0: cannot >> open shared object file: No such file or directory >> >> I'm running Arch Linux and I'm pretty used to the repositories system. >> Can I specify the installation directory of libraries? If so, I would >> like to know a list of all the framework's files to delete them and >> then reinstall. >> >> Thanks, and cheers from Chile. >> >> >> ------------------------------------------------------------------------------ >> Get a FREE DOWNLOAD! and learn more about uberSVN rich system, >> user administration capabilities and model configuration. Take >> the hassle out of deploying and managing Subversion and the >> tools developers use with it. >> http://p.sf.net/sfu/wandisco-dev2dev >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> > > |
From: 陈抒 <csf...@gm...> - 2011-08-11 02:39:10
|
Your idea is good.My way is very simple,just run the following commands: sudo cp /usr/local/lib/libcppcms.* /usr/lib/ I am using UBuntu. 陈抒 Best regards http://blog.csdn.net/sheismylife On Thu, Aug 11, 2011 at 9:40 AM, Tae Sandoval Murgan <tae...@gm...>wrote: > On Wed, Aug 10, 2011 at 21:17, 陈抒 <csf...@gm...> wrote: > > My libcppcms.so.1 is in /usr/lib foder. > > That's the solution. I made a symlink in that directory, and the error > changed: > > ./hello: error while loading shared libraries: libbooster.so.0: cannot > open shared object file: No such file or directory > > I'm running Arch Linux and I'm pretty used to the repositories system. > Can I specify the installation directory of libraries? If so, I would > like to know a list of all the framework's files to delete them and > then reinstall. > > Thanks, and cheers from Chile. > > > ------------------------------------------------------------------------------ > Get a FREE DOWNLOAD! and learn more about uberSVN rich system, > user administration capabilities and model configuration. Take > the hassle out of deploying and managing Subversion and the > tools developers use with it. > http://p.sf.net/sfu/wandisco-dev2dev > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |
From: Tae S. M. <tae...@gm...> - 2011-08-11 01:40:38
|
On Wed, Aug 10, 2011 at 21:17, 陈抒 <csf...@gm...> wrote: > My libcppcms.so.1 is in /usr/lib foder. That's the solution. I made a symlink in that directory, and the error changed: ./hello: error while loading shared libraries: libbooster.so.0: cannot open shared object file: No such file or directory I'm running Arch Linux and I'm pretty used to the repositories system. Can I specify the installation directory of libraries? If so, I would like to know a list of all the framework's files to delete them and then reinstall. Thanks, and cheers from Chile. |
From: 陈抒 <csf...@gm...> - 2011-08-11 01:17:44
|
My libcppcms.so.1 is in /usr/lib foder. 陈抒 Best regards http://blog.csdn.net/sheismylife On Thu, Aug 11, 2011 at 6:14 AM, Tae Sandoval Murgan <tae...@gm...>wrote: > I found the library: /usr/local/lib/libcppcms.so.1 > > But > > export LD_LIBRARY_PATH=/usr/local/lib/libcppcms.so.1 > > didn't work :( > > > ------------------------------------------------------------------------------ > Get a FREE DOWNLOAD! and learn more about uberSVN rich system, > user administration capabilities and model configuration. Take > the hassle out of deploying and managing Subversion and the > tools developers use with it. > http://p.sf.net/sfu/wandisco-dev2dev > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |
From: 陈抒 <csf...@gm...> - 2011-08-11 01:07:24
|
Try to check if your libcppdb.so is in /usr/lib folder or not? I assume you are using Linux. 陈抒 Best regards http://blog.csdn.net/sheismylife On Thu, Aug 11, 2011 at 7:56 AM, Daniel Rios <dan...@li...> wrote: > Hello there!, > > Im trying to run a simple example of cppDB with mysql. First cppDB > installation was a PITA because the > "mysql_client library was not found, disabling mysql backend, " cmake > message. > Since I'm a newbie in the GNU development, I've had to use saint google to > found the solution.. > and that was install mysql development libraries. > > Anyway here's the source code I tried to run without success > > #include <cppdb/frontend.h> > #include <iostream> > #include <ctime> > > int main() > { > try { > cppdb::session > sql("mysql:user=root;password=danielito;opt_reconnect=1;opt_read_timeout=10;opt_compress=1"); > > > time_t now_time = std::time(0); > > std::tm now = *std::localtime(&now_time); > > cppdb::result res = sql << "SELECT id_enviroment, env_type, > name FROM db_enviroment"; > > while(res.next()) { > double f=-1; > int id,k; > std::tm atime; > std::string name; > //res >> id >> k >> f >> atime >> name; > > res >> id >> k >> name; > std::cout <<id << ' '<<k <<' '<<name << std::endl; > } > > } > catch(std::exception const &e) { > std::cerr << "ERROR: " << e.what() << std::endl; > return 1; > } > return 0; > } > > Compilation with: > g++ dbtest.cpp -lcppdb -o dbtest > > Run with > ./dbtest > ERROR: cppdb::driver failed to load driver mysql - no module found > > Im doing it right ? > > Thanks ! > > > ------------------------------------------------------------------------------ > Get a FREE DOWNLOAD! and learn more about uberSVN rich system, > user administration capabilities and model configuration. Take > the hassle out of deploying and managing Subversion and the > tools developers use with it. > http://p.sf.net/sfu/wandisco-dev2dev > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > |
From: Daniel R. <dan...@li...> - 2011-08-10 23:56:19
|
Hello there!, Im trying to run a simple example of cppDB with mysql. First cppDB installation was a PITA because the"mysql_client library was not found, disabling mysql backend, " cmake message.Since I'm a newbie in the GNU development, I've had to use saint google to found the solution..and that was install mysql development libraries. Anyway here's the source code I tried to run without success #include <cppdb/frontend.h>#include <iostream>#include <ctime> int main(){ try { cppdb::session sql("mysql:user=root;password=danielito;opt_reconnect=1;opt_read_timeout=10;opt_compress=1"); time_t now_time = std::time(0); std::tm now = *std::localtime(&now_time); cppdb::result res = sql << "SELECT id_enviroment, env_type, name FROM db_enviroment"; while(res.next()) { double f=-1; int id,k; std::tm atime; std::string name; //res >> id >> k >> f >> atime >> name; res >> id >> k >> name; std::cout <<id << ' '<<k <<' '<<name << std::endl; } } catch(std::exception const &e) { std::cerr << "ERROR: " << e.what() << std::endl; return 1; } return 0;} Compilation with: g++ dbtest.cpp -lcppdb -o dbtest Run with./dbtestERROR: cppdb::driver failed to load driver mysql - no module found Im doing it right ? Thanks ! |
From: Tae S. M. <tae...@gm...> - 2011-08-10 22:21:02
|
I found the library: /usr/local/lib/libcppcms.so.1 But export LD_LIBRARY_PATH=/usr/local/lib/libcppcms.so.1 didn't work :( |
From: Daniel V. <chi...@gm...> - 2011-08-10 22:03:39
|
Hello Try with export LD_LIBRARY_PATH=/path/to/library and then ./hello -c config.js where "/path/to/library/" is the actual directory where libcppcms.so.1 lives. Good bye. On Wed, 2011-08-10 at 17:20 -0400, Tae Sandoval Murgan wrote: > Hi there: > > I just installed the latest version, and now I am trying to run the > Hello World example with no luck. > > After compiling the hello.cpp without errors, and write the config.js, > I tried to run it, and I got the following error: > > ./hello: error while loading shared libraries: libcppcms.so.1: cannot > open shared object file: No such file or directory > > Reviewing the output of the installation process, I found the > following errors, all in the output of cmake .. / > > $ cmake ../ > -- The C compiler identification is GNU > -- The CXX compiler identification is GNU > -- Check for working C compiler: /usr/bin/gcc > -- Check for working C compiler: /usr/bin/gcc -- works > -- Detecting C compiler ABI info > -- Detecting C compiler ABI info - done > -- Check for working CXX compiler: /usr/bin/c++ > -- Check for working CXX compiler: /usr/bin/c++ -- works > -- Detecting CXX compiler ABI info > -- Detecting CXX compiler ABI info - done > CMake Warning at /usr/share/cmake-2.8/Modules/CPack.cmake:236 (MESSAGE): > CPack.cmake has already been included!! > Call Stack (most recent call first): > booster/CMakeLists.txt:14 (include) > > > -- Looking for ICU libraries > -- ICU Found, building booster locale > -- Performing Test LIBC_ICONV > -- Performing Test LIBC_ICONV - Success > -- Performing Test GCC_IS_GCC4 > -- Performing Test GCC_IS_GCC4 - Success > -- Looking for dlopen > -- Looking for dlopen - not found > -- Looking for socket > -- Looking for socket - found > -- Looking for gethostbyname > -- Looking for gethostbyname - found > -- Performing Test BOOSTER_HAS_GCC_SYNC > -- Performing Test BOOSTER_HAS_GCC_SYNC - Success > -- Performing Test BOOSTER_HAVE_GCC_BITS_EXCHANGE_AND_ADD > -- Performing Test BOOSTER_HAVE_GCC_BITS_EXCHANGE_AND_ADD - Failed > -- Performing Test BOOSTER_HAVE_GCC_EXT_EXCHANGE_AND_ADD > -- Performing Test BOOSTER_HAVE_GCC_EXT_EXCHANGE_AND_ADD - Success > -- Performing Test BOOSTER_HAVE_FREEBSD_ATOMIC > -- Performing Test BOOSTER_HAVE_FREEBSD_ATOMIC - Failed > -- Performing Test BOOSTER_HAVE_EXECINFO > -- Performing Test BOOSTER_HAVE_EXECINFO - Success > -- Performing Test BOOSTER_HAVE_SOLARIS_ATOMIC > -- Performing Test BOOSTER_HAVE_SOLARIS_ATOMIC - Failed > -- Performing Test BOOSTER_HAVE_MAC_OS_X_ATOMIC > -- Performing Test BOOSTER_HAVE_MAC_OS_X_ATOMIC - Failed > -- Performing Test BOOSTER_HAVE_STDINT_H > -- Performing Test BOOSTER_HAVE_STDINT_H - Success > -- Performing Test BOOSTER_HAVE_INTTYPES_H > -- Performing Test BOOSTER_HAVE_INTTYPES_H - Success > -- Performing Test BOOSTER_AIO_HAVE_PF_INET6 > -- Performing Test BOOSTER_AIO_HAVE_PF_INET6 - Success > -- Performing Test CPPCMS_HAVE_STDINT_H > -- Performing Test CPPCMS_HAVE_STDINT_H - Success > -- Performing Test CPPCMS_HAVE_INTTYPES_H > -- Performing Test CPPCMS_HAVE_INTTYPES_H - Success > -- Looking for atoll > -- Looking for atoll - found > -- Looking for _atoi64 > -- Looking for _atoi64 - not found > -- Looking for snprintf > -- Looking for snprintf - found > -- Looking for stat > -- Looking for stat - found > -- Looking for _stat > -- Looking for _stat - not found > -- Performing Test CPPCMS_HAVE_STD_WSTRING > -- Performing Test CPPCMS_HAVE_STD_WSTRING - Success > -- Performing Test CPPCMS_HAVE_BSD_TM > -- Performing Test CPPCMS_HAVE_BSD_TM - Success > -- Performing Test CPPCMS_HAVE_CPP0X_UXSTRING > -- Performing Test CPPCMS_HAVE_CPP0X_UXSTRING - Failed > -- Performing Test CPPCMS_HAVE_CPP_0X_AUTO > -- Performing Test CPPCMS_HAVE_CPP_0X_AUTO - Failed > -- Performing Test CPPCMS_HAVE_CPP_0X_DECLTYPE > -- Performing Test CPPCMS_HAVE_CPP_0X_DECLTYPE - Failed > -- Performing Test CPPCMS_HAVE_GCC_TYPEOF > -- Performing Test CPPCMS_HAVE_GCC_TYPEOF - Success > -- Performing Test CPPCMS_HAVE_UNDERSCORE_TYPEOF > -- Performing Test CPPCMS_HAVE_UNDERSCORE_TYPEOF - Success > -- Looking for dlopen > -- Looking for dlopen - not found > -- Looking for dlopen in dl > -- Looking for dlopen in dl - found > -- Looking for socket > -- Looking for socket - found > -- Looking for gethostbyname > -- Looking for gethostbyname - found > -- Looking for canonicalize_file_name > -- Looking for canonicalize_file_name - found > -- Configuring done > -- Generating done > -- Build files have been written to: /home/tae/Webs/cppcms-0.99.9/build > > Can that be the problem? > > Thanks beforehand. > > ------------------------------------------------------------------------------ > uberSVN's rich system and user administration capabilities and model > configuration take the hassle out of deploying and managing Subversion and > the tools developers use with it. Learn more about uberSVN and get a free > download at: http://p.sf.net/sfu/wandisco-dev2dev > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users |
From: Tae S. M. <tae...@gm...> - 2011-08-10 21:21:15
|
Hi there: I just installed the latest version, and now I am trying to run the Hello World example with no luck. After compiling the hello.cpp without errors, and write the config.js, I tried to run it, and I got the following error: ./hello: error while loading shared libraries: libcppcms.so.1: cannot open shared object file: No such file or directory Reviewing the output of the installation process, I found the following errors, all in the output of cmake .. / $ cmake ../ -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done CMake Warning at /usr/share/cmake-2.8/Modules/CPack.cmake:236 (MESSAGE): CPack.cmake has already been included!! Call Stack (most recent call first): booster/CMakeLists.txt:14 (include) -- Looking for ICU libraries -- ICU Found, building booster locale -- Performing Test LIBC_ICONV -- Performing Test LIBC_ICONV - Success -- Performing Test GCC_IS_GCC4 -- Performing Test GCC_IS_GCC4 - Success -- Looking for dlopen -- Looking for dlopen - not found -- Looking for socket -- Looking for socket - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Performing Test BOOSTER_HAS_GCC_SYNC -- Performing Test BOOSTER_HAS_GCC_SYNC - Success -- Performing Test BOOSTER_HAVE_GCC_BITS_EXCHANGE_AND_ADD -- Performing Test BOOSTER_HAVE_GCC_BITS_EXCHANGE_AND_ADD - Failed -- Performing Test BOOSTER_HAVE_GCC_EXT_EXCHANGE_AND_ADD -- Performing Test BOOSTER_HAVE_GCC_EXT_EXCHANGE_AND_ADD - Success -- Performing Test BOOSTER_HAVE_FREEBSD_ATOMIC -- Performing Test BOOSTER_HAVE_FREEBSD_ATOMIC - Failed -- Performing Test BOOSTER_HAVE_EXECINFO -- Performing Test BOOSTER_HAVE_EXECINFO - Success -- Performing Test BOOSTER_HAVE_SOLARIS_ATOMIC -- Performing Test BOOSTER_HAVE_SOLARIS_ATOMIC - Failed -- Performing Test BOOSTER_HAVE_MAC_OS_X_ATOMIC -- Performing Test BOOSTER_HAVE_MAC_OS_X_ATOMIC - Failed -- Performing Test BOOSTER_HAVE_STDINT_H -- Performing Test BOOSTER_HAVE_STDINT_H - Success -- Performing Test BOOSTER_HAVE_INTTYPES_H -- Performing Test BOOSTER_HAVE_INTTYPES_H - Success -- Performing Test BOOSTER_AIO_HAVE_PF_INET6 -- Performing Test BOOSTER_AIO_HAVE_PF_INET6 - Success -- Performing Test CPPCMS_HAVE_STDINT_H -- Performing Test CPPCMS_HAVE_STDINT_H - Success -- Performing Test CPPCMS_HAVE_INTTYPES_H -- Performing Test CPPCMS_HAVE_INTTYPES_H - Success -- Looking for atoll -- Looking for atoll - found -- Looking for _atoi64 -- Looking for _atoi64 - not found -- Looking for snprintf -- Looking for snprintf - found -- Looking for stat -- Looking for stat - found -- Looking for _stat -- Looking for _stat - not found -- Performing Test CPPCMS_HAVE_STD_WSTRING -- Performing Test CPPCMS_HAVE_STD_WSTRING - Success -- Performing Test CPPCMS_HAVE_BSD_TM -- Performing Test CPPCMS_HAVE_BSD_TM - Success -- Performing Test CPPCMS_HAVE_CPP0X_UXSTRING -- Performing Test CPPCMS_HAVE_CPP0X_UXSTRING - Failed -- Performing Test CPPCMS_HAVE_CPP_0X_AUTO -- Performing Test CPPCMS_HAVE_CPP_0X_AUTO - Failed -- Performing Test CPPCMS_HAVE_CPP_0X_DECLTYPE -- Performing Test CPPCMS_HAVE_CPP_0X_DECLTYPE - Failed -- Performing Test CPPCMS_HAVE_GCC_TYPEOF -- Performing Test CPPCMS_HAVE_GCC_TYPEOF - Success -- Performing Test CPPCMS_HAVE_UNDERSCORE_TYPEOF -- Performing Test CPPCMS_HAVE_UNDERSCORE_TYPEOF - Success -- Looking for dlopen -- Looking for dlopen - not found -- Looking for dlopen in dl -- Looking for dlopen in dl - found -- Looking for socket -- Looking for socket - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for canonicalize_file_name -- Looking for canonicalize_file_name - found -- Configuring done -- Generating done -- Build files have been written to: /home/tae/Webs/cppcms-0.99.9/build Can that be the problem? Thanks beforehand. |
From: 陈抒 <csf...@gm...> - 2011-08-10 07:50:21
|
Good news.I will try it soon. 陈抒 Best regards http://blog.csdn.net/sheismylife On Wed, Aug 10, 2011 at 1:58 PM, Artyom Beilis <art...@ya...> wrote: > Hello CppCMS Users, > > CppCMS 0.99.9 was released: > > New Features: > ------------- > > - Clang is support provided, CppCMS was tested against > Clang 2.8. > > Now CppCMS supports 5 families of C++ compilers: > > - GCC 3.4.x to 4.6.1 > - Visual Studio 2005 - 2010 > - Clang 2.8 > - Intel 11 > - Sun Studio 5.10 > > - Significant performance improvements in XSS filtering by > rewriting URI validation using a C++ parser rather then > using complex regular expression. > > Added support of fully custom validation for HTML > attributes using callback functions in the XSS filter. > > - Significant performance improvements over multiple places > in code by eliminating multiple memory allocations: > > - HTTP, SCGI and FastCGI backends - improved memory allocation > for CGI variables. > - Fetching values from JSON objects using get(...), > find(...) APIs is now done with 0 memory allocation. > - URL mapping is now done with 0 or very low memory allocation. > - Various filters like `escape`, `urlencode` and some others > now work with no or few memory allocations. > > - Performance improvements in caching by replacing > the balanced binary tree by hash table in the > primary cache key index. > > Breaking Changes: > ----------------- > > > - `json::object` had changed from `std::map<std::string,value>` > to `std::map<string_key,value>`. It should be fully > transparent for almost all users. > > > Bugs: > ----- > > - Fixed a crash in http::response when writing HTTP headers > throws due for example to incorrect file permissions. > - Fixed a bug in `booster::regex` that prevented some valid > patterns to be matched against some regular expressions. > - Fixed a bug that may prevent from `booster::regex` to work on > big endian 64 bit platforms > - Added initial support of Python3 for templates compiler. > - Added a workaround for systems that use python3 by default. > > > Artyom Beilis > > > ------------------------------------------------------------------------------ > uberSVN's rich system and user administration capabilities and model > configuration take the hassle out of deploying and managing Subversion and > the tools developers use with it. Learn more about uberSVN and get a free > download at: http://p.sf.net/sfu/wandisco-dev2dev > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |
From: Artyom B. <art...@ya...> - 2011-08-10 05:58:29
|
Hello CppCMS Users, CppCMS 0.99.9 was released: New Features: ------------- - Clang is support provided, CppCMS was tested against Clang 2.8. Now CppCMS supports 5 families of C++ compilers: - GCC 3.4.x to 4.6.1 - Visual Studio 2005 - 2010 - Clang 2.8 - Intel 11 - Sun Studio 5.10 - Significant performance improvements in XSS filtering by rewriting URI validation using a C++ parser rather then using complex regular expression. Added support of fully custom validation for HTML attributes using callback functions in the XSS filter. - Significant performance improvements over multiple places in code by eliminating multiple memory allocations: - HTTP, SCGI and FastCGI backends - improved memory allocation for CGI variables. - Fetching values from JSON objects using get(...), find(...) APIs is now done with 0 memory allocation. - URL mapping is now done with 0 or very low memory allocation. - Various filters like `escape`, `urlencode` and some others now work with no or few memory allocations. - Performance improvements in caching by replacing the balanced binary tree by hash table in the primary cache key index. Breaking Changes: ----------------- - `json::object` had changed from `std::map<std::string,value>` to `std::map<string_key,value>`. It should be fully transparent for almost all users. Bugs: ----- - Fixed a crash in http::response when writing HTTP headers throws due for example to incorrect file permissions. - Fixed a bug in `booster::regex` that prevented some valid patterns to be matched against some regular expressions. - Fixed a bug that may prevent from `booster::regex` to work on big endian 64 bit platforms - Added initial support of Python3 for templates compiler. - Added a workaround for systems that use python3 by default. Artyom Beilis |
From: Artyom B. <art...@ya...> - 2011-08-07 18:14:14
|
URL Mapper allows overloading the functions. For example you may call url("/my/app",category_id) and url("/my/app",category_id,page_no) That are mapped as map.assign("/app","/article/{1}") map.assign("/app","/article/{1}/page/{2}") In the case of main form page it just overloads the cases where the URL represents the latest comments or comments with paging. flat_thread::flat_thread(cppcms::service &s) : thread_shared(s) { dispatcher().assign(".*",&flat_thread::prepare,this,0); mapper().assign("{1}"); } Means that prepare function would receive as first parameter the 0 regular expression group on selection (Everything) and for mapping it would convert its parameter to its representation as is. Most important take a look on how URLs are used in templates forums.tmpl: <form action="<% url "/forums" %>" method="post" > forums.tmpl: <a href="<% url "/forums" using next %>"><% gt "Next Page" %></a> This is mapping of "forums" application with 0 or 1 parameter. And this is how thread applications mapping is used: thread.tmpl: <a href="<% url "/flat_thread" using thread_id %>"><% gt "Flat View"%></a> thread.tmpl: | <a href="<% url "/tree_thread" using thread_id %>"><% gt "Tree View" %></a> Regards, Artyom Beilis >________________________________ >From: Abhishek Kaushik <abh...@gm...> >To: cpp...@li... >Sent: Sunday, August 7, 2011 4:35 PM >Subject: Re: [Cppcms-users] What exactly url_mapper does? > >Hi, > >Could you please explain me these differences regarding >the message board example application?: > >forums::forums(cppcms::service &srv) : >master(srv) >{ > dispatcher().assign(".*",&forums::prepare,this,0); > mapper().assign("{1}"); // with id > mapper().assign(""); // default >} > >AND > >flat_thread::flat_thread(cppcms::service &s) : >thread_shared(s) >{ > dispatcher().assign(".*",&flat_thread::prepare,this,0); > mapper().assign("{1}"); >} > > >I have referred the doxygen documentation, but still failed to make out much >meaning regarding this particular problem. > >could you tell me as to why in forums constructor it was possible to have 2 >mapper().assign() one for "" and other for "{1}" > >whereas, in flat_thread, it has only 1 mapper().assign() statement >and thats "{1}". > >What conditions tell us that it would require 2 or 1 assign statements? > >I fully understand the dispatcher but this mapper, I am unable to. > >Hope you understand my problem. Please let me know if I am missing >the basics of anything, i will refer it. > >Thanks in advance for your reply. > > > > >------------------------------------------------------------------------------ >BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA >The must-attend event for mobile developers. Connect with experts. >Get tools for creating Super Apps. See the latest technologies. >Sessions, hands-on labs, demos & much more. Register early & save! >http://p.sf.net/sfu/rim-blackberry-1 >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |
From: Artyom B. <art...@ya...> - 2011-08-07 18:01:42
|
Hello, CppCMS requites Python 2.x and Python 3 is not supported. I've committed the changes you send me, thank you very much, but all this related to cppcms_tmpl_cc because it this particular case it could be done in Python2 compatible way and it is the most common script used around. This is not the case for Unit tests. So please provide a cmake option -DPYTHON=/usr/bin/python2 or -DPYTHON=/usr/local/bin/python2 according to your python3 installation. And rerun the tests once again Regards, Artyom Beilis >________________________________ >From: monolithed <mon...@gm...> >To: cpp...@li... >Sent: Sunday, August 7, 2011 5:41 PM >Subject: [Cppcms-users] The following tests FAILED! > > >The following tests FAILED: >17 - internal_forwarder_test (Failed) >16 - cookie_test (Failed) >15 - form_test (Failed) >14 - async_status_test (Failed) >13 - status_test (Failed) >34 - proto_test_sync_fastcgi_unix (Failed) >33 - proto_test_sync_scgi_unix (Failed) >32 - proto_test_sync_fastcgi (Failed) >31 - proto_test_sync_scgi (Failed) >30 - proto_test_sync_http (Failed) >29 - proto_test_async_fastcgi_unix (Failed) >28 - proto_test_async_scgi_unix (Failed) >27 - proto_test_async_fastcgi (Failed) >26 - proto_test_async_scgi (Failed) >25 - proto_test_async_http (Failed) >24 - disco_test_scgi_unix (Failed) >23 - disco_test_fastcgi_unix (Failed) >22 - disco_test_scgi_tcp (Failed) >21 - disco_test_fastcgi_tcp (Failed) >20 - disco_test_http (Failed) >19 - jsonrpc_test (Failed) >18 - forwarder_test (Failed) >Errors while running CTest > >*** Error code 8 > > > >$ uname -a >FreeBSD bsd 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 ro...@al...:/usr/obj/usr/src/sys/GENERIC i386 > > > >$ python -V >Python 3.1.4 > > > >there's a version 2.6.7, but by default is 3.1.4. (I've corrected cppcms_tmpl_cc for 3.1.4). So there's no any problem with Python > > >$ cmake --help >cmake version 2.8.4 > > >$ pcretest > >PCRE version 8.12 2011-01-15 > > >$ gcc --version >gcc (GCC) 4.2.1 20070719 [FreeBSD] > >$ pkg_info | grep 'icu' >icu-4.8 > > > ># cmake .. >-- The C compiler identification is GNU >-- The CXX compiler identification is GNU >-- Check for working C compiler: /usr/bin/gcc >-- Check for working C compiler: /usr/bin/gcc -- works >-- Detecting C compiler ABI info >-- Detecting C compiler ABI info - done >-- Check for working CXX compiler: /usr/bin/c++ >-- Check for working CXX compiler: /usr/bin/c++ -- works >-- Detecting CXX compiler ABI info >-- Detecting CXX compiler ABI info - done >-- Looking for ICU libraries >-- ICU Found, building booster locale >-- Performing Test LIBC_ICONV >-- Performing Test LIBC_ICONV - Failed >-- Performing Test GCC_IS_GCC4 >-- Performing Test GCC_IS_GCC4 - Success >-- Looking for dlopen >-- Looking for dlopen - found >-- Looking for socket >-- Looking for socket - found >-- Looking for gethostbyname >-- Looking for gethostbyname - found >-- Performing Test BOOSTER_HAS_GCC_SYNC >-- Performing Test BOOSTER_HAS_GCC_SYNC - Success >-- Performing Test BOOSTER_HAVE_GCC_BITS_EXCHANGE_AND_ADD >-- Performing Test BOOSTER_HAVE_GCC_BITS_EXCHANGE_AND_ADD - Failed >-- Performing Test BOOSTER_HAVE_GCC_EXT_EXCHANGE_AND_ADD >-- Performing Test BOOSTER_HAVE_GCC_EXT_EXCHANGE_AND_ADD - Success >-- Performing Test BOOSTER_HAVE_FREEBSD_ATOMIC >-- Performing Test BOOSTER_HAVE_FREEBSD_ATOMIC - Success >-- Performing Test BOOSTER_HAVE_EXECINFO >-- Performing Test BOOSTER_HAVE_EXECINFO - Failed >-- Performing Test BOOSTER_HAVE_SOLARIS_ATOMIC >-- Performing Test BOOSTER_HAVE_SOLARIS_ATOMIC - Failed >-- Performing Test BOOSTER_HAVE_MAC_OS_X_ATOMIC >-- Performing Test BOOSTER_HAVE_MAC_OS_X_ATOMIC - Failed >-- Performing Test BOOSTER_HAVE_STDINT_H >-- Performing Test BOOSTER_HAVE_STDINT_H - Success >-- Performing Test BOOSTER_HAVE_INTTYPES_H >-- Performing Test BOOSTER_HAVE_INTTYPES_H - Success >-- Performing Test BOOSTER_AIO_HAVE_PF_INET6 >-- Performing Test BOOSTER_AIO_HAVE_PF_INET6 - Success >-- Performing Test CPPCMS_HAVE_STDINT_H >-- Performing Test CPPCMS_HAVE_STDINT_H - Success >-- Performing Test CPPCMS_HAVE_INTTYPES_H >-- Performing Test CPPCMS_HAVE_INTTYPES_H - Success >-- Looking for atoll >-- Looking for atoll - found >-- Looking for _atoi64 >-- Looking for _atoi64 - not found >-- Looking for snprintf >-- Looking for snprintf - found >-- Looking for stat >-- Looking for stat - found >-- Looking for _stat >-- Looking for _stat - found >-- Performing Test CPPCMS_HAVE_STD_WSTRING >-- Performing Test CPPCMS_HAVE_STD_WSTRING - Success >-- Performing Test CPPCMS_HAVE_BSD_TM >-- Performing Test CPPCMS_HAVE_BSD_TM - Success >-- Performing Test CPPCMS_HAVE_CPP0X_UXSTRING >-- Performing Test CPPCMS_HAVE_CPP0X_UXSTRING - Failed >-- Performing Test CPPCMS_HAVE_CPP_0X_AUTO >-- Performing Test CPPCMS_HAVE_CPP_0X_AUTO - Failed >-- Performing Test CPPCMS_HAVE_CPP_0X_DECLTYPE >-- Performing Test CPPCMS_HAVE_CPP_0X_DECLTYPE - Failed >-- Performing Test CPPCMS_HAVE_GCC_TYPEOF >-- Performing Test CPPCMS_HAVE_GCC_TYPEOF - Success >-- Performing Test CPPCMS_HAVE_UNDERSCORE_TYPEOF >-- Performing Test CPPCMS_HAVE_UNDERSCORE_TYPEOF - Success >-- Looking for dlopen >-- Looking for dlopen - found >-- Looking for socket >-- Looking for socket - found >-- Looking for gethostbyname >-- Looking for gethostbyname - found >-- Looking for canonicalize_file_name >-- Looking for canonicalize_file_name - not found >-- Configuring done >-- Generating done >-- Build files have been written to: /www/cppcms/build > > > > > > >------------------------------------------------------------------------------ >BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA >The must-attend event for mobile developers. Connect with experts. >Get tools for creating Super Apps. See the latest technologies. >Sessions, hands-on labs, demos & much more. Register early & save! >http://p.sf.net/sfu/rim-blackberry-1 >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |
From: monolithed <mon...@gm...> - 2011-08-07 17:57:58
|
I haven't used port 8080. And I can't to run the_chat.html (rather, I see the one, but the button 'send' doesn't work for me) I use the following URL to the chat: http://domain/cppcms/examples/chat/the_chat.html |
From: Alexander G. <du...@gm...> - 2011-08-07 17:37:08
|
I haven't used port 8080 |
From: kpeo <sla...@ya...> - 2011-08-07 16:09:10
|
<div>Hi,</div><div> </div><div><span lang="en"><span>it is not connected</span> <span>with the problem of</span></span> assigning the port 8080? See "Lots of tests fails" at http://cppcms.sourceforge.net/wikipp/en/page/cppcms_1x_build_troubleshooting</div><div>07.08.2011, 18:41, "monolithed" <mon...@gm...>:</div><blockquote>The following tests FAILED:<br /> 17 - internal_forwarder_test (Failed)<br /> 16 - cookie_test (Failed)<br /> 15 - form_test (Failed)<br /> 14 - async_status_test (Failed)<br /> 13 - status_test (Failed)<br /> 34 - proto_test_sync_fastcgi_unix (Failed)<br /> 33 - proto_test_sync_scgi_unix (Failed)<br /> 32 - proto_test_sync_fastcgi (Failed)<br /> 31 - proto_test_sync_scgi (Failed)<br /> 30 - proto_test_sync_http (Failed)<br /> 29 - proto_test_async_fastcgi_unix (Failed)<br /> 28 - proto_test_async_scgi_unix (Failed)<br /> 27 - proto_test_async_fastcgi (Failed)<br /> 26 - proto_test_async_scgi (Failed)<br /> 25 - proto_test_async_http (Failed)<br /> 24 - disco_test_scgi_unix (Failed)<br /> 23 - disco_test_fastcgi_unix (Failed)<br /> 22 - disco_test_scgi_tcp (Failed)<br /> 21 - disco_test_fastcgi_tcp (Failed)<br /> 20 - disco_test_http (Failed)<br /> 19 - jsonrpc_test (Failed)<br /> 18 - forwarder_test (Failed)<br />Errors while running CTest<br /><div>*** Error code 8</div><div><strong>$ uname -a</strong><br />FreeBSD bsd 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 <a href="mailto:ro...@al...">ro...@al...</a>:/usr/obj/usr/src/sys/GENERIC i386</div><div><strong>$ python -V</strong> </div><div>Python 3.1.4</div><div><em>there's a version 2.6.7, but by default is 3.1.4. (I've corrected cppcms_tmpl_cc for 3.1.4). So there's no any problem with Python</em></div><div><strong>$ cmake --help</strong></div><div>cmake version 2.8.4</div><div><strong>$ pcretest</strong></div><div>PCRE version 8.<span>12 2011-01-15</span></div><div><strong>$ gcc --version</strong> <br />gcc (GCC) 4.2.<span>1 20070719</span> [FreeBSD]</div><div><br /><strong>$ pkg_info | grep 'icu'</strong><br /> icu-4.8</div><div><strong># cmake ..</strong><br />-- The C compiler identification is GNU<br />-- The CXX compiler identification is GNU<br />-- Check for working C compiler: /usr/bin/gcc<br />-- Check for working C compiler: /usr/bin/gcc -- works<br /> -- Detecting C compiler ABI info<br />-- Detecting C compiler ABI info - done<br />-- Check for working CXX compiler: /usr/bin/c++<br />-- Check for working CXX compiler: /usr/bin/c++ -- works<br />-- Detecting CXX compiler ABI info<br /> -- Detecting CXX compiler ABI info - done<br />-- Looking for ICU libraries<br />-- ICU Found, building booster locale<br />-- Performing Test LIBC_ICONV<br />-- Performing Test LIBC_ICONV - Failed<br />-- Performing Test GCC_IS_GCC4<br /> -- Performing Test GCC_IS_GCC4 - Success<br />-- Looking for dlopen<br />-- Looking for dlopen - found<br />-- Looking for socket<br />-- Looking for socket - found<br />-- Looking for gethostbyname<br />-- Looking for gethostbyname - found<br /> -- Performing Test BOOSTER_HAS_GCC_SYNC<br />-- Performing Test BOOSTER_HAS_GCC_SYNC - Success<br />-- Performing Test BOOSTER_HAVE_GCC_BITS_EXCHANGE_AND_ADD<br />-- Performing Test BOOSTER_HAVE_GCC_BITS_EXCHANGE_AND_ADD - Failed<br /> -- Performing Test BOOSTER_HAVE_GCC_EXT_EXCHANGE_AND_ADD<br />-- Performing Test BOOSTER_HAVE_GCC_EXT_EXCHANGE_AND_ADD - Success<br />-- Performing Test BOOSTER_HAVE_FREEBSD_ATOMIC<br />-- Performing Test BOOSTER_HAVE_FREEBSD_ATOMIC - Success<br /> -- Performing Test BOOSTER_HAVE_EXECINFO<br />-- Performing Test BOOSTER_HAVE_EXECINFO - Failed<br />-- Performing Test BOOSTER_HAVE_SOLARIS_ATOMIC<br />-- Performing Test BOOSTER_HAVE_SOLARIS_ATOMIC - Failed<br />-- Performing Test BOOSTER_HAVE_MAC_OS_X_ATOMIC<br /> -- Performing Test BOOSTER_HAVE_MAC_OS_X_ATOMIC - Failed<br />-- Performing Test BOOSTER_HAVE_STDINT_H<br />-- Performing Test BOOSTER_HAVE_STDINT_H - Success<br />-- Performing Test BOOSTER_HAVE_INTTYPES_H<br />-- Performing Test BOOSTER_HAVE_INTTYPES_H - Success<br /> -- Performing Test BOOSTER_AIO_HAVE_PF_INET6<br />-- Performing Test BOOSTER_AIO_HAVE_PF_INET6 - Success<br />-- Performing Test CPPCMS_HAVE_STDINT_H<br />-- Performing Test CPPCMS_HAVE_STDINT_H - Success<br />-- Performing Test CPPCMS_HAVE_INTTYPES_H<br /> -- Performing Test CPPCMS_HAVE_INTTYPES_H - Success<br />-- Looking for atoll<br />-- Looking for atoll - found<br />-- Looking for _atoi64<br />-- Looking for _atoi64 - not found<br />-- Looking for snprintf<br />-- Looking for snprintf - found<br /> -- Looking for stat<br />-- Looking for stat - found<br />-- Looking for _stat<br />-- Looking for _stat - found<br />-- Performing Test CPPCMS_HAVE_STD_WSTRING<br />-- Performing Test CPPCMS_HAVE_STD_WSTRING - Success<br />-- Performing Test CPPCMS_HAVE_BSD_TM<br /> -- Performing Test CPPCMS_HAVE_BSD_TM - Success<br />-- Performing Test CPPCMS_HAVE_CPP0X_UXSTRING<br />-- Performing Test CPPCMS_HAVE_CPP0X_UXSTRING - Failed<br />-- Performing Test CPPCMS_HAVE_CPP_0X_AUTO<br />-- Performing Test CPPCMS_HAVE_CPP_0X_AUTO - Failed<br /> -- Performing Test CPPCMS_HAVE_CPP_0X_DECLTYPE<br />-- Performing Test CPPCMS_HAVE_CPP_0X_DECLTYPE - Failed<br />-- Performing Test CPPCMS_HAVE_GCC_TYPEOF<br />-- Performing Test CPPCMS_HAVE_GCC_TYPEOF - Success<br />-- Performing Test CPPCMS_HAVE_UNDERSCORE_TYPEOF<br /> -- Performing Test CPPCMS_HAVE_UNDERSCORE_TYPEOF - Success<br />-- Looking for dlopen<br />-- Looking for dlopen - found<br />-- Looking for socket<br />-- Looking for socket - found<br />-- Looking for gethostbyname<br />-- Looking for gethostbyname - found<br /> -- Looking for canonicalize_file_name<br />-- Looking for canonicalize_file_name - not found<br />-- Configuring done<br />-- Generating done<br />-- Build files have been written to: /www/cppcms/build<br /><br /></div><p>------------------------------------------------------------------------------<br />BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA<br />The must-attend event for mobile developers. Connect with experts. <br />Get tools for creating Super Apps. See the latest technologies.<br />Sessions, hands-on labs, demos & much more. Register early & save!<br /><a href="http://p.sf.net/sfu/rim-blackberry-1">http://p.sf.net/sfu/rim-blackberry-1</a></p><p>_______________________________________________<br />Cppcms-users mailing list<br /><a href="mailto:Cpp...@li...">Cpp...@li...</a><br /><a href="https://lists.sourceforge.net/lists/listinfo/cppcms-users">https://lists.sourceforge.net/lists/listinfo/cppcms-users</a></p></blockquote> |
From: monolithed <mon...@gm...> - 2011-08-07 14:41:14
|
The following tests FAILED: 17 - internal_forwarder_test (Failed) 16 - cookie_test (Failed) 15 - form_test (Failed) 14 - async_status_test (Failed) 13 - status_test (Failed) 34 - proto_test_sync_fastcgi_unix (Failed) 33 - proto_test_sync_scgi_unix (Failed) 32 - proto_test_sync_fastcgi (Failed) 31 - proto_test_sync_scgi (Failed) 30 - proto_test_sync_http (Failed) 29 - proto_test_async_fastcgi_unix (Failed) 28 - proto_test_async_scgi_unix (Failed) 27 - proto_test_async_fastcgi (Failed) 26 - proto_test_async_scgi (Failed) 25 - proto_test_async_http (Failed) 24 - disco_test_scgi_unix (Failed) 23 - disco_test_fastcgi_unix (Failed) 22 - disco_test_scgi_tcp (Failed) 21 - disco_test_fastcgi_tcp (Failed) 20 - disco_test_http (Failed) 19 - jsonrpc_test (Failed) 18 - forwarder_test (Failed) Errors while running CTest *** Error code 8 *$ uname -a* FreeBSD bsd 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 ro...@al...:/usr/obj/usr/src/sys/GENERIC i386 *$ python -V* Python 3.1.4 *there's a version 2.6.7, but by default is 3.1.4. (I've corrected cppcms_tmpl_cc for 3.1.4). So there's no any problem with Python* *$ cmake --help* cmake version 2.8.4 *$ pcretest* PCRE version 8.12 2011-01-15 *$ gcc --version* gcc (GCC) 4.2.1 20070719 [FreeBSD] *$ pkg_info | grep 'icu'* icu-4.8 *# cmake ..* -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Looking for ICU libraries -- ICU Found, building booster locale -- Performing Test LIBC_ICONV -- Performing Test LIBC_ICONV - Failed -- Performing Test GCC_IS_GCC4 -- Performing Test GCC_IS_GCC4 - Success -- Looking for dlopen -- Looking for dlopen - found -- Looking for socket -- Looking for socket - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Performing Test BOOSTER_HAS_GCC_SYNC -- Performing Test BOOSTER_HAS_GCC_SYNC - Success -- Performing Test BOOSTER_HAVE_GCC_BITS_EXCHANGE_AND_ADD -- Performing Test BOOSTER_HAVE_GCC_BITS_EXCHANGE_AND_ADD - Failed -- Performing Test BOOSTER_HAVE_GCC_EXT_EXCHANGE_AND_ADD -- Performing Test BOOSTER_HAVE_GCC_EXT_EXCHANGE_AND_ADD - Success -- Performing Test BOOSTER_HAVE_FREEBSD_ATOMIC -- Performing Test BOOSTER_HAVE_FREEBSD_ATOMIC - Success -- Performing Test BOOSTER_HAVE_EXECINFO -- Performing Test BOOSTER_HAVE_EXECINFO - Failed -- Performing Test BOOSTER_HAVE_SOLARIS_ATOMIC -- Performing Test BOOSTER_HAVE_SOLARIS_ATOMIC - Failed -- Performing Test BOOSTER_HAVE_MAC_OS_X_ATOMIC -- Performing Test BOOSTER_HAVE_MAC_OS_X_ATOMIC - Failed -- Performing Test BOOSTER_HAVE_STDINT_H -- Performing Test BOOSTER_HAVE_STDINT_H - Success -- Performing Test BOOSTER_HAVE_INTTYPES_H -- Performing Test BOOSTER_HAVE_INTTYPES_H - Success -- Performing Test BOOSTER_AIO_HAVE_PF_INET6 -- Performing Test BOOSTER_AIO_HAVE_PF_INET6 - Success -- Performing Test CPPCMS_HAVE_STDINT_H -- Performing Test CPPCMS_HAVE_STDINT_H - Success -- Performing Test CPPCMS_HAVE_INTTYPES_H -- Performing Test CPPCMS_HAVE_INTTYPES_H - Success -- Looking for atoll -- Looking for atoll - found -- Looking for _atoi64 -- Looking for _atoi64 - not found -- Looking for snprintf -- Looking for snprintf - found -- Looking for stat -- Looking for stat - found -- Looking for _stat -- Looking for _stat - found -- Performing Test CPPCMS_HAVE_STD_WSTRING -- Performing Test CPPCMS_HAVE_STD_WSTRING - Success -- Performing Test CPPCMS_HAVE_BSD_TM -- Performing Test CPPCMS_HAVE_BSD_TM - Success -- Performing Test CPPCMS_HAVE_CPP0X_UXSTRING -- Performing Test CPPCMS_HAVE_CPP0X_UXSTRING - Failed -- Performing Test CPPCMS_HAVE_CPP_0X_AUTO -- Performing Test CPPCMS_HAVE_CPP_0X_AUTO - Failed -- Performing Test CPPCMS_HAVE_CPP_0X_DECLTYPE -- Performing Test CPPCMS_HAVE_CPP_0X_DECLTYPE - Failed -- Performing Test CPPCMS_HAVE_GCC_TYPEOF -- Performing Test CPPCMS_HAVE_GCC_TYPEOF - Success -- Performing Test CPPCMS_HAVE_UNDERSCORE_TYPEOF -- Performing Test CPPCMS_HAVE_UNDERSCORE_TYPEOF - Success -- Looking for dlopen -- Looking for dlopen - found -- Looking for socket -- Looking for socket - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for canonicalize_file_name -- Looking for canonicalize_file_name - not found -- Configuring done -- Generating done -- Build files have been written to: /www/cppcms/build |