2011年07月17日のツイート

2011年07月16日のツイート

2011年07月15日のツイート

2011年07月14日のツイート

MacOS X(10.6.7)にgifsicleを入れたときのエラーと対処

gifsicleをインストールする必要があったので、macports経由でやろうと思った。

sudo port gifsicle

//前略
:info:build gifview.c:13:2: error: #error "You can't compile gifview without X."
:info:build make[2]: *** [gifview.o] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build make[1]: *** [all-recursive] Error 1
:info:build make: *** [all] Error 2
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gifsicle/work/gifsicle-1.42" && /usr/bin/make -j2 all " returned error 2
//以下略


なんかエラー出た。楽しようと思ったのに・・・。

gifview.cがコンパイルできなかったらしい。
中を見てみると

#ifdef X_DISPLAY_MISSING
#error "You can't compile gifview without X."
#endif

なんて書いてあった。
うーん、なんだこれ。深そうだな〜やだな〜怖いな〜。


解決出来ずに帰宅。

自宅でもMacを使ってるので、ちょっと試してみる。

やっぱりエラー出た。

grep してみたら、XxxWin32.cとかなんとかいうソースに
#define X_DISPLAY_MISSING 1
とか書いてあった。

えーWinてなによ?意味不明

試しに

/*コメントアウト
#ifdef X_DISPLAY_MISSING
#error "You can't compile gifview without X."
#endif
コメントアウト*/

で保存し


sudo make -j2 all


エイヤー

あれ?makeできた・・


あれ?インストールできた?



・・・ぇえ?

2011年07月13日のツイート

2011年07月12日のツイート