Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Aug 2009 18:28:51 +0300
From:      Andriy Gapon <avg@icyb.net.ua>
To:        gnome <gnome@freebsd.org>, ports@freebsd.org
Subject:   webkit-gtk2 vs libtool-2.2.6a
Message-ID:  <4A8D6BB3.20505@icyb.net.ua>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A8D6BB3.20505>