OS X 10.6.8 を搭載した MacbookPro に Lektor をインストールしようとしています。
Imagemagick と Python2.7 は既にインストールされています。
インストール コマンドを実行すると、次のようになります。
curl -sf https://www.getlektor.com/install.sh | sh
ビルド プロセスは、'_watchdog_fsevents' 拡張機能のビルド時にエラーが発生するまで実行されます。エラーは次のとおりです。
cc1: エラー: -Werror=unused-command-line-argument-hard-error-in-future: オプションなし -Wunused-command-line-argument-hard-error-in-future
エラーの直前の出力を切り取って、次のコード セクションに貼り付けました。
これをどのように克服すればよいですか?
running build_ext
building '_watchdog_fsevents' extension
creating build/temp.macosx-10.6-x86_64-2.7
creating build/temp.macosx-10.6-x86_64-2.7/src
gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -I/usr/local/opt/sqlite/include -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -Wno-error=unused-command-line-argument-hard-error-in-future -DWATCHDOG_VERSION_STRING="0.8.3" -DWATCHDOG_VERSION_MAJOR=0 -DWATCHDOG_VERSION_MINOR=8 -DWATCHDOG_VERSION_BUILD=3 -I/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/watchdog_fsevents.c -o build/temp.macosx-10.6-x86_64-2.7/src/watchdog_fsevents.o -std=c99 -pedantic -Wall -Wextra -fPIC -Wno-error=unused-command-line-argument-hard-error-in-future
cc1: error: -Werror=unused-command-line-argument-hard-error-in-future: No option -Wunused-command-line-argument-hard-error-in-future
cc1: error: -Werror=unused-command-line-argument-hard-error-in-future: No option -Wunused-command-line-argument-hard-error-in-future
error: command 'gcc-4.2' failed with exit status 1
----------------------------------------
Failed building wheel for watchdog
Failed to build watchdog