劑量任何人都有在Mac OS上安裝pythai的經驗。 我收到以下錯誤,當我試着和安裝「PIP安裝pythai」Pythai在Mac OS上
gcc -fno-strict-aliasing -I/Users/roopal/anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/roopal/anaconda/include/python2.7 -c pythai/libthai.c -o build/temp.macosx-10.6-x86_64-2.7/pythai/libthai.o
pythai/libthai.c:3:10: fatal error: 'thai/thbrk.h' file not found
#include <thai/thbrk.h>
^
1 error generated.
error: command 'gcc' failed with exit status 1
不知道從哪裏得到,並把泰國/ thbrk.h文件
那麼,這是很多步驟......爲什麼不在Debian docker容器中運行? :) –
@ cricket_007這就是你從零開始建立一個庫時所要做的。你通常不需要'autogen.sh'部分,因爲'configure'通常是事先建立的,但在這種情況下並不是。它實際上不是那*很多工作... – MattDMo