webkit-gtk2 pkg-plist
WATANABE Kazuhiro
CQG00620 at nifty.ne.jp
Sun Jan 18 08:50:15 PST 2009
At Fri, 16 Jan 2009 15:50:53 +0200,
Andriy Gapon wrote:
> on 16/01/2009 14:20 Jan Henrik Sylvester said the following:
> > I tried 'pkg_create -b webkit-gtk2-1.0.1_4', but it could not find
> > lib/libwebkit-1.0.a -- did my build fail or is pkg-plist wrong?
>
> I see the same - port build and installation appear to be successful,
> but package creation fails with the above error.
Hi.
I have encountered the same problem, too.
When I build the latest webkit-gtk2 port on a 7.1-RELEASE-p2 system to
which GNU bash has been installed, libwebkit-1.0.a is not compiled and
installed.
If I delete bash from the system, the library is compiled and
installed successfully.
* With bash
capricorn# pkg_info -W /usr/local/bin/bash
/usr/local/bin/bash was installed by package bash-3.2.48_1
capricorn# make BATCH=yes install deinstall
===> Vulnerability check disabled, database not found
===> Extracting for webkit-gtk2-1.0.1_4
...
===> Configuring for webkit-gtk2-1.0.1_4
...
checking for bash... /usr/local/bin/bash
checking if dolt supports this host... yes, replacing libtool
...
===> Installing for webkit-gtk2-1.0.1_4
...
===> Registering installation for webkit-gtk2-1.0.1_4
===> Deinstalling for www/webkit-gtk2
===> Deinstalling webkit-gtk2-1.0.1_4
pkg_delete: file '/usr/local/lib/libwebkit-1.0.a' doesn't exist
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)
capricorn#
The complete log is here:
http://homepage2.nifty.com/dumb_show/unix/work/webkit-gtk2_with_bash.log.gz
* Without bash
capricorn# pkg_info -W /usr/local/bin/bash
pkg_info: /usr/local/bin/bash: file cannot be found
capricorn# make BATCH=yes install deinstall
===> Vulnerability check disabled, database not found
===> Extracting for webkit-gtk2-1.0.1_4
...
===> Configuring for webkit-gtk2-1.0.1_4
...
checking for bash... no
checking if dolt supports this host... no, falling back to libtool
...
===> Installing for webkit-gtk2-1.0.1_4
...
===> Registering installation for webkit-gtk2-1.0.1_4
===> Deinstalling for www/webkit-gtk2
===> Deinstalling webkit-gtk2-1.0.1_4
capricorn#
The complete log is here:
http://homepage2.nifty.com/dumb_show/unix/work/webkit-gtk2_without_bash.log.gz
If bash is installed to the system, this port uses "doltlibtool"
instead of "libtool".
To solve the problem, I have to edit the Makefile.
--- Makefile.orig 2009-01-10 14:21:47.000000000 +0900
+++ Makefile 2009-01-18 17:36:09.000000000 +0900
@@ -29,7 +29,8 @@
USE_LDCONFIG= yes
USE_AUTOTOOLS= autoconf:262 automake:110 libtool:15
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
+ LDFLAGS="-L${LOCALBASE}/lib" \
+ ac_cv_path_DOLT_BASH=""
CONFIGURE_ARGS= --with-webkit-target=x11 \
--enable-icon-database \
--enable-svg \
The compilation log is here:
http://homepage2.nifty.com/dumb_show/unix/work/webkit-gtk2_with_bash_fix.log.gz
*****
I have some doubts.
(1) When "doltlibtool" is used, a static library is not compiled.
Is this expected (normal) behavior?
(2) Is this the best workaround?
---
WATANABE Kazuhiro (CQG00620 at nifty.ne.jp)
More information about the freebsd-gnome
mailing list