Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KEINOS/48e672474516073de0aac768d4ecb3cc to your computer and use it in GitHub Desktop.
Save KEINOS/48e672474516073de0aac768d4ecb3cc to your computer and use it in GitHub Desktop.
[Log] Installing php-mecab to macOS HighSierra (OSX 10.13.3)
$ ##################################################
$ # Downloading php-mecab
$ ##################################################
$
$ ~/
$ wget --version
GNU Wget 1.19.4 built on darwin17.3.0.
-cares +digest -gpgme +https +ipv6 +iri +large-file -metalink +nls
+ntlm +opie -psl +ssl/openssl
Wgetrc:
/usr/local/etc/wgetrc (system)
ロケール:
/usr/local/Cellar/wget/1.19.4_1/share/locale
コンパイル:
clang -DHAVE_CONFIG_H -DSYSTEM_WGETRC="/usr/local/etc/wgetrc"
-DLOCALEDIR="/usr/local/Cellar/wget/1.19.4_1/share/locale" -I.
-I../lib -I../lib -I/usr/local/opt/openssl/include -DNDEBUG
リンク:
clang -DNDEBUG -lidn2 -L/usr/local/opt/openssl/lib -lssl -lcrypto
-ldl -lz ftp-opie.o openssl.o http-ntlm.o ../lib/libgnu.a -liconv
-lintl -Wl,-framework -Wl,CoreFoundation -lunistring
Copyright (C) 2015 Free Software Foundation, Inc.
ライセンス GPLv3+: GNU GPL バージョン 3 あるいはそれ以降のバージョン
<http://www.gnu.org/licenses/gpl.html>.
このソフトウェアはフリーソフトウェアです。自由に変更、再配布ができます。
法律が許すかぎり、全くの無保証です。
Hrvoje Niksic <hniksic@xemacs.org> によって書かれました。
バグ報告や質問は<bug-wget@gnu.org>へ
$ wget https://github.com/rsky/php-mecab/archive/v0.6.0.tar.gz
--2018-03-05 20:49:55-- https://github.com/rsky/php-mecab/archive/v0.6.0.tar.gz
github.com (github.com) をDNSに問いあわせています... 192.30.255.112, 192.30.255.113
github.com (github.com)|192.30.255.112|:443 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 302 Found
場所: https://codeload.github.com/rsky/php-mecab/tar.gz/v0.6.0 [続く]
--2018-03-05 20:49:56-- https://codeload.github.com/rsky/php-mecab/tar.gz/v0.6.0
codeload.github.com (codeload.github.com) をDNSに問いあわせています... 192.30.255.120, 192.30.255.121
codeload.github.com (codeload.github.com)|192.30.255.120|:443 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 54864 (54K) [application/x-gzip]
`v0.6.0.tar.gz' に保存中
v0.6.0.tar.gz 100%[===========================>] 53.58K 208KB/s 時間 0.3s
2018-03-05 20:49:57 (208 KB/s) - `v0.6.0.tar.gz' へ保存完了 [54864/54864]
$ tar xvzf v0.6.0.tar.gz
x php-mecab-0.6.0/
x php-mecab-0.6.0/.gitignore
x php-mecab-0.6.0/ChangeLog.md
x php-mecab-0.6.0/README.md
x php-mecab-0.6.0/mecab/
x php-mecab-0.6.0/mecab/.gitignore
x php-mecab-0.6.0/mecab/CREDITS
x php-mecab-0.6.0/mecab/LICENSE
x php-mecab-0.6.0/mecab/README
x php-mecab-0.6.0/mecab/config.m4
x php-mecab-0.6.0/mecab/config.w32
x php-mecab-0.6.0/mecab/examples/
x php-mecab-0.6.0/mecab/examples/allmorphs-func.php
x php-mecab-0.6.0/mecab/examples/allmorphs-ns.php
x php-mecab-0.6.0/mecab/examples/allmorphs-oo.php
x php-mecab-0.6.0/mecab/examples/common.inc.php
x php-mecab-0.6.0/mecab/examples/dicinfo-func.php
x php-mecab-0.6.0/mecab/examples/dicinfo-ns.php
x php-mecab-0.6.0/mecab/examples/dicinfo-oo.php
x php-mecab-0.6.0/mecab/examples/dumpall-func.php
x php-mecab-0.6.0/mecab/examples/dumpall-ns.php
x php-mecab-0.6.0/mecab/examples/dumpall-ns2.php
x php-mecab-0.6.0/mecab/examples/dumpall-oo.php
x php-mecab-0.6.0/mecab/examples/dumpall-oo2.php
x php-mecab-0.6.0/mecab/examples/format-func.php
x php-mecab-0.6.0/mecab/examples/format-ns.php
x php-mecab-0.6.0/mecab/examples/format-ns2.php
x php-mecab-0.6.0/mecab/examples/format-oo.php
x php-mecab-0.6.0/mecab/examples/format-oo2.php
x php-mecab-0.6.0/mecab/examples/nbest-func.php
x php-mecab-0.6.0/mecab/examples/nbest-ns.php
x php-mecab-0.6.0/mecab/examples/nbest-oo.php
x php-mecab-0.6.0/mecab/examples/parse-func.php
x php-mecab-0.6.0/mecab/examples/parse-ns.php
x php-mecab-0.6.0/mecab/examples/parse-oo.php
x php-mecab-0.6.0/mecab/examples/provides-r.php
x php-mecab-0.6.0/mecab/examples/provides.php
x php-mecab-0.6.0/mecab/examples/split-func.php
x php-mecab-0.6.0/mecab/examples/split-ns.php
x php-mecab-0.6.0/mecab/examples/split-oo.php
x php-mecab-0.6.0/mecab/examples/test-func.php
x php-mecab-0.6.0/mecab/examples/test-ns.php
x php-mecab-0.6.0/mecab/examples/test-oo.php
x php-mecab-0.6.0/mecab/examples/wakati-func.php
x php-mecab-0.6.0/mecab/examples/wakati-ns.php
x php-mecab-0.6.0/mecab/examples/wakati-oo.php
x php-mecab-0.6.0/mecab/mecab.dsp
x php-mecab-0.6.0/mecab/mecab5.c
x php-mecab-0.6.0/mecab/mecab7.c
x php-mecab-0.6.0/mecab/package.php
x php-mecab-0.6.0/mecab/package.xml
x php-mecab-0.6.0/mecab/php_mecab.h
x php-mecab-0.6.0/mecab/php_mecab_compat5.h
x php-mecab-0.6.0/mecab/php_mecab_compat7.h
x php-mecab-0.6.0/mecab/tests/
x php-mecab-0.6.0/mecab/tests/.gitignore
x php-mecab-0.6.0/mecab/tests/MeCab_Node__getAlpha.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Node__getBNext.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Node__getBeta.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Node__getCharType.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Node__getCost.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Node__getENext.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Node__getFeature.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Node__getId.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Node__getIterator.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Node__getLPath.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Node__getLcAttr.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Node__getLength.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Node__getNext.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Node__getPosId.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Node__getPrev.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Node__getProb.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Node__getRLength.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Node__getRPath.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Node__getRcAttr.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Node__getStat.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Node__getSurface.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Node__getWCost.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Node__isBest.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Node__setTraverse.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Node__toArray.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Node__toString.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Path__getCost.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Path__getLNext.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Path__getLNode.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Path__getProb.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Path__getRNext.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Path__getRNode.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Tagger__dictionaryInfo.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Tagger__formatNode.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Tagger__new.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Tagger__next.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Tagger__nextNode.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Tagger__parse.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Tagger__parseNBest.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Tagger__parseNBestInit.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Tagger__parseToNode.phpt
x php-mecab-0.6.0/mecab/tests/MeCab_Tagger__parseToString.phpt
x php-mecab-0.6.0/mecab/tests/MeCab__split.phpt
x php-mecab-0.6.0/mecab/tests/MeCab__version.phpt
x php-mecab-0.6.0/mecab/tests/mecab_dictionary_info.phpt
x php-mecab-0.6.0/mecab/tests/mecab_format_node.phpt
x php-mecab-0.6.0/mecab/tests/mecab_nbest_init.phpt
x php-mecab-0.6.0/mecab/tests/mecab_nbest_next_tonode.phpt
x php-mecab-0.6.0/mecab/tests/mecab_nbest_next_tostr.phpt
x php-mecab-0.6.0/mecab/tests/mecab_nbest_sparse_tostr.phpt
x php-mecab-0.6.0/mecab/tests/mecab_new.phpt
x php-mecab-0.6.0/mecab/tests/mecab_node_alpha.phpt
x php-mecab-0.6.0/mecab/tests/mecab_node_beta.phpt
x php-mecab-0.6.0/mecab/tests/mecab_node_bnext.phpt
x php-mecab-0.6.0/mecab/tests/mecab_node_char_type.phpt
x php-mecab-0.6.0/mecab/tests/mecab_node_cost.phpt
x php-mecab-0.6.0/mecab/tests/mecab_node_enext.phpt
x php-mecab-0.6.0/mecab/tests/mecab_node_feature.phpt
x php-mecab-0.6.0/mecab/tests/mecab_node_id.phpt
x php-mecab-0.6.0/mecab/tests/mecab_node_isbest.phpt
x php-mecab-0.6.0/mecab/tests/mecab_node_lcattr.phpt
x php-mecab-0.6.0/mecab/tests/mecab_node_length.phpt
x php-mecab-0.6.0/mecab/tests/mecab_node_lpath.phpt
x php-mecab-0.6.0/mecab/tests/mecab_node_next.phpt
x php-mecab-0.6.0/mecab/tests/mecab_node_posid.phpt
x php-mecab-0.6.0/mecab/tests/mecab_node_prev.phpt
x php-mecab-0.6.0/mecab/tests/mecab_node_prob.phpt
x php-mecab-0.6.0/mecab/tests/mecab_node_rcattr.phpt
x php-mecab-0.6.0/mecab/tests/mecab_node_rlength.phpt
x php-mecab-0.6.0/mecab/tests/mecab_node_rpath.phpt
x php-mecab-0.6.0/mecab/tests/mecab_node_stat.phpt
x php-mecab-0.6.0/mecab/tests/mecab_node_surface.phpt
x php-mecab-0.6.0/mecab/tests/mecab_node_toarray.phpt
x php-mecab-0.6.0/mecab/tests/mecab_node_tostring.phpt
x php-mecab-0.6.0/mecab/tests/mecab_node_wcost.phpt
x php-mecab-0.6.0/mecab/tests/mecab_path_cost.phpt
x php-mecab-0.6.0/mecab/tests/mecab_path_lnext.phpt
x php-mecab-0.6.0/mecab/tests/mecab_path_lnode.phpt
x php-mecab-0.6.0/mecab/tests/mecab_path_prob.phpt
x php-mecab-0.6.0/mecab/tests/mecab_path_rnext.phpt
x php-mecab-0.6.0/mecab/tests/mecab_path_rnode.phpt
x php-mecab-0.6.0/mecab/tests/mecab_sparse_tonode.phpt
x php-mecab-0.6.0/mecab/tests/mecab_sparse_tostr.phpt
x php-mecab-0.6.0/mecab/tests/mecab_split.phpt
x php-mecab-0.6.0/mecab/tests/mecab_version.phpt
x php-mecab-0.6.0/mecab/tests/test.txt.eucjp
x php-mecab-0.6.0/packages/
x php-mecab-0.6.0/packages/debian/
x php-mecab-0.6.0/packages/debian/.gitignore
x php-mecab-0.6.0/packages/debian/README.md
x php-mecab-0.6.0/packages/debian/debian-control.diff
x php-mecab-0.6.0/packages/ubuntu/
x php-mecab-0.6.0/packages/ubuntu/.gitignore
x php-mecab-0.6.0/packages/ubuntu/README.md
x php-mecab-0.6.0/packages/ubuntu/debian-control.diff
$ rm v0.6.0.tar.gz
$ ##################################################
$ # Installing php-mecab
$ ##################################################
$
$ cd php-mecab-0.6.0
$
$ phpize
Cannot find config.m4.
Make sure that you run '/usr/local/Cellar/php71/7.1.8_20/bin/phpize' in the top level source directory of the module
$ ls
ChangeLog.md README.md mecab packages
$ cd mecab
mecab admin$ ls
CREDITS examples package.xml
LICENSE mecab.dsp php_mecab.h
README mecab5.c php_mecab_compat5.h
config.m4 mecab7.c php_mecab_compat7.h
config.w32 package.php tests
$ phpize
Configuring for:
PHP Api Version: 20160303
Zend Module Api No: 20160303
Zend Extension Api No: 320160303
$ ls
CREDITS config.m4 mecab7.c
LICENSE config.sub missing
Makefile.global config.w32 mkinstalldirs
README configure package.php
acinclude.m4 configure.in package.xml
aclocal.m4 examples php_mecab.h
autom4te.cache install-sh php_mecab_compat5.h
build ltmain.sh php_mecab_compat7.h
config.guess mecab.dsp run-tests.php
config.h.in mecab5.c tests
$ ./configure --with-php-config=/usr/local/Cellar/php71/7.1.8_20/bin/php-config --with-mecab=/usr/local/bin/mecab-config
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-apple-darwin17.4.0
checking host system type... x86_64-apple-darwin17.4.0
checking target system type... x86_64-apple-darwin17.4.0
checking for PHP prefix... /usr/local/Cellar/php71/7.1.8_20
checking for PHP includes... -I/usr/local/Cellar/php71/7.1.8_20/include/php -I/usr/local/Cellar/php71/7.1.8_20/include/php/main -I/usr/local/Cellar/php71/7.1.8_20/include/php/TSRM -I/usr/local/Cellar/php71/7.1.8_20/include/php/Zend -I/usr/local/Cellar/php71/7.1.8_20/include/php/ext -I/usr/local/Cellar/php71/7.1.8_20/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/Cellar/php71/7.1.8_20/lib/php/extensions/no-debug-non-zts-20160303
checking for PHP installed headers prefix... /usr/local/Cellar/php71/7.1.8_20/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking whether to enable MeCab support... yes, shared
checking for mecab-config... /usr/local/bin/mecab-config
checking for MeCab library version... 0.996 (ok)
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking mecab.h usability... yes
checking mecab.h presence... yes
checking for mecab.h... yes
checking for mecab_new2 in -lmecab... yes
checking for PHP version... build for 7.1.8
checking for ld used by cc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fno-common
checking if cc PIC flag -fno-common works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin17.4.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
$ make
/bin/sh /Volumes/PATH/TO/DOWNLOADED/php-mecab-0.6.0/mecab/libtool --mode=compile cc -I. -I/Volumes/PATH/TO/DOWNLOADED/php-mecab-0.6.0/mecab -DPHP_ATOM_INC -I/Volumes/PATH/TO/DOWNLOADED/php-mecab-0.6.0/mecab/include -I/Volumes/PATH/TO/DOWNLOADED/php-mecab-0.6.0/mecab/main -I/Volumes/PATH/TO/DOWNLOADED/php-mecab-0.6.0/mecab -I/usr/local/Cellar/php71/7.1.8_20/include/php -I/usr/local/Cellar/php71/7.1.8_20/include/php/main -I/usr/local/Cellar/php71/7.1.8_20/include/php/TSRM -I/usr/local/Cellar/php71/7.1.8_20/include/php/Zend -I/usr/local/Cellar/php71/7.1.8_20/include/php/ext -I/usr/local/Cellar/php71/7.1.8_20/include/php/ext/date/lib -I/usr/local/Cellar/mecab/0.996/include -DHAVE_CONFIG_H -g -O2 -c /Volumes/PATH/TO/DOWNLOADED/php-mecab-0.6.0/mecab/mecab7.c -o mecab7.lo
mkdir .libs
cc -I. -I/Volumes/PATH/TO/DOWNLOADED/php-mecab-0.6.0/mecab -DPHP_ATOM_INC -I/Volumes/PATH/TO/DOWNLOADED/php-mecab-0.6.0/mecab/include -I/Volumes/PATH/TO/DOWNLOADED/php-mecab-0.6.0/mecab/main -I/Volumes/PATH/TO/DOWNLOADED/php-mecab-0.6.0/mecab -I/usr/local/Cellar/php71/7.1.8_20/include/php -I/usr/local/Cellar/php71/7.1.8_20/include/php/main -I/usr/local/Cellar/php71/7.1.8_20/include/php/TSRM -I/usr/local/Cellar/php71/7.1.8_20/include/php/Zend -I/usr/local/Cellar/php71/7.1.8_20/include/php/ext -I/usr/local/Cellar/php71/7.1.8_20/include/php/ext/date/lib -I/usr/local/Cellar/mecab/0.996/include -DHAVE_CONFIG_H -g -O2 -c /Volumes/PATH/TO/DOWNLOADED/php-mecab-0.6.0/mecab/mecab7.c -fno-common -DPIC -o .libs/mecab7.o
/bin/sh /Volumes/PATH/TO/DOWNLOADED/php-mecab-0.6.0/mecab/libtool --mode=link cc -DPHP_ATOM_INC -I/Volumes/PATH/TO/DOWNLOADED/php-mecab-0.6.0/mecab/include -I/Volumes/PATH/TO/DOWNLOADED/php-mecab-0.6.0/mecab/main -I/Volumes/PATH/TO/DOWNLOADED/php-mecab-0.6.0/mecab -I/usr/local/Cellar/php71/7.1.8_20/include/php -I/usr/local/Cellar/php71/7.1.8_20/include/php/main -I/usr/local/Cellar/php71/7.1.8_20/include/php/TSRM -I/usr/local/Cellar/php71/7.1.8_20/include/php/Zend -I/usr/local/Cellar/php71/7.1.8_20/include/php/ext -I/usr/local/Cellar/php71/7.1.8_20/include/php/ext/date/lib -I/usr/local/Cellar/mecab/0.996/include -DHAVE_CONFIG_H -g -O2 -o mecab.la -export-dynamic -avoid-version -prefer-pic -module -rpath /Volumes/PATH/TO/DOWNLOADED/php-mecab-0.6.0/mecab/modules mecab7.lo -Wl,-rpath,/usr/local/Cellar/mecab/0.996/lib -L/usr/local/Cellar/mecab/0.996/lib -lmecab -lstdc++
cc ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/mecab.so -bundle .libs/mecab7.o -L/usr/local/Cellar/mecab/0.996/lib -lmecab -lstdc++ -Wl,-rpath -Wl,/usr/local/Cellar/mecab/0.996/lib
dsymutil .libs/mecab.so || :
creating mecab.la
(cd .libs && rm -f mecab.la && ln -s ../mecab.la mecab.la)
/bin/sh /Volumes/PATH/TO/DOWNLOADED/php-mecab-0.6.0/mecab/libtool --mode=install cp ./mecab.la /Volumes/PATH/TO/DOWNLOADED/php-mecab-0.6.0/mecab/modules
cp ./.libs/mecab.so /Volumes/PATH/TO/DOWNLOADED/php-mecab-0.6.0/mecab/modules/mecab.so
cp ./.libs/mecab.lai /Volumes/PATH/TO/DOWNLOADED/php-mecab-0.6.0/mecab/modules/mecab.la
----------------------------------------------------------------------
Libraries have been installed in:
/Volumes/PATH/TO/DOWNLOADED/php-mecab-0.6.0/mecab/modules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable
during execution
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Build complete.
Don't forget to run 'make test'.
$ make test
Build complete.
Don't forget to run 'make test'.
=====================================================================
PHP : /usr/local/Cellar/php71/7.1.8_20/bin/php
PHP_SAPI : cli
PHP_VERSION : 7.1.8
ZEND_VERSION: 3.1.0
PHP_OS : Darwin - Darwin MacBook-Pro.local 17.4.0 Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST 2017; root:xnu-4570.41.2~1/RELEASE_X86_64 x86_64
INI actual : /Volumes/PATH/TO/DOWNLOADED/php-mecab-0.6.0/mecab/tmp-php.ini
More .INIs :
CWD : /Volumes/PATH/TO/DOWNLOADED/php-mecab-0.6.0/mecab
Extra dirs :
VALGRIND : Not used
=====================================================================
TIME START 2018-03-05 13:08:43
=====================================================================
SKIP MeCab\Node::getAlpha() member function [tests/MeCab_Node__getAlpha.phpt] reason: test is not implemented
SKIP MeCab\Node::getBNext() member function [tests/MeCab_Node__getBNext.phpt] reason: test is not implemented
SKIP MeCab\Node::getBeta() member function [tests/MeCab_Node__getBeta.phpt] reason: test is not implemented
SKIP MeCab\Node::getCharType() member function [tests/MeCab_Node__getCharType.phpt] reason: test is not implemented
SKIP MeCab\Node::getCost() member function [tests/MeCab_Node__getCost.phpt] reason: test is not implemented
SKIP MeCab\Node::getENext() member function [tests/MeCab_Node__getENext.phpt] reason: test is not implemented
SKIP MeCab\Node::getFeature() member function [tests/MeCab_Node__getFeature.phpt] reason: test is not implemented
SKIP MeCab\Node::getId() member function [tests/MeCab_Node__getId.phpt] reason: test is not implemented
SKIP MeCab\Node::getIterator() member function [tests/MeCab_Node__getIterator.phpt] reason: test is not implemented
SKIP MeCab\Node::getLPath() member function [tests/MeCab_Node__getLPath.phpt] reason: test is not implemented
SKIP MeCab\Node::getLcAttr() member function [tests/MeCab_Node__getLcAttr.phpt] reason: test is not implemented
SKIP MeCab\Node::getLength() member function [tests/MeCab_Node__getLength.phpt] reason: test is not implemented
SKIP MeCab\Node::getNext() member function [tests/MeCab_Node__getNext.phpt] reason: test is not implemented
SKIP MeCab\Node::getPosId() member function [tests/MeCab_Node__getPosId.phpt] reason: test is not implemented
SKIP MeCab\Node::getPrev() member function [tests/MeCab_Node__getPrev.phpt] reason: test is not implemented
SKIP MeCab\Node::getProb() member function [tests/MeCab_Node__getProb.phpt] reason: test is not implemented
SKIP MeCab\Node::getRLength() member function [tests/MeCab_Node__getRLength.phpt] reason: test is not implemented
SKIP MeCab\Node::getRPath() member function [tests/MeCab_Node__getRPath.phpt] reason: test is not implemented
SKIP MeCab\Node::getRcAttr() member function [tests/MeCab_Node__getRcAttr.phpt] reason: test is not implemented
SKIP MeCab\Node::getStat() member function [tests/MeCab_Node__getStat.phpt] reason: test is not implemented
SKIP MeCab\Node::getSurface() member function [tests/MeCab_Node__getSurface.phpt] reason: test is not implemented
SKIP MeCab\Node::getWCost() member function [tests/MeCab_Node__getWCost.phpt] reason: test is not implemented
SKIP MeCab\Node::isBest() member function [tests/MeCab_Node__isBest.phpt] reason: test is not implemented
SKIP MeCab\Node::setTraverse() member function [tests/MeCab_Node__setTraverse.phpt] reason: test is not implemented
SKIP MeCab\Node::toArray() member function [tests/MeCab_Node__toArray.phpt] reason: test is not implemented
SKIP MeCab\Node::toString() member function [tests/MeCab_Node__toString.phpt] reason: test is not implemented
SKIP MeCab\Path::getCost() member function [tests/MeCab_Path__getCost.phpt] reason: test is not implemented
SKIP MeCab\Path::getLNext() member function [tests/MeCab_Path__getLNext.phpt] reason: test is not implemented
SKIP MeCab\Path::getLNode() member function [tests/MeCab_Path__getLNode.phpt] reason: test is not implemented
SKIP MeCab\Path::getProb() member function [tests/MeCab_Path__getProb.phpt] reason: test is not implemented
SKIP MeCab\Path::getRNext() member function [tests/MeCab_Path__getRNext.phpt] reason: test is not implemented
SKIP MeCab\Path::getRNode() member function [tests/MeCab_Path__getRNode.phpt] reason: test is not implemented
SKIP MeCab\Tagger::dictionaryInfo() member function [tests/MeCab_Tagger__dictionaryInfo.phpt] reason: test is not implemented
SKIP MeCab\Tagger::formatNode() member function [tests/MeCab_Tagger__formatNode.phpt] reason: test is not implemented
PASS instantiate MeCab\Tagger [tests/MeCab_Tagger__new.phpt]
SKIP MeCab\Tagger::next() member function [tests/MeCab_Tagger__next.phpt] reason: test is not implemented
SKIP MeCab\Tagger::nextNode() member function [tests/MeCab_Tagger__nextNode.phpt] reason: test is not implemented
SKIP MeCab\Tagger::parse() member function [tests/MeCab_Tagger__parse.phpt] reason: test is not implemented
SKIP MeCab\Tagger::parseNBest() member function [tests/MeCab_Tagger__parseNBest.phpt] reason: test is not implemented
SKIP MeCab\Tagger::parseNBestInit() member function [tests/MeCab_Tagger__parseNBestInit.phpt] reason: test is not implemented
SKIP MeCab\Tagger::parseToNode() member function [tests/MeCab_Tagger__parseToNode.phpt] reason: test is not implemented
SKIP MeCab\Tagger::parseToString() member function [tests/MeCab_Tagger__parseToString.phpt] reason: test is not implemented
PASS MeCab\split() member function [tests/MeCab__split.phpt]
PASS MeCab\version() function [tests/MeCab__version.phpt]
SKIP mecab_dictionary_info() function [tests/mecab_dictionary_info.phpt] reason: this feature is not available in PHP 7
SKIP mecab_format_node() function [tests/mecab_format_node.phpt] reason: this feature is not available in PHP 7
SKIP mecab_nbest_init() function [tests/mecab_nbest_init.phpt] reason: this feature is not available in PHP 7
SKIP mecab_nbest_next_tonode() function [tests/mecab_nbest_next_tonode.phpt] reason: this feature is not available in PHP 7
SKIP mecab_nbest_next_tostr() function [tests/mecab_nbest_next_tostr.phpt] reason: this feature is not available in PHP 7
SKIP mecab_nbest_sparse_tostr() function [tests/mecab_nbest_sparse_tostr.phpt] reason: this feature is not available in PHP 7
SKIP mecab_new() function [tests/mecab_new.phpt] reason: this feature is not available in PHP 7
SKIP mecab_node_alpha() function [tests/mecab_node_alpha.phpt] reason: this feature is not available in PHP 7
SKIP mecab_node_beta() function [tests/mecab_node_beta.phpt] reason: this feature is not available in PHP 7
SKIP mecab_node_bnext() function [tests/mecab_node_bnext.phpt] reason: this feature is not available in PHP 7
SKIP mecab_node_char_type() function [tests/mecab_node_char_type.phpt] reason: this feature is not available in PHP 7
SKIP mecab_node_cost() function [tests/mecab_node_cost.phpt] reason: this feature is not available in PHP 7
SKIP mecab_node_enext() function [tests/mecab_node_enext.phpt] reason: this feature is not available in PHP 7
SKIP mecab_node_feature() function [tests/mecab_node_feature.phpt] reason: this feature is not available in PHP 7
SKIP mecab_node_id() function [tests/mecab_node_id.phpt] reason: this feature is not available in PHP 7
SKIP mecab_node_isbest() function [tests/mecab_node_isbest.phpt] reason: this feature is not available in PHP 7
SKIP mecab_node_lcattr() function [tests/mecab_node_lcattr.phpt] reason: this feature is not available in PHP 7
SKIP mecab_node_length() function [tests/mecab_node_length.phpt] reason: this feature is not available in PHP 7
SKIP mecab_node_lpath() function [tests/mecab_node_lpath.phpt] reason: this feature is not available in PHP 7
SKIP mecab_node_next() function [tests/mecab_node_next.phpt] reason: this feature is not available in PHP 7
SKIP mecab_node_posid() function [tests/mecab_node_posid.phpt] reason: this feature is not available in PHP 7
SKIP mecab_node_prev() function [tests/mecab_node_prev.phpt] reason: this feature is not available in PHP 7
SKIP mecab_node_prob() function [tests/mecab_node_prob.phpt] reason: this feature is not available in PHP 7
SKIP mecab_node_rcattr() function [tests/mecab_node_rcattr.phpt] reason: this feature is not available in PHP 7
SKIP mecab_node_rlength() function [tests/mecab_node_rlength.phpt] reason: this feature is not available in PHP 7
SKIP mecab_node_rpath() function [tests/mecab_node_rpath.phpt] reason: this feature is not available in PHP 7
SKIP mecab_node_stat() function [tests/mecab_node_stat.phpt] reason: this feature is not available in PHP 7
SKIP mecab_node_surface() function [tests/mecab_node_surface.phpt] reason: this feature is not available in PHP 7
SKIP mecab_node_toarray() function [tests/mecab_node_toarray.phpt] reason: this feature is not available in PHP 7
SKIP mecab_node_tostring() function [tests/mecab_node_tostring.phpt] reason: this feature is not available in PHP 7
SKIP mecab_node_wcost() function [tests/mecab_node_wcost.phpt] reason: this feature is not available in PHP 7
SKIP mecab_path_cost() function [tests/mecab_path_cost.phpt] reason: this feature is not available in PHP 7
SKIP mecab_path_lnext() function [tests/mecab_path_lnext.phpt] reason: this feature is not available in PHP 7
SKIP mecab_path_lnode() function [tests/mecab_path_lnode.phpt] reason: this feature is not available in PHP 7
SKIP mecab_path_prob() function [tests/mecab_path_prob.phpt] reason: this feature is not available in PHP 7
SKIP mecab_path_rnext() function [tests/mecab_path_rnext.phpt] reason: this feature is not available in PHP 7
SKIP mecab_path_rnode() function [tests/mecab_path_rnode.phpt] reason: this feature is not available in PHP 7
SKIP mecab_sparse_tonode() function [tests/mecab_sparse_tonode.phpt] reason: this feature is not available in PHP 7
SKIP mecab_sparse_tostr() function [tests/mecab_sparse_tostr.phpt] reason: this feature is not available in PHP 7
SKIP mecab_split() function [tests/mecab_split.phpt] reason: this feature is not available in PHP 7
SKIP mecab_version() function [tests/mecab_version.phpt] reason: this feature is not available in PHP 7
=====================================================================
TIME END 2018-03-05 13:08:48
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 0
Exts tested : 56
---------------------------------------------------------------------
Number of tests : 85 3
Tests skipped : 82 ( 96.5%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 0 ( 0.0%) ( 0.0%)
Expected fail : 0 ( 0.0%) ( 0.0%)
Tests passed : 3 ( 3.5%) (100.0%)
---------------------------------------------------------------------
Time taken : 5 seconds
=====================================================================
This report can be automatically sent to the PHP QA team at
http://qa.php.net/reports and http://news.php.net/php.qa.reports
This gives us a better understanding of PHP's behavior.
If you don't want to send the report immediately you can choose
option "s" to save it. You can then email it to qa-reports@lists.php.net later.
Do you want to send this report now? [Yns]: n
$ sudo make install
Password:
Installing shared extensions: /usr/local/Cellar/php71/7.1.8_20/lib/php/extensions/no-debug-non-zts-20160303/
$
$ ls /usr/local/Cellar/php71/7.1.8_20/lib/php/extensions/no-debug-non-zts-20160303/
mecab.so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment