cppcms-users Mailing List for CppCMS C++ Web Framework (Page 42)
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
|
| 2025 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
|
From: Heiko I. <hi...@93...> - 2013-12-05 15:17:41
|
Hi there, how can i save data per request? I store the user id in a browser cookie, then there is a function called getCurrentUser() which looks into the cookie, then gets the user from the database. Obviously i do not want to have a database query every time getCurrentUser() is called within one request, so i want to store the current user for the current request. How can i do this? Thanx in advance. -- Heiko |
|
From: Shiv S. D. <shi...@gm...> - 2013-12-04 12:42:13
|
Yes the entire content which is related to games will not change. I will even store them in user's machine so that these do not be asked for. So game will look in a particular directory before asking server for data. On Wed, Dec 4, 2013 at 6:09 PM, Artyom Beilis <art...@ya...> wrote: > If the media files are static/unchangeable... just don't bother, the web > server would do much better job. > You don't need to bother about actual files serving, sync-async methods > etc. > > CppCMS should handle dynamic content only as Marcel had pointed before > > Artyom Beilis > > -------------- > > CppCMS - C++ Web Framework: http://cppcms.com/ > > CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ > > -------------------------------------------- > On Wed, 12/4/13, Shiv Shankar Dayal <shi...@gm...> wrote: > > Subject: Re: [Cppcms-users] Caching files > To: cpp...@li... > Date: Wednesday, December 4, 2013, 2:35 PM > > I am working on online WenGL > games. Now the use case is many will play and one user may > download media files many times every day. > > > On Wed, Dec 4, 2013 at > 5:38 PM, Artyom Beilis <art...@ya...> > wrote: > > Can > you explain what are you trying to do? > > > > > > Artyom Beilis > > > > -------------- > > > > CppCMS - C++ Web Framework: http://cppcms.com/ > > > > CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ > > > > -------------------------------------------- > > On Wed, 12/4/13, Shiv Shankar Dayal <shi...@gm...> > wrote: > > > > Subject: Re: [Cppcms-users] Caching files > > To: cpp...@li... > > Date: Wednesday, December 4, 2013, 2:01 PM > > > > I think web server nginx can > > manage my case as it knows whether the request has to be > > served with 200 or 304. I had another question, related > to > > async io, is most of the time network will be slow. SO > > suppose I want to pause the file stream which is reading > > into memory buffer so is there anyway to pause the > reading > > until what has been read and then restart the reading > like > > in Node.js or do I need to code it because I do not see > this > > in Doxygen documentation. > > > > > > > > On Wed, Dec 4, 2013 at > > 5:19 PM, 陈抒 <csf...@gm...> > > wrote: > > > > Hi, The way you mentioned can be called > > as in-process cache. When we talking about > > cache, there are a few kinds of cache technology, > > in-process, out-of-process cache, local file cache, > browser > > cache. > > > > > > For your case, you can cache these static files in > > your app, or cache them with Nginx + Memcached/MongoDB. > The > > latter way does not need you to implement your cache > > algorithm. Another way is to use in-process > > & out-of-process cache together. Web servers cache > files > > in their process, but if the file is not found, it can > load > > it from remote cache server of database. > > > > > > > > > > Dean Chen > > Best regards > > http://blog.csdn.net/csfreebird > > > > > > On Wed, Dec 4, 2013 at 7:13 PM, Shiv > > Shankar Dayal <shi...@gm...> > > wrote: > > > > > > > > Hi, > > > > Suppose I am making few online game the clearly it is > going > > to involve some media. Let us say I have 2GB of artwork > > which will remain constant. Is is not better that when > the > > application starts then load all these files in memory > and > > serve from there to users rather than putting them in > > database and doing a caching. > > > > > > > > > > > > I think it is much better to load from raw filesystem > > and keep then in memory in application and serve from > there. > > The only thing which is going to happen is when app will > > start it will take time. But it is much better than async > io > > because we know how much data we have before hand and 2G > or > > something like even 10G data is not much as far as > keeping > > that in memory is concerned. > > > > > > > > > > > > Please note that this is static data will never change > > so can be kept in const global buffers. Please share your > > opinions. > > > > -- > > > > > > Respect, > > Shiv Shankar Dayal > > > > > > > > > ------------------------------------------------------------------------------ > > > > Sponsored by Intel(R) XDK > > > > Develop, test and display web and hybrid apps with a > single > > code base. > > > > Download it for free now! > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk > > _______________________________________________ > > > > > > > > > > Cppcms-users mailing list > > > > Cpp...@li... > > > > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Sponsored by Intel(R) XDK > > > > Develop, test and display web and hybrid apps with a > single > > code base. > > > > Download it for free now! > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk > > _______________________________________________ > > > > > > Cppcms-users mailing list > > > > Cpp...@li... > > > > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > > > > > > > > > -- > > Respect, > > Shiv Shankar Dayal > > > > > > -----Inline Attachment Follows----- > > > > > ------------------------------------------------------------------------------ > > Sponsored by Intel(R) XDK > > Develop, test and display web and hybrid apps with a > single > > code base. > > Download it for free now! > > > http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk > > -----Inline Attachment Follows----- > > > > _______________________________________________ > > Cppcms-users mailing list > > Cpp...@li... > > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > > > > ------------------------------------------------------------------------------ > > Sponsored by Intel(R) XDK > > Develop, test and display web and hybrid apps with a single > code base. > > Download it for free now! > > > http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk > > _______________________________________________ > > Cppcms-users mailing list > > Cpp...@li... > > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > > -- > Respect, > Shiv Shankar Dayal > > > -----Inline Attachment Follows----- > > > ------------------------------------------------------------------------------ > Sponsored by Intel(R) XDK > Develop, test and display web and hybrid apps with a single > code base. > Download it for free now! > > http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk > -----Inline Attachment Follows----- > > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > ------------------------------------------------------------------------------ > Sponsored by Intel(R) XDK > Develop, test and display web and hybrid apps with a single code base. > Download it for free now! > > http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > -- Respect, Shiv Shankar Dayal |
|
From: Artyom B. <art...@ya...> - 2013-12-04 12:39:10
|
If the media files are static/unchangeable... just don't bother, the web server would do much better job. You don't need to bother about actual files serving, sync-async methods etc. CppCMS should handle dynamic content only as Marcel had pointed before Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ -------------------------------------------- On Wed, 12/4/13, Shiv Shankar Dayal <shi...@gm...> wrote: Subject: Re: [Cppcms-users] Caching files To: cpp...@li... Date: Wednesday, December 4, 2013, 2:35 PM I am working on online WenGL games. Now the use case is many will play and one user may download media files many times every day. On Wed, Dec 4, 2013 at 5:38 PM, Artyom Beilis <art...@ya...> wrote: Can you explain what are you trying to do? Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ -------------------------------------------- On Wed, 12/4/13, Shiv Shankar Dayal <shi...@gm...> wrote: Subject: Re: [Cppcms-users] Caching files To: cpp...@li... Date: Wednesday, December 4, 2013, 2:01 PM I think web server nginx can manage my case as it knows whether the request has to be served with 200 or 304. I had another question, related to async io, is most of the time network will be slow. SO suppose I want to pause the file stream which is reading into memory buffer so is there anyway to pause the reading until what has been read and then restart the reading like in Node.js or do I need to code it because I do not see this in Doxygen documentation. On Wed, Dec 4, 2013 at 5:19 PM, 陈抒 <csf...@gm...> wrote: Hi, The way you mentioned can be called as in-process cache. When we talking about cache, there are a few kinds of cache technology, in-process, out-of-process cache, local file cache, browser cache. For your case, you can cache these static files in your app, or cache them with Nginx + Memcached/MongoDB. The latter way does not need you to implement your cache algorithm. Another way is to use in-process & out-of-process cache together. Web servers cache files in their process, but if the file is not found, it can load it from remote cache server of database. Dean Chen Best regards http://blog.csdn.net/csfreebird On Wed, Dec 4, 2013 at 7:13 PM, Shiv Shankar Dayal <shi...@gm...> wrote: Hi, Suppose I am making few online game the clearly it is going to involve some media. Let us say I have 2GB of artwork which will remain constant. Is is not better that when the application starts then load all these files in memory and serve from there to users rather than putting them in database and doing a caching. I think it is much better to load from raw filesystem and keep then in memory in application and serve from there. The only thing which is going to happen is when app will start it will take time. But it is much better than async io because we know how much data we have before hand and 2G or something like even 10G data is not much as far as keeping that in memory is concerned. Please note that this is static data will never change so can be kept in const global buffers. Please share your opinions. -- Respect, Shiv Shankar Dayal ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users -- Respect, Shiv Shankar Dayal -----Inline Attachment Follows----- ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk -----Inline Attachment Follows----- _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users -- Respect, Shiv Shankar Dayal -----Inline Attachment Follows----- ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk -----Inline Attachment Follows----- _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users |
|
From: Shiv S. D. <shi...@gm...> - 2013-12-04 12:35:32
|
I am working on online WenGL games. Now the use case is many will play and one user may download media files many times every day. On Wed, Dec 4, 2013 at 5:38 PM, Artyom Beilis <art...@ya...> wrote: > Can you explain what are you trying to do? > > > Artyom Beilis > > -------------- > > CppCMS - C++ Web Framework: http://cppcms.com/ > > CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ > > -------------------------------------------- > On Wed, 12/4/13, Shiv Shankar Dayal <shi...@gm...> wrote: > > Subject: Re: [Cppcms-users] Caching files > To: cpp...@li... > Date: Wednesday, December 4, 2013, 2:01 PM > > I think web server nginx can > manage my case as it knows whether the request has to be > served with 200 or 304. I had another question, related to > async io, is most of the time network will be slow. SO > suppose I want to pause the file stream which is reading > into memory buffer so is there anyway to pause the reading > until what has been read and then restart the reading like > in Node.js or do I need to code it because I do not see this > in Doxygen documentation. > > > > On Wed, Dec 4, 2013 at > 5:19 PM, 陈抒 <csf...@gm...> > wrote: > > Hi, The way you mentioned can be called > as in-process cache. When we talking about > cache, there are a few kinds of cache technology, > in-process, out-of-process cache, local file cache, browser > cache. > > > For your case, you can cache these static files in > your app, or cache them with Nginx + Memcached/MongoDB. The > latter way does not need you to implement your cache > algorithm. Another way is to use in-process > & out-of-process cache together. Web servers cache files > in their process, but if the file is not found, it can load > it from remote cache server of database. > > > > > Dean Chen > Best regards > http://blog.csdn.net/csfreebird > > > On Wed, Dec 4, 2013 at 7:13 PM, Shiv > Shankar Dayal <shi...@gm...> > wrote: > > > > Hi, > > Suppose I am making few online game the clearly it is going > to involve some media. Let us say I have 2GB of artwork > which will remain constant. Is is not better that when the > application starts then load all these files in memory and > serve from there to users rather than putting them in > database and doing a caching. > > > > > > I think it is much better to load from raw filesystem > and keep then in memory in application and serve from there. > The only thing which is going to happen is when app will > start it will take time. But it is much better than async io > because we know how much data we have before hand and 2G or > something like even 10G data is not much as far as keeping > that in memory is concerned. > > > > > > Please note that this is static data will never change > so can be kept in const global buffers. Please share your > opinions. > > -- > > > Respect, > Shiv Shankar Dayal > > > > > ------------------------------------------------------------------------------ > > Sponsored by Intel(R) XDK > > Develop, test and display web and hybrid apps with a single > code base. > > Download it for free now! > > > http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk > _______________________________________________ > > > > > Cppcms-users mailing list > > Cpp...@li... > > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > > > > ------------------------------------------------------------------------------ > > Sponsored by Intel(R) XDK > > Develop, test and display web and hybrid apps with a single > code base. > > Download it for free now! > > > http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk > _______________________________________________ > > > Cppcms-users mailing list > > Cpp...@li... > > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > > > -- > Respect, > Shiv Shankar Dayal > > > -----Inline Attachment Follows----- > > > ------------------------------------------------------------------------------ > Sponsored by Intel(R) XDK > Develop, test and display web and hybrid apps with a single > code base. > Download it for free now! > > http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk > -----Inline Attachment Follows----- > > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > ------------------------------------------------------------------------------ > Sponsored by Intel(R) XDK > Develop, test and display web and hybrid apps with a single code base. > Download it for free now! > > http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > -- Respect, Shiv Shankar Dayal |
|
From: Artyom B. <art...@ya...> - 2013-12-04 12:08:19
|
Can you explain what are you trying to do? Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ -------------------------------------------- On Wed, 12/4/13, Shiv Shankar Dayal <shi...@gm...> wrote: Subject: Re: [Cppcms-users] Caching files To: cpp...@li... Date: Wednesday, December 4, 2013, 2:01 PM I think web server nginx can manage my case as it knows whether the request has to be served with 200 or 304. I had another question, related to async io, is most of the time network will be slow. SO suppose I want to pause the file stream which is reading into memory buffer so is there anyway to pause the reading until what has been read and then restart the reading like in Node.js or do I need to code it because I do not see this in Doxygen documentation. On Wed, Dec 4, 2013 at 5:19 PM, 陈抒 <csf...@gm...> wrote: Hi, The way you mentioned can be called as in-process cache. When we talking about cache, there are a few kinds of cache technology, in-process, out-of-process cache, local file cache, browser cache. For your case, you can cache these static files in your app, or cache them with Nginx + Memcached/MongoDB. The latter way does not need you to implement your cache algorithm. Another way is to use in-process & out-of-process cache together. Web servers cache files in their process, but if the file is not found, it can load it from remote cache server of database. Dean Chen Best regards http://blog.csdn.net/csfreebird On Wed, Dec 4, 2013 at 7:13 PM, Shiv Shankar Dayal <shi...@gm...> wrote: Hi, Suppose I am making few online game the clearly it is going to involve some media. Let us say I have 2GB of artwork which will remain constant. Is is not better that when the application starts then load all these files in memory and serve from there to users rather than putting them in database and doing a caching. I think it is much better to load from raw filesystem and keep then in memory in application and serve from there. The only thing which is going to happen is when app will start it will take time. But it is much better than async io because we know how much data we have before hand and 2G or something like even 10G data is not much as far as keeping that in memory is concerned. Please note that this is static data will never change so can be kept in const global buffers. Please share your opinions. -- Respect, Shiv Shankar Dayal ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users -- Respect, Shiv Shankar Dayal -----Inline Attachment Follows----- ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk -----Inline Attachment Follows----- _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users |
|
From: Shiv S. D. <shi...@gm...> - 2013-12-04 12:01:14
|
I think web server nginx can manage my case as it knows whether the request has to be served with 200 or 304. I had another question, related to async io, is most of the time network will be slow. SO suppose I want to pause the file stream which is reading into memory buffer so is there anyway to pause the reading until what has been read and then restart the reading like in Node.js or do I need to code it because I do not see this in Doxygen documentation. On Wed, Dec 4, 2013 at 5:19 PM, 陈抒 <csf...@gm...> wrote: > Hi, > The way you mentioned can be called as in-process cache. > When we talking about cache, there are a few kinds of cache technology, > in-process, out-of-process cache, local file cache, browser cache. > For your case, you can cache these static files in your app, or cache > them with Nginx + Memcached/MongoDB. The latter way does not need you to > implement your cache algorithm. > Another way is to use in-process & out-of-process cache together. Web > servers cache files in their process, but if the file is not found, it can > load it from remote cache server of database. > > > Dean Chen > Best regards > http://blog.csdn.net/csfreebird > > > On Wed, Dec 4, 2013 at 7:13 PM, Shiv Shankar Dayal < > shi...@gm...> wrote: > >> Hi, >> >> Suppose I am making few online game the clearly it is going to involve >> some media. Let us say I have 2GB of artwork which will remain constant. Is >> is not better that when the application starts then load all these files in >> memory and serve from there to users rather than putting them in database >> and doing a caching. >> >> I think it is much better to load from raw filesystem and keep then in >> memory in application and serve from there. The only thing which is going >> to happen is when app will start it will take time. But it is much better >> than async io because we know how much data we have before hand and 2G or >> something like even 10G data is not much as far as keeping that in memory >> is concerned. >> >> Please note that this is static data will never change so can be kept in >> const global buffers. Please share your opinions. >> >> -- >> Respect, >> Shiv Shankar Dayal >> >> >> ------------------------------------------------------------------------------ >> Sponsored by Intel(R) XDK >> Develop, test and display web and hybrid apps with a single code base. >> Download it for free now! >> >> http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> > > > ------------------------------------------------------------------------------ > Sponsored by Intel(R) XDK > Develop, test and display web and hybrid apps with a single code base. > Download it for free now! > > http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > -- Respect, Shiv Shankar Dayal |
|
From: 陈抒 <csf...@gm...> - 2013-12-04 11:50:03
|
Hi, The way you mentioned can be called as in-process cache. When we talking about cache, there are a few kinds of cache technology, in-process, out-of-process cache, local file cache, browser cache. For your case, you can cache these static files in your app, or cache them with Nginx + Memcached/MongoDB. The latter way does not need you to implement your cache algorithm. Another way is to use in-process & out-of-process cache together. Web servers cache files in their process, but if the file is not found, it can load it from remote cache server of database. Dean Chen Best regards http://blog.csdn.net/csfreebird On Wed, Dec 4, 2013 at 7:13 PM, Shiv Shankar Dayal < shi...@gm...> wrote: > Hi, > > Suppose I am making few online game the clearly it is going to involve > some media. Let us say I have 2GB of artwork which will remain constant. Is > is not better that when the application starts then load all these files in > memory and serve from there to users rather than putting them in database > and doing a caching. > > I think it is much better to load from raw filesystem and keep then in > memory in application and serve from there. The only thing which is going > to happen is when app will start it will take time. But it is much better > than async io because we know how much data we have before hand and 2G or > something like even 10G data is not much as far as keeping that in memory > is concerned. > > Please note that this is static data will never change so can be kept in > const global buffers. Please share your opinions. > > -- > Respect, > Shiv Shankar Dayal > > > ------------------------------------------------------------------------------ > Sponsored by Intel(R) XDK > Develop, test and display web and hybrid apps with a single code base. > Download it for free now! > > http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > |
|
From: Shiv S. D. <shi...@gm...> - 2013-12-04 11:44:16
|
Thanks :-) On Wed, Dec 4, 2013 at 4:56 PM, Marcel Hellwig <ke...@co...> wrote: > Google: cppcms serving static files > http://cppcms.com/wikipp/en/page/cppcms_1x_serving_static_files > > On 04.12.2013 12:13, Shiv Shankar Dayal wrote: > > Hi, > > > > Suppose I am making few online game the clearly it is going to involve > > some media. Let us say I have 2GB of artwork which will remain > > constant. Is is not better that when the application starts then load > > all these files in memory and serve from there to users rather than > > putting them in database and doing a caching. > Why do you put static files (pictures, etc) in a database?! I said it > already. Don't! > > > > I think it is much better to load from raw filesystem and keep then in > > memory in application and serve from there. The only thing which is > > going to happen is when app will start it will take time. But it is > > much better than async io because we know how much data we have before > > hand and 2G or something like even 10G data is not much as far as > > keeping that in memory is concerned. > Yep. As the link above says, let the webserver do its job! > > > > Please note that this is static data will never change so can be kept > > in const global buffers. Please share your opinions. > > > > -- > > > > > ------------------------------------------------------------------------------ > Sponsored by Intel(R) XDK > Develop, test and display web and hybrid apps with a single code base. > Download it for free now! > > http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > -- Respect, Shiv Shankar Dayal |
|
From: Marcel H. <ke...@co...> - 2013-12-04 11:27:05
|
Google: cppcms serving static files http://cppcms.com/wikipp/en/page/cppcms_1x_serving_static_files On 04.12.2013 12:13, Shiv Shankar Dayal wrote: > Hi, > > Suppose I am making few online game the clearly it is going to involve > some media. Let us say I have 2GB of artwork which will remain > constant. Is is not better that when the application starts then load > all these files in memory and serve from there to users rather than > putting them in database and doing a caching. Why do you put static files (pictures, etc) in a database?! I said it already. Don't! > > I think it is much better to load from raw filesystem and keep then in > memory in application and serve from there. The only thing which is > going to happen is when app will start it will take time. But it is > much better than async io because we know how much data we have before > hand and 2G or something like even 10G data is not much as far as > keeping that in memory is concerned. Yep. As the link above says, let the webserver do its job! > > Please note that this is static data will never change so can be kept > in const global buffers. Please share your opinions. > > -- |
|
From: Shiv S. D. <shi...@gm...> - 2013-12-04 11:13:33
|
Hi, Suppose I am making few online game the clearly it is going to involve some media. Let us say I have 2GB of artwork which will remain constant. Is is not better that when the application starts then load all these files in memory and serve from there to users rather than putting them in database and doing a caching. I think it is much better to load from raw filesystem and keep then in memory in application and serve from there. The only thing which is going to happen is when app will start it will take time. But it is much better than async io because we know how much data we have before hand and 2G or something like even 10G data is not much as far as keeping that in memory is concerned. Please note that this is static data will never change so can be kept in const global buffers. Please share your opinions. -- Respect, Shiv Shankar Dayal |
|
From: Shiv S. D. <shi...@gm...> - 2013-12-02 09:02:42
|
I like to change CMakeLists.txt because typing again and again on command line is painful for me. On Mon, Dec 2, 2013 at 2:19 PM, 陈抒 <csf...@gm...> wrote: > I decided to upgrade all my c++ apps to c++11. > One people who answered my question on stackoveflow suggests building > everything with c++11 for prevent ABI compatibility problems. > http://stackoverflow.com/questions/20320290/compiling-boost-1-55-with-c11 > > That's why I am trying building cppcms with c++11 option. Just in case. > > > > Dean Chen > Best regards > http://blog.csdn.net/csfreebird > > > On Mon, Dec 2, 2013 at 4:32 PM, Marcel Hellwig <ke...@co...> wrote: > >> On 02.12.2013 09:22, Artyom Beilis wrote: >> >> Three things: >> > >> > (a) You don't need to build CppCMS with C++11 option... CppCMS would >> take almost no advantage of it as it supports C++03 compilers. >> > >> > You still can use it with C++11 option when you build your applications >> against CppCMS build as ususual - the CppCMS library >> > would be binary compatible >> > >> > (b) To add a flag just use -DCMAKE_CXX_FLAGS=c++11 in cmake command >> line. You almost never need to change CMakeLists.txt >> (c) If you compile cppcms with c++11 enabled, all your applications has >> to be c++11 application as well, elsewise you will get an error (see my >> thread 'message board fails to build' from 20.01.2013). >> >> Regards >> Marcel >> >> >> >> ------------------------------------------------------------------------------ >> Rapidly troubleshoot problems before they affect your business. Most IT >> organizations don't have a clear picture of how application performance >> affects their revenue. With AppDynamics, you get 100% visibility into your >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics >> Pro! >> >> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > -- Respect, Shiv Shankar Dayal |
|
From: 陈抒 <csf...@gm...> - 2013-12-02 08:49:49
|
I decided to upgrade all my c++ apps to c++11. One people who answered my question on stackoveflow suggests building everything with c++11 for prevent ABI compatibility problems. http://stackoverflow.com/questions/20320290/compiling-boost-1-55-with-c11 That's why I am trying building cppcms with c++11 option. Just in case. Dean Chen Best regards http://blog.csdn.net/csfreebird On Mon, Dec 2, 2013 at 4:32 PM, Marcel Hellwig <ke...@co...> wrote: > On 02.12.2013 09:22, Artyom Beilis wrote: > > Three things: > > > > (a) You don't need to build CppCMS with C++11 option... CppCMS would > take almost no advantage of it as it supports C++03 compilers. > > > > You still can use it with C++11 option when you build your applications > against CppCMS build as ususual - the CppCMS library > > would be binary compatible > > > > (b) To add a flag just use -DCMAKE_CXX_FLAGS=c++11 in cmake command > line. You almost never need to change CMakeLists.txt > (c) If you compile cppcms with c++11 enabled, all your applications has > to be c++11 application as well, elsewise you will get an error (see my > thread 'message board fails to build' from 20.01.2013). > > Regards > Marcel > > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > |
|
From: Marcel H. <ke...@co...> - 2013-12-02 08:32:57
|
On 02.12.2013 09:22, Artyom Beilis wrote: Three things: > > (a) You don't need to build CppCMS with C++11 option... CppCMS would take almost no advantage of it as it supports C++03 compilers. > > You still can use it with C++11 option when you build your applications against CppCMS build as ususual - the CppCMS library > would be binary compatible > > (b) To add a flag just use -DCMAKE_CXX_FLAGS=c++11 in cmake command line. You almost never need to change CMakeLists.txt (c) If you compile cppcms with c++11 enabled, all your applications has to be c++11 application as well, elsewise you will get an error (see my thread 'message board fails to build' from 20.01.2013). Regards Marcel |
|
From: Artyom B. <art...@ya...> - 2013-12-02 08:32:39
|
Hi, I need something different: Send: Testing/Temporary/LastTest.log and Testing/Temporary/LastTestsFailed.log Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ -------------------------------------------- On Fri, 11/29/13, Shiv Shankar Dayal <shi...@gm...> wrote: Subject: Re: [Cppcms-users] two tests failiing To: cpp...@li... Date: Friday, November 29, 2013, 11:24 AM Here are the compressed logs. I see that it cannot find some functions. You will have more idea. In the meantime I have switched to a GNU/Linux box for development. As even simple programs are segfaulting on Mac OS X. On Fri, Nov 29, 2013 at 1:25 PM, Artyom Beilis <art...@ya...> wrote: Why not both? Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ -------------------------------------------- On Thu, 11/28/13, Shiv Shankar Dayal <shi...@gm...> wrote: Subject: Re: [Cppcms-users] two tests failiing To: cpp...@li... Date: Thursday, November 28, 2013, 10:09 PM After installing icu even more tests are failing. 43% tests passed, 53 tests failed out of 93 Total Test time (real) = 38.03 sec What files should I attach for this can you please name. I guess CMakeError.log and CMakeOutput.log are the ones you want. On Thu, Nov 28, 2013 at 6:38 PM, Shiv Shankar Dayal <shi...@gm...> wrote: I am trying to get icu detected because CMake does not detect it. It is in /us/local. On Thu, Nov 28, 2013 at 6:20 PM, Artyom Beilis <art...@ya...> wrote: To be honest hadn't tested it yet with such a latest version of Mac OS X / gcc. So it is hard to say. In any case send a build and test log Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ -------------------------------------------- On Thu, 11/28/13, Shiv Shankar Dayal <shi...@gm...> wrote: Subject: [Cppcms-users] two tests failiing To: cpp...@li... Date: Thursday, November 28, 2013, 2:40 PM 98% tests passed, 2 tests failed out of 88 Total Test time (real) = 253.27 sec The following tests FAILED: 3 - storage_test (ILLEGAL) 23 - http_timeouts_test_write (Failed) Errors while running CTest make: *** [test] Error 8 Mac OS X 10.9 GCC 4.9 I can post other files which one is needed? -- Respect, Shiv Shankar Dayal -----Inline Attachment Follows----- ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk -----Inline Attachment Follows----- _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users -- Respect, Shiv Shankar Dayal -- Respect, Shiv Shankar Dayal -----Inline Attachment Follows----- ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk -----Inline Attachment Follows----- _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users -- Respect, Shiv Shankar Dayal -----Inline Attachment Follows----- ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk -----Inline Attachment Follows----- _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users |
|
From: Artyom B. <art...@ya...> - 2013-12-02 08:23:02
|
Two things: (a) You don't need to build CppCMS with C++11 option... CppCMS would take almost no advantage of it as it supports C++03 compilers. You still can use it with C++11 option when you build your applications against CppCMS build as ususual - the CppCMS library would be binary compatible (b) To add a flag just use -DCMAKE_CXX_FLAGS=c++11 in cmake command line. You almost never need to change CMakeLists.txt Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ -------------------------------------------- On Mon, 12/2/13, 陈抒 <csf...@gm...> wrote: Subject: [Cppcms-users] How to compile cppcms with c++11 To: "cpp...@li..." <cpp...@li...> Date: Monday, December 2, 2013, 7:45 AM Now, it's time to develop c++ 11 app, but do not know how to compile cppcms with c++ 11 option using clang or g++? Dean Chen Best regards http://blog.csdn.net/csfreebird -----Inline Attachment Follows----- ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk -----Inline Attachment Follows----- _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users |
|
From: Shiv S. D. <shi...@gm...> - 2013-12-02 07:39:18
|
You are most welcome. :-) I guess nginx was one causing trouble. On Mon, Dec 2, 2013 at 12:56 PM, 陈抒 <csf...@gm...> wrote: > After shutdown a few processes, two tests passed. Thank you. > root@ci:/usr/src/cppcms-1.0.4/build# netstat -tlnp > Active Internet connections (only servers) > Proto Recv-Q Send-Q Local Address Foreign Address State > PID/Program name > tcp 0 0 127.0.0.1:3306 0.0.0.0:* > LISTEN 1091/mysqld > tcp 0 0 127.0.0.1:587 0.0.0.0:* > LISTEN 2290/sendmail: MTA: > tcp 0 0 127.0.0.1:6379 0.0.0.0:* > LISTEN 1508/redis-server > tcp 0 0 0.0.0.0:7980 0.0.0.0:* > LISTEN 1188/newlisp > tcp 0 0 0.0.0.0:22 0.0.0.0:* > LISTEN 878/sshd > tcp 0 0 127.0.0.1:25 0.0.0.0:* > LISTEN 2290/sendmail: MTA: > tcp6 0 0 :::3142 :::* LISTEN > 1180/perl > tcp6 0 0 :::22 :::* LISTEN > 878/sshd > > Dean Chen > Best regards > http://blog.csdn.net/csfreebird > > > On Mon, Dec 2, 2013 at 3:13 PM, Shiv Shankar Dayal < > shi...@gm...> wrote: > >> You have nginx running at port 80. Stop that and try. I have not seen >> code but nginx is webserver might be conflicting. Port 80, 8000, 8080 are >> usual web server ports. 80 is IANA port for them. >> >> >> On Mon, Dec 2, 2013 at 12:41 PM, 陈抒 <csf...@gm...> wrote: >> >>> there is no process which is using 8080 port on my computer. >>> root@ci:~# netstat -tlnp >>> Active Internet connections (only servers) >>> Proto Recv-Q Send-Q Local Address Foreign Address >>> State PID/Program name >>> tcp 0 0 0.0.0.0:27017 0.0.0.0:* >>> LISTEN 1080/mongod >>> tcp 0 0 127.0.0.1:3306 0.0.0.0:* >>> LISTEN 1091/mysqld >>> tcp 0 0 127.0.0.1:587 0.0.0.0:* >>> LISTEN 2290/sendmail: MTA: >>> tcp 0 0 127.0.0.1:6379 0.0.0.0:* >>> LISTEN 1508/redis-server >>> tcp 0 0 0.0.0.0:7980 0.0.0.0:* >>> LISTEN 1188/newlisp >>> tcp 0 0 0.0.0.0:28017 0.0.0.0:* >>> LISTEN 1080/mongod >>> tcp 0 0 0.0.0.0:22 0.0.0.0:* >>> LISTEN 878/sshd >>> tcp 0 0 127.0.0.1:25 0.0.0.0:* >>> LISTEN 2290/sendmail: MTA: >>> tcp 0 0 0.0.0.0:443 0.0.0.0:* >>> LISTEN 1481/nginx >>> tcp 0 0 127.0.0.1:32000 0.0.0.0:* >>> LISTEN 1444/java >>> tcp6 0 0 :::3142 :::* >>> LISTEN 1180/perl >>> tcp6 0 0 :::36620 :::* >>> LISTEN 1326/java >>> tcp6 0 0 :::80 :::* >>> LISTEN 1326/java >>> tcp6 0 0 :::8081 :::* >>> LISTEN 1444/java >>> tcp6 0 0 :::22 :::* >>> LISTEN 878/sshd >>> tcp6 0 0 :::40515 :::* >>> LISTEN 1326/java >>> >>> But still get two failed test result. >>> >>> Dean Chen >>> Best regards >>> http://blog.csdn.net/csfreebird >>> >>> >>> On Mon, Dec 2, 2013 at 2:41 PM, Shiv Shankar Dayal < >>> shi...@gm...> wrote: >>> >>>> I guess 8080 >>>> >>>> >>>> On Mon, Dec 2, 2013 at 11:55 AM, 陈抒 <csf...@gm...> wrote: >>>> >>>>> But got two error messages: >>>>> >>>>> 19/93 Test #19: internal_forwarder_test .................***Failed >>>>> 0.02 sec >>>>> Tesing internal forwarder >>>>> system: Address already in use >>>>> >>>>> Start 20: forwarder_test >>>>> 20/93 Test #20: forwarder_test ..........................***Failed >>>>> 0.02 sec >>>>> Tesing application level forwarding >>>>> system: Address already in use >>>>> >>>>> Address already in use, which port is expected to be used in these two >>>>> test? >>>>> >>>>> >>>>> Dean Chen >>>>> Best regards >>>>> http://blog.csdn.net/csfreebird >>>>> >>>>> >>>>> On Mon, Dec 2, 2013 at 2:13 PM, Shiv Shankar Dayal < >>>>> shi...@gm...> wrote: >>>>> >>>>>> Thanks. :-) >>>>>> >>>>>> >>>>>> On Mon, Dec 2, 2013 at 11:29 AM, 陈抒 <csf...@gm...> wrote: >>>>>> >>>>>>> Hi, I swallow my words because I see the option now. >>>>>>> >>>>>>> /usr/bin/c++ -Dcppcms_EXPORTS -DCPPCMS_BOOST_ALL_NO_LIB -Wall >>>>>>> -Wextra -std=c++11 -O2 -g -fPIC -I/usr/src/cppcms-1.0.4/booster >>>>>>> -I/usr/src/cppcms-1.0.4/src -I/usr/src/cppcms-1.\ >>>>>>> 0.4/private -I/usr/src/cppcms-1.0.4/cppcms_boost >>>>>>> -I/usr/src/cppcms-1.0.4/build -I/usr/src/cppcms-1.0.4/build/booster >>>>>>> -I/usr/src/cppcms-1.0.4 -o CMakeFiles/cppcms.dir/src/cac\ >>>>>>> he_over_ip.cpp.o -c /usr/src/cppcms-1.0.4/src/cache_over_ip.cpp >>>>>>> /usr/bin/cmake -E cmake_progress_report >>>>>>> /usr/src/cppcms-1.0.4/build/CMakeFiles >>>>>>> [ 33%] Building CXX object >>>>>>> CMakeFiles/cppcms.dir/src/tcp_messenger.cpp.o >>>>>>> >>>>>>> >>>>>>> Dean Chen >>>>>>> Best regards >>>>>>> http://blog.csdn.net/csfreebird >>>>>>> >>>>>>> >>>>>>> On Mon, Dec 2, 2013 at 1:58 PM, 陈抒 <csf...@gm...> wrote: >>>>>>> >>>>>>>> elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") >>>>>>>> set(CXX_FLAGS "-Wall -Wextra -std=c++11") >>>>>>>> >>>>>>>> The above modification doesn't work too. >>>>>>>> >>>>>>>> Dean Chen >>>>>>>> Best regards >>>>>>>> http://blog.csdn.net/csfreebird >>>>>>>> >>>>>>>> >>>>>>>> On Mon, Dec 2, 2013 at 1:55 PM, 陈抒 <csf...@gm...> wrote: >>>>>>>> >>>>>>>>> >>>>>>>>> On Mon, Dec 2, 2013 at 1:48 PM, Shiv Shankar Dayal < >>>>>>>>> shi...@gm...> wrote: >>>>>>>>> >>>>>>>>>> -std=c++11 >>>>>>>>> >>>>>>>>> >>>>>>>>> I did this, but when use make VERBOSE=1 to compile, did not find >>>>>>>>> the -std=c++11 option, e.g. >>>>>>>>> >>>>>>>>> >>>>>>>>> cd /usr/src/cppcms-1.0.4/build/booster && /usr/bin/c++ >>>>>>>>> -Dbooster_EXPORTS -DBOOSTER_LOCALE_WITH_ICU -DBOOSTER_LOCALE_WITH_ICONV >>>>>>>>> -DBOOSTER_LOCALE_NO_WINAPI_BACKEND -Wall -Wextr\ >>>>>>>>> a -O2 -g -fPIC -I/usr/src/cppcms-1.0.4/build >>>>>>>>> -I/usr/src/cppcms-1.0.4/build/booster -I/usr/src/cppcms-1.0.4/booster/. >>>>>>>>> -I/usr/src/cppcms-1.0.4/booster/lib/test -o CMakeFiles/b\ >>>>>>>>> ooster.dir/lib/locale/src/encoding/codepage.cpp.o -c >>>>>>>>> /usr/src/cppcms-1.0.4/booster/lib/locale/src/encoding/codepage.cpp >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Dean Chen >>>>>>>>> Best regards >>>>>>>>> http://blog.csdn.net/csfreebird >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> Rapidly troubleshoot problems before they affect your business. Most >>>>>>> IT >>>>>>> organizations don't have a clear picture of how application >>>>>>> performance >>>>>>> affects their revenue. With AppDynamics, you get 100% visibility >>>>>>> into your >>>>>>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of >>>>>>> AppDynamics Pro! >>>>>>> >>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >>>>>>> _______________________________________________ >>>>>>> Cppcms-users mailing list >>>>>>> Cpp...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Respect, >>>>>> Shiv Shankar Dayal >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> Rapidly troubleshoot problems before they affect your business. Most >>>>>> IT >>>>>> organizations don't have a clear picture of how application >>>>>> performance >>>>>> affects their revenue. With AppDynamics, you get 100% visibility into >>>>>> your >>>>>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of >>>>>> AppDynamics Pro! >>>>>> >>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >>>>>> _______________________________________________ >>>>>> Cppcms-users mailing list >>>>>> Cpp...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >>>>>> >>>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Rapidly troubleshoot problems before they affect your business. Most IT >>>>> organizations don't have a clear picture of how application performance >>>>> affects their revenue. With AppDynamics, you get 100% visibility into >>>>> your >>>>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of >>>>> AppDynamics Pro! >>>>> >>>>> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >>>>> _______________________________________________ >>>>> Cppcms-users mailing list >>>>> Cpp...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >>>>> >>>>> >>>> >>>> >>>> -- >>>> Respect, >>>> Shiv Shankar Dayal >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Rapidly troubleshoot problems before they affect your business. Most IT >>>> organizations don't have a clear picture of how application performance >>>> affects their revenue. With AppDynamics, you get 100% visibility into >>>> your >>>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of >>>> AppDynamics Pro! >>>> >>>> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >>>> _______________________________________________ >>>> Cppcms-users mailing list >>>> Cpp...@li... >>>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >>>> >>>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Rapidly troubleshoot problems before they affect your business. Most IT >>> organizations don't have a clear picture of how application performance >>> affects their revenue. With AppDynamics, you get 100% visibility into >>> your >>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of >>> AppDynamics Pro! >>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Cppcms-users mailing list >>> Cpp...@li... >>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >>> >>> >> >> >> -- >> Respect, >> Shiv Shankar Dayal >> >> >> ------------------------------------------------------------------------------ >> Rapidly troubleshoot problems before they affect your business. Most IT >> organizations don't have a clear picture of how application performance >> affects their revenue. With AppDynamics, you get 100% visibility into your >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics >> Pro! >> >> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > -- Respect, Shiv Shankar Dayal |
|
From: 陈抒 <csf...@gm...> - 2013-12-02 07:26:38
|
After shutdown a few processes, two tests passed. Thank you.
root@ci:/usr/src/cppcms-1.0.4/build# netstat -tlnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
PID/Program name
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN
1091/mysqld
tcp 0 0 127.0.0.1:587 0.0.0.0:* LISTEN
2290/sendmail: MTA:
tcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN
1508/redis-server
tcp 0 0 0.0.0.0:7980 0.0.0.0:* LISTEN
1188/newlisp
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
878/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
2290/sendmail: MTA:
tcp6 0 0 :::3142 :::* LISTEN
1180/perl
tcp6 0 0 :::22 :::* LISTEN
878/sshd
Dean Chen
Best regards
http://blog.csdn.net/csfreebird
On Mon, Dec 2, 2013 at 3:13 PM, Shiv Shankar Dayal <
shi...@gm...> wrote:
> You have nginx running at port 80. Stop that and try. I have not seen code
> but nginx is webserver might be conflicting. Port 80, 8000, 8080 are usual
> web server ports. 80 is IANA port for them.
>
>
> On Mon, Dec 2, 2013 at 12:41 PM, 陈抒 <csf...@gm...> wrote:
>
>> there is no process which is using 8080 port on my computer.
>> root@ci:~# netstat -tlnp
>> Active Internet connections (only servers)
>> Proto Recv-Q Send-Q Local Address Foreign Address State
>> PID/Program name
>> tcp 0 0 0.0.0.0:27017 0.0.0.0:*
>> LISTEN 1080/mongod
>> tcp 0 0 127.0.0.1:3306 0.0.0.0:*
>> LISTEN 1091/mysqld
>> tcp 0 0 127.0.0.1:587 0.0.0.0:*
>> LISTEN 2290/sendmail: MTA:
>> tcp 0 0 127.0.0.1:6379 0.0.0.0:*
>> LISTEN 1508/redis-server
>> tcp 0 0 0.0.0.0:7980 0.0.0.0:*
>> LISTEN 1188/newlisp
>> tcp 0 0 0.0.0.0:28017 0.0.0.0:*
>> LISTEN 1080/mongod
>> tcp 0 0 0.0.0.0:22 0.0.0.0:*
>> LISTEN 878/sshd
>> tcp 0 0 127.0.0.1:25 0.0.0.0:*
>> LISTEN 2290/sendmail: MTA:
>> tcp 0 0 0.0.0.0:443 0.0.0.0:*
>> LISTEN 1481/nginx
>> tcp 0 0 127.0.0.1:32000 0.0.0.0:*
>> LISTEN 1444/java
>> tcp6 0 0 :::3142 :::*
>> LISTEN 1180/perl
>> tcp6 0 0 :::36620 :::*
>> LISTEN 1326/java
>> tcp6 0 0 :::80 :::*
>> LISTEN 1326/java
>> tcp6 0 0 :::8081 :::*
>> LISTEN 1444/java
>> tcp6 0 0 :::22 :::*
>> LISTEN 878/sshd
>> tcp6 0 0 :::40515 :::*
>> LISTEN 1326/java
>>
>> But still get two failed test result.
>>
>> Dean Chen
>> Best regards
>> http://blog.csdn.net/csfreebird
>>
>>
>> On Mon, Dec 2, 2013 at 2:41 PM, Shiv Shankar Dayal <
>> shi...@gm...> wrote:
>>
>>> I guess 8080
>>>
>>>
>>> On Mon, Dec 2, 2013 at 11:55 AM, 陈抒 <csf...@gm...> wrote:
>>>
>>>> But got two error messages:
>>>>
>>>> 19/93 Test #19: internal_forwarder_test .................***Failed
>>>> 0.02 sec
>>>> Tesing internal forwarder
>>>> system: Address already in use
>>>>
>>>> Start 20: forwarder_test
>>>> 20/93 Test #20: forwarder_test ..........................***Failed
>>>> 0.02 sec
>>>> Tesing application level forwarding
>>>> system: Address already in use
>>>>
>>>> Address already in use, which port is expected to be used in these two
>>>> test?
>>>>
>>>>
>>>> Dean Chen
>>>> Best regards
>>>> http://blog.csdn.net/csfreebird
>>>>
>>>>
>>>> On Mon, Dec 2, 2013 at 2:13 PM, Shiv Shankar Dayal <
>>>> shi...@gm...> wrote:
>>>>
>>>>> Thanks. :-)
>>>>>
>>>>>
>>>>> On Mon, Dec 2, 2013 at 11:29 AM, 陈抒 <csf...@gm...> wrote:
>>>>>
>>>>>> Hi, I swallow my words because I see the option now.
>>>>>>
>>>>>> /usr/bin/c++ -Dcppcms_EXPORTS -DCPPCMS_BOOST_ALL_NO_LIB -Wall
>>>>>> -Wextra -std=c++11 -O2 -g -fPIC -I/usr/src/cppcms-1.0.4/booster
>>>>>> -I/usr/src/cppcms-1.0.4/src -I/usr/src/cppcms-1.\
>>>>>> 0.4/private -I/usr/src/cppcms-1.0.4/cppcms_boost
>>>>>> -I/usr/src/cppcms-1.0.4/build -I/usr/src/cppcms-1.0.4/build/booster
>>>>>> -I/usr/src/cppcms-1.0.4 -o CMakeFiles/cppcms.dir/src/cac\
>>>>>> he_over_ip.cpp.o -c /usr/src/cppcms-1.0.4/src/cache_over_ip.cpp
>>>>>> /usr/bin/cmake -E cmake_progress_report
>>>>>> /usr/src/cppcms-1.0.4/build/CMakeFiles
>>>>>> [ 33%] Building CXX object
>>>>>> CMakeFiles/cppcms.dir/src/tcp_messenger.cpp.o
>>>>>>
>>>>>>
>>>>>> Dean Chen
>>>>>> Best regards
>>>>>> http://blog.csdn.net/csfreebird
>>>>>>
>>>>>>
>>>>>> On Mon, Dec 2, 2013 at 1:58 PM, 陈抒 <csf...@gm...> wrote:
>>>>>>
>>>>>>> elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
>>>>>>> set(CXX_FLAGS "-Wall -Wextra -std=c++11")
>>>>>>>
>>>>>>> The above modification doesn't work too.
>>>>>>>
>>>>>>> Dean Chen
>>>>>>> Best regards
>>>>>>> http://blog.csdn.net/csfreebird
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Dec 2, 2013 at 1:55 PM, 陈抒 <csf...@gm...> wrote:
>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, Dec 2, 2013 at 1:48 PM, Shiv Shankar Dayal <
>>>>>>>> shi...@gm...> wrote:
>>>>>>>>
>>>>>>>>> -std=c++11
>>>>>>>>
>>>>>>>>
>>>>>>>> I did this, but when use make VERBOSE=1 to compile, did not find
>>>>>>>> the -std=c++11 option, e.g.
>>>>>>>>
>>>>>>>>
>>>>>>>> cd /usr/src/cppcms-1.0.4/build/booster && /usr/bin/c++
>>>>>>>> -Dbooster_EXPORTS -DBOOSTER_LOCALE_WITH_ICU -DBOOSTER_LOCALE_WITH_ICONV
>>>>>>>> -DBOOSTER_LOCALE_NO_WINAPI_BACKEND -Wall -Wextr\
>>>>>>>> a -O2 -g -fPIC -I/usr/src/cppcms-1.0.4/build
>>>>>>>> -I/usr/src/cppcms-1.0.4/build/booster -I/usr/src/cppcms-1.0.4/booster/.
>>>>>>>> -I/usr/src/cppcms-1.0.4/booster/lib/test -o CMakeFiles/b\
>>>>>>>> ooster.dir/lib/locale/src/encoding/codepage.cpp.o -c
>>>>>>>> /usr/src/cppcms-1.0.4/booster/lib/locale/src/encoding/codepage.cpp
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Dean Chen
>>>>>>>> Best regards
>>>>>>>> http://blog.csdn.net/csfreebird
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Rapidly troubleshoot problems before they affect your business. Most
>>>>>> IT
>>>>>> organizations don't have a clear picture of how application
>>>>>> performance
>>>>>> affects their revenue. With AppDynamics, you get 100% visibility into
>>>>>> your
>>>>>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of
>>>>>> AppDynamics Pro!
>>>>>>
>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
>>>>>> _______________________________________________
>>>>>> Cppcms-users mailing list
>>>>>> Cpp...@li...
>>>>>> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Respect,
>>>>> Shiv Shankar Dayal
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Rapidly troubleshoot problems before they affect your business. Most IT
>>>>> organizations don't have a clear picture of how application performance
>>>>> affects their revenue. With AppDynamics, you get 100% visibility into
>>>>> your
>>>>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of
>>>>> AppDynamics Pro!
>>>>>
>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
>>>>> _______________________________________________
>>>>> Cppcms-users mailing list
>>>>> Cpp...@li...
>>>>> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>>>>>
>>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Rapidly troubleshoot problems before they affect your business. Most IT
>>>> organizations don't have a clear picture of how application performance
>>>> affects their revenue. With AppDynamics, you get 100% visibility into
>>>> your
>>>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of
>>>> AppDynamics Pro!
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
>>>> _______________________________________________
>>>> Cppcms-users mailing list
>>>> Cpp...@li...
>>>> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>>>>
>>>>
>>>
>>>
>>> --
>>> Respect,
>>> Shiv Shankar Dayal
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Rapidly troubleshoot problems before they affect your business. Most IT
>>> organizations don't have a clear picture of how application performance
>>> affects their revenue. With AppDynamics, you get 100% visibility into
>>> your
>>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of
>>> AppDynamics Pro!
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Cppcms-users mailing list
>>> Cpp...@li...
>>> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> Rapidly troubleshoot problems before they affect your business. Most IT
>> organizations don't have a clear picture of how application performance
>> affects their revenue. With AppDynamics, you get 100% visibility into your
>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
>> Pro!
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Cppcms-users mailing list
>> Cpp...@li...
>> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>>
>>
>
>
> --
> Respect,
> Shiv Shankar Dayal
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
> _______________________________________________
> Cppcms-users mailing list
> Cpp...@li...
> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>
>
|
|
From: Shiv S. D. <shi...@gm...> - 2013-12-02 07:13:34
|
You have nginx running at port 80. Stop that and try. I have not seen code but nginx is webserver might be conflicting. Port 80, 8000, 8080 are usual web server ports. 80 is IANA port for them. On Mon, Dec 2, 2013 at 12:41 PM, 陈抒 <csf...@gm...> wrote: > there is no process which is using 8080 port on my computer. > root@ci:~# netstat -tlnp > Active Internet connections (only servers) > Proto Recv-Q Send-Q Local Address Foreign Address State > PID/Program name > tcp 0 0 0.0.0.0:27017 0.0.0.0:* > LISTEN 1080/mongod > tcp 0 0 127.0.0.1:3306 0.0.0.0:* > LISTEN 1091/mysqld > tcp 0 0 127.0.0.1:587 0.0.0.0:* > LISTEN 2290/sendmail: MTA: > tcp 0 0 127.0.0.1:6379 0.0.0.0:* > LISTEN 1508/redis-server > tcp 0 0 0.0.0.0:7980 0.0.0.0:* > LISTEN 1188/newlisp > tcp 0 0 0.0.0.0:28017 0.0.0.0:* > LISTEN 1080/mongod > tcp 0 0 0.0.0.0:22 0.0.0.0:* > LISTEN 878/sshd > tcp 0 0 127.0.0.1:25 0.0.0.0:* > LISTEN 2290/sendmail: MTA: > tcp 0 0 0.0.0.0:443 0.0.0.0:* > LISTEN 1481/nginx > tcp 0 0 127.0.0.1:32000 0.0.0.0:* > LISTEN 1444/java > tcp6 0 0 :::3142 :::* LISTEN > 1180/perl > tcp6 0 0 :::36620 :::* LISTEN > 1326/java > tcp6 0 0 :::80 :::* LISTEN > 1326/java > tcp6 0 0 :::8081 :::* LISTEN > 1444/java > tcp6 0 0 :::22 :::* LISTEN > 878/sshd > tcp6 0 0 :::40515 :::* LISTEN > 1326/java > > But still get two failed test result. > > Dean Chen > Best regards > http://blog.csdn.net/csfreebird > > > On Mon, Dec 2, 2013 at 2:41 PM, Shiv Shankar Dayal < > shi...@gm...> wrote: > >> I guess 8080 >> >> >> On Mon, Dec 2, 2013 at 11:55 AM, 陈抒 <csf...@gm...> wrote: >> >>> But got two error messages: >>> >>> 19/93 Test #19: internal_forwarder_test .................***Failed >>> 0.02 sec >>> Tesing internal forwarder >>> system: Address already in use >>> >>> Start 20: forwarder_test >>> 20/93 Test #20: forwarder_test ..........................***Failed >>> 0.02 sec >>> Tesing application level forwarding >>> system: Address already in use >>> >>> Address already in use, which port is expected to be used in these two >>> test? >>> >>> >>> Dean Chen >>> Best regards >>> http://blog.csdn.net/csfreebird >>> >>> >>> On Mon, Dec 2, 2013 at 2:13 PM, Shiv Shankar Dayal < >>> shi...@gm...> wrote: >>> >>>> Thanks. :-) >>>> >>>> >>>> On Mon, Dec 2, 2013 at 11:29 AM, 陈抒 <csf...@gm...> wrote: >>>> >>>>> Hi, I swallow my words because I see the option now. >>>>> >>>>> /usr/bin/c++ -Dcppcms_EXPORTS -DCPPCMS_BOOST_ALL_NO_LIB -Wall >>>>> -Wextra -std=c++11 -O2 -g -fPIC -I/usr/src/cppcms-1.0.4/booster >>>>> -I/usr/src/cppcms-1.0.4/src -I/usr/src/cppcms-1.\ >>>>> 0.4/private -I/usr/src/cppcms-1.0.4/cppcms_boost >>>>> -I/usr/src/cppcms-1.0.4/build -I/usr/src/cppcms-1.0.4/build/booster >>>>> -I/usr/src/cppcms-1.0.4 -o CMakeFiles/cppcms.dir/src/cac\ >>>>> he_over_ip.cpp.o -c /usr/src/cppcms-1.0.4/src/cache_over_ip.cpp >>>>> /usr/bin/cmake -E cmake_progress_report >>>>> /usr/src/cppcms-1.0.4/build/CMakeFiles >>>>> [ 33%] Building CXX object >>>>> CMakeFiles/cppcms.dir/src/tcp_messenger.cpp.o >>>>> >>>>> >>>>> Dean Chen >>>>> Best regards >>>>> http://blog.csdn.net/csfreebird >>>>> >>>>> >>>>> On Mon, Dec 2, 2013 at 1:58 PM, 陈抒 <csf...@gm...> wrote: >>>>> >>>>>> elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") >>>>>> set(CXX_FLAGS "-Wall -Wextra -std=c++11") >>>>>> >>>>>> The above modification doesn't work too. >>>>>> >>>>>> Dean Chen >>>>>> Best regards >>>>>> http://blog.csdn.net/csfreebird >>>>>> >>>>>> >>>>>> On Mon, Dec 2, 2013 at 1:55 PM, 陈抒 <csf...@gm...> wrote: >>>>>> >>>>>>> >>>>>>> On Mon, Dec 2, 2013 at 1:48 PM, Shiv Shankar Dayal < >>>>>>> shi...@gm...> wrote: >>>>>>> >>>>>>>> -std=c++11 >>>>>>> >>>>>>> >>>>>>> I did this, but when use make VERBOSE=1 to compile, did not find the >>>>>>> -std=c++11 option, e.g. >>>>>>> >>>>>>> >>>>>>> cd /usr/src/cppcms-1.0.4/build/booster && /usr/bin/c++ >>>>>>> -Dbooster_EXPORTS -DBOOSTER_LOCALE_WITH_ICU -DBOOSTER_LOCALE_WITH_ICONV >>>>>>> -DBOOSTER_LOCALE_NO_WINAPI_BACKEND -Wall -Wextr\ >>>>>>> a -O2 -g -fPIC -I/usr/src/cppcms-1.0.4/build >>>>>>> -I/usr/src/cppcms-1.0.4/build/booster -I/usr/src/cppcms-1.0.4/booster/. >>>>>>> -I/usr/src/cppcms-1.0.4/booster/lib/test -o CMakeFiles/b\ >>>>>>> ooster.dir/lib/locale/src/encoding/codepage.cpp.o -c >>>>>>> /usr/src/cppcms-1.0.4/booster/lib/locale/src/encoding/codepage.cpp >>>>>>> >>>>>>> >>>>>>> >>>>>>> Dean Chen >>>>>>> Best regards >>>>>>> http://blog.csdn.net/csfreebird >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Rapidly troubleshoot problems before they affect your business. Most IT >>>>> organizations don't have a clear picture of how application performance >>>>> affects their revenue. With AppDynamics, you get 100% visibility into >>>>> your >>>>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of >>>>> AppDynamics Pro! >>>>> >>>>> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >>>>> _______________________________________________ >>>>> Cppcms-users mailing list >>>>> Cpp...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >>>>> >>>>> >>>> >>>> >>>> -- >>>> Respect, >>>> Shiv Shankar Dayal >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Rapidly troubleshoot problems before they affect your business. Most IT >>>> organizations don't have a clear picture of how application performance >>>> affects their revenue. With AppDynamics, you get 100% visibility into >>>> your >>>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of >>>> AppDynamics Pro! >>>> >>>> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >>>> _______________________________________________ >>>> Cppcms-users mailing list >>>> Cpp...@li... >>>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >>>> >>>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Rapidly troubleshoot problems before they affect your business. Most IT >>> organizations don't have a clear picture of how application performance >>> affects their revenue. With AppDynamics, you get 100% visibility into >>> your >>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of >>> AppDynamics Pro! >>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Cppcms-users mailing list >>> Cpp...@li... >>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >>> >>> >> >> >> -- >> Respect, >> Shiv Shankar Dayal >> >> >> ------------------------------------------------------------------------------ >> Rapidly troubleshoot problems before they affect your business. Most IT >> organizations don't have a clear picture of how application performance >> affects their revenue. With AppDynamics, you get 100% visibility into your >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics >> Pro! >> >> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > -- Respect, Shiv Shankar Dayal |
|
From: 陈抒 <csf...@gm...> - 2013-12-02 07:11:29
|
there is no process which is using 8080 port on my computer.
root@ci:~# netstat -tlnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
PID/Program name
tcp 0 0 0.0.0.0:27017 0.0.0.0:* LISTEN
1080/mongod
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN
1091/mysqld
tcp 0 0 127.0.0.1:587 0.0.0.0:* LISTEN
2290/sendmail: MTA:
tcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN
1508/redis-server
tcp 0 0 0.0.0.0:7980 0.0.0.0:* LISTEN
1188/newlisp
tcp 0 0 0.0.0.0:28017 0.0.0.0:* LISTEN
1080/mongod
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
878/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
2290/sendmail: MTA:
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN
1481/nginx
tcp 0 0 127.0.0.1:32000 0.0.0.0:* LISTEN
1444/java
tcp6 0 0 :::3142 :::* LISTEN
1180/perl
tcp6 0 0 :::36620 :::* LISTEN
1326/java
tcp6 0 0 :::80 :::* LISTEN
1326/java
tcp6 0 0 :::8081 :::* LISTEN
1444/java
tcp6 0 0 :::22 :::* LISTEN
878/sshd
tcp6 0 0 :::40515 :::* LISTEN
1326/java
But still get two failed test result.
Dean Chen
Best regards
http://blog.csdn.net/csfreebird
On Mon, Dec 2, 2013 at 2:41 PM, Shiv Shankar Dayal <
shi...@gm...> wrote:
> I guess 8080
>
>
> On Mon, Dec 2, 2013 at 11:55 AM, 陈抒 <csf...@gm...> wrote:
>
>> But got two error messages:
>>
>> 19/93 Test #19: internal_forwarder_test .................***Failed
>> 0.02 sec
>> Tesing internal forwarder
>> system: Address already in use
>>
>> Start 20: forwarder_test
>> 20/93 Test #20: forwarder_test ..........................***Failed
>> 0.02 sec
>> Tesing application level forwarding
>> system: Address already in use
>>
>> Address already in use, which port is expected to be used in these two
>> test?
>>
>>
>> Dean Chen
>> Best regards
>> http://blog.csdn.net/csfreebird
>>
>>
>> On Mon, Dec 2, 2013 at 2:13 PM, Shiv Shankar Dayal <
>> shi...@gm...> wrote:
>>
>>> Thanks. :-)
>>>
>>>
>>> On Mon, Dec 2, 2013 at 11:29 AM, 陈抒 <csf...@gm...> wrote:
>>>
>>>> Hi, I swallow my words because I see the option now.
>>>>
>>>> /usr/bin/c++ -Dcppcms_EXPORTS -DCPPCMS_BOOST_ALL_NO_LIB -Wall -Wextra
>>>> -std=c++11 -O2 -g -fPIC -I/usr/src/cppcms-1.0.4/booster
>>>> -I/usr/src/cppcms-1.0.4/src -I/usr/src/cppcms-1.\
>>>> 0.4/private -I/usr/src/cppcms-1.0.4/cppcms_boost
>>>> -I/usr/src/cppcms-1.0.4/build -I/usr/src/cppcms-1.0.4/build/booster
>>>> -I/usr/src/cppcms-1.0.4 -o CMakeFiles/cppcms.dir/src/cac\
>>>> he_over_ip.cpp.o -c /usr/src/cppcms-1.0.4/src/cache_over_ip.cpp
>>>> /usr/bin/cmake -E cmake_progress_report
>>>> /usr/src/cppcms-1.0.4/build/CMakeFiles
>>>> [ 33%] Building CXX object CMakeFiles/cppcms.dir/src/tcp_messenger.cpp.o
>>>>
>>>>
>>>> Dean Chen
>>>> Best regards
>>>> http://blog.csdn.net/csfreebird
>>>>
>>>>
>>>> On Mon, Dec 2, 2013 at 1:58 PM, 陈抒 <csf...@gm...> wrote:
>>>>
>>>>> elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
>>>>> set(CXX_FLAGS "-Wall -Wextra -std=c++11")
>>>>>
>>>>> The above modification doesn't work too.
>>>>>
>>>>> Dean Chen
>>>>> Best regards
>>>>> http://blog.csdn.net/csfreebird
>>>>>
>>>>>
>>>>> On Mon, Dec 2, 2013 at 1:55 PM, 陈抒 <csf...@gm...> wrote:
>>>>>
>>>>>>
>>>>>> On Mon, Dec 2, 2013 at 1:48 PM, Shiv Shankar Dayal <
>>>>>> shi...@gm...> wrote:
>>>>>>
>>>>>>> -std=c++11
>>>>>>
>>>>>>
>>>>>> I did this, but when use make VERBOSE=1 to compile, did not find the
>>>>>> -std=c++11 option, e.g.
>>>>>>
>>>>>>
>>>>>> cd /usr/src/cppcms-1.0.4/build/booster && /usr/bin/c++
>>>>>> -Dbooster_EXPORTS -DBOOSTER_LOCALE_WITH_ICU -DBOOSTER_LOCALE_WITH_ICONV
>>>>>> -DBOOSTER_LOCALE_NO_WINAPI_BACKEND -Wall -Wextr\
>>>>>> a -O2 -g -fPIC -I/usr/src/cppcms-1.0.4/build
>>>>>> -I/usr/src/cppcms-1.0.4/build/booster -I/usr/src/cppcms-1.0.4/booster/.
>>>>>> -I/usr/src/cppcms-1.0.4/booster/lib/test -o CMakeFiles/b\
>>>>>> ooster.dir/lib/locale/src/encoding/codepage.cpp.o -c
>>>>>> /usr/src/cppcms-1.0.4/booster/lib/locale/src/encoding/codepage.cpp
>>>>>>
>>>>>>
>>>>>>
>>>>>> Dean Chen
>>>>>> Best regards
>>>>>> http://blog.csdn.net/csfreebird
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Rapidly troubleshoot problems before they affect your business. Most IT
>>>> organizations don't have a clear picture of how application performance
>>>> affects their revenue. With AppDynamics, you get 100% visibility into
>>>> your
>>>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of
>>>> AppDynamics Pro!
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
>>>> _______________________________________________
>>>> Cppcms-users mailing list
>>>> Cpp...@li...
>>>> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>>>>
>>>>
>>>
>>>
>>> --
>>> Respect,
>>> Shiv Shankar Dayal
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Rapidly troubleshoot problems before they affect your business. Most IT
>>> organizations don't have a clear picture of how application performance
>>> affects their revenue. With AppDynamics, you get 100% visibility into
>>> your
>>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of
>>> AppDynamics Pro!
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Cppcms-users mailing list
>>> Cpp...@li...
>>> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> Rapidly troubleshoot problems before they affect your business. Most IT
>> organizations don't have a clear picture of how application performance
>> affects their revenue. With AppDynamics, you get 100% visibility into your
>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
>> Pro!
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Cppcms-users mailing list
>> Cpp...@li...
>> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>>
>>
>
>
> --
> Respect,
> Shiv Shankar Dayal
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
> _______________________________________________
> Cppcms-users mailing list
> Cpp...@li...
> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>
>
|
|
From: Shiv S. D. <shi...@gm...> - 2013-12-02 06:41:49
|
I guess 8080 On Mon, Dec 2, 2013 at 11:55 AM, 陈抒 <csf...@gm...> wrote: > But got two error messages: > > 19/93 Test #19: internal_forwarder_test .................***Failed 0.02 > sec > Tesing internal forwarder > system: Address already in use > > Start 20: forwarder_test > 20/93 Test #20: forwarder_test ..........................***Failed 0.02 > sec > Tesing application level forwarding > system: Address already in use > > Address already in use, which port is expected to be used in these two > test? > > > Dean Chen > Best regards > http://blog.csdn.net/csfreebird > > > On Mon, Dec 2, 2013 at 2:13 PM, Shiv Shankar Dayal < > shi...@gm...> wrote: > >> Thanks. :-) >> >> >> On Mon, Dec 2, 2013 at 11:29 AM, 陈抒 <csf...@gm...> wrote: >> >>> Hi, I swallow my words because I see the option now. >>> >>> /usr/bin/c++ -Dcppcms_EXPORTS -DCPPCMS_BOOST_ALL_NO_LIB -Wall -Wextra >>> -std=c++11 -O2 -g -fPIC -I/usr/src/cppcms-1.0.4/booster >>> -I/usr/src/cppcms-1.0.4/src -I/usr/src/cppcms-1.\ >>> 0.4/private -I/usr/src/cppcms-1.0.4/cppcms_boost >>> -I/usr/src/cppcms-1.0.4/build -I/usr/src/cppcms-1.0.4/build/booster >>> -I/usr/src/cppcms-1.0.4 -o CMakeFiles/cppcms.dir/src/cac\ >>> he_over_ip.cpp.o -c /usr/src/cppcms-1.0.4/src/cache_over_ip.cpp >>> /usr/bin/cmake -E cmake_progress_report >>> /usr/src/cppcms-1.0.4/build/CMakeFiles >>> [ 33%] Building CXX object CMakeFiles/cppcms.dir/src/tcp_messenger.cpp.o >>> >>> >>> Dean Chen >>> Best regards >>> http://blog.csdn.net/csfreebird >>> >>> >>> On Mon, Dec 2, 2013 at 1:58 PM, 陈抒 <csf...@gm...> wrote: >>> >>>> elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") >>>> set(CXX_FLAGS "-Wall -Wextra -std=c++11") >>>> >>>> The above modification doesn't work too. >>>> >>>> Dean Chen >>>> Best regards >>>> http://blog.csdn.net/csfreebird >>>> >>>> >>>> On Mon, Dec 2, 2013 at 1:55 PM, 陈抒 <csf...@gm...> wrote: >>>> >>>>> >>>>> On Mon, Dec 2, 2013 at 1:48 PM, Shiv Shankar Dayal < >>>>> shi...@gm...> wrote: >>>>> >>>>>> -std=c++11 >>>>> >>>>> >>>>> I did this, but when use make VERBOSE=1 to compile, did not find the >>>>> -std=c++11 option, e.g. >>>>> >>>>> >>>>> cd /usr/src/cppcms-1.0.4/build/booster && /usr/bin/c++ >>>>> -Dbooster_EXPORTS -DBOOSTER_LOCALE_WITH_ICU -DBOOSTER_LOCALE_WITH_ICONV >>>>> -DBOOSTER_LOCALE_NO_WINAPI_BACKEND -Wall -Wextr\ >>>>> a -O2 -g -fPIC -I/usr/src/cppcms-1.0.4/build >>>>> -I/usr/src/cppcms-1.0.4/build/booster -I/usr/src/cppcms-1.0.4/booster/. >>>>> -I/usr/src/cppcms-1.0.4/booster/lib/test -o CMakeFiles/b\ >>>>> ooster.dir/lib/locale/src/encoding/codepage.cpp.o -c >>>>> /usr/src/cppcms-1.0.4/booster/lib/locale/src/encoding/codepage.cpp >>>>> >>>>> >>>>> >>>>> Dean Chen >>>>> Best regards >>>>> http://blog.csdn.net/csfreebird >>>>> >>>> >>>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Rapidly troubleshoot problems before they affect your business. Most IT >>> organizations don't have a clear picture of how application performance >>> affects their revenue. With AppDynamics, you get 100% visibility into >>> your >>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of >>> AppDynamics Pro! >>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Cppcms-users mailing list >>> Cpp...@li... >>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >>> >>> >> >> >> -- >> Respect, >> Shiv Shankar Dayal >> >> >> ------------------------------------------------------------------------------ >> Rapidly troubleshoot problems before they affect your business. Most IT >> organizations don't have a clear picture of how application performance >> affects their revenue. With AppDynamics, you get 100% visibility into your >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics >> Pro! >> >> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > -- Respect, Shiv Shankar Dayal |
|
From: 陈抒 <csf...@gm...> - 2013-12-02 06:25:49
|
But got two error messages:
19/93 Test #19: internal_forwarder_test .................***Failed 0.02
sec
Tesing internal forwarder
system: Address already in use
Start 20: forwarder_test
20/93 Test #20: forwarder_test ..........................***Failed 0.02
sec
Tesing application level forwarding
system: Address already in use
Address already in use, which port is expected to be used in these two test?
Dean Chen
Best regards
http://blog.csdn.net/csfreebird
On Mon, Dec 2, 2013 at 2:13 PM, Shiv Shankar Dayal <
shi...@gm...> wrote:
> Thanks. :-)
>
>
> On Mon, Dec 2, 2013 at 11:29 AM, 陈抒 <csf...@gm...> wrote:
>
>> Hi, I swallow my words because I see the option now.
>>
>> /usr/bin/c++ -Dcppcms_EXPORTS -DCPPCMS_BOOST_ALL_NO_LIB -Wall -Wextra
>> -std=c++11 -O2 -g -fPIC -I/usr/src/cppcms-1.0.4/booster
>> -I/usr/src/cppcms-1.0.4/src -I/usr/src/cppcms-1.\
>> 0.4/private -I/usr/src/cppcms-1.0.4/cppcms_boost
>> -I/usr/src/cppcms-1.0.4/build -I/usr/src/cppcms-1.0.4/build/booster
>> -I/usr/src/cppcms-1.0.4 -o CMakeFiles/cppcms.dir/src/cac\
>> he_over_ip.cpp.o -c /usr/src/cppcms-1.0.4/src/cache_over_ip.cpp
>> /usr/bin/cmake -E cmake_progress_report
>> /usr/src/cppcms-1.0.4/build/CMakeFiles
>> [ 33%] Building CXX object CMakeFiles/cppcms.dir/src/tcp_messenger.cpp.o
>>
>>
>> Dean Chen
>> Best regards
>> http://blog.csdn.net/csfreebird
>>
>>
>> On Mon, Dec 2, 2013 at 1:58 PM, 陈抒 <csf...@gm...> wrote:
>>
>>> elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
>>> set(CXX_FLAGS "-Wall -Wextra -std=c++11")
>>>
>>> The above modification doesn't work too.
>>>
>>> Dean Chen
>>> Best regards
>>> http://blog.csdn.net/csfreebird
>>>
>>>
>>> On Mon, Dec 2, 2013 at 1:55 PM, 陈抒 <csf...@gm...> wrote:
>>>
>>>>
>>>> On Mon, Dec 2, 2013 at 1:48 PM, Shiv Shankar Dayal <
>>>> shi...@gm...> wrote:
>>>>
>>>>> -std=c++11
>>>>
>>>>
>>>> I did this, but when use make VERBOSE=1 to compile, did not find the
>>>> -std=c++11 option, e.g.
>>>>
>>>>
>>>> cd /usr/src/cppcms-1.0.4/build/booster && /usr/bin/c++
>>>> -Dbooster_EXPORTS -DBOOSTER_LOCALE_WITH_ICU -DBOOSTER_LOCALE_WITH_ICONV
>>>> -DBOOSTER_LOCALE_NO_WINAPI_BACKEND -Wall -Wextr\
>>>> a -O2 -g -fPIC -I/usr/src/cppcms-1.0.4/build
>>>> -I/usr/src/cppcms-1.0.4/build/booster -I/usr/src/cppcms-1.0.4/booster/.
>>>> -I/usr/src/cppcms-1.0.4/booster/lib/test -o CMakeFiles/b\
>>>> ooster.dir/lib/locale/src/encoding/codepage.cpp.o -c
>>>> /usr/src/cppcms-1.0.4/booster/lib/locale/src/encoding/codepage.cpp
>>>>
>>>>
>>>>
>>>> Dean Chen
>>>> Best regards
>>>> http://blog.csdn.net/csfreebird
>>>>
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> Rapidly troubleshoot problems before they affect your business. Most IT
>> organizations don't have a clear picture of how application performance
>> affects their revenue. With AppDynamics, you get 100% visibility into your
>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
>> Pro!
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Cppcms-users mailing list
>> Cpp...@li...
>> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>>
>>
>
>
> --
> Respect,
> Shiv Shankar Dayal
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
> _______________________________________________
> Cppcms-users mailing list
> Cpp...@li...
> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>
>
|
|
From: Shiv S. D. <shi...@gm...> - 2013-12-02 06:13:29
|
Thanks. :-) On Mon, Dec 2, 2013 at 11:29 AM, 陈抒 <csf...@gm...> wrote: > Hi, I swallow my words because I see the option now. > > /usr/bin/c++ -Dcppcms_EXPORTS -DCPPCMS_BOOST_ALL_NO_LIB -Wall -Wextra > -std=c++11 -O2 -g -fPIC -I/usr/src/cppcms-1.0.4/booster > -I/usr/src/cppcms-1.0.4/src -I/usr/src/cppcms-1.\ > 0.4/private -I/usr/src/cppcms-1.0.4/cppcms_boost > -I/usr/src/cppcms-1.0.4/build -I/usr/src/cppcms-1.0.4/build/booster > -I/usr/src/cppcms-1.0.4 -o CMakeFiles/cppcms.dir/src/cac\ > he_over_ip.cpp.o -c /usr/src/cppcms-1.0.4/src/cache_over_ip.cpp > /usr/bin/cmake -E cmake_progress_report > /usr/src/cppcms-1.0.4/build/CMakeFiles > [ 33%] Building CXX object CMakeFiles/cppcms.dir/src/tcp_messenger.cpp.o > > > Dean Chen > Best regards > http://blog.csdn.net/csfreebird > > > On Mon, Dec 2, 2013 at 1:58 PM, 陈抒 <csf...@gm...> wrote: > >> elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") >> set(CXX_FLAGS "-Wall -Wextra -std=c++11") >> >> The above modification doesn't work too. >> >> Dean Chen >> Best regards >> http://blog.csdn.net/csfreebird >> >> >> On Mon, Dec 2, 2013 at 1:55 PM, 陈抒 <csf...@gm...> wrote: >> >>> >>> On Mon, Dec 2, 2013 at 1:48 PM, Shiv Shankar Dayal < >>> shi...@gm...> wrote: >>> >>>> -std=c++11 >>> >>> >>> I did this, but when use make VERBOSE=1 to compile, did not find the >>> -std=c++11 option, e.g. >>> >>> >>> cd /usr/src/cppcms-1.0.4/build/booster && /usr/bin/c++ >>> -Dbooster_EXPORTS -DBOOSTER_LOCALE_WITH_ICU -DBOOSTER_LOCALE_WITH_ICONV >>> -DBOOSTER_LOCALE_NO_WINAPI_BACKEND -Wall -Wextr\ >>> a -O2 -g -fPIC -I/usr/src/cppcms-1.0.4/build >>> -I/usr/src/cppcms-1.0.4/build/booster -I/usr/src/cppcms-1.0.4/booster/. >>> -I/usr/src/cppcms-1.0.4/booster/lib/test -o CMakeFiles/b\ >>> ooster.dir/lib/locale/src/encoding/codepage.cpp.o -c >>> /usr/src/cppcms-1.0.4/booster/lib/locale/src/encoding/codepage.cpp >>> >>> >>> >>> Dean Chen >>> Best regards >>> http://blog.csdn.net/csfreebird >>> >> >> > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > -- Respect, Shiv Shankar Dayal |
|
From: 陈抒 <csf...@gm...> - 2013-12-02 06:00:12
|
Hi, I swallow my words because I see the option now. /usr/bin/c++ -Dcppcms_EXPORTS -DCPPCMS_BOOST_ALL_NO_LIB -Wall -Wextra -std=c++11 -O2 -g -fPIC -I/usr/src/cppcms-1.0.4/booster -I/usr/src/cppcms-1.0.4/src -I/usr/src/cppcms-1.\ 0.4/private -I/usr/src/cppcms-1.0.4/cppcms_boost -I/usr/src/cppcms-1.0.4/build -I/usr/src/cppcms-1.0.4/build/booster -I/usr/src/cppcms-1.0.4 -o CMakeFiles/cppcms.dir/src/cac\ he_over_ip.cpp.o -c /usr/src/cppcms-1.0.4/src/cache_over_ip.cpp /usr/bin/cmake -E cmake_progress_report /usr/src/cppcms-1.0.4/build/CMakeFiles [ 33%] Building CXX object CMakeFiles/cppcms.dir/src/tcp_messenger.cpp.o Dean Chen Best regards http://blog.csdn.net/csfreebird On Mon, Dec 2, 2013 at 1:58 PM, 陈抒 <csf...@gm...> wrote: > elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") > set(CXX_FLAGS "-Wall -Wextra -std=c++11") > > The above modification doesn't work too. > > Dean Chen > Best regards > http://blog.csdn.net/csfreebird > > > On Mon, Dec 2, 2013 at 1:55 PM, 陈抒 <csf...@gm...> wrote: > >> >> On Mon, Dec 2, 2013 at 1:48 PM, Shiv Shankar Dayal < >> shi...@gm...> wrote: >> >>> -std=c++11 >> >> >> I did this, but when use make VERBOSE=1 to compile, did not find the >> -std=c++11 option, e.g. >> >> >> cd /usr/src/cppcms-1.0.4/build/booster && /usr/bin/c++ >> -Dbooster_EXPORTS -DBOOSTER_LOCALE_WITH_ICU -DBOOSTER_LOCALE_WITH_ICONV >> -DBOOSTER_LOCALE_NO_WINAPI_BACKEND -Wall -Wextr\ >> a -O2 -g -fPIC -I/usr/src/cppcms-1.0.4/build >> -I/usr/src/cppcms-1.0.4/build/booster -I/usr/src/cppcms-1.0.4/booster/. >> -I/usr/src/cppcms-1.0.4/booster/lib/test -o CMakeFiles/b\ >> ooster.dir/lib/locale/src/encoding/codepage.cpp.o -c >> /usr/src/cppcms-1.0.4/booster/lib/locale/src/encoding/codepage.cpp >> >> >> >> Dean Chen >> Best regards >> http://blog.csdn.net/csfreebird >> > > |
|
From: 陈抒 <csf...@gm...> - 2013-12-02 05:58:30
|
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
set(CXX_FLAGS "-Wall -Wextra -std=c++11")
The above modification doesn't work too.
Dean Chen
Best regards
http://blog.csdn.net/csfreebird
On Mon, Dec 2, 2013 at 1:55 PM, 陈抒 <csf...@gm...> wrote:
>
> On Mon, Dec 2, 2013 at 1:48 PM, Shiv Shankar Dayal <
> shi...@gm...> wrote:
>
>> -std=c++11
>
>
> I did this, but when use make VERBOSE=1 to compile, did not find the
> -std=c++11 option, e.g.
>
>
> cd /usr/src/cppcms-1.0.4/build/booster && /usr/bin/c++ -Dbooster_EXPORTS
> -DBOOSTER_LOCALE_WITH_ICU -DBOOSTER_LOCALE_WITH_ICONV
> -DBOOSTER_LOCALE_NO_WINAPI_BACKEND -Wall -Wextr\
> a -O2 -g -fPIC -I/usr/src/cppcms-1.0.4/build
> -I/usr/src/cppcms-1.0.4/build/booster -I/usr/src/cppcms-1.0.4/booster/.
> -I/usr/src/cppcms-1.0.4/booster/lib/test -o CMakeFiles/b\
> ooster.dir/lib/locale/src/encoding/codepage.cpp.o -c
> /usr/src/cppcms-1.0.4/booster/lib/locale/src/encoding/codepage.cpp
>
>
>
> Dean Chen
> Best regards
> http://blog.csdn.net/csfreebird
>
|
|
From: 陈抒 <csf...@gm...> - 2013-12-02 05:56:08
|
On Mon, Dec 2, 2013 at 1:48 PM, Shiv Shankar Dayal < shi...@gm...> wrote: > -std=c++11 I did this, but when use make VERBOSE=1 to compile, did not find the -std=c++11 option, e.g. cd /usr/src/cppcms-1.0.4/build/booster && /usr/bin/c++ -Dbooster_EXPORTS -DBOOSTER_LOCALE_WITH_ICU -DBOOSTER_LOCALE_WITH_ICONV -DBOOSTER_LOCALE_NO_WINAPI_BACKEND -Wall -Wextr\ a -O2 -g -fPIC -I/usr/src/cppcms-1.0.4/build -I/usr/src/cppcms-1.0.4/build/booster -I/usr/src/cppcms-1.0.4/booster/. -I/usr/src/cppcms-1.0.4/booster/lib/test -o CMakeFiles/b\ ooster.dir/lib/locale/src/encoding/codepage.cpp.o -c /usr/src/cppcms-1.0.4/booster/lib/locale/src/encoding/codepage.cpp Dean Chen Best regards http://blog.csdn.net/csfreebird |