mixiユーザー(id:7593622)

2020年01月19日23:53

45 view

Mac mini(Catalina)に Jubatus をインストール jubatus-installer でやってみよう 実行!(その2)log4cxxでエラー

(1) gccをOS標準に戻す(gcc-9へのシンボリックリンクを消す)
で、やってみたところ、ちょっと進むも、log4cxxでエラー。

「src/main/include/log4cxx/helpers/simpledateformat.h:56:73: error: reference to 'locale' is ambiguous」でググるとなんか出てくるので、きっと何とかなるのだろう。
そもそも、homebrew の方では、log4cxx 成功してんだよなあ。これを使えんのかな。

ま、何はともあれ、今日は寝る。


これも最後の部分を貼っておく。
In file included from ../../../src/main/include/log4cxx/helpers/iso8601dateformat.h:21:
../../../src/main/include/log4cxx/helpers/simpledateformat.h:56:73: error: reference to 'locale' is ambiguous
SimpleDateFormat(const LogString& pattern, const std::locale* locale);
^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__locale:105:24: note: candidate found by name lookup is 'std::__1::locale'
class _LIBCPP_TYPE_VIS locale
^
../../../src/main/include/log4cxx/helpers/simpledateformat.h:32:23: note: candidate found by name lookup is 'std::locale'
namespace std { class locale; }
^
../../../src/main/include/log4cxx/helpers/simpledateformat.h:82:89: error: reference to 'locale' is ambiguous
static void addToken(const logchar spec, const int repeat, const std::locale* locale, PatternTokenList& pattern);
^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__locale:105:24: note: candidate found by name lookup is 'std::__1::locale'
class _LIBCPP_TYPE_VIS locale
^
../../../src/main/include/log4cxx/helpers/simpledateformat.h:32:23: note: candidate found by name lookup is 'std::locale'
namespace std { class locale; }
^
../../../src/main/include/log4cxx/helpers/simpledateformat.h:83:78: error: reference to 'locale' is ambiguous
static void parsePattern(const LogString& spec, const std::locale* locale, PatternTokenList& pattern);
^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__locale:105:24: note: candidate found by name lookup is 'std::__1::locale'
class _LIBCPP_TYPE_VIS locale
^
../../../src/main/include/log4cxx/helpers/simpledateformat.h:32:23: note: candidate found by name lookup is 'std::locale'
namespace std { class locale; }
^
3 errors generated.
make[3]: *** [class.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
ERROR
0 0

コメント

mixiユーザー

ログインしてコメントを確認・投稿する

<2020年01月>
   1234
567891011
12131415161718
19202122232425
262728293031