Thread: [Cppcms-users] make error during installation
Brought to you by:
artyom-beilis
|
From: Andy <ang...@ya...> - 2013-05-12 13:11:41
|
Hi, I'm tried to install cppcms. I follow the instructions in http://cppcms.com/wikipp/en/page/cppcms_1x_build Everything worked up to the point of "cmake .." Then I ran "make" and got this error: ~/cppcms-1.0.3/build % make [ 1%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp: In member function ‘virtual booster::locale::impl_icu::number_format<CharType>::string_type booster::locale::impl_icu::number_format<CharType>::format(booster::int64_t, size_t&) const’: /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:61:43: error: call of overloaded ‘format(booster::int64_t&, icu_48::UnicodeString&)’ is ambiguous /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:61:43: note: candidates are: In file included from /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:15:0: /usr/include/unicode/numfmt.h:301:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(double, icu_48::UnicodeString&) const /usr/include/unicode/numfmt.h:314:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(int32_t, icu_48::UnicodeString&) const /usr/include/unicode/numfmt.h:327:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(int64_t, icu_48::UnicodeString&) const make[2]: *** [booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o] Error 1 make[1]: *** [booster/CMakeFiles/booster.dir/all] Error 2 make: *** [all] Error 2 Can anyone help me? Thanks. |
|
From: Shiv S. D. <shi...@gm...> - 2013-05-12 13:17:27
|
Are you trying svn code or release? On Sun, May 12, 2013 at 6:41 PM, Andy <ang...@ya...> wrote: > Hi, > > I'm tried to install cppcms. I follow the instructions in > http://cppcms.com/wikipp/en/page/cppcms_1x_build > > Everything worked up to the point of "cmake .." > > Then I ran "make" and got this error: > > ~/cppcms-1.0.3/build % make > > [ 1%] Building CXX object > booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o > /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp: In > member function ‘virtual > booster::locale::impl_icu::number_format<CharType>::string_type > booster::locale::impl_icu::number_format<CharType>::format(booster::int64_t, > size_t&) const’: > /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:61:43: > error: call of overloaded ‘format(booster::int64_t&, > icu_48::UnicodeString&)’ is ambiguous > /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:61:43: > note: candidates are: > In file included from > /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:15:0: > /usr/include/unicode/numfmt.h:301:20: note: icu_48::UnicodeString& > icu_48::NumberFormat::format(double, icu_48::UnicodeString&) const > /usr/include/unicode/numfmt.h:314:20: note: icu_48::UnicodeString& > icu_48::NumberFormat::format(int32_t, icu_48::UnicodeString&) const > /usr/include/unicode/numfmt.h:327:20: note: icu_48::UnicodeString& > icu_48::NumberFormat::format(int64_t, icu_48::UnicodeString&) const > make[2]: *** > [booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o] Error 1 > make[1]: *** [booster/CMakeFiles/booster.dir/all] Error 2 > make: *** [all] Error 2 > > Can anyone help me? Thanks. > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and > their applications. This 200-page book is written by three acclaimed > leaders in the field. The early access version is available now. > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > -- Best regards, Shiv Shankar Dayal |
|
From: Andy <ang...@ya...> - 2013-05-12 13:25:20
|
I downloaded the release from here: http://sourceforge.net/projects/cppcms/files/cppcms/1.0.3/cppcms-1.0.3.tar.bz2/download ________________________________ From: Shiv Shankar Dayal <shi...@gm...> To: Andy <ang...@ya...>; cpp...@li... Sent: Sunday, May 12, 2013 9:17 AM Subject: Re: [Cppcms-users] make error during installation Are you trying svn code or release? On Sun, May 12, 2013 at 6:41 PM, Andy <ang...@ya...> wrote: Hi, > > >I'm tried to install cppcms. I follow the instructions in http://cppcms.com/wikipp/en/page/cppcms_1x_build > > >Everything worked up to the point of "cmake .." > > >Then I ran "make" and got this error: > > >~/cppcms-1.0.3/build % make > > >[ 1%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o >/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp: In member function ‘virtual booster::locale::impl_icu::number_format<CharType>::string_type booster::locale::impl_icu::number_format<CharType>::format(booster::int64_t, size_t&) const’: >/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:61:43: error: call of overloaded ‘format(booster::int64_t&, icu_48::UnicodeString&)’ is ambiguous >/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:61:43: note: candidates are: >In file included from /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:15:0: >/usr/include/unicode/numfmt.h:301:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(double, icu_48::UnicodeString&) const >/usr/include/unicode/numfmt.h:314:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(int32_t, icu_48::UnicodeString&) const >/usr/include/unicode/numfmt.h:327:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(int64_t, icu_48::UnicodeString&) const >make[2]: *** [booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o] Error 1 >make[1]: *** [booster/CMakeFiles/booster.dir/all] Error 2 >make: *** [all] Error 2 > > >Can anyone help me? Thanks. > >------------------------------------------------------------------------------ >Learn Graph Databases - Download FREE O'Reilly Book >"Graph Databases" is the definitive new guide to graph databases and >their applications. This 200-page book is written by three acclaimed >leaders in the field. The early access version is available now. >Download your free book today! http://p.sf.net/sfu/neotech_d2d_may >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > -- Best regards, Shiv Shankar Dayal |
|
From: Andy <ang...@ya...> - 2013-05-12 14:19:52
|
The CMakeOutput.log is here: http://www.2shared.com/file/hMbiAfcw/CMakeOutput.html The CMakeError.log is here: http://www.2shared.com/file/857e_tr_/CMakeError.html The following is what got output to the terminal when "cmake .." was running: % cmake .. -- The CXX compiler identification is GNU 4.7.3 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done CMake Warning at /usr/share/cmake-2.8/Modules/CPack.cmake:289 (message): CPack.cmake has already been included!! Call Stack (most recent call first): booster/CMakeLists.txt:14 (include) -- Looking for ICU libraries -- ICU Found, building booster locale -- Performing Test GCC_IS_GCC4 -- Performing Test GCC_IS_GCC4 - Success -- Configuring done -- Generating done -- Build files have been written to: /home/andy/cppcms-1.0.3/build ________________________________ From: Shiv Shankar Dayal <shi...@gm...> To: Andy <ang...@ya...> Sent: Sunday, May 12, 2013 9:59 AM Subject: Re: [Cppcms-users] make error during installation Can you please paste your cmake log? On Sun, May 12, 2013 at 6:55 PM, Andy <ang...@ya...> wrote: I downloaded the release from here: > > >http://sourceforge.net/projects/cppcms/files/cppcms/1.0.3/cppcms-1.0.3.tar.bz2/download > > > > >________________________________ > From: Shiv Shankar Dayal <shi...@gm...> >To: Andy <ang...@ya...>; cpp...@li... >Sent: Sunday, May 12, 2013 9:17 AM >Subject: Re: [Cppcms-users] make error during installation > > > >Are you trying svn code or release? > > > > >On Sun, May 12, 2013 at 6:41 PM, Andy <ang...@ya...> wrote: > >Hi, >> >> >>I'm tried to install cppcms. I follow the instructions in http://cppcms.com/wikipp/en/page/cppcms_1x_build >> >> >>Everything worked up to the point of "cmake .." >> >> >>Then I ran "make" and got this error: >> >> >>~/cppcms-1.0.3/build % make >> >> >>[ 1%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o >>/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp: In member function ‘virtual booster::locale::impl_icu::number_format<CharType>::string_type booster::locale::impl_icu::number_format<CharType>::format(booster::int64_t, size_t&) const’: >>/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:61:43: error: call of overloaded ‘format(booster::int64_t&, icu_48::UnicodeString&)’ is ambiguous >>/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:61:43: note: candidates are: >>In file included from /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:15:0: >>/usr/include/unicode/numfmt.h:301:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(double, icu_48::UnicodeString&) const >>/usr/include/unicode/numfmt.h:314:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(int32_t, icu_48::UnicodeString&) const >>/usr/include/unicode/numfmt.h:327:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(int64_t, icu_48::UnicodeString&) const >>make[2]: *** [booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o] Error 1 >>make[1]: *** [booster/CMakeFiles/booster.dir/all] Error 2 >>make: *** [all] Error 2 >> >> >>Can anyone help me? Thanks. >> >>------------------------------------------------------------------------------ >>Learn Graph Databases - Download FREE O'Reilly Book >>"Graph Databases" is the definitive new guide to graph databases and >>their applications. This 200-page book is written by three acclaimed >>leaders in the field. The early access version is available now. >>Download your free book today! http://p.sf.net/sfu/neotech_d2d_may >>_______________________________________________ >>Cppcms-users mailing list >>Cpp...@li... >>https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> > > >-- >Best regards, >Shiv Shankar Dayal > > -- Best regards, Shiv Shankar Dayal |
|
From: Andy <ang...@ya...> - 2013-05-12 15:05:07
|
I thought ICU is required for cppcms. Would cppcms even run without ICU? Anyway I removed ICU and then reran "cmake .." The weird thing is that it reported that "ICU FOund" even though I removed ICU. % cmake .. CMake Warning at /usr/share/cmake-2.8/Modules/CPack.cmake:289 (message): CPack.cmake has already been included!! Call Stack (most recent call first): booster/CMakeLists.txt:14 (include) -- Looking for ICU libraries -- ICU Found, building booster locale -- Configuring done -- Generating done -- Build files have been written to: /home/andy/cppcms-1.0.3/build Then I ran "make" and there was an error: % make [ 1%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o In file included from /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:10:0: /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.h:15:27: fatal error: unicode/locid.h: No such file or directory compilation terminated. make[2]: *** [booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o] Error 1 make[1]: *** [booster/CMakeFiles/booster.dir/all] Error 2 make: *** [all] Error 2 ________________________________ From: Shiv Shankar Dayal <shi...@gm...> To: Andy <ang...@ya...> Sent: Sunday, May 12, 2013 10:42 AM Subject: Re: [Cppcms-users] make error during installation I checked my system and I do not have ICU installed which is needed for localization as you know. If you do not need localization you can temporarily uninstall ICU and build should run fine because it does at least for me. For exact error problem I think Artyom can answer the problem you reported in original mail as I am not the expert of all the internals. :-) On Sun, May 12, 2013 at 7:49 PM, Andy <ang...@ya...> wrote: The CMakeOutput.log is here: http://www.2shared.com/file/hMbiAfcw/CMakeOutput.html > > >The CMakeError.log is here: http://www.2shared.com/file/857e_tr_/CMakeError.html > > >The following is what got output to the terminal when "cmake .." was running: > > > % cmake .. >-- The CXX compiler identification is GNU 4.7.3 >-- Check for working CXX compiler: /usr/bin/c++ >-- Check for working CXX compiler: /usr/bin/c++ -- works >-- Detecting CXX compiler ABI info >-- Detecting CXX compiler ABI info - done >CMake Warning at /usr/share/cmake-2.8/Modules/CPack.cmake:289 (message): > CPack.cmake has already been included!! >Call Stack (most recent call first): > booster/CMakeLists.txt:14 (include) > > > > >-- Looking for ICU libraries >-- ICU Found, building booster locale >-- Performing Test GCC_IS_GCC4 >-- Performing Test GCC_IS_GCC4 - Success >-- Configuring done >-- Generating done >-- Build files have been written to: /home/andy/cppcms-1.0.3/build > > > > > >________________________________ > From: Shiv Shankar Dayal <shi...@gm...> >To: Andy <ang...@ya...> >Sent: Sunday, May 12, 2013 9:59 AM > >Subject: Re: [Cppcms-users] make error during installation > > > >Can you please paste your cmake log? > > > > >On Sun, May 12, 2013 at 6:55 PM, Andy <ang...@ya...> wrote: > >I downloaded the release from here: >> >> >>http://sourceforge.net/projects/cppcms/files/cppcms/1.0.3/cppcms-1.0.3.tar.bz2/download >> >> >> >> >>________________________________ >> From: Shiv Shankar Dayal <shi...@gm...> >>To: Andy <ang...@ya...>; cpp...@li... >>Sent: Sunday, May 12, 2013 9:17 AM >>Subject: Re: [Cppcms-users] make error during installation >> >> >> >>Are you trying svn code or release? >> >> >> >> >>On Sun, May 12, 2013 at 6:41 PM, Andy <ang...@ya...> wrote: >> >>Hi, >>> >>> >>>I'm tried to install cppcms. I follow the instructions in http://cppcms.com/wikipp/en/page/cppcms_1x_build >>> >>> >>>Everything worked up to the point of "cmake .." >>> >>> >>>Then I ran "make" and got this error: >>> >>> >>>~/cppcms-1.0.3/build % make >>> >>> >>>[ 1%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o >>>/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp: In member function ‘virtual booster::locale::impl_icu::number_format<CharType>::string_type booster::locale::impl_icu::number_format<CharType>::format(booster::int64_t, size_t&) const’: >>>/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:61:43: error: call of overloaded ‘format(booster::int64_t&, icu_48::UnicodeString&)’ is ambiguous >>>/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:61:43: note: candidates are: >>>In file included from /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:15:0: >>>/usr/include/unicode/numfmt.h:301:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(double, icu_48::UnicodeString&) const >>>/usr/include/unicode/numfmt.h:314:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(int32_t, icu_48::UnicodeString&) const >>>/usr/include/unicode/numfmt.h:327:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(int64_t, icu_48::UnicodeString&) const >>>make[2]: *** [booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o] Error 1 >>>make[1]: *** [booster/CMakeFiles/booster.dir/all] Error 2 >>>make: *** [all] Error 2 >>> >>> >>>Can anyone help me? Thanks. >>> >>>------------------------------------------------------------------------------ >>>Learn Graph Databases - Download FREE O'Reilly Book >>>"Graph Databases" is the definitive new guide to graph databases and >>>their applications. This 200-page book is written by three acclaimed >>>leaders in the field. The early access version is available now. >>>Download your free book today! http://p.sf.net/sfu/neotech_d2d_may >>>_______________________________________________ >>>Cppcms-users mailing list >>>Cpp...@li... >>>https://lists.sourceforge.net/lists/listinfo/cppcms-users >>> >>> >> >> >>-- >>Best regards, >>Shiv Shankar Dayal >> >> > > >-- >Best regards, >Shiv Shankar Dayal > > -- Best regards, Shiv Shankar Dayal |
|
From: Artyom B. <art...@ya...> - 2013-05-12 17:39:02
|
It seems like an old bug with some version of ICU. I'll check. I'm going to release a bug fix version soon 1.0.4 and I'll fix this one as well. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >________________________________ > From: Andy <ang...@ya...> >To: "cpp...@li..." <cpp...@li...> >Sent: Sunday, May 12, 2013 4:11 PM >Subject: [Cppcms-users] make error during installation > > > >Hi, > > >I'm tried to install cppcms. I follow the instructions in http://cppcms.com/wikipp/en/page/cppcms_1x_build > > >Everything worked up to the point of "cmake .." > > >Then I ran "make" and got this error: > > >~/cppcms-1.0.3/build % make > > >[ 1%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o >/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp: In member function ‘virtual booster::locale::impl_icu::number_format<CharType>::string_type booster::locale::impl_icu::number_format<CharType>::format(booster::int64_t, size_t&) const’: >/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:61:43: error: call of overloaded ‘format(booster::int64_t&, icu_48::UnicodeString&)’ is ambiguous >/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:61:43: note: candidates are: >In file included from /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:15:0: >/usr/include/unicode/numfmt.h:301:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(double, icu_48::UnicodeString&) const >/usr/include/unicode/numfmt.h:314:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(int32_t, icu_48::UnicodeString&) const >/usr/include/unicode/numfmt.h:327:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(int64_t, icu_48::UnicodeString&) const >make[2]: *** [booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o] Error 1 >make[1]: *** [booster/CMakeFiles/booster.dir/all] Error 2 >make: *** [all] Error 2 > > >Can anyone help me? Thanks. > >------------------------------------------------------------------------------ >Learn Graph Databases - Download FREE O'Reilly Book >"Graph Databases" is the definitive new guide to graph databases and >their applications. This 200-page book is written by three acclaimed >leaders in the field. The early access version is available now. >Download your free book today! http://p.sf.net/sfu/neotech_d2d_may >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |
|
From: Themistokles K. <thm...@gm...> - 2013-08-11 20:05:14
|
I had the same problem with cppcms-1.0.4 and fixed it by installing manually the latest version of the ICU library(v51.2) (ubuntu came with version 4.8). It compiled ok, although it failed two tests: 85 - test_locale_boundary (SEGFAULT) 86 - test_locale_formatting (Failed) |
|
From: Artyom B. <art...@ya...> - 2013-08-24 12:17:10
|
Can you please open a bug report with exact specifications of what ICU and GCC you are using? Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >________________________________ > From: Themistokles Kyrgos <thm...@gm...> >To: cpp...@li... >Sent: Sunday, August 11, 2013 11:02 PM >Subject: Re: [Cppcms-users] make error during installation > > >I had the same problem with cppcms-1.0.4 and fixed it by installing manually >the latest version of the ICU library(v51.2) (ubuntu came with version 4.8). >It compiled ok, although it failed two tests: >85 - test_locale_boundary (SEGFAULT) >86 - test_locale_formatting (Failed) > > > > >------------------------------------------------------------------------------ >Get 100% visibility into Java/.NET code with AppDynamics Lite! >It's a free troubleshooting tool designed for production. >Get down to code-level detail for bottlenecks, with <2% overhead. >Download for free and get started troubleshooting in minutes. >http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |
|
From: Andy <ang...@ya...> - 2013-05-12 17:44:26
|
OK I removed the cppcms directory and untar-ed the tarball again. After I typed "cmake .." it ran mostly fine but I got a few lines of "Warning" and "Failed" messages: CMake Warning at /usr/share/cmake-2.8/Modules/CPack.cmake:289 (message): CPack.cmake has already been included!! -- Performing Test BOOSTER_HAVE_GCC_BITS_EXCHANGE_AND_ADD - Failed -- Performing Test CPPCMS_HAVE_CPP0X_UXSTRING - Failed -- Performing Test CPPCMS_HAVE_CPP_0X_AUTO - Failed -- Performing Test CPPCMS_HAVE_CPP_0X_DECLTYPE - Failed Should I be worried about them? Then I ran "make" which seemed to run fine. "make test" passed 100% of the tests. So that's good. "make install" completed with no error. So apart from the "Warning" and "Failed" messages from cmake, the installation seems to have gone well. It does look like ICU was causing the problem. Unfortunately I need to deal with localization and UTF-8. So I guess I'd need ICU. Any ideas on how to make ICU work with cppcms? Thanks! ________________________________ From: Shiv Shankar Dayal <shi...@gm...> To: Andy <ang...@ya...> Sent: Sunday, May 12, 2013 11:34 AM Subject: Re: [Cppcms-users] make error during installation No either clean cmake files and makefiles generated by cmake. Simpler remove the cppcms directory and untar the tarball again and run cmake again. Related to ICU it is not mandatory. It is required to localize stuff as you can see here. http://site.icu-project.org/ On Sun, May 12, 2013 at 8:34 PM, Andy <ang...@ya...> wrote: I thought ICU is required for cppcms. Would cppcms even run without ICU? > > >Anyway I removed ICU and then reran "cmake .." > > >The weird thing is that it reported that "ICU FOund" even though I removed ICU. > > > % cmake .. >CMake Warning at /usr/share/cmake-2.8/Modules/CPack.cmake:289 (message): > CPack.cmake has already been included!! >Call Stack (most recent call first): > booster/CMakeLists.txt:14 (include) > > > > >-- Looking for ICU libraries >-- ICU Found, building booster locale >-- Configuring done >-- Generating done >-- Build files have been written to: /home/andy/cppcms-1.0.3/build > > > > > > >Then I ran "make" and there was an error: > > >% make >[ 1%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o >In file included from /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:10:0: >/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.h:15:27: fatal error: unicode/locid.h: No such file or directory >compilation terminated. >make[2]: *** [booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o] Error 1 >make[1]: *** [booster/CMakeFiles/booster.dir/all] Error 2 >make: *** [all] Error 2 > > > > > > > >________________________________ > From: Shiv Shankar Dayal <shi...@gm...> >To: Andy <ang...@ya...> >Sent: Sunday, May 12, 2013 10:42 AM > >Subject: Re: [Cppcms-users] make error during installation > > > >I checked my system and I do not have ICU installed which is needed for localization as you know. If you do not need localization you can temporarily uninstall ICU and build should run fine because it does at least for me. For exact error problem I think Artyom can answer the problem you reported in original mail as I am not the expert of all the internals. :-) > > > > >On Sun, May 12, 2013 at 7:49 PM, Andy <ang...@ya...> wrote: > >The CMakeOutput.log is here: http://www.2shared.com/file/hMbiAfcw/CMakeOutput.html >> >> >>The CMakeError.log is here: http://www.2shared.com/file/857e_tr_/CMakeError.html >> >> >>The following is what got output to the terminal when "cmake .." was running: >> >> >> % cmake .. >>-- The CXX compiler identification is GNU 4.7.3 >>-- Check for working CXX compiler: /usr/bin/c++ >>-- Check for working CXX compiler: /usr/bin/c++ -- works >>-- Detecting CXX compiler ABI info >>-- Detecting CXX compiler ABI info - done >>CMake Warning at /usr/share/cmake-2.8/Modules/CPack.cmake:289 (message): >> CPack.cmake has already been included!! >>Call Stack (most recent call first): >> booster/CMakeLists.txt:14 (include) >> >> >> >> >>-- Looking for ICU libraries >>-- ICU Found, building booster locale >>-- Performing Test GCC_IS_GCC4 >>-- Performing Test GCC_IS_GCC4 - Success >>-- Configuring done >>-- Generating done >>-- Build files have been written to: /home/andy/cppcms-1.0.3/build >> >> >> >> >> >>________________________________ >> From: Shiv Shankar Dayal <shi...@gm...> >>To: Andy <ang...@ya...> >>Sent: Sunday, May 12, 2013 9:59 AM >> >>Subject: Re: [Cppcms-users] make error during installation >> >> >> >>Can you please paste your cmake log? >> >> >> >> >>On Sun, May 12, 2013 at 6:55 PM, Andy <ang...@ya...> wrote: >> >>I downloaded the release from here: >>> >>> >>>http://sourceforge.net/projects/cppcms/files/cppcms/1.0.3/cppcms-1.0.3.tar.bz2/download >>> >>> >>> >>> >>>________________________________ >>> From: Shiv Shankar Dayal <shi...@gm...> >>>To: Andy <ang...@ya...>; cpp...@li... >>>Sent: Sunday, May 12, 2013 9:17 AM >>>Subject: Re: [Cppcms-users] make error during installation >>> >>> >>> >>>Are you trying svn code or release? >>> >>> >>> >>> >>>On Sun, May 12, 2013 at 6:41 PM, Andy <ang...@ya...> wrote: >>> >>>Hi, >>>> >>>> >>>>I'm tried to install cppcms. I follow the instructions in http://cppcms.com/wikipp/en/page/cppcms_1x_build >>>> >>>> >>>>Everything worked up to the point of "cmake .." >>>> >>>> >>>>Then I ran "make" and got this error: >>>> >>>> >>>>~/cppcms-1.0.3/build % make >>>> >>>> >>>>[ 1%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o >>>>/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp: In member function ‘virtual booster::locale::impl_icu::number_format<CharType>::string_type booster::locale::impl_icu::number_format<CharType>::format(booster::int64_t, size_t&) const’: >>>>/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:61:43: error: call of overloaded ‘format(booster::int64_t&, icu_48::UnicodeString&)’ is ambiguous >>>>/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:61:43: note: candidates are: >>>>In file included from /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:15:0: >>>>/usr/include/unicode/numfmt.h:301:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(double, icu_48::UnicodeString&) const >>>>/usr/include/unicode/numfmt.h:314:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(int32_t, icu_48::UnicodeString&) const >>>>/usr/include/unicode/numfmt.h:327:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(int64_t, icu_48::UnicodeString&) const >>>>make[2]: *** [booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o] Error 1 >>>>make[1]: *** [booster/CMakeFiles/booster.dir/all] Error 2 >>>>make: *** [all] Error 2 >>>> >>>> >>>>Can anyone help me? Thanks. >>>> >>>>------------------------------------------------------------------------------ >>>>Learn Graph Databases - Download FREE O'Reilly Book >>>>"Graph Databases" is the definitive new guide to graph databases and >>>>their applications. This 200-page book is written by three acclaimed >>>>leaders in the field. The early access version is available now. >>>>Download your free book today! http://p.sf.net/sfu/neotech_d2d_may >>>>_______________________________________________ >>>>Cppcms-users mailing list >>>>Cpp...@li... >>>>https://lists.sourceforge.net/lists/listinfo/cppcms-users >>>> >>>> >>> >>> >>>-- >>>Best regards, >>>Shiv Shankar Dayal >>> >>> >> >> >>-- >>Best regards, >>Shiv Shankar Dayal >> >> > > >-- >Best regards, >Shiv Shankar Dayal > > -- Best regards, Shiv Shankar Dayal |
|
From: Artyom B. <art...@ya...> - 2013-05-12 18:54:50
|
What ICU version do you use? Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >________________________________ > From: Andy <ang...@ya...> >To: Shiv Shankar Dayal <shi...@gm...>; "cpp...@li..." <cpp...@li...> >Sent: Sunday, May 12, 2013 8:44 PM >Subject: Re: [Cppcms-users] make error during installation > > > >OK I removed the cppcms directory and untar-ed the tarball again. > > > After I typed "cmake .." it ran mostly fine but I got a few lines of "Warning" and "Failed" messages: > > > >CMake Warning at /usr/share/cmake-2.8/Modules/CPack.cmake:289 (message): > CPack.cmake has already been included!! > > >-- Performing Test BOOSTER_HAVE_GCC_BITS_EXCHANGE_AND_ADD - Failed > >-- Performing Test CPPCMS_HAVE_CPP0X_UXSTRING - Failed > >-- Performing Test CPPCMS_HAVE_CPP_0X_AUTO - Failed > >-- Performing Test CPPCMS_HAVE_CPP_0X_DECLTYPE - Failed > > > >Should I be worried about them? > > >Then I ran "make" which seemed to run fine. > > >"make test" passed 100% of the tests. So that's good. > > >"make install" completed with no error. > > >So apart from the "Warning" and "Failed" messages from cmake, the installation seems to have gone well. > > >It does look like ICU was causing the problem. Unfortunately I need to deal with localization and UTF-8. So I guess I'd need ICU. Any ideas on how to make ICU work with cppcms? > > >Thanks! > > > > > > > > > >________________________________ > From: Shiv Shankar Dayal <shi...@gm...> >To: Andy <ang...@ya...> >Sent: Sunday, May 12, 2013 11:34 AM >Subject: Re: [Cppcms-users] make error during installation > > > >No either clean cmake files and makefiles generated by cmake. Simpler remove the cppcms directory and untar the tarball again and run cmake again. > >Related to ICU it is not mandatory. It is required to localize stuff as you can see here. http://site.icu-project.org/ > > > > >On Sun, May 12, 2013 at 8:34 PM, Andy <ang...@ya...> wrote: > >I thought ICU is required for cppcms. Would cppcms even run without ICU? >> >> >>Anyway I removed ICU and then reran "cmake .." >> >> >>The weird thing is that it reported that "ICU FOund" even though I removed ICU. >> >> >> % cmake .. >>CMake Warning at /usr/share/cmake-2.8/Modules/CPack.cmake:289 (message): >> CPack.cmake has already been included!! >>Call Stack (most recent call first): >> booster/CMakeLists.txt:14 (include) >> >> >> >> >>-- Looking for ICU libraries >>-- ICU Found, building booster locale >>-- Configuring done >>-- Generating done >>-- Build files have been written to: /home/andy/cppcms-1.0.3/build >> >> >> >> >> >> >>Then I ran "make" and there was an error: >> >> >>% make >>[ 1%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o >>In file included from /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:10:0: >>/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.h:15:27: fatal error: unicode/locid.h: No such file or directory >>compilation terminated. >>make[2]: *** [booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o] Error 1 >>make[1]: *** [booster/CMakeFiles/booster.dir/all] Error 2 >>make: *** [all] Error 2 >> >> >> >> >> >> >> >>________________________________ >> From: Shiv Shankar Dayal <shi...@gm...> >>To: Andy <ang...@ya...> >>Sent: Sunday, May 12, 2013 10:42 AM >> >>Subject: Re: [Cppcms-users] make error during installation >> >> >> >>I checked my system and I do not have ICU installed which is needed for localization as you know. If you do not need localization you can temporarily uninstall ICU and build should run fine because it does at least for me. For exact error problem I think Artyom can answer the problem you reported in original mail as I am not the expert of all the internals. :-) >> >> >> >> >>On Sun, May 12, 2013 at 7:49 PM, Andy <ang...@ya...> wrote: >> >>The CMakeOutput.log is here: http://www.2shared.com/file/hMbiAfcw/CMakeOutput.html >>> >>> >>>The CMakeError.log is here: http://www.2shared.com/file/857e_tr_/CMakeError.html >>> >>> >>>The following is what got output to the terminal when "cmake .." was running: >>> >>> >>> % cmake .. >>>-- The CXX compiler identification is GNU 4.7.3 >>>-- Check for working CXX compiler: /usr/bin/c++ >>>-- Check for working CXX compiler: /usr/bin/c++ -- works >>>-- Detecting CXX compiler ABI info >>>-- Detecting CXX compiler ABI info - done >>>CMake Warning at /usr/share/cmake-2.8/Modules/CPack.cmake:289 (message): >>> CPack.cmake has already been included!! >>>Call Stack (most recent call first): >>> booster/CMakeLists.txt:14 (include) >>> >>> >>> >>> >>>-- Looking for ICU libraries >>>-- ICU Found, building booster locale >>>-- Performing Test GCC_IS_GCC4 >>>-- Performing Test GCC_IS_GCC4 - Success >>>-- Configuring done >>>-- Generating done >>>-- Build files have been written to: /home/andy/cppcms-1.0.3/build >>> >>> >>> >>> >>> >>>________________________________ >>> From: Shiv Shankar Dayal <shi...@gm...> >>>To: Andy <ang...@ya...> >>>Sent: Sunday, May 12, 2013 9:59 AM >>> >>>Subject: Re: [Cppcms-users] make error during installation >>> >>> >>> >>>Can you please paste your cmake log? >>> >>> >>> >>> >>>On Sun, May 12, 2013 at 6:55 PM, Andy <ang...@ya...> wrote: >>> >>>I downloaded the release from here: >>>> >>>> >>>>http://sourceforge.net/projects/cppcms/files/cppcms/1.0.3/cppcms-1.0.3.tar.bz2/download >>>> >>>> >>>> >>>> >>>>________________________________ >>>> From: Shiv Shankar Dayal <shi...@gm...> >>>>To: Andy <ang...@ya...>; cpp...@li... >>>>Sent: Sunday, May 12, 2013 9:17 AM >>>>Subject: Re: [Cppcms-users] make error during installation >>>> >>>> >>>> >>>>Are you trying svn code or release? >>>> >>>> >>>> >>>> >>>>On Sun, May 12, 2013 at 6:41 PM, Andy <ang...@ya...> wrote: >>>> >>>>Hi, >>>>> >>>>> >>>>>I'm tried to install cppcms. I follow the instructions in http://cppcms.com/wikipp/en/page/cppcms_1x_build >>>>> >>>>> >>>>>Everything worked up to the point of "cmake .." >>>>> >>>>> >>>>>Then I ran "make" and got this error: >>>>> >>>>> >>>>>~/cppcms-1.0.3/build % make >>>>> >>>>> >>>>>[ 1%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o >>>>>/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp: In member function ‘virtual booster::locale::impl_icu::number_format<CharType>::string_type booster::locale::impl_icu::number_format<CharType>::format(booster::int64_t, size_t&) const’: >>>>>/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:61:43: error: call of overloaded ‘format(booster::int64_t&, icu_48::UnicodeString&)’ is ambiguous >>>>>/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:61:43: note: candidates are: >>>>>In file included from /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:15:0: >>>>>/usr/include/unicode/numfmt.h:301:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(double, icu_48::UnicodeString&) const >>>>>/usr/include/unicode/numfmt.h:314:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(int32_t, icu_48::UnicodeString&) const >>>>>/usr/include/unicode/numfmt.h:327:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(int64_t, icu_48::UnicodeString&) const >>>>>make[2]: *** [booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o] Error 1 >>>>>make[1]: *** [booster/CMakeFiles/booster.dir/all] Error 2 >>>>>make: *** [all] Error 2 >>>>> >>>>> >>>>>Can anyone help me? Thanks. >>>>> >>>>>------------------------------------------------------------------------------ >>>>>Learn Graph Databases - Download FREE O'Reilly Book >>>>>"Graph Databases" is the definitive new guide to graph databases and >>>>>their applications. This 200-page book is written by three acclaimed >>>>>leaders in the field. The early access version is available now. >>>>>Download your free book today! http://p.sf.net/sfu/neotech_d2d_may >>>>>_______________________________________________ >>>>>Cppcms-users mailing list >>>>>Cpp...@li... >>>>>https://lists.sourceforge.net/lists/listinfo/cppcms-users >>>>> >>>>> >>>> >>>> >>>>-- >>>>Best regards, >>>>Shiv Shankar Dayal >>>> >>>> >>> >>> >>>-- >>>Best regards, >>>Shiv Shankar Dayal >>> >>> >> >> >>-- >>Best regards, >>Shiv Shankar Dayal >> >> > > >-- >Best regards, >Shiv Shankar Dayal > > >------------------------------------------------------------------------------ >Learn Graph Databases - Download FREE O'Reilly Book >"Graph Databases" is the definitive new guide to graph databases and >their applications. This 200-page book is written by three acclaimed >leaders in the field. The early access version is available now. >Download your free book today! http://p.sf.net/sfu/neotech_d2d_may >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |
|
From: Andy <ang...@ya...> - 2013-05-13 05:55:05
|
I just used apt-get to get the latest version: % apt-get -s install libicu-dev The following NEW packages will be installed: libicu-dev 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Inst libicu-dev (4.8.1.1-12 Ubuntu:13.04/raring [amd64]) Conf libicu-dev (4.8.1.1-12 Ubuntu:13.04/raring [amd64]) ________________________________ From: Artyom Beilis <art...@ya...> To: "cpp...@li..." <cpp...@li...> Sent: Sunday, May 12, 2013 2:54 PM Subject: Re: [Cppcms-users] make error during installation What ICU version do you use? Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ |
|
From: Shiv S. D. <shi...@gm...> - 2013-05-13 14:52:21
|
This means your version is 4.8.1.1-12 On Mon, May 13, 2013 at 11:24 AM, Andy <ang...@ya...> wrote: > I just used apt-get to get the latest version: > > % apt-get -s install libicu-dev > > The following NEW packages will be installed: > libicu-dev > 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. > Inst libicu-dev (4.8.1.1-12 Ubuntu:13.04/raring [amd64]) > Conf libicu-dev (4.8.1.1-12 Ubuntu:13.04/raring [amd64]) > > ------------------------------ > *From:* Artyom Beilis <art...@ya...> > *To:* "cpp...@li..." < > cpp...@li...> > *Sent:* Sunday, May 12, 2013 2:54 PM > > *Subject:* Re: [Cppcms-users] make error during installation > > What ICU version do you use? > > Artyom Beilis > -------------- > CppCMS - C++ Web Framework: http://cppcms.com/ > CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ > > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and > their applications. This 200-page book is written by three acclaimed > leaders in the field. The early access version is available now. > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > -- Best regards, Shiv Shankar Dayal |
|
From: Artyom B. <art...@ya...> - 2013-05-16 13:30:16
|
I'll take a look Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >________________________________ > From: Shiv Shankar Dayal <shi...@gm...> >To: Andy <ang...@ya...>; cpp...@li... >Sent: Monday, May 13, 2013 5:52 PM >Subject: Re: [Cppcms-users] make error during installation > > > >This means your version is 4.8.1.1-12 > > > > >On Mon, May 13, 2013 at 11:24 AM, Andy <ang...@ya...> wrote: > >I just used apt-get to get the latest version: >> >> >>% apt-get -s install libicu-dev >> >> >> >>The following NEW packages will be installed: >> libicu-dev >>0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. >>Inst libicu-dev (4.8.1.1-12 Ubuntu:13.04/raring [amd64]) >>Conf libicu-dev (4.8.1.1-12 Ubuntu:13.04/raring [amd64]) >> >> >> >>________________________________ >> From: Artyom Beilis <art...@ya...> >>To: "cpp...@li..." <cpp...@li...> >>Sent: Sunday, May 12, 2013 2:54 PM >> >>Subject: Re: [Cppcms-users] make error during installation >> >> >> >>What ICU version do you use? >> >>Artyom Beilis >>-------------- >>CppCMS - C++ Web Framework: http://cppcms.com/ >>CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >> >> >> >>------------------------------------------------------------------------------ >>Learn Graph Databases - Download FREE O'Reilly Book >>"Graph Databases" is the definitive new guide to graph databases and >>their applications. This 200-page book is written by three acclaimed >>leaders in the field. The early access version is available now. >>Download your free book today! http://p.sf.net/sfu/neotech_d2d_may >>_______________________________________________ >>Cppcms-users mailing list >>Cpp...@li... >>https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> > > >-- >Best regards, >Shiv Shankar Dayal >------------------------------------------------------------------------------ >Learn Graph Databases - Download FREE O'Reilly Book >"Graph Databases" is the definitive new guide to graph databases and >their applications. This 200-page book is written by three acclaimed >leaders in the field. The early access version is available now. >Download your free book today! http://p.sf.net/sfu/neotech_d2d_may >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |