teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

エラー内容を追加しました!

2019/01/24 11:12

投稿

James1201
James1201

スコア15

title CHANGED
File without changes
body CHANGED
@@ -40,27 +40,15 @@
40
40
  環境:macOS,python3
41
41
 
42
42
  ------------------------------------
43
- 追記
43
+ 追記2
44
- すみません、、、他にいつく手立てが無かったのでご提案いただいた
44
+ 原因とわれるエラー内容
45
45
  ```
46
- conda install gcc
46
+ LaboSanonoMacBook:cabocha-master labosano$ pip install python/
47
+ Processing ./python
48
+ Building wheels for collected packages: cabocha-python
49
+ Building wheel for cabocha-python (setup.py) ... error
50
+ Complete output from command /Users/labosano/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/8r/hzsz1dsx5wzbf9g0v381g2gr0000gn/T/pip-req-build-wak99qm4/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /private/var/folders/8r/hzsz1dsx5wzbf9g0v381g2gr0000gn/T/pip-wheel-ax2uozw8 --python-tag cp36:
47
51
  ```
48
- を試してしまい、
49
- 今度はCRF++-0.58の./configureで下記のようなエラーを吐く様になってしまいました...。
50
52
  ```
51
- LaboSanonoMacBook:CRF++-0.58 labosano$ ./configure
52
- checking for a BSD-compatible install... /usr/local/bin/ginstall -c
53
- checking whether build environment is sane... yes
54
- checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
53
+ error: command 'x86_64-apple-darwin13.4.0-clang' failed with exit status 1
55
- checking for gawk... gawk
56
- checking whether make sets $(MAKE)... yes
57
- checking for gcc... gcc
58
- checking whether the C compiler works... yes
59
- checking for C compiler default output file name... a.out
60
- checking for suffix of executables...
61
- checking whether we are cross compiling... configure: error: in `/Users/labosano/CRF++-0.58':
62
- configure: error: cannot run C compiled programs.
63
- If you meant to cross compile, use `--host'.
64
- See `config.log' for more details
65
-
66
54
  ```

1

提案策を試してみました

2019/01/24 11:12

投稿

James1201
James1201

スコア15

title CHANGED
File without changes
body CHANGED
@@ -37,4 +37,30 @@
37
37
  どなたかヒントをご教授いただける方はいませんでしょうか...?
38
38
  よろしくお願いいたします。
39
39
 
40
- 環境:macOS,python3
40
+ 環境:macOS,python3
41
+
42
+ ------------------------------------
43
+ 追記
44
+ すみません、、、他に思いつく手立てが無かったのでご提案いただいた
45
+ ```
46
+ conda install gcc
47
+ ```
48
+ を試してしまい、
49
+ 今度はCRF++-0.58の./configureで下記のようなエラーを吐く様になってしまいました...。
50
+ ```
51
+ LaboSanonoMacBook:CRF++-0.58 labosano$ ./configure
52
+ checking for a BSD-compatible install... /usr/local/bin/ginstall -c
53
+ checking whether build environment is sane... yes
54
+ checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
55
+ checking for gawk... gawk
56
+ checking whether make sets $(MAKE)... yes
57
+ checking for gcc... gcc
58
+ checking whether the C compiler works... yes
59
+ checking for C compiler default output file name... a.out
60
+ checking for suffix of executables...
61
+ checking whether we are cross compiling... configure: error: in `/Users/labosano/CRF++-0.58':
62
+ configure: error: cannot run C compiled programs.
63
+ If you meant to cross compile, use `--host'.
64
+ See `config.log' for more details
65
+
66
+ ```