Re: [Cppcms-users] make error during installation
Brought to you by:
artyom-beilis
|
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 |