menu
書いてる野郎
orebike@gmail.com
窓使いの憂鬱 Linux & Mac (Darwin) 対応版とか配布してるところ ここからダウンロード。
なんとまだ普通にメンテされてた!
Homeで適当に解凍
tar xvzf mayu-0.12.1.tar.gz
中に入って…
cd mayu-0.12.1
設定実行!ドン
./configure
あれなんかたりないみたい
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether the C++ compiler works... no configure: error: in `/home/ya/mayu-0.12.1': configure: error: C++ compiler cannot create executables See `config.log' for more details
うむC++系が無いって言われているね。ソフトウェアセンターで適当に検索多分「gcc」とかだろw そしたら GNU C コンパイラはもう入ってるよって言われたから、じゃ素直に「c++」で検索。「GNU C++コンパイラ」が出てきたのでインストール
では再び
./configure
あれ
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking whether make sets $(MAKE)... (cached) yes checking whether gcc and cc understand -c and -o together... yes checking for udev_new in -ludev... no configure: error: libudev not found
libudevってやつが無いみたいだな。わかんないのでこれもソフトウェアセンターで適当に検索。「udev library」というズバリがあったのでインストール
./configure
今度は
configure: error: libusb-1.0 not found
だって じゃあ次はまた検索して「libusb-dev」をインストールしてみた。だめだ・・・
「libusb-1.0-0-dev」こんなんがあったので入れる。
先に進んだ。なんかソフトウェアセンターの検索は馬鹿っぽいな。次は「boostを入れろと」 これもソフトウェアセンターで「libboost-dev」で検索してドン!
そして
Could not link against
って出た。
前回の経験からこれは
libboost-iostreams-dev
を入れればいいってことがわかっているので入れる。
ドン!ハイ!通った。バンザイ
make
ドン
sudo make install
/usr/local/bin/mayu /usr/local/share/mayu
ここにインストールされたな。