Andy | 12 May 15:11 2013
Picon

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
------------------------------------------------------------------------------
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
Shiv Shankar Dayal | 12 May 15:17 2013
Picon

Re: make error during installation

Are you trying svn code or release?


On Sun, May 12, 2013 at 6:41 PM, Andy <angelflow-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> 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
Cppcms-users-5NWGOfrQmnc@public.gmane.orgurceforge.net
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
------------------------------------------------------------------------------
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
Andy | 12 May 15:25 2013
Picon

Re: make error during installation

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 <shivshankar.dayal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Andy <angelflow-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>; cppcms-users-5NWGOfrQmneRv+LV9MX5uv+2+P5yyue3@public.gmane.orgt
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 <angelflow-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> 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
Cppcms-users <at> lists.sourceforge.net
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
------------------------------------------------------------------------------
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
Artyom Beilis | 12 May 19:38 2013
Picon

Re: make error during installation

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 <angelflow-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>
To: "cppcms-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org" <cppcms-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
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
Cppcms-users-5NWGOfrQmnd4wTydcyPnfg@public.gmane.orgceforge.net
https://lists.sourceforge.net/lists/listinfo/cppcms-users


------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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
Themistokles Kyrgos | 11 Aug 22:02 2013
Picon

Re: 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
Artyom Beilis | 24 Aug 14:17 2013
Picon

Re: make error during installation

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 <thmsxthms-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: cppcms-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
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
Cppcms-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/cppcms-users


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk

Gmane