On Sun, Feb 5, 2012 at 11:04 AM, Samuraiii <samura...@volny.cz> wrote:
> Hello,
>
> I have (right now) 3 computers runing Gentoo and as two of them are with
> only 1GB of ram - which for libreoffice compiling is not enough.

Mmmh. LibreOffice 3.4.x requires 1 GB of RAM, all other versions in
portage requires only 512 MB (including 3.5.x). Are you sure it is
your RAM the problem, or maybe you have /var/tmp (and therefore
/var/tmp/portage) in tmpfs? If that's the case, what I do is:

1. add the following line to /etc/portage/package.env:

app-office/libreoffice          notmpfs.conf

2. have the file /etc/portage/env/notmpfs.conf with the following:

# cat /etc/portage/env/notmpfs.conf
PORTAGE_TMPDIR="/var/notmpfs"

3. have the directory /var/notmpfs:

drwxrwxrwt  3 root root  4096 Feb  1 20:47 notmpfs

This way, all my packages get compiled in the tmpfs (and therefore
much faster, since it is memory), and libreoffice (which is to big to
fit in there) gets compiled on disk.

Hope it helps.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México

Reply via email to