cppcms-users Mailing List for CppCMS C++ Web Framework (Page 12)
Brought to you by:
artyom-beilis
You can subscribe to this list here.
2009 |
Jan
|
Feb
(22) |
Mar
|
Apr
(3) |
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
(15) |
Nov
(16) |
Dec
(13) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2010 |
Jan
(4) |
Feb
|
Mar
(8) |
Apr
(8) |
May
(8) |
Jun
(36) |
Jul
(63) |
Aug
(126) |
Sep
(47) |
Oct
(66) |
Nov
(46) |
Dec
(42) |
2011 |
Jan
(87) |
Feb
(24) |
Mar
(54) |
Apr
(21) |
May
(22) |
Jun
(18) |
Jul
(22) |
Aug
(101) |
Sep
(57) |
Oct
(33) |
Nov
(34) |
Dec
(66) |
2012 |
Jan
(64) |
Feb
(76) |
Mar
(73) |
Apr
(105) |
May
(93) |
Jun
(83) |
Jul
(84) |
Aug
(88) |
Sep
(57) |
Oct
(59) |
Nov
(35) |
Dec
(49) |
2013 |
Jan
(67) |
Feb
(17) |
Mar
(49) |
Apr
(64) |
May
(87) |
Jun
(64) |
Jul
(93) |
Aug
(23) |
Sep
(15) |
Oct
(16) |
Nov
(62) |
Dec
(73) |
2014 |
Jan
(5) |
Feb
(23) |
Mar
(21) |
Apr
(11) |
May
(1) |
Jun
(19) |
Jul
(27) |
Aug
(16) |
Sep
(5) |
Oct
(37) |
Nov
(12) |
Dec
(9) |
2015 |
Jan
(7) |
Feb
(7) |
Mar
(44) |
Apr
(28) |
May
(5) |
Jun
(12) |
Jul
(8) |
Aug
|
Sep
(39) |
Oct
(34) |
Nov
(30) |
Dec
(34) |
2016 |
Jan
(66) |
Feb
(23) |
Mar
(33) |
Apr
(15) |
May
(11) |
Jun
(15) |
Jul
(26) |
Aug
(4) |
Sep
(1) |
Oct
(30) |
Nov
(10) |
Dec
|
2017 |
Jan
(52) |
Feb
(9) |
Mar
(24) |
Apr
(16) |
May
(9) |
Jun
(12) |
Jul
(33) |
Aug
(8) |
Sep
|
Oct
(1) |
Nov
(2) |
Dec
(6) |
2018 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
(14) |
Jun
(1) |
Jul
(9) |
Aug
(1) |
Sep
(13) |
Oct
(8) |
Nov
(2) |
Dec
(2) |
2019 |
Jan
(1) |
Feb
(1) |
Mar
(3) |
Apr
(3) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
2020 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(9) |
Jul
(6) |
Aug
(25) |
Sep
(10) |
Oct
(10) |
Nov
(6) |
Dec
|
2021 |
Jan
|
Feb
|
Mar
(7) |
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(9) |
Oct
(1) |
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Josh H. <jos...@ni...> - 2017-01-19 02:30:53
|
By default, libpq sends "notices" to stderr which can clutter the terminal output of the application that is invoking it. libpq provides a way of overriding the default handler via a call to PQsetNoticeProcessor so that you can write the information to a log or ignore it at your discretion. For more info see: https://www.postgresql.org/docs/9.2/static/libpq-notice-processing.html I'm wondering if any cppdb users have a solution for modifying the way that PostgreSQL notices are handled instead of just printing them all to stderr. The most obvious solution is to write a custom postgres backend that exposes this functionality, but I wonder if there are any simpler alternatives I am missing. |
From: Josh H. <jos...@ni...> - 2017-01-18 23:28:30
|
In gcc version 4.8.5 the following code fails to compile, and gives an error about forward declaration of class cppdb::backend::connection #include <cppdb/frontend.h> #include <cppdb/pool.h> int main() {} However, the following code will compile without error: #include <cppdb/frontend.h> #include <cppdb/backend.h> #include <cppdb/pool.h> int main() {} Would it be reasonable to include backend.h from pool.h? I verified that cppdb builds successfully for me with that change, but I didn't know if there were other compilers for which it will not work. The patch is as follows: diff -u a/cppdb/pool.h b/cppdb/pool.h --- a/cppdb/pool.h +++ b/cppdb/pool.h @@ -22,6 +22,7 @@ #include <cppdb/ref_ptr.h> #include <cppdb/mutex.h> #include <cppdb/utils.h> +#include <cppdb/backend.h> #include <memory> #include <list> |
From: Joerg S. <jo...@be...> - 2017-01-18 17:51:28
|
On Wed, Jan 18, 2017 at 02:25:47AM +0300, Nazım Can Bedir wrote: > Joerg, > > I am not expert, but while preparing patch; especially in 'session()' > and 'cache()' functions; it's not so easy to mark some fields as mutable > as we could do it in daily C++. Since CppCMS is trying to keep ABI > stability; it uses pimpl idiom nearly everywhere. And it needs good > amount of work for refactoring to support mutable in proper way. On the contrary, that actually tends to make it easier. Joerg |
From: Mohd H. M. S. <hel...@ya...> - 2017-01-18 13:30:47
|
May I know how to write config file for multiple script? For example first script (http://localhost:8080/first and second http://localhost:8080/second). I have tried put "script_names" : [ "/first", "/second" ] but when I run ./first -c config.js, I still get first page when I access http://localhost:8080/second. |
From: Nazım C. B. <naz...@ne...> - 2017-01-17 23:48:27
|
Joerg, I am not expert, but while preparing patch; especially in 'session()' and 'cache()' functions; it's not so easy to mark some fields as mutable as we could do it in daily C++. Since CppCMS is trying to keep ABI stability; it uses pimpl idiom nearly everywhere. And it needs good amount of work for refactoring to support mutable in proper way. (I guess, sort of) Regards, Nazim. On 18/01/17 00:17, Joerg Sonnenberger wrote: > On Tue, Jan 17, 2017 at 11:00:36PM +0200, Artyom Beilis wrote: >> Many of the interfaces that are used relay on lazy >> initialization/evaluation - as you noticed for example for >> >> - cache() object - it is created on demand. >> - map<string,string> http::request::getenv() does similar stuff - it >> converts the efficient internal representation to external only on >> demand. > That doesn't necessarily stop const accessors from working, it just > means that the internal fields have to be marked explicitly as mutable. > > Joerg > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users |
From: Nazım C. B. <naz...@ne...> - 2017-01-17 23:41:32
|
Hello Artyom, No problem at all. Thanks, Nazim. On 18/01/17 00:00, Artyom Beilis wrote: > Hello Nazim, > > Ohhh, I wish you were talking about it before you started to do all > the hard work. > > The const correctness was discussed several times in the list and I > explained why central classes do not provide const interface. > > Many of the interfaces that are used relay on lazy > initialization/evaluation - as you noticed for example for > > - cache() object - it is created on demand. > - map<string,string> http::request::getenv() does similar stuff - it > converts the efficient internal representation to external only on > demand. > > Even if some of the interfaces can be converted to "const" ones I > still prefer to keep an option to use lazy initialization if I will > need > in future to without breaking API or const correctness and without > creating unexpected side effects. > > It is very critical as CppCMS is strongly performance oriented and I > need to keep the option for lazy evaluation performance improvements > under the hood. > > So thank you for the effort but I can't accept this patch as it is today. > > Thanks Again, > Artyom Beilis > > > On Tue, Jan 17, 2017 at 6:42 PM, Nazım Can Bedir > <naz...@ne...> wrote: >> Hi Artyom, >> >> First of all, thank you (and all other contributors) for developing such >> good C++ web development library. >> >> Now, in one of application I am developing; I need to pass HTTP context in >> read-only manner. What I am trying to achieve is; writing predicate >> functions taking const reference to context, and checking some conditions >> related with the request. With current version of http::context and >> application classes, this is not possible out-of-box. >> >> That's why I attached a patch to add "const-correct" member functions; which >> works well for my case. If it's possible, could you apply patch to trunk? I >> prefer to not fork a project just for small changes. >> >> Regards, >> Nazim. >> >> ------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users |
From: Joerg S. <jo...@be...> - 2017-01-17 21:18:57
|
On Tue, Jan 17, 2017 at 11:00:36PM +0200, Artyom Beilis wrote: > Many of the interfaces that are used relay on lazy > initialization/evaluation - as you noticed for example for > > - cache() object - it is created on demand. > - map<string,string> http::request::getenv() does similar stuff - it > converts the efficient internal representation to external only on > demand. That doesn't necessarily stop const accessors from working, it just means that the internal fields have to be marked explicitly as mutable. Joerg |
From: Artyom B. <art...@gm...> - 2017-01-17 21:00:43
|
Hello Nazim, Ohhh, I wish you were talking about it before you started to do all the hard work. The const correctness was discussed several times in the list and I explained why central classes do not provide const interface. Many of the interfaces that are used relay on lazy initialization/evaluation - as you noticed for example for - cache() object - it is created on demand. - map<string,string> http::request::getenv() does similar stuff - it converts the efficient internal representation to external only on demand. Even if some of the interfaces can be converted to "const" ones I still prefer to keep an option to use lazy initialization if I will need in future to without breaking API or const correctness and without creating unexpected side effects. It is very critical as CppCMS is strongly performance oriented and I need to keep the option for lazy evaluation performance improvements under the hood. So thank you for the effort but I can't accept this patch as it is today. Thanks Again, Artyom Beilis On Tue, Jan 17, 2017 at 6:42 PM, Nazım Can Bedir <naz...@ne...> wrote: > Hi Artyom, > > First of all, thank you (and all other contributors) for developing such > good C++ web development library. > > Now, in one of application I am developing; I need to pass HTTP context in > read-only manner. What I am trying to achieve is; writing predicate > functions taking const reference to context, and checking some conditions > related with the request. With current version of http::context and > application classes, this is not possible out-of-box. > > That's why I attached a patch to add "const-correct" member functions; which > works well for my case. If it's possible, could you apply patch to trunk? I > prefer to not fork a project just for small changes. > > Regards, > Nazim. > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |
From: Nazım C. B. <naz...@ne...> - 2017-01-17 17:04:44
|
Hi Artyom, First of all, thank you (and all other contributors) for developing such good C++ web development library. Now, in one of application I am developing; I need to pass HTTP context in read-only manner. What I am trying to achieve is; writing predicate functions taking const reference to context, and checking some conditions related with the request. With current version of http::context and application classes, this is not possible out-of-box. That's why I attached a patch to add "const-correct" member functions; which works well for my case. If it's possible, could you apply patch to trunk? I prefer to not fork a project just for small changes. Regards, Nazim. |
From: Mohd H. <hel...@ya...> - 2017-01-16 22:48:52
|
Ok, it only happen when I reply from yahoo webmail. I will try to adjust the font. > On 16 Jan 2017, at 10:25 PM, Marcel Hellwig <cp...@co...> wrote: > > Hi Helmi, > > can you please adjust your mail settings? Your font is like 8px, which I > can't really read. > > Regards, > Marcel > >> On 01/13/2017 02:28 PM, Mohd Helmi Mohd Shariff wrote: >> Thanks for your info. I will proceed development on my openSuse vm. >> >> >> >> >> On Friday, January 13, 2017 9:23 PM, Shiv Shankar Dayal >> <shi...@gm...> wrote: >> >> >> CMake can find ICU but later he/she will have problem of missing symbols >> which cannot be resolved on Mac OS. >> >> On Fri, Jan 13, 2017 at 6:49 PM, redred77 <red...@gm... >> <mailto:red...@gm...>> wrote: >> >> Oh I use windows build. >> Actually production server is linux. >> >> Windows is not for live service, but I like to debug from Visual >> studio. I am used to it and feel comfortable. >> Please don't drop windows build. >> >> 2017. 1. 12. 오후 5:55에 "Artyom Beilis" <art...@gm... >> <mailto:art...@gm...>>님이 작성: >> >>> I have another question. Why are you trying to support BSD and >> Solaris? >>> Linux is good enough and we can skip other Unix stuff. >>> >> >> Several reasons: >> >> - the code is cross platform and should remain so. Using additional >> platforms allows you to catch some important stuff. >> - BSD is quite popular platform that CppCMS runs well on it >> (same for >> Solaris also less popular than BSD) >> - Finally there is Mac OS X (that is quite close to BSD) and I can't >> run Mac OS X VM for testing due to licensing restriction. >> >> The bugs are small and should be quite fixable - in any case this >> isn't the main reason the release is delayed. >> >> If I would drop support of something that would be Windows :-) but I >> don't want to as too many developers >> for some reasons I can't understand use one ;-) >> >>> >>> What format do you accept patches in? >> >> Patch file format :-) (svn diff creates one) >> >> Artyom >> >> ------------------------------ ------------------------------ >> ------------------ >> Developer Access Program for Intel Xeon Phi Processors >> Access to Intel Xeon Phi processor-based developer platforms. >> With one year of Intel Parallel Studio XE. >> Training and support from Colfax. >> Order your platform today. http://sdm.link/xeonphi >> ______________________________ _________________ >> Cppcms-users mailing list >> Cpp...@li...urceforge .net >> <mailto:Cpp...@li...> >> https://lists.sourceforge.net/ lists/listinfo/cppcms-users >> <https://lists.sourceforge.net/lists/listinfo/cppcms-users> >> >> >> ------------------------------ ------------------------------ >> ------------------ >> Developer Access Program for Intel Xeon Phi Processors >> Access to Intel Xeon Phi processor-based developer platforms. >> With one year of Intel Parallel Studio XE. >> Training and support from Colfax. >> Order your platform today. http://sdm.link/xeonphi >> ______________________________ _________________ >> Cppcms-users mailing list >> Cppcms-users@lists. sourceforge.net >> <mailto:Cpp...@li...> >> https://lists.sourceforge.net/ lists/listinfo/cppcms-users >> <https://lists.sourceforge.net/lists/listinfo/cppcms-users> >> >> >> >> >> -- >> Respect, >> Shiv Shankar Dayal >> >> ------------------------------------------------------------------------------ >> Developer Access Program for Intel Xeon Phi Processors >> Access to Intel Xeon Phi processor-based developer platforms. >> With one year of Intel Parallel Studio XE. >> Training and support from Colfax. >> Order your platform today. http://sdm.link/xeonphi >> >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> <mailto:Cpp...@li...> >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> >> >> >> ------------------------------------------------------------------------------ >> Developer Access Program for Intel Xeon Phi Processors >> Access to Intel Xeon Phi processor-based developer platforms. >> With one year of Intel Parallel Studio XE. >> Training and support from Colfax. >> Order your platform today. http://sdm.link/xeonphi >> >> >> >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> |
From: Mohd H. <hel...@ya...> - 2017-01-16 03:10:35
|
Successfully installed. But get linker error when try some code. Cppdb::session get linker error. Sent from my iPhone > On 15 Jan 2017, at 3:53 AM, Joerg Sonnenberger <jo...@be...> wrote: > >> On Sat, Jan 14, 2017 at 04:05:58AM +0000, Mohd Helmi Mohd Shariff wrote: >> I want to install cppdb on my Mac running Mac OS Sierra. Build is ok but can't install into the directory. Here is the error: Install the project...-- Install configuration: "RelWithDebInfo"-- Installing: /usr/lib/libcppdb_sqlite3.0.3.1.dylibCMake Error at cmake_install.cmake:31 (file): file INSTALL cannot copy file "/Users/helmi/Downloads/cppdb/cppdb-trunk/build/libcppdb_sqlite3.0.3.1.dylib" to "/usr/lib/libcppdb_sqlite3.0.3.1.dylib". >> *I have tried with sudo make install but still the same. > > You must set a prefix outside /usr, that is verboten in recent OSX > versions for questionable "security" reasons. > > Joerg |
From: Joerg S. <jo...@be...> - 2017-01-14 20:03:22
|
On Sat, Jan 14, 2017 at 04:05:58AM +0000, Mohd Helmi Mohd Shariff wrote: > I want to install cppdb on my Mac running Mac OS Sierra. Build is ok but can't install into the directory. Here is the error: Install the project...-- Install configuration: "RelWithDebInfo"-- Installing: /usr/lib/libcppdb_sqlite3.0.3.1.dylibCMake Error at cmake_install.cmake:31 (file): file INSTALL cannot copy file "/Users/helmi/Downloads/cppdb/cppdb-trunk/build/libcppdb_sqlite3.0.3.1.dylib" to "/usr/lib/libcppdb_sqlite3.0.3.1.dylib". > *I have tried with sudo make install but still the same. You must set a prefix outside /usr, that is verboten in recent OSX versions for questionable "security" reasons. Joerg |
From: Mohd H. M. S. <hel...@ya...> - 2017-01-14 05:05:53
|
Here is the error when I tried to compile. Undefined symbols for architecture x86_64: "cppdb::session::session()" This error occur when I put "cppdb::session sql;" in my code. OS: Mac OS Sierra. |
From: Mohd H. M. S. <hel...@ya...> - 2017-01-14 04:06:09
|
I want to install cppdb on my Mac running Mac OS Sierra. Build is ok but can't install into the directory. Here is the error: Install the project...-- Install configuration: "RelWithDebInfo"-- Installing: /usr/lib/libcppdb_sqlite3.0.3.1.dylibCMake Error at cmake_install.cmake:31 (file): file INSTALL cannot copy file "/Users/helmi/Downloads/cppdb/cppdb-trunk/build/libcppdb_sqlite3.0.3.1.dylib" to "/usr/lib/libcppdb_sqlite3.0.3.1.dylib". *I have tried with sudo make install but still the same. |
From: Artyom B. <art...@gm...> - 2017-01-13 20:17:43
|
On Thu, Jan 12, 2017 at 6:41 PM, Josh Hunsaker <jo...@ni...> wrote: > Artyom Beilis wrote: >>> I have created a stand-alone test that shows the difference between >>> sharing a single SQLite database connection between threads, and >>> creating a new connection for each thread. It can be viewed here: >>> >>> https://gist.github.com/nispio/fe2955c9a0978532cf7b864a8b1b54db >>> >> >> >> Actually it shows exact behaviour I expected >> >> This is my run (note on PC with 4 cores): >> >> >> SAME CONNECTION >> Thread 1: library routine called out of sequence >> Thread 2: library routine called out of sequence >> Thread 3: library routine called out of sequence >> FAILED run(insert_random, "/var/tmp/testdb1.db") >> NEW CONNECTION >> Thread 2: database is locked >> Thread 3: database is locked >> FAILED run(new_connection_insert_random, "/var/tmp/testdb2.db") >> > > I'm sorry. I made a mistake when posting to Gist. I made a slight tweak > to the code when posting, and forgot to check if it worked. (Rookie > mistake, I know). The error that you are seeing in the first case is > not related to threading at all; it is just a bad pointer. Will you please > humor me and try one more time with the updated code? > > https://gist.github.com/nispio/fe2955c9a0978532cf7b864a8b1b54db > It does not change the fact that the code is wrong. There is meaning of the session/connection - you can't use it simultaneously from multiple threads even if it is allowed by API, For example how do you run concurrent transactions from different threads on same connection? You can't safely (in terms of logical sessions) use same connection from multiple threads. And you must deal with DB locked error and be able to recover from it. Regards, Artyom |
From: Artyom B. <art...@gm...> - 2017-01-13 19:48:48
|
> > Windows is not for live service, but I like to debug from Visual studio. I > am used to it and feel comfortable. > Please don't drop windows build. I'm not dropping Windows support (worked too hard on it)... that was a joke. (note the :-) in the mail I send) Artyom |
From: Artyom B. <art...@gm...> - 2017-01-13 19:47:12
|
AFAIR there was once a report regarding it and it was related to the ICU compiled with the different compiler than CppCMS. At some point Mac OS X switched from gcc/libstdc++ to clang/libc++ and if cmake finds accidentally the library that was build using gcc/libstdc++ and you use clang/libc++ you will most likely to get linking problems. Also there was an ABI change in latests gcc-5.x so if you have ICU compiled with older version of gcc it may fail to link with newer. 1. I suggest - make sure you use correct version of ICU for your compiler. 2. Disable ICU at add during the build (it is mostly needed for advanced localization features) Artyom On Fri, Jan 13, 2017 at 12:47 PM, Mohd Helmi Mohd Shariff <hel...@ya...> wrote: > mawan sugiyanto, did you successfully installed on Mac? What your MacOS ver? > > On Friday, January 13, 2017 6:36 PM, Shiv Shankar Dayal > <shi...@gm...> wrote: > > > It wont compile on Mac OS. I tried many times and it never works because it > can never find some symbols. It might work but it would be not worth the > effort. > > On Fri, Jan 13, 2017 at 3:51 PM, mawan sugiyanto <ma...@gm...> wrote: > > i use macport to install more library for cppcms > > On Jan 13, 2017 5:07 PM, "Paolo Bolzoni" <pao...@gm... > > wrote: > > Did you try to install cmake? > > On Fri, Jan 13, 2017 at 10:52 AM, Mohd Helmi Mohd Shariff > <hel...@ya...> wrote: >> Hello, I'm successfully installed cppcms on my OpenSUSE vm. But no success >> on Mac OS. It seems problem with cmake not found icu. Thanks. >> >> ------------------------------ ------------------------------ >> ------------------ >> Developer Access Program for Intel Xeon Phi Processors >> Access to Intel Xeon Phi processor-based developer platforms. >> With one year of Intel Parallel Studio XE. >> Training and support from Colfax. >> Order your platform today. http://sdm.link/xeonphi >> ______________________________ _________________ >> Cppcms-users mailing list >> Cpp...@li...urceforge .net >> https://lists.sourceforge.net/ lists/listinfo/cppcms-users > >> > > ------------------------------ ------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. > http://sdm.link/xeonphi > ______________________________ _________________ > Cppcms-users mailing list > Cpp...@li...urceforge .net > https://lists.sourceforge.net/ lists/listinfo/cppcms-users > > > ------------------------------ ------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > ______________________________ _________________ > Cppcms-users mailing list > Cppcms-users@lists. sourceforge.net > https://lists.sourceforge.net/ lists/listinfo/cppcms-users > > > > > > -- > Respect, > Shiv Shankar Dayal > > ------------------------------------------------------------------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > ------------------------------------------------------------------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |
From: Mohd H. M. S. <hel...@ya...> - 2017-01-13 17:34:29
|
I successfully build & install on my another Mac (Siierra). Previously, fail on my Mac with El-Capitan. Thank you. On Friday, January 13, 2017 11:07 PM, Shiv Shankar Dayal <shi...@gm...> wrote: Possibly because I tried it more than a year ago. On Fri, Jan 13, 2017 at 7:18 PM, Joerg Sonnenberger <jo...@be...> wrote: On Fri, Jan 13, 2017 at 04:05:09PM +0530, Shiv Shankar Dayal wrote: > It wont compile on Mac OS. I tried many times and it never works because it > can never find some symbols. It might work but it would be not worth the > effort. It seems to work fine with pkgsrc on the last bulk build I can find for OSX/x86_64, so it can certainly be done. Joerg ------------------------------ ------------------------------ ------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi ______________________________ _________________ Cppcms-users mailing list Cppcms-users@lists. sourceforge.net https://lists.sourceforge.net/ lists/listinfo/cppcms-users -- Respect, Shiv Shankar Dayal ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users |
From: Shiv S. D. <shi...@gm...> - 2017-01-13 15:06:31
|
Possibly because I tried it more than a year ago. On Fri, Jan 13, 2017 at 7:18 PM, Joerg Sonnenberger <jo...@be...> wrote: > On Fri, Jan 13, 2017 at 04:05:09PM +0530, Shiv Shankar Dayal wrote: > > It wont compile on Mac OS. I tried many times and it never works because > it > > can never find some symbols. It might work but it would be not worth the > > effort. > > It seems to work fine with pkgsrc on the last bulk build I can find for > OSX/x86_64, so it can certainly be done. > > Joerg > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > -- Respect, Shiv Shankar Dayal |
From: Mohd H. M. S. <hel...@ya...> - 2017-01-13 15:03:13
|
Can you provide the step? On Friday, January 13, 2017 11:01 PM, Joerg Sonnenberger <jo...@be...> wrote: On Fri, Jan 13, 2017 at 04:05:09PM +0530, Shiv Shankar Dayal wrote: > It wont compile on Mac OS. I tried many times and it never works because it > can never find some symbols. It might work but it would be not worth the > effort. It seems to work fine with pkgsrc on the last bulk build I can find for OSX/x86_64, so it can certainly be done. Joerg ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users |
From: Joerg S. <jo...@be...> - 2017-01-13 15:00:35
|
On Fri, Jan 13, 2017 at 04:05:09PM +0530, Shiv Shankar Dayal wrote: > It wont compile on Mac OS. I tried many times and it never works because it > can never find some symbols. It might work but it would be not worth the > effort. It seems to work fine with pkgsrc on the last bulk build I can find for OSX/x86_64, so it can certainly be done. Joerg |
From: Mohd H. M. S. <hel...@ya...> - 2017-01-13 14:54:20
|
Hello, I tried configure cppcms on apache but it not working. Here is my simple httpd.conf<IfModule mod_fastcgi.c> ServerAdmin web...@hd... ServerName localhost FastCgiServer /opt/app/bin/hello -initial-env CPPCMS_CONFIG=/opt/app/bin/config.js -socket /tmp/hello-fcgi-socket FastCGIConfig -maxProcesses 1 -processSlack 1 ScriptAliasMatch ^/hello(.*)$ /opt/app/bin/hello$1 AddHandler fastcgi-script /opt/app/bin/hello </IfModule> Error object not found when I tried to browse http://localhost/heelo |
From: Mohd H. M. S. <hel...@ya...> - 2017-01-13 13:29:08
|
Thanks for your info. I will proceed development on my openSuse vm. On Friday, January 13, 2017 9:23 PM, Shiv Shankar Dayal <shi...@gm...> wrote: CMake can find ICU but later he/she will have problem of missing symbols which cannot be resolved on Mac OS. On Fri, Jan 13, 2017 at 6:49 PM, redred77 <red...@gm...> wrote: Oh I use windows build.Actually production server is linux. Windows is not for live service, but I like to debug from Visual studio. I am used to it and feel comfortable.Please don't drop windows build. 2017. 1. 12. 오후 5:55에 "Artyom Beilis" <art...@gm...>님이 작성: > I have another question. Why are you trying to support BSD and Solaris? > Linux is good enough and we can skip other Unix stuff. > Several reasons: - the code is cross platform and should remain so. Using additional platforms allows you to catch some important stuff. - BSD is quite popular platform that CppCMS runs well on it (same for Solaris also less popular than BSD) - Finally there is Mac OS X (that is quite close to BSD) and I can't run Mac OS X VM for testing due to licensing restriction. The bugs are small and should be quite fixable - in any case this isn't the main reason the release is delayed. If I would drop support of something that would be Windows :-) but I don't want to as too many developers for some reasons I can't understand use one ;-) > > What format do you accept patches in? Patch file format :-) (svn diff creates one) Artyom ------------------------------ ------------------------------ ------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi ______________________________ _________________ Cppcms-users mailing list Cpp...@li...urceforge .net https://lists.sourceforge.net/ lists/listinfo/cppcms-users ------------------------------ ------------------------------ ------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi ______________________________ _________________ Cppcms-users mailing list Cppcms-users@lists. sourceforge.net https://lists.sourceforge.net/ lists/listinfo/cppcms-users -- Respect, Shiv Shankar Dayal ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users |
From: Shiv S. D. <shi...@gm...> - 2017-01-13 13:22:30
|
CMake can find ICU but later he/she will have problem of missing symbols which cannot be resolved on Mac OS. On Fri, Jan 13, 2017 at 6:49 PM, redred77 <red...@gm...> wrote: > Oh I use windows build. > Actually production server is linux. > > Windows is not for live service, but I like to debug from Visual studio. I > am used to it and feel comfortable. > Please don't drop windows build. > > 2017. 1. 12. 오후 5:55에 "Artyom Beilis" <art...@gm...>님이 작성: > > > I have another question. Why are you trying to support BSD and Solaris? >> > Linux is good enough and we can skip other Unix stuff. >> > >> >> Several reasons: >> >> - the code is cross platform and should remain so. Using additional >> platforms allows you to catch some important stuff. >> - BSD is quite popular platform that CppCMS runs well on it (same for >> Solaris also less popular than BSD) >> - Finally there is Mac OS X (that is quite close to BSD) and I can't >> run Mac OS X VM for testing due to licensing restriction. >> >> The bugs are small and should be quite fixable - in any case this >> isn't the main reason the release is delayed. >> >> If I would drop support of something that would be Windows :-) but I >> don't want to as too many developers >> for some reasons I can't understand use one ;-) >> >> > >> > What format do you accept patches in? >> >> Patch file format :-) (svn diff creates one) >> >> Artyom >> >> ------------------------------------------------------------ >> ------------------ >> Developer Access Program for Intel Xeon Phi Processors >> Access to Intel Xeon Phi processor-based developer platforms. >> With one year of Intel Parallel Studio XE. >> Training and support from Colfax. >> Order your platform today. http://sdm.link/xeonphi >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > -- Respect, Shiv Shankar Dayal |
From: redred77 <red...@gm...> - 2017-01-13 13:19:45
|
Oh I use windows build. Actually production server is linux. Windows is not for live service, but I like to debug from Visual studio. I am used to it and feel comfortable. Please don't drop windows build. 2017. 1. 12. 오후 5:55에 "Artyom Beilis" <art...@gm...>님이 작성: > > I have another question. Why are you trying to support BSD and Solaris? > > Linux is good enough and we can skip other Unix stuff. > > > > Several reasons: > > - the code is cross platform and should remain so. Using additional > platforms allows you to catch some important stuff. > - BSD is quite popular platform that CppCMS runs well on it (same for > Solaris also less popular than BSD) > - Finally there is Mac OS X (that is quite close to BSD) and I can't > run Mac OS X VM for testing due to licensing restriction. > > The bugs are small and should be quite fixable - in any case this > isn't the main reason the release is delayed. > > If I would drop support of something that would be Windows :-) but I > don't want to as too many developers > for some reasons I can't understand use one ;-) > > > > > What format do you accept patches in? > > Patch file format :-) (svn diff creates one) > > Artyom > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |