snm-project-team / snm-app

0 stars 0 forks source link

windowsでの開発 #11

Closed to4-yanagi closed 5 years ago

to4-yanagi commented 5 years ago

macほど一筋縄ではいかない(主にwatchman)

windowsとは言いつつBoWに乗ってるので実質Ubuntuでの開発環境構築手順になる

to4-yanagi commented 5 years ago

とりあえず公式に従ってソースからのインストールを試す https://facebook.github.io/watchman/docs/install.html#installing-from-source

$ git clone https://github.com/facebook/watchman.git
$ cd watchman
$ git checkout v4.9.0  # the latest stable release
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install
to4-yanagi commented 5 years ago

./autogen.sh の部分でエラー

エラー① your system lacks libtoolize sudo apt install libtoolで解決(名前が違うのだるい)

to4-yanagi commented 5 years ago

エラー② ./autogen.sh: 行 16: aclocal: コマンドが見つかりません

sudo apt install autotools-dev sudo apt install automake

自分の環境ではautomakeだけで良かった

to4-yanagi commented 5 years ago

エラー③

pkg-config appears to be missing (not available to autoconf tools)
please install the pkg-config package for your system.

sudo apt install pkgconfで解決

to4-yanagi commented 5 years ago

エラー④ pywatchman/bser.c:31:20: fatal error: Python.h: そのようなファイルやディレクトリはありません

sudo apt-get install python-devで解決

to4-yanagi commented 5 years ago

sudo apt-get install python-setuptools

最後にpythonのセットアップツールをインストールして完了も

自分のwindowsが無線カードなくて動作確認できないという事態...

to4-yanagi commented 5 years ago

面倒なのでwindowsで開発しない