View previous topic :: View next topic |
Author |
Message |
AlterEgo Veteran
Joined: 25 Apr 2002 Posts: 1619
|
Posted: Wed Jun 05, 2002 9:44 pm Post subject: How to build Openofice.org 1.0 using gcc3.1 ? |
|
|
I'm very happy with my gcc3.1-from-scratch box, but....
the OpenOffice.org 1.0 binaries don't work (similar to staroffice 5.2: https://forums.gentoo.org/viewtopic.php?t=4132 ).
So I tried to emerge openoffice from source. The ebuild however gets completely confused because it only finds gcc3.1 and not also 2.95.
My attempts in hacking the ebuild script have not been succesfull.
I need a suggestion please |
|
Back to top |
|
|
lx Veteran
Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Wed Jun 05, 2002 10:11 pm Post subject: |
|
|
Well why don't you rebuild glibc, r4 has a patch that will probably fix the problem.
from http://www.openoffice.org/dev_docs/source/build_linux.html#BuildRequirements
Quote: | Build Requirements
Before you start building, you must ensure that your system satisfies the recommended software and hardware requirements for the type of system you are working on. For Linux, these are as follows:
Software Requirements
* glibc 2.1.x or higher
* gcc 3.0.2 or 2.95.2 (for pre-641C releases only 2.95.2)
....
Hardware Requirements
* Intel Pentium II
* 128 MB RAM recommended
* 3 GB free disk space
|
Btw. compiling openoffice some specs from the same site, pIII-600, 256Mb, took 12 hours. and you need a lot of free space for the build, better use the binaries, but well they are a bit slow, and I haven't heard if the patch solves the problem with openoffice binaries, but it certainly looks that way,
Cya lX. _________________ "Remember there's a big difference between kneeling down and bending over.", Frank Zappa |
|
Back to top |
|
|
AlterEgo Veteran
Joined: 25 Apr 2002 Posts: 1619
|
Posted: Thu Jun 06, 2002 9:07 am Post subject: |
|
|
Thanks lx, but no luck
I upgraded to glibc R4, but still installing the OOO binaries fails upon starting them, and compiling from source still ends with:
!!! Cannot find gcc version 3.0 or later
(note: the entire system has been built with only gcc 3.1)
Is it possible to compile OOO using gcc 3.1 at all? |
|
Back to top |
|
|
Aonoa Guru
Joined: 23 May 2002 Posts: 589
|
Posted: Sat Jun 08, 2002 4:02 pm Post subject: |
|
|
Apparently OO 1.0 only compiles with GCC-3.0.4 as it is now, they are working on making it work with 3.1 |
|
Back to top |
|
|
Tuxisuau Apprentice
Joined: 04 May 2002 Posts: 213 Location: Catalunya (Europe)
|
Posted: Sun Jun 09, 2002 3:14 am Post subject: gcc3.,1 compile fix now in portage |
|
|
There's something about "OpenOffice gcc3.1 build fix" in today's changelog. Take a look and try again . |
|
Back to top |
|
|
AlterEgo Veteran
Joined: 25 Apr 2002 Posts: 1619
|
Posted: Mon Jun 10, 2002 9:46 am Post subject: |
|
|
The new OOO-r1 ebuild-bin works now for me
after doing a clean install using the 1.3a tarball.
(it failed on a 1.2-based gcc3.1 system).
Thanks! |
|
Back to top |
|
|
lx Veteran
Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Mon Jun 10, 2002 12:52 pm Post subject: |
|
|
AlterEgo wrote: | The new OOO-r1 ebuild-bin works now for me
after doing a clean install using the 1.3a tarball.
(it failed on a 1.2-based gcc3.1 system).
Thanks! |
How long did the build take (site states 12 hours on a p600 or something and 5 Gb disk space required), does it work a lot faster then the binary, which was much too slow? ( I would only use it to display crappy word files, I receive from some people, aarrggh )
Cya lX.
1.2Ghz athlon-tbird. _________________ "Remember there's a big difference between kneeling down and bending over.", Frank Zappa |
|
Back to top |
|
|
AlterEgo Veteran
Joined: 25 Apr 2002 Posts: 1619
|
Posted: Mon Jun 10, 2002 4:07 pm Post subject: |
|
|
lx,
sofar I only tested the OOO-bin version
(I had problems with both the binary and the do-it-yourseld one)
I'll try the compilation shortly. Don't know how long it'll take. |
|
Back to top |
|
|
vod Tux's lil' helper
Joined: 10 Jun 2002 Posts: 90
|
Posted: Tue Jun 11, 2002 9:57 am Post subject: I'm about to embark on the compilation also. |
|
|
wish me luck. |
|
Back to top |
|
|
vod Tux's lil' helper
Joined: 10 Jun 2002 Posts: 90
|
Posted: Wed Jun 12, 2002 9:03 am Post subject: well.. |
|
|
I couldnt get it to go. I hacked the oo config script to take gcc 3.1 but it needs to be built from tcsh, which appears to be broken for me. |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Aug 19, 2002 12:02 am Post subject: |
|
|
GCC3 to Portage & Programming, ebuild related. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
wilho Apprentice
Joined: 22 Jul 2002 Posts: 169
|
Posted: Fri Aug 23, 2002 8:27 pm Post subject: |
|
|
Same problem with tcsh too (with gcc3.1 only system), says:
Code: | >>> Install tcsh-6.11 into /var/tmp/portage/tcsh-6.11/image/ category app-shells
mkdir -p /var/tmp/portage/tcsh-6.11/image///bin
mv -f /var/tmp/portage/tcsh-6.11/image///bin/tcsh /var/tmp/portage/tcsh-6.11/image///bin/tcsh.old
mv:
cannot stat `/var/tmp/portage/tcsh-6.11/image///bin/tcsh'
: No such file or directory
make:
[install] Error 1 (ignored)
cp tcsh /var/tmp/portage/tcsh-6.11/image///bin/tcsh
strip /var/tmp/portage/tcsh-6.11/image///bin/tcsh
chmod 555 /var/tmp/portage/tcsh-6.11/image///bin/tcsh
mkdir -p /var/tmp/portage/tcsh-6.11/image//usr/share/man/man1
rm -f /var/tmp/portage/tcsh-6.11/image//usr/share/man/man1/tcsh.1
cp ./tcsh.man /var/tmp/portage/tcsh-6.11/image//usr/share/man/man1/tcsh.1
chmod 444 /var/tmp/portage/tcsh-6.11/image//usr/share/man/man1/tcsh.1
perl | Then it's just hangs, doesn't even finnish with error...And this comes for both v6.11 and 6.10-r3...
Haven't got openoffice-bin to work either - says Code: | an unrecoverable error has occurred All modifed files have been saved and can probably be recoverd at program start | every time when starting soffice or anything else of it's programs... There was some suggestions in https://forums.gentoo.org/viewtopic.php?t=8794&highlight=openoffice - (about fixin bin-ver) I'll have to check them out... |
|
Back to top |
|
|
aja l33t
Joined: 26 Aug 2002 Posts: 705 Location: Edmonton, Canada
|
|
Back to top |
|
|
|