Thread: [Cppcms-users] compiling
Brought to you by:
artyom-beilis
|
From: Yiown S. <yi...@gm...> - 2013-06-06 14:36:49
|
Hi Artyom, I just did a clean svn checkout and tried to compile the project. The file cppcms_boost/bind.hpp is no longer in the repository. But some files still tries to include it. In some of these files i saw a preprocessor flag CPPCMS_USE_EXTERNAL_BOOST which bypass the include and instead includes the normal boost version of the bind.hpp. So i placed the flag in the compilation and still some of the files would not compile, since they do not even check for the preprocessor flag. The files are: private/prefork_acceptor.h src/http_api.cpp src/session_pool.cpp src/tcp_cache_server.cpp Once i updated these files with the preprocessor directives it compiled ok. It looks like cppcms_boost/bind.hpp was removed by accident, or the include points were not updated. In any case. Hope this helps. Regards. |
|
From: Marcel H. <ke...@co...> - 2013-06-06 14:59:44
Attachments:
signature.asc
|
did you > tar xvf cppcms_boost.tar.bz2 ? http://cppcms.com/wikipp/en/page/cppcms_1x_build Regards |
|
From: Yiown S. <yi...@gm...> - 2013-06-06 15:05:01
|
No, i did: svn co https://svn.code.sf.net/p/cppcms/code/framework/trunk cppcms On Thu, Jun 6, 2013 at 11:59 AM, Marcel Hellwig <ke...@co...> wrote: > did you > > tar xvf cppcms_boost.tar.bz2 > ? > > http://cppcms.com/wikipp/en/page/cppcms_1x_build > > Regards > > > > > ------------------------------------------------------------------------------ > How ServiceNow helps IT people transform IT departments: > 1. A cloud service to automate IT design, transition and operations > 2. Dashboards that offer high-level views of enterprise services > 3. A single system of record for all IT processes > http://p.sf.net/sfu/servicenow-d2d-j > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > |
|
From: Marcel H. <ke...@co...> - 2013-06-06 15:05:56
Attachments:
signature.asc
|
see the link i provided |
|
From: Yiown S. <yi...@gm...> - 2013-06-06 15:23:03
|
Perfect! you are right i didn't extracted the tar file. can that be
automated?
In the other hand i am getting these test failing:
23 - internal_forwarder_test (Failed)
24 - forwarder_test (Failed)
27 - http_timeouts_test_write (Failed)
Thanks Marcel.
On Thu, Jun 6, 2013 at 12:05 PM, Marcel Hellwig <ke...@co...> wrote:
> see the link i provided
>
>
>
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. A cloud service to automate IT design, transition and operations
> 2. Dashboards that offer high-level views of enterprise services
> 3. A single system of record for all IT processes
> http://p.sf.net/sfu/servicenow-d2d-j
> _______________________________________________
> Cppcms-users mailing list
> Cpp...@li...
> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>
>
|
|
From: Marcel H. <ke...@co...> - 2013-06-06 15:49:26
Attachments:
signature.asc
|
On 06.06.2013 17:22, Yiown Sugpo wrote: > Perfect! you are right i didn't extracted the tar file. can that be > automated? > In the other hand i am getting these test failing: > 23 - internal_forwarder_test (Failed) > 24 - forwarder_test (Failed) > 27 - http_timeouts_test_write (Failed) > > Thanks Marcel. I think this is a known bug. But you could provide further information about this with > ctest -v --output-on-failure Regards |
|
From: <un...@fu...> - 2013-06-06 16:32:51
Attachments:
update_cppcms.sh
|
On 2013-06-06 17:22, Yiown Sugpo wrote: > Perfect! you are right i didn't extracted the tar file. can that be > automated? feel free to customize attached script to your needs. |
|
From: Marcel H. <ke...@co...> - 2013-06-06 20:57:59
Attachments:
signature.asc
|
make -j16 is much to high! some say cores * 2, some just say cores... I prefer cores ;) but 16? Regards |
|
From: Yiown S. <yi...@gm...> - 2013-06-06 21:17:28
|
i have 8 cores but no noticeable difference found after -j6 . i guess the individual threads are too short lived, at least while compiling cppcms. On Thu, Jun 6, 2013 at 5:57 PM, Marcel Hellwig <ke...@co...> wrote: > make -j16 is much to high! > some say cores * 2, some just say cores... I prefer cores ;) but 16? > > Regards > > > > ------------------------------------------------------------------------------ > How ServiceNow helps IT people transform IT departments: > 1. A cloud service to automate IT design, transition and operations > 2. Dashboards that offer high-level views of enterprise services > 3. A single system of record for all IT processes > http://p.sf.net/sfu/servicenow-d2d-j > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > |
|
From: <un...@fu...> - 2013-06-07 08:34:25
|
On 2013-06-06 22:57, Marcel Hellwig wrote: > make -j16 is much to high! > some say cores * 2, some just say cores... I prefer cores ;) but 16? true, todays linux scheduler does much better job, so cores*2 isn't necessary. even more with ssd low io latency and intel's virtual cores. 8 would do the job. thank you for pointing |