git 最新版graphviz,autogen.sh
报错
configure.ac:33: error: possibly undefined macro: AC_SUBST
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
...
根据提示,在configure.ac的33行前加几行
m4_pattern_allow([AC_SUBST])dnl
....
又报错:
error: Libtool library used but 'LIBTOOL' is undefined The usual way to define 'LIBTOOL' is to add 'LT_INIT'
不知道怎么设置LT_INIT.
换了个版本LAST_LIBGRAPH。
syntax error near unexpected token `XRENDER,'
发现configure文件19728行:
PKG_CHECK_MODULES(XRENDER, xrender,HAVE_XRENDER="yes" ,HAVE_XRENDER="no")
20075行
syntax error near unexpected token `GUILE,'
PKG_CHECK_MODULES(GUILE,
PKG_CHECK_MODULES(R, libR,
PKG_CHECK_MODULES宏的问题:pkg-config安装时没有把pkg.m4拷到搜索路径了。在自己安装的pkg-config路径下找到这个pkg.m4文件,拷到graphviz源码包的m4目录下,重新autogen.sh ,成功。
AC_SUBST估计也是没找到什么,没仔细看了。
http://stackoverflow.com/questions/6758442/pkg-check-modules-breaking-in-solaris
报错
configure.ac:33: error: possibly undefined macro: AC_SUBST
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
...
根据提示,在configure.ac的33行前加几行
m4_pattern_allow([AC_SUBST])dnl
....
又报错:
error: Libtool library used but 'LIBTOOL' is undefined The usual way to define 'LIBTOOL' is to add 'LT_INIT'
不知道怎么设置LT_INIT.
换了个版本LAST_LIBGRAPH。
syntax error near unexpected token `XRENDER,'
发现configure文件19728行:
PKG_CHECK_MODULES(XRENDER, xrender,HAVE_XRENDER="yes" ,HAVE_XRENDER="no")
20075行
syntax error near unexpected token `GUILE,'
PKG_CHECK_MODULES(GUILE,
PKG_CHECK_MODULES(R, libR,
PKG_CHECK_MODULES宏的问题:pkg-config安装时没有把pkg.m4拷到搜索路径了。在自己安装的pkg-config路径下找到这个pkg.m4文件,拷到graphviz源码包的m4目录下,重新autogen.sh ,成功。
AC_SUBST估计也是没找到什么,没仔细看了。
然后make成功
make install 报错:
cannot install `libXXX' to a directory not ending in ...
得 make clean,再重新./configure LDFLAGS="-L/......." --prefix=...... & make & make install
http://stackoverflow.com/questions/6758442/pkg-check-modules-breaking-in-solaris