pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: webkit-gtk build problem



Hello Patrick,

Patrick Welche writes:
> I'm seeing when building www/webkit-gtk on a less than powerful box:
> 
> ...  -licuuc -licudata -lwebp -lXcomposite -lXdamage -lXfixes -lXrender -lX11 -lXt -lX11 -lz -inst
> -prefix-dir /tmp/pkgsrc/www/webkit-gtk/work.x86_64/.destdir)
> g++: internal compiler error: Killed (program ld)
> no stack trace because unwind library not available
> Please submit a full bug report,
> 
> 
> Problem or could that just be out of memory etc?
Probably the latter. When I was working on wip/webkit-gtk I remember
that the last linking phase needed serveral GBs of RAM. From the CVS log
messages in wip/webkit-gtk:

[...]
 PS: please note that you will need >=~2GB of RAM and swap during the
 install phase... In this machine I have 767MB of RAM and 1GB of swap
 but it is not sufficient for linking with ld(1) in the install phase...
 Creating a 1GB swap file solved this issue (thank you asau@):
 
  # dd if=/dev/zero of=/swap bs=1m count=1000
  # chmod 600 /swap
  # swapctl -a -p 1 /swap
[...]


HTH,
Ciao,
L.


Home | Main Index | Thread Index | Old Index