Summary: | dev-libs/crypto++-5.1-r1 failes to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Evert <evert.gentoo> |
Component: | [OLD] Library | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | gentoo-bugs |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Evert
2004-06-17 04:38:15 UTC
Not actually a bug, but this package requires a *lot* of RAM/swap during compile. In /var/log/messages you'll probably find a line that says something like this: kernel: VM: killing process cc1plus One solution could be to change MAKEOPTS to -j1, so only one compile process is active at any one time. That may not be enough, though, so you might want to add some temporary swap. Try this: dd if=/dev/zero of=/tmp/tmpswap bs=1M count=1k mkswap /tmp/tmpswap swapon /tmp/tmpswap This will make a 1G temporary swap file, which should be enough to compile this package. Once done, you can safely disable the swap (swapoff /tmp/tmpswap) and delete it. Amazing, and I have 1 gig internal memory! while :; do free ; sleep 1 ; done shows me one time total used free shared buffers cached Mem: 1033828 978468 55360 0 42956 65068 -/+ buffers/cache: 870444 163384 Looks like this time I was more lucky; didn't have to change MAKEOPTS and/or create swap... ThanX! It did indeed cut close with that package. Having had OpenOffice or Mozilla open might have made all the difference. Don't expect to be as lucky with merging app-accessibility/flite, though. I tried that yesterday, and it ate all RAM and swap, so when I saw the swap usage approach critical,I had to create some emergency swap space ... You can mark this bug as resolved with the resolution INVALID. Well, I still had mozilla open, but maybe less pages, but that could easily have made the difference... Didn't know I can close a bug myself ;-) |