Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
yes, yes, problems with openoffice - gcc 3.2
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Wed Aug 21, 2002 10:43 pm    Post subject: yes, yes, problems with openoffice - gcc 3.2 Reply with quote

gcc forum seems to have dissapeared, so I'll post here.

can't find anyone else with this problem, hence the new post.

successfully built gentoo 1.4 from stage 1 tarball. not a single problem - until openoffice.

this is the error I get:

Code:

********************************************************************
*                                                                  *
*   Checking the platform pre-requisites.                          *
*                                                                  *
********************************************************************
checking for awk... /bin/awk
checking for sed... /bin/sed
checking the operating system... checked (Linux)
checking for gcc... gcc
checking whether the C compiler (gcc -march=athlon-xp -O3 -pipe ) works... yes
checking whether the C compiler (gcc -march=athlon-xp -O3 -pipe ) is a cross-co
piler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -march=athlon-xp -O3 -pipe ) works... yes
checking whether the C compiler (gcc -march=athlon-xp -O3 -pipe ) is a cross-co
piler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking the GNU gcc compiler version... configure: error: found version gcc (G
C) 3.2 Copyright (C) 2002 Free Software Foundation, Inc. This is free software;
see the source for copying conditions. There is NO warranty; not even for MERCH
NTABILITY or FITNESS FOR A PARTICULAR PURPOSE., but use of gcc 3.x requested

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 59, Exitcode 1
!!! (no error message)

!!! emerge aborting on  /usr/portage/app-office/openoffice/openoffice-1.0.0-r2.
build .
bash-2.05a#


previous to this it complained about not having blackdown-jdk, but it was emerged. I have to link it to the gcc, so that's fixed, but now that problem.

any thoughts?

I'd like to beat it this time, rather than just emerge openoffice-bin

- is it just because openoffice needs gcc 3.1 ? it doesn't seem to like that fact that I'm using gcc 3.2 . . .??

thanks
Back to top
View user's profile Send private message
0ver.bi+e
n00b
n00b


Joined: 15 Aug 2002
Posts: 60
Location: Columbus, OH

PostPosted: Wed Aug 21, 2002 11:03 pm    Post subject: Reply with quote

This may or may not help.

I, just yesterday, in fact, emerged openoffice on my 1.2 machine and met that same error. However, in my error message, it was recommended that, for a more stable build, I build gcc-3.0.4 instead. I did and had no problems other than building the blackdown Java VM. Try ebuilding gcc-3.0.4 and see if that works. It should be in the portage tree, but I'm not sure.
_________________
"Nobody calls me CHICKEN!"
--Marty McFly
Back to top
View user's profile Send private message
vinz
Tux's lil' helper
Tux's lil' helper


Joined: 11 Aug 2002
Posts: 93
Location: Switzerland

PostPosted: Wed Aug 21, 2002 11:06 pm    Post subject: Reply with quote

i had the same problem, its because of this
Code:

_gcc_version=`$CC --version`
_gcc_major=`echo $_gcc_version | $AWK -F. '{ print \$1 }'`


which results this
Code:
gcc (GCC) 3
Copyright (C) 2002 Free Software Foundation, Inc
This is free software; see the source for copying conditions
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE


so the _gcc_major should be "3" instead of the above thing

so its a problem of "gcc3.2 --version"

u can try changing the line
Code:

_gcc_version=`$CC --version`

to
Code:

_gcc_version=`$CC -dumpversion`
[/code]
Back to top
View user's profile Send private message
vinz
Tux's lil' helper
Tux's lil' helper


Joined: 11 Aug 2002
Posts: 93
Location: Switzerland

PostPosted: Wed Aug 21, 2002 11:12 pm    Post subject: Reply with quote

hmm, better fix for this:
change the .ebuild line
Code:

 if [ "`gcc-version`" = "3.1" ]

to
Code:

 if [ "`gcc-version`" = "3.2" ]
Back to top
View user's profile Send private message
hopesfall
n00b
n00b


Joined: 29 Jul 2002
Posts: 8

PostPosted: Thu Aug 22, 2002 4:02 am    Post subject: Reply with quote

Can anyone who successfully compiled Openoffice using gcc 3.2 comment on the procedure? The ebuild contains a warning:

Code:
 This is extremely alpha!!! Note for gcc-3.1 users:  The produced build do not look as stable as it should be ... there are some weird glitches and crashes.


So basically, what make.conf settings did it accept and is the result stable, or should I just be safe and install the binary? I was curious as to whether gcc 3.2 helped or just made things worse.

Thanks
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Thu Aug 22, 2002 5:14 am    Post subject: Reply with quote

I'll give these a try and let you know later how it went.

thanks guys
Back to top
View user's profile Send private message
aardvark
Guru
Guru


Joined: 30 Jun 2002
Posts: 576

PostPosted: Thu Aug 22, 2002 9:55 am    Post subject: Reply with quote

Just in case:

You are aware of the openoffice-bin ebuild aren't you?
Evern better:
You are aware that the latest binary install form openoffice.com is one verion higher?

