ubuntu 10.4等最近のOSで、subversion1.4.xをconfigure => make => make install しようとするとconfigureの段階で問題が発生します。
$ tar zxvf subversion-1.4.6.tar.gz $ cd subversion-1.4.6 $ ./autogen.sh ... configure.in:146: warning: LTOPTIONS_VERSION is m4_require'd but not m4_defun'd build/libtool.m4:67: LT_INIT is expanded from... build/libtool.m4:102: AC_PROG_LIBTOOL is expanded from... configure.in:146: the top level configure.in:146: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd configure.in:146: warning: LTVERSION_VERSION is m4_require'd but not m4_defun'd configure.in:146: warning: LTOBSOLETE_VERSION is m4_require'd but not m4_defun'd Creating configure... configure.in:146: warning: LTOPTIONS_VERSION is m4_require'd but not m4_defun'd build/libtool.m4:67: LT_INIT is expanded from... build/libtool.m4:102: AC_PROG_LIBTOOL is expanded from... configure.in:146: the top level configure.in:146: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd configure.in:146: warning: LTVERSION_VERSION is m4_require'd but not m4_defun'd configure.in:146: warning: LTOBSOLETE_VERSION is m4_require'd but not m4_defun'd configure:5904: error: possibly undefined macro: m4_ifval If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure:8391: error: possibly undefined macro: _LT_SET_OPTIONS configure:8391: error: possibly undefined macro: LT_INIT ...
どうもlibtoolの変更に伴う問題みたいなので(仕方なく)調べました。
■解決方法
参考ページによると*.m4系の内容が別々のファイルに分離したのが問題っぽいので乱暴ながら一時的に一つにするといいみたいです。
$ cd /usr/share/aclocal $ sudo cp libtool.m4 libtool.m4.org $ sudo chmod 666 libtool.m4 $ sudo cat lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4 >> libtool.m4
これで下記の手順でビルド&インストールできます!
$ cd subversion-1.4.6 $ ./autogen.sh $ ./configure $ make $ sudo make install
■参考ページ
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/262251
0 件のコメント:
コメントを投稿