Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to build Openofice.org 1.0 using gcc3.1 ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Wed Jun 05, 2002 9:44 pm    Post subject: How to build Openofice.org 1.0 using gcc3.1 ? Reply with quote

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
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Wed Jun 05, 2002 10:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Thu Jun 06, 2002 9:07 am    Post subject: Reply with quote

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
View user's profile Send private message
Aonoa
Guru
Guru


Joined: 23 May 2002
Posts: 589

PostPosted: Sat Jun 08, 2002 4:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
Tuxisuau
Apprentice
Apprentice


Joined: 04 May 2002
Posts: 213
Location: Catalunya (Europe)

PostPosted: Sun Jun 09, 2002 3:14 am    Post subject: gcc3.,1 compile fix now in portage Reply with quote

There's something about "OpenOffice gcc3.1 build fix" in today's changelog. Take a look and try again :).
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Mon Jun 10, 2002 9:46 am    Post subject: Reply with quote

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
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Mon Jun 10, 2002 12:52 pm    Post subject: Reply with quote

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 :twisted: 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
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Mon Jun 10, 2002 4:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
vod
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jun 2002
Posts: 90

PostPosted: Tue Jun 11, 2002 9:57 am    Post subject: I'm about to embark on the compilation also. Reply with quote

wish me luck.
Back to top
View user's profile Send private message
vod
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jun 2002
Posts: 90

PostPosted: Wed Jun 12, 2002 9:03 am    Post subject: well.. Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Aug 19, 2002 12:02 am    Post subject: Reply with quote

GCC3 to Portage & Programming, ebuild related.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
wilho
Apprentice
Apprentice


Joined: 22 Jul 2002
Posts: 169

PostPosted: Fri Aug 23, 2002 8:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
aja
l33t
l33t


Joined: 26 Aug 2002
Posts: 705
Location: Edmonton, Canada

PostPosted: Fri Aug 30, 2002 1:24 am    Post subject: Hey, look over there... Reply with quote

People following this thread should probably check this one too:

https://forums.gentoo.org/viewtopic.php?t=12609&highlight=openoffice
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum