LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-28-2011, 01:49 AM   #1
Adol
Member
 
Registered: Feb 2011
Location: Osaka, Japan
Distribution: Gentoo, Opensuse
Posts: 271

Rep: Reputation: 6
/var is too small to compile openoffice


Hello,

I have /var set to 2.5G which I have not had a problem with until now.

I cant compile openoffice because /var runs out of space when I do so. On Gentoo /var is used to compile.

can I set a different perameter to compile openoffice(emerge oppenoffice) to have just this program compile in another location?

Thank you
 
Old 04-28-2011, 01:56 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

I cannot imagine that OpenOffice would need that much space to compile so I'm guessing you have little space available on var (which you didn't mention). Can you post the output of
Code:
df -h
to see how much you do have left. If your /var is filling up I'd first look for a reason why it is doing so. Check if there are any large log files, directories that have lots of stuff you could delete to free up space with:
Code:
du -h / | grep ^[0-9.]*G
If you have set up /var with LVM then you could even extend it 'on the fly'.

Kind regards,

Eric
 
Old 04-28-2011, 02:43 AM   #3
winning
Member
 
Registered: Apr 2011
Posts: 70

Rep: Reputation: 13
Hello. I have not used Gentoo in a number of years but 2.5GB sounds too little to compile OO.org. The Gentoo x86 handbook ( http://www.gentoo.org/doc/en/handboo...ap=4#doc_chap2 ) currently states:

Quote:
Although allocating a few gigabytes of disk space for /var may seem excessive, remember that Portage uses this partition by default for compiling packages. If you want to keep /var at a more reasonable size, such as 1GB, you will need to alter your PORTAGE_TMPDIR variable in /etc/make.conf to point to the partition with enough free space for compiling extremely large packages such as OpenOffice.
I believe this may also be the reason why Gentoo devs decided to provide a precompiled version via app-office/openoffice-bin.
 
Old 04-28-2011, 01:39 PM   #4
Adol
Member
 
Registered: Feb 2011
Location: Osaka, Japan
Distribution: Gentoo, Opensuse
Posts: 271

Original Poster
Rep: Reputation: 6
Quote:
Originally Posted by EricTRA View Post
Hello,

I cannot imagine that OpenOffice would need that much space to compile so I'm guessing you have little space available on var (which you didn't mention). Can you post the output of
Code:
df -h
to see how much you do have left. If your /var is filling up I'd first look for a reason why it is doing so. Check if there are any large log files, directories that have lots of stuff you could delete to free up space with:
Code:
du -h / | grep ^[0-9.]*G
If you have set up /var with LVM then you could even extend it 'on the fly'.

Kind regards,

Eric
Filesystem Size Used Avail Use% Mounted on
/dev/sda6 2.4G 153M 2.2G 7% /var

/var looks ok to me. I think that oppen office needs an extreem amount of space to comepile. can I set the compile space when I emerge it?
 
Old 04-29-2011, 12:20 AM   #5
Adol
Member
 
Registered: Feb 2011
Location: Osaka, Japan
Distribution: Gentoo, Opensuse
Posts: 271

Original Poster
Rep: Reputation: 6
Quote:
Originally Posted by winning View Post
Hello. I have not used Gentoo in a number of years but 2.5GB sounds too little to compile OO.org. The Gentoo x86 handbook ( http://www.gentoo.org/doc/en/handboo...ap=4#doc_chap2 ) currently states:



I believe this may also be the reason why Gentoo devs decided to provide a precompiled version via app-office/openoffice-bin.
Thank you very much. Using openoffice-bin works great.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Damn Small Linux and OpenOffice rcastanet DamnSmallLinux 17 05-11-2010 02:03 PM
OpenOffice small windows do not dock anymore ernesto_cgf Linux - Desktop 3 01-25-2009 03:32 AM
Small bash script to find 'error' in /var/log/messages rolypoly Programming 3 10-28-2008 08:55 AM
SH!T. My /var partition is too small for slackware to upgrade to current.. DreameR-X Slackware 4 12-18-2004 06:31 PM
FDISK! /var too big; / too small, reallocate disk space pauljtester Linux - General 2 08-05-2004 08:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration