public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Canek Peláez Valdés" <caneko@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] distcc - amd64 and x86
Date: Sun, 5 Feb 2012 11:58:38 -0600	[thread overview]
Message-ID: <CADPrc83qo++jBqKR+tAvx-SF1ozwCfa6k9sYsSm2ZbBS1vi7Qw@mail.gmail.com> (raw)
In-Reply-To: <4F2EB69A.2030205@volny.cz>

On Sun, Feb 5, 2012 at 11:04 AM, Samuraiii <samuraiii@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



      parent reply	other threads:[~2012-02-05 18:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-05 17:04 [gentoo-user] distcc - amd64 and x86 Samuraiii
2012-02-05 17:38 ` Michael Mol
2012-02-05 17:48   ` [gentoo-user] «-»: " Samuraiii
2012-02-05 18:46     ` Dale
2012-02-06  4:53       ` Michael Orlitzky
2012-02-06  5:37         ` Dale
2012-02-05 17:58 ` Canek Peláez Valdés [this message]

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

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

  git send-email \
    --in-reply-to=CADPrc83qo++jBqKR+tAvx-SF1ozwCfa6k9sYsSm2ZbBS1vi7Qw@mail.gmail.com \
    --to=caneko@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox