2014年5月22日 星期四

autotool maintainer mode


最近在更動package autotool, 不曉得為什麼在某些機器上
make 時候會complain : cannot find aclocal-1.14

確實機器上沒有裝aclocal-1.14   (可能有aclocal-1.11)
但回過來想, autotool 不就是要擺脫平台嗎?
為什麼又相依平台上的autotool version?

解法:
在configure.ac 加上 AM_MAINTAINER_MODE([disable])

Reference:
http://www.gnu.org/software/automake/manual/html_node/maintainer_002dmode.html
http://stackoverflow.com/questions/18769770/user-of-autotools-generated-tarball-gets-error-message-aclocal-1-13-command-no

沒有留言:

張貼留言