私はKubuntu 12.04に更新しました。最新のカスタムビルドemacsを除いて、すべてうまく動作します。それは今言う:Emacsをビルドする24.1.50
emacs: symbol lookup error: emacs: undefined symbol: gtk_window_set_has_resize_grip
私はemacsを再構築することにしました。そのために私はgit pull
最新のスナップショットをした、と私は通常どおりにすべてを行っているが、今私は、コンパイル時にエラーが発生します:
In file included from /home/boris/its/blds/emacs/lib-src/emacsclient.c:76:0:
../lib/getopt.h:196:8: error: redefinition of ‘struct option’
/usr/include/getopt.h:106:8: note: originally defined here
../lib/getopt.h:245:12: error: conflicting types for ‘getopt_long’
/usr/include/getopt.h:175:12: note: previous declaration of ‘getopt_long’ was here
../lib/getopt.h:249:12: error: conflicting types for ‘getopt_long_only’
/usr/include/getopt.h:179:12: note: previous declaration of ‘getopt_long_only’ was here
make[1]: *** [emacsclient] Error 1
make[1]: Leaving directory `/home/boris/its/blds/emacs/lib-src'
make: *** [lib-src] Error 2
Google検索は、これらのエラーのほとんど何も示しません。
編集:
以下は(JSONに感謝)、それを解決:emacs-snapshot:
git pull
./autogen.sh
./configure --prefix=/home/boris/its/soft/Emacs_24.1.50
make bootstrap
make install
ゼロからの遵守とppa oneの両方の答えは価値があると思います。あなた自身をすべてコンパイルし、各アップデートでそれを何度も繰り返しコンパイルしたいのであれば(古いものを使用する) - それはあなたの意見です。 – Adobe
はい。と私は間違っている最も明確な答えは、最も単純な解決策ではなく、ソリューションではないという意味で正しいかどうかを明確にしていない。あなたが間違っているのは、そのエラーが競合によって引き起こされていることが分からないためです。 emacsを削除して最初からコンパイルすることによって解決される矛盾。 – doed