Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

emerging openoffice screws my system!!!

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
tristure
Apprentice
Apprentice
Posts: 270
Joined: Thu Oct 30, 2003 11:40 am
Location: France

emerging openoffice screws my system!!!

  • Quote

Post by tristure » Fri Nov 07, 2003 5:53 pm

Hi,

Two days ago I tried to emerge Openoffice. At the end of the (long!) compilation, the installation failed because there was no space left on my drive.

I couldn't launch any other applications either... So I wanted to remove files in my tmp directory (portage and all).
It didn't seem to work so I tried to reboot my machine and then... crash! KDE couldn't load, X couldn't even start!!

So I reinstalled Gentoo again, and today I tried to emerge Openoffice again. Before starting my drive had 2.5 Gigs remaining.

Five or six hours later ... there is no space remaining. Kmail won't start, and my openoffice compilation isn't over yet, but no doubt it will fail!!!

WHAT THE HECK IS GOING ON THERE????!!!

I DON'T WANT TO REINSTALL GENTOO AGAIN. Emerging KDE really is a pain in the ass!

So haw can I prevent my system to be scrwed? How can I see what directories are too big? And how can I safely clean this mess up?!?

Thanks a lot for your help, my mental health is at stake right now!!
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56071
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Fri Nov 07, 2003 6:06 pm

tristure,

Openoffice wants 3Gb of temp space to build. If you have a default /, /boot and <swap> install, nothing can create any tem files just now.

Log in as root at the console and remove something in /usr/portage/distfiles/

OpenOffice may be a good chilce.

If you want to have another go, clean up the mess, and empty /usr/portage/distfiles/ *except* for OpenOffice. If that doesn't get you at least 3Gb free forget it.

You don't need to reinstall Gentoo.

Regards,

NeddySeagoon
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
cripwalk
n00b
n00b
Posts: 59
Joined: Sun Jul 13, 2003 9:20 pm
Location: Socal

  • Quote

Post by cripwalk » Fri Nov 07, 2003 6:06 pm

Im not sure how big openoffice is compiled but I have couple of thought here:

1. You could emerge just the openoffice binary so you dont have the source and temp files too.

If you want to compile from source then

2. Use the -Os option in your cflags. This will reduce the size of the compiled binaries.

3. Get a bigger hard drive
Top
pjp
Administrator
Administrator
User avatar
Posts: 20668
Joined: Tue Apr 16, 2002 10:35 pm

  • Quote

Post by pjp » Fri Nov 07, 2003 6:25 pm

Moved from Installing Gentoo.
Quis separabit? Quo animo?
Top
tristure
Apprentice
Apprentice
Posts: 270
Joined: Thu Oct 30, 2003 11:40 am
Location: France

  • Quote

Post by tristure » Fri Nov 07, 2003 7:23 pm

3Gb free space to compile???!!?
I just can't believe this...

OK anyway I'll check out in usr/portage/distfiles... Hope this will work!

And cripwalk, I do have a big hard drive but my free space is on another partition... Is there a way I can tell Gentoo to emerge and compile stuff in that partition? I would have no problem that way!!

Thanks all for your help, I'm glad to know I won't have to reinstall Gentoo...
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56071
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Fri Nov 07, 2003 9:19 pm

tristure,

There are two ways to get portage to put its tempory files somewhere else.

1) Look through /etc/make.conf and uncomment, then edit the defaults more to your liking. Copy the content ot the old location to the new location

2) Find a large directory in /usr/portage (or even /usr/portsge itsself. Copy it and its contents onto another physical partition and create a symlink by the original name that points to the new loaction.

Regards,

NeddySeagoon
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Hydralisk
Tux's lil' helper
Tux's lil' helper
Posts: 83
Joined: Wed Mar 19, 2003 12:15 am

  • Quote

Post by Hydralisk » Fri Nov 07, 2003 9:28 pm

Portage puts most of its temporary files, including compilation work, in /var/tmp/portage . You can safely "rm -rf /var/tmp/portage/*" as long as you're not compiling at the moment.
Top
nephros
Advocate
Advocate
User avatar
Posts: 2139
Joined: Fri Feb 07, 2003 2:46 am
Location: Graz, Austria (Europe - no kangaroos.)
Contact:
Contact nephros
Website

  • Quote

Post by nephros » Fri Nov 07, 2003 11:07 pm

Also note that if you use ccache, it's default is to put the cached files in /root/.ccache. This will quickly fill up your root partition.
Might be a good idea to set CCACHE_DIR to some directory on a large partition, like /usr/tmp or /var/cache or something.
Please put [SOLVED] in your topic if you are a moron.
Top
Post Reply

8 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy