【ログ】macOS Big Sur 11.2.2: sudo python setup.py install(cabocha-0.69 の configure, make, make install 実行後)

  • 実行コマンド:sudo python setup.py install
    • cabocha-0.69 の configure, make, make install 実行後
  • 実行日:2021/05/29
  • 実行環境:macOS Big Sur 11.2.2
% sudo python3 setup.py install
running install
running build
running build_py
creating build
creating build/lib.macosx-10.9-x86_64-3.8
copying CaboCha.py -> build/lib.macosx-10.9-x86_64-3.8
running build_ext
building '_CaboCha' extension
creating build/temp.macosx-10.9-x86_64-3.8
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/usr/local/Cellar/cabocha/0.69/include -I/Users/ユーザー名/仮想環境ディレクトリ/include -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c CaboCha_wrap.cxx -o build/temp.macosx-10.9-x86_64-3.8/CaboCha_wrap.o
In file included from CaboCha_wrap.cxx:154:
In file included from /Library/Frameworks/Python.framework/Versions/3.8/include/python3.8/Python.h:85:
In file included from /Library/Frameworks/Python.framework/Versions/3.8/include/python3.8/pytime.h:6:
In file included from /Library/Frameworks/Python.framework/Versions/3.8/include/python3.8/object.h:746:
/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8/cpython/object.h:177:16: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
typedef struct _typeobject {
               ^
CaboCha_wrap.cxx:1947:23: note: in implicit copy assignment operator for '_typeobject' first required here
    swigpyobject_type = tmp;
                      ^
/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
    Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
    ^
/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                     ^
In file included from CaboCha_wrap.cxx:154:
In file included from /Library/Frameworks/Python.framework/Versions/3.8/include/python3.8/Python.h:85:
In file included from /Library/Frameworks/Python.framework/Versions/3.8/include/python3.8/pytime.h:6:
In file included from /Library/Frameworks/Python.framework/Versions/3.8/include/python3.8/object.h:746:
/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8/cpython/object.h:177:16: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
typedef struct _typeobject {
               ^
/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
    Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
    ^
/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                     ^
CaboCha_wrap.cxx:3669:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:3666:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:3871:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:3868:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:3919:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:3916:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:3953:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:3950:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:3985:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:3982:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:4026:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:4023:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:4067:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:4064:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:4118:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:4115:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:4152:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:4149:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:4183:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:4180:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:4214:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:4211:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:4246:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:4243:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:4278:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:4275:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:4310:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:4307:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:4351:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:4348:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:4383:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:4380:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:4423:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:4420:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:4455:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:4452:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:4495:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:4492:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:4527:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:4524:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:4567:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:4564:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:4599:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:4596:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:4622:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:4619:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:4653:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:4650:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:4702:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:4699:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:4746:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:4743:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:4789:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:4786:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:4868:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:4865:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:4891:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:4888:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:4922:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:4919:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:4955:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:4952:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:4980:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:4977:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:5041:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:5038:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:5130:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:5127:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:5225:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:5222:12: note: for type 'char *'
    catch (char *e) {
           ^
CaboCha_wrap.cxx:5320:18: warning: exception of type 'const char *' will be caught by earlier handler [-Wexceptions]
    catch (const char *e) {
                 ^
CaboCha_wrap.cxx:5317:12: note: for type 'char *'
    catch (char *e) {
           ^
38 warnings generated.
warning: no library file corresponding to '-L/usr/local/Cellar/mecab/0.996/lib' found (skipping)
g++ -bundle -undefined dynamic_lookup -arch x86_64 -g build/temp.macosx-10.9-x86_64-3.8/CaboCha_wrap.o -L/usr/local/Cellar/cabocha/0.69/lib -lcabocha -lcrfpp -lmecab -liconv -lmecab -lstdc++ -o build/lib.macosx-10.9-x86_64-3.8/_CaboCha.cpython-38-darwin.so
ld: warning: dylib (/usr/local/Cellar/cabocha/0.69/lib/libcabocha.dylib) was built for newer macOS version (11.0) than being linked (10.9)
ld: warning: dylib (/usr/local/lib/libcrfpp.dylib) was built for newer macOS version (11.0) than being linked (10.9)
ld: warning: dylib (/usr/local/lib/libmecab.dylib) was built for newer macOS version (11.0) than being linked (10.9)
running install_lib
copying build/lib.macosx-10.9-x86_64-3.8/_CaboCha.cpython-38-darwin.so -> /Users/ユーザー名/仮想環境ディレクトリ/lib/python3.8/site-packages
copying build/lib.macosx-10.9-x86_64-3.8/CaboCha.py -> /Users/ユーザー名/仮想環境ディレクトリ/lib/python3.8/site-packages
byte-compiling /Users/ユーザー名/仮想環境ディレクトリ/lib/python3.8/site-packages/CaboCha.py to CaboCha.cpython-38.pyc
running install_egg_info
Writing /Users/ユーザー名/仮想環境ディレクトリ/lib/python3.8/site-packages/cabocha_python-0.69-py3.8.egg-info
%

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です