From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: [PATCH] gnu: Add WebKitGTK+. Date: Sat, 11 Apr 2015 12:30:04 -0400 Message-ID: <87r3rqsk4z.fsf@netris.org> References: <1428403572-15302-1-git-send-email-iyzsong@gmail.com> <877ftjuaw8.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgyI3-0006g8-AX for guix-devel@gnu.org; Sat, 11 Apr 2015 12:29:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YgyI0-0005i3-2S for guix-devel@gnu.org; Sat, 11 Apr 2015 12:29:51 -0400 Received: from world.peace.net ([50.252.239.5]:53585) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgyHz-00050y-VE for guix-devel@gnu.org; Sat, 11 Apr 2015 12:29:48 -0400 In-Reply-To: (=?utf-8?B?IuWui+aWh+atpiIncw==?= message of "Sat, 11 Apr 2015 10:11:37 +0800") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?utf-8?B?5a6L5paH5q2m?= Cc: Guix-devel =E5=AE=8B=E6=96=87=E6=AD=A6 writes: > 2015-04-11 1:54 GMT+08:00 Mark H Weaver : >> =E5=AE=8B=E6=96=87=E6=AD=A6 writes: >>> * gnu/packages/gnome.scm (webkitgtk): New variable. >> >> Wow, this is great, thanks! >> >> Well, almost. I applied this to my master branch and tried to compile >> it on i686 and got this: >> >> --8<---------------cut here---------------start------------->8--- >> /gnu/store/3195f0cppgglxr91ir631f4bnvpqk9z0-bash-4.3.33/bin/sh: glib-com= pile-resources: command not found >> Source/WebKit2/CMakeFiles/WebKit2.dir/build.make:62: recipe for >> target 'DerivedSources/webkit2gtk/WebKit2InspectorGResourceBundle.c' >> failed >> make[2]: *** [DerivedSources/webkit2gtk/WebKit2InspectorGResourceBundle.= c] Error 127 >> make[2]: Leaving directory '/tmp/nix-build-webkitgtk-2.8.0.drv-0/build' >> CMakeFiles/Makefile2:897: recipe for target 'Source/WebKit2/CMakeFiles/W= ebKit2.dir/all' failed >> make[1]: *** [Source/WebKit2/CMakeFiles/WebKit2.dir/all] Error 2 >> --8<---------------cut here---------------end--------------->8--- >> >> Does it depend on another change that's only on core-updates? > Yes, I forget to add `glib ,"bin"` to native-inputs. Thanks. The next problem is that I run out of memory while trying to link libwebkit2gtk-4.0.so.37.6.3: --8<---------------cut here---------------start------------->8--- ld: failed to set dynamic section sizes: Memory exhausted collect2: error: ld returned 1 exit status Source/WebKit2/CMakeFiles/WebKit2.dir/build.make:17791: recipe for target '= lib/libwebkit2gtk-4.0.so.37.6.3' failed make[2]: *** [lib/libwebkit2gtk-4.0.so.37.6.3] Error 1 --8<---------------cut here---------------end--------------->8--- I have 2 GB of RAM and 4 GB of swap in this i686 machine. I'm able to build GNU IceCat in this same machine, thanks to the fact that we build without debugging information. How would people feel about doing the same with webkitgtk? Mark