webkit-gtk2 vs libtool-2.2.6a

Andriy Gapon avg at icyb.net.ua
Thu Aug 20 15:28:54 UTC 2009


webkit-gtk2 fails to build after libtool-2.2.6a update.
Auto tools provide some helpful self diagnostics:
===>  Configuring for webkit-gtk2-1.0.1_8
/usr/local/share/aclocal/smpeg.m4:13: warning: underquoted definition of AM_PATH_SMPEG
/usr/local/share/aclocal/smpeg.m4:13:   run info '(automake)Extending aclocal'
/usr/local/share/aclocal/smpeg.m4:13:   or see
http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.ac:70: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...):
suspicious cache-id, must contain _cv_ to be cached
[many more like that]
...
libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: You should add the contents of the following files to `aclocal.m4':
libtoolize:   `/usr/local/share/aclocal/libtool.m4'
libtoolize:   `/usr/local/share/aclocal/ltversion.m4'
libtoolize:   `/usr/local/share/aclocal/ltsugar.m4'
libtoolize:   `/usr/local/share/aclocal/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
...
checking dependency style of c++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
./configure: 4727: Syntax error: word unexpected (expecting ")")
===>  Script "configure" failed unexpectedly.

Failing line is "_LT_DECL" one below:
=======================
fi


    _LT_DECL(build_old_libs, enable_static, 0,
        Whether or not to build static libraries)


enable_win32_dll=yes
=======================

Apparently this is not poper shell syntax.

I made the port compile by hacking autogen.sh to add the following lines:
cat /usr/local/share/aclocal/lt[o-v~]* >> aclocal.m4
cat /usr/local/share/aclocal/libtool.m4 >> aclocal.m4

-- 
Andriy Gapon


More information about the freebsd-ports mailing list