Tag: MeCab/古い情報
$ ./configure $ make $ sudo make install
cd mecab-ipadic-2.7.0-20070801 $ ./configure --with-charset=utf8 $ make $sudo make install
$ ruby extconf.rb $ make $ sudo make install
$ ./configure $ make $ sudo make install
cd mecab-ipadic-2.7.0-20070801 $ ./configure --with-charset=utf8 $ make $sudo make install
$LDFLAGS = '-L/usr/local/lib'
ln -s /usr/bin/llvm-gcc-4.2 /usr/bin/gcc-4.2 ln -s /usr/bin/llvm-g++-4.2 /usr/bin/g++-4.2
$ ruby extconf.rb $ make $ sudo make install
# -*- encoding: utf-8 -*-
※補足)
/opt/local/lib/ruby1.9/1.9.1/mkmf.rb:368:in `try_do': The complier failed to generate an executable file. (RuntimeError) You have to install development tools first.