Installing the downloaded version:
unpack the tarball somewhere.
run the ./setup script from within an xterm as root and root x-access but mind the following:
run "./setup -net" instead of just "./setup" to have a network install (each user their own setting etc.)

you will then have to run the setup in the program dir of your oo-installed to install for each user.

works very well here and even better than the ebuild :)
Back to top
View user's profile Send private message
aardvark
Guru
Guru


Joined: 30 Jun 2002
Posts: 576

PostPosted: Thu Aug 22, 2002 9:55 am    Post subject: Reply with quote

Just in case:

You are aware of the openoffice-bin ebuild aren't you?
Evern better:
You are aware that the latest binary install form openoffice.com is one verion higher?

Installing the downloaded version:
unpack the tarball somewhere.
run the ./setup script from within an xterm as root and root x-access but mind the following:
run "./setup -net" instead of just "./setup" to have a network install (each user their own setting etc.)

you will then have to run the setup in the program dir of your oo-installed to install for each user.

works very well here and even better than the ebuild :)
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Thu Aug 22, 2002 1:18 pm    Post subject: Reply with quote

yeah I knew about the openoffice-bin (as per my original post) but didn't know there was a new version out.

I guess this will be portaged soon.

tho I may just grab it and do it manually.. thanks for the tip :)
Back to top
View user's profile Send private message
Tuxisuau
Apprentice
Apprentice


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

PostPosted: Thu Aug 22, 2002 1:21 pm    Post subject: International support Reply with quote

I wish they don't forget international support... There are binaries in their website in spanish and in catalan, but of course I don't want to use slow crappy binaries ;).
_________________
IM me at tuxisuau@jabber.7a69ezine.org
Back to top
View user's profile Send private message
aardvark
Guru
Guru


Joined: 30 Jun 2002
Posts: 576

PostPosted: Thu Aug 22, 2002 1:24 pm    Post subject: Reply with quote

will a self compiled Openoffice really be much faster?
can anyone convince me?
Back to top
View user's profile Send private message
vinz
Tux's lil' helper
Tux's lil' helper


Joined: 11 Aug 2002
Posts: 93
Location: Switzerland

PostPosted: Thu Aug 22, 2002 1:33 pm    Post subject: Reply with quote

one reason that im using gentoo is that i dont want precompiled binaries.
beside i doubt that the binary would even run when the rest of the system is built with gcc3.2.
and of course its faster when you use your personal system optimization building openoffice
Back to top
View user's profile Send private message
hopesfall
n00b
n00b


Joined: 29 Jul 2002
Posts: 8

PostPosted: Thu Aug 22, 2002 2:23 pm    Post subject: Reply with quote

Here is a link to an athlon optimized build of OpenOffice 1.0.1 using gcc 3.1.1:
http://www.pclinuxonline.com/modules.php?name=News&file=article&sid=2726

I have read this build is 50% faster. 50% seems like a bit of an exaggeration, but I wouldn't be surprised if it was noticeably faster, considering how large the program is, and that the binaries are typically built using gcc 3.0.4, which was known for being a bit buggy. I don't have an Atlon processor so I haven't tried the build
Back to top
View user's profile Send private message
aardvark
Guru
Guru


Joined: 30 Jun 2002
Posts: 576

PostPosted: Thu Aug 22, 2002 3:12 pm    Post subject: Reply with quote

vinz wrote:
one reason that im using gentoo is that i dont want precompiled binaries.
beside i doubt that the binary would even run when the rest of the system is built with gcc3.2.
and of course its faster when you use your personal system optimization building openoffice


Well openoffice is the one thing of which I have until now chosen not to compile from source.
- It failed on 3 prevous attemps. It says it is alpha/buggy in the ebuild
- I read that it might take a few days, when it gets all through (on my duron)
- I read that I need loads of HD space, that I do not (always) have atm

BTW : The binairy 1.0.1 verion works fine on a GCC 3.2 system (in my case)
Back to top
View user's profile Send private message
aardvark
Guru
Guru


Joined: 30 Jun 2002
Posts: 576

PostPosted: Thu Aug 22, 2002 3:14 pm    Post subject: Reply with quote

hopesfall wrote:
Here is a link to an athlon optimized build of OpenOffice 1.0.1 using gcc 3.1.1:
http://www.pclinuxonline.com/modules.php?name=News&file=article&sid=2726

I have read this build is 50% faster. 50% seems like a bit of an exaggeration, but I wouldn't be surprised if it was noticeably faster, considering how large the program is, and that the binaries are typically built using gcc 3.0.4, which was known for being a bit buggy. I don't have an Atlon processor so I haven't tried the build


Tried it, Is indeed very snappy!!
Works on both my gcc 2.95 and 3.2 systems!

This may indulge me to compile my own!! :)

Good tip!!
Back to top
View user's profile Send private message
hopesfall
n00b
n00b


Joined: 29 Jul 2002
Posts: 8

PostPosted: Thu Aug 22, 2002 9:17 pm    Post subject: Correction Reply with quote

Just a quick correction to my above post. The binaries are build using gcc 3.0.4, not gcc 3.1.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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