Pebble Coding

ソフトウェアエンジニアによるIT技術、数学の備忘録

MacVimのコンパイルに失敗する

この手順でコンパイルしようとすると、configureコマンドで失敗する。
github.com

エラーログの最後はこんな感じ。

checking for tgetent in -ltermlib... no
checking for tgetent in -ltermcap... no
checking for tgetent in -lcurses... no
no terminal library found
checking for tgetent()... configure: error: NOT FOUND!
      You need to install a terminal library; for example ncurses.
      Or specify the name of the library with --with-tlib.

だが、エラーログの最初のあたりで ここがnoになっているのがそもそもおかしい。

checking for sys/types.h... no

調べまくった挙句、 .bashrcファイルにコレを設定していたのが原因だった。

export DEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer/"

これ、なんで入れたのか覚えてないよ。
とりあえず、外しとこう。