unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: 宋文武 <iyzsong@gmail.com>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH] gnu: Add WebKitGTK+.
Date: Sat, 11 Apr 2015 12:30:04 -0400	[thread overview]
Message-ID: <87r3rqsk4z.fsf@netris.org> (raw)
In-Reply-To: <CAHZE2pfYs0it3cp0KW=CZG1Y-h2EU8F3Gks54Q+QRe9KKPurHg@mail.gmail.com> ("宋文武"'s message of "Sat, 11 Apr 2015 10:11:37 +0800")

宋文武 <iyzsong@gmail.com> writes:

> 2015-04-11 1:54 GMT+08:00 Mark H Weaver <mhw@netris.org>:
>> 宋文武 <iyzsong@gmail.com> 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-compile-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/WebKit2.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

  reply	other threads:[~2015-04-11 16:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-07 10:46 [PATCH] gnu: Add WebKitGTK+ 宋文武
2015-04-08 12:04 ` Ludovic Courtès
2015-04-10 17:54 ` Mark H Weaver
2015-04-11  2:11   ` 宋文武
2015-04-11 16:30     ` Mark H Weaver [this message]
2015-04-11 20:00       ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r3rqsk4z.fsf@netris.org \
    --to=mhw@netris.org \
    --cc=guix-devel@gnu.org \
    --cc=iyzsong@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).