Re: [Cppcms-users] How to compile cppcms with c++11
Brought to you by:
artyom-beilis
|
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
>
>
|