View previous topic :: View next topic |
Author |
Message |
lightning n00b
Joined: 14 Nov 2007 Posts: 65
|
Posted: Tue Jun 03, 2008 9:25 pm Post subject: emerge openoffice problem |
|
|
I receive following message when I try to compile OpenOffice.org:
* Messages for package app-office/openoffice-2.4.0:
*
* It is important to note that OpenOffice.org is a very fragile
* build when it comes to CFLAGS. A number of flags have already
* been filtered out. If you experience difficulty merging this
* package and use agressive CFLAGS, lower the CFLAGS and try to
* merge again. Also note that building OOo takes a lot of time and
* hardware ressources: 4-6 GB free diskspace and 256 MB RAM are
* the minimum requirements. If you have less, use openoffice-bin
* instead.
*
*
* ERROR: app-office/openoffice-2.4.0 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 5314: Called die
* The specific snippet of code:
* make || die "Build failed"
* The die message:
* Build failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/app-office/openoffice-2.4.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-office/openoffice-2.4.0/temp/environment'.
*
I have portage on separate partition (~2GB) but I moved distfiles to '/' that has much more free space:
Per
~ # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda7 17G 5.5G 11G 35% /
udev 10M 2.8M 7.3M 28% /dev
/dev/hda3 60M 6.8M 50M 12% /boot
/dev/hda6 2.0G 227M 1.7G 12% /usr/portage
shm 505M 0 505M 0% /dev/shm
make.conf:
~ # cat /etc/make.conf |grep DIR
PKGDIR="/home/portage/packages"
DISTDIR="/home/portage/distfiles"
How to solve this problem? I have ~11G of available disk space. OOo needs ~6G. Perhaps I should use binary version tough I've emerged all needed depends.. by the way, is it possible to unemerge all the OOs's depends that are not needed for any one else? If I cannot compile the source of OOo on my machine, I'd like to remove all the packages that have been emerged before the main OOo package and thereafter install bin version to avoid mess caused by no needed packages installed in the system.
Thanks in advance.
Patrick |
|
Back to top |
|
|
Maliwik Apprentice
Joined: 14 Apr 2008 Posts: 252 Location: Wisconsin, U.S. of A.
|
Posted: Tue Jun 03, 2008 11:06 pm Post subject: |
|
|
Try re-emerging imagemagick - this has been known to cause a problem when emerging openoffice, something gets screwed up with imagemagick with the installation of all the other files. _________________
freelight wrote: | I have a severe case of procrastinitis. |
|
|
Back to top |
|
|
phajdan.jr Retired Dev
Joined: 23 Mar 2006 Posts: 1777 Location: Poland
|
Posted: Wed Jun 04, 2008 11:50 am Post subject: |
|
|
Yeah, I would recommend going the openoffice-bin path. You can unmerge unneeded packages using emerge --depclean --ask. Don't forget to read the warning message carefully, and run revdep-rebuild afterwards. |
|
Back to top |
|
|
Nerevar l33t
Joined: 31 May 2008 Posts: 720
|
Posted: Wed Jun 04, 2008 8:48 pm Post subject: |
|
|
I think the message needs to be updated on the RAM requirements. I think it's at 512MB now. If you have 512MB but your box is reporting slightly less, you may be able to get away with the following:
Code: |
CHECKREQS_ACTION="ignore" emerge -avt openoffice
|
|
|
Back to top |
|
|
lightning n00b
Joined: 14 Nov 2007 Posts: 65
|
Posted: Wed Jun 04, 2008 9:34 pm Post subject: |
|
|
I have 1G of ram, re-emerging imagemagick solved the problem. Thank you mate! |
|
Back to top |
|
|
|