Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Locale fails to build without ICU #5

Open
nega0 opened this issue Apr 8, 2012 · 2 comments
Open

Locale fails to build without ICU #5

nega0 opened this issue Apr 8, 2012 · 2 comments

Comments

@nega0
Copy link

nega0 commented Apr 8, 2012

Not having or disabling ICU causes cmake-release/cmake-1.49.0 to fail to build, because none of the other defines in libs/locale/src/encoding/codepage.cpp are satisfied.


[ 85%] Building CXX object libs/locale/src/CMakeFiles/boost_locale-mt-shared.dir/encoding/codepage.cpp.o
/home/nega/boost/libs/locale/src/encoding/codepage.cpp: In function ‘std::string boost::locale::conv::impl::convert_between(const char*, const char*, const char*, const char*, boost::locale::conv::method_type)’:
/home/nega/boost/libs/locale/src/encoding/codepage.cpp:42: error: ‘converter_between’ was not declared in this scope
/home/nega/boost/libs/locale/src/encoding/codepage.cpp:42: error: template argument 1 is invalid
/home/nega/boost/libs/locale/src/encoding/codepage.cpp:42: error: invalid type in declaration before ‘;’ token
/home/nega/boost/libs/locale/src/encoding/codepage.cpp: In function ‘std::basic_string<_CharT, std::char_traits<_CharT>, std::allocator<_CharT> > boost::locale::conv::impl::convert_to(const char*, const char*, const char*, boost::locale::conv::method_type)’:
/home/nega/boost/libs/locale/src/encoding/codepage.cpp:68: error: ‘converter_to_utf’ was not declared in this scope
/home/nega/boost/libs/locale/src/encoding/codepage.cpp:68: error: template argument 1 is invalid
/home/nega/boost/libs/locale/src/encoding/codepage.cpp:68: error: expected unqualified-id before ‘>’ token
/home/nega/boost/libs/locale/src/encoding/codepage.cpp: In function ‘std::string boost::locale::conv::impl::convert_from(const CharType*, const CharType*, const char*, boost::locale::conv::method_type)’:
/home/nega/boost/libs/locale/src/encoding/codepage.cpp:94: error: ‘converter_from_utf’ was not declared in this scope
/home/nega/boost/libs/locale/src/encoding/codepage.cpp:94: error: template argument 1 is invalid
/home/nega/boost/libs/locale/src/encoding/codepage.cpp:94: error: expected unqualified-id before ‘>’ token
make[2]: *** [libs/locale/src/CMakeFiles/boost_locale-mt-shared.dir/encoding/codepage.cpp.o] Error 1
make[1]: *** [libs/locale/src/CMakeFiles/boost_locale-mt-shared.dir/all] Error 2
make: *** [all] Error 2
[zinc:~/boost.build] 
@da115115
Copy link
Member

Did you manage to find a work-around/patch?
If that is the case, I would appreciate that you submit CMake-related patches here, for instance as pull requests.

If the issue comes from Boost itself (not from the CMake framework), you have to open a ticket on their official (Trac) Web site: https://svn.boost.org/trac/boost/newticket

In any case, thanks for your valuable feedback

@da115115
Copy link
Member

Petr Machata (from RedHat/Fedora) fixed a very similar bug: http://bugzilla.redhat.com/show_bug.cgi?id=832265

I have just integrated the corresponding patches (in the cmake-release, cmake-trunk and cmake-1.49.0 branches). Could you re-test to see whether your problem persists?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants