View previous topic :: View next topic |
Author |
Message |
Mad Merlin Veteran
Joined: 09 May 2005 Posts: 1155
|
Posted: Fri Oct 13, 2006 10:08 pm Post subject: Openoffice 2.0.4 and amd64 (solved) |
|
|
I notice that Openoffice 2.0.4 is keyworded for ~amd64, does this mean that it's now 64-bit clean (or at least close enough to compile and work)? Has anyone tried emerging it on amd64 yet? I'll be trying tonight...
Edit: Yes it works, see below. _________________ Game! - Where the stick is mightier than the sword!
Last edited by Mad Merlin on Sat Oct 14, 2006 9:00 pm; edited 1 time in total |
|
Back to top |
|
|
kfiaciarka Veteran
Joined: 20 May 2005 Posts: 1498 Location: Dobre Miasto, Poland
|
Posted: Fri Oct 13, 2006 10:18 pm Post subject: |
|
|
Why not use openoffice-bin, I compiled openoffice a few times, it takes guite long, but there it runs wuite the same. |
|
Back to top |
|
|
LubosD Apprentice
Joined: 30 Jun 2005 Posts: 211 Location: Czech Republic
|
Posted: Fri Oct 13, 2006 10:22 pm Post subject: |
|
|
kfiaciarka wrote: | Why not use openoffice-bin, I compiled openoffice a few times, it takes guite long, but there it runs wuite the same. |
Because openoffice-bin is 32bit. |
|
Back to top |
|
|
kfiaciarka Veteran
Joined: 20 May 2005 Posts: 1498 Location: Dobre Miasto, Poland
|
Posted: Fri Oct 13, 2006 10:23 pm Post subject: |
|
|
ok, it was on x86. If you want to compile it for 8-9 h, then try it yourself:) |
|
Back to top |
|
|
Mad Merlin Veteran
Joined: 09 May 2005 Posts: 1155
|
Posted: Sat Oct 14, 2006 12:17 am Post subject: |
|
|
Yes, I'm using openoffice-bin on amd64 currently, and I'm aware of the time consuming compile for the source package. Taken from my Pentium-M 1.3 Ghz system:
Code: |
Tue Oct 3 00:46:34 2006 >>> app-office/openoffice-2.0.3
merge time: 6 hours, 46 minutes and 41 seconds.
|
(note that gcc 4.1.1 produced a ~25% speed improvement here)
The openoffice-bin package looks different than the openoffice package, it doesn't seem to use the KDE skin/integration. Also, if nothing else, I'd like to compare the compile times for it on a significantly faster system (Athlon X2 4200+, 2G RAM), and it's not certainly not going to take longer than overnight. _________________ Game! - Where the stick is mightier than the sword! |
|
Back to top |
|
|
reynolds531 Apprentice
Joined: 23 Apr 2005 Posts: 260 Location: Rochester, NY
|
Posted: Sat Oct 14, 2006 6:57 am Post subject: |
|
|
I was able to compile openoffice-2.03 on my amd64 system, but only if I turned off the java USE flag. Judging from posts here in the forums, that was a pretty common problem. Unfortunately, that made openoffice unusable for me -- no help system and problems with saving files.
I just tried compiling 2.04 with the java flag and once again got a java-related error (not sure if it's the same error, though):
Code: | no_services.rdb \
-c javaloader.uno.so -c javavm.uno.so
register component 'javaloader.uno.so' in registry '../../unxlngx6.pro/lib/uno_services.rdb' succesful!
register component 'javavm.uno.so' in registry '../../unxlngx6.pro/lib/uno_services.rdb' succesful!
regcomp -register -br ../../unxlngx6.pro/misc/bridgetest/bootstrap.rdb -r ../../unxlngx6.pro/lib/uno_services.rdb -c \
file:///var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/testtools/source/bridgetest/../../unxlngx6.pro/class/testComponent.jar \
-env:URE_INTERNAL_JAVA_DIR=file:///var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solver/680/unxlngx6.pro/bin
register component 'file:///var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/testtools/source/bridgetest/../../unxlngx6.pro/class/testComponent.jar' in registry '../../unxlngx6.pro/lib/uno_services.rdb' failed!
error (RuntimeException): JNI exception occurred
using loader com.sun.star.loader.Java2
dmake: Error code 1, while making '../../unxlngx6.pro/lib/uno_services.rdb'
dmake: '../../unxlngx6.pro/lib/uno_services.rdb' removed.
'---* tg_merge.mk *---'
ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/testtools/source/bridgetest
make: *** [stamp/build] Error 1
!!! ERROR: app-office/openoffice-2.0.4 failed.
Call stack:
ebuild.sh, line 1548: Called dyn_compile
ebuild.sh, line 937: Called src_compile
openoffice-2.0.4.ebuild, line 270: Called die
!!! Build failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.5 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.08"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info
|
I'm not going to bother trying to compile 2.04 without the java flag. |
|
Back to top |
|
|
Belliash Advocate
Joined: 24 Nov 2004 Posts: 2503 Location: Wroclaw, Poland
|
Posted: Sat Oct 14, 2006 7:07 am Post subject: |
|
|
hmmm....
Is it possible to build OpenOffice 2.0.4 from sources on 64-bit Gentoo based on Athlon64 using GCC 4.1.1-r1? _________________ Asio Software Technologies
Belliash IT Weblog |
|
Back to top |
|
|
laughinggnome n00b
Joined: 07 Mar 2006 Posts: 45
|
Posted: Sat Oct 14, 2006 9:06 am Post subject: |
|
|
I got this far:
Code: | /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: .
libs/mut_pthread.o: relocation R_X86_64_32 against `a local symbol' can not be u
sed when making a shared object; recompile with -fPIC
.libs/mut_pthread.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libdb-4.2.la] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-office/openoffice-2.0.4/work/oo
o/build/OOO_2_0_4/berkeleydb/unxlngx6.pro/misc/build/db-4.2.52.NC/out'
dmake: Error code 2, while making './unxlngx6.pro/misc/build/so_built_so_berkel eydb'
'---* tg_merge.mk *---'
ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice- 2.0.4/work/ooo/build/OOO_2_0_4/berkeleydb
make: *** [stamp/build] Error 1
!!! ERROR: app-office/openoffice-2.0.4 failed.
Call stack:
ebuild.sh, line 1548: Called dyn_compile
ebuild.sh, line 937: Called src_compile
openoffice-2.0.4.ebuild, line 270: Called die
!!! Build failed
!!! If you need support, post the topmost build error, and the call stack if rel evant.
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.5 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.08"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info
|
EDIT: I had to remove -fvisibility-inlines-hidden and -fno-enforce-eh-specs from my CXXFLAGS. It then built beautifully!
Last edited by laughinggnome on Fri Oct 27, 2006 3:16 pm; edited 1 time in total |
|
Back to top |
|
|
Logge Tux's lil' helper
Joined: 09 Jul 2004 Posts: 131 Location: Sweden
|
Posted: Sat Oct 14, 2006 10:56 am Post subject: |
|
|
Hi!!
Take a look on this bug (151225)
I believe it's the same problem...
//Logge _________________ I never stop to amaze about the advanced features of the human body's simplicity |
|
Back to top |
|
|
sonaatti n00b
Joined: 09 Jan 2006 Posts: 39
|
Posted: Sat Oct 14, 2006 4:56 pm Post subject: |
|
|
Morpheouss wrote: | hmmm....
Is it possible to build OpenOffice 2.0.4 from sources on 64-bit Gentoo based on Athlon64 using GCC 4.1.1-r1? |
Yes It compiles cleanly, the only issue is saving files (very uncommon tho) sometimes locks openoffice, also trying to open a ppt directly from firefox locks openoffice everytime. |
|
Back to top |
|
|
Mad Merlin Veteran
Joined: 09 May 2005 Posts: 1155
|
Posted: Sat Oct 14, 2006 8:55 pm Post subject: |
|
|
Well, it's the next day, and Openoffice compiled successfully (though it took slightly longer than 2.0.3 on a slower system, will try 2.0.4 soon). It seems to start up quite a bit faster than the -bin package, and does integrate with KDE much better. For posterity's sake:
Code: |
x2-42 neil # genlop -t openoffice
* app-office/openoffice
Sat Oct 14 10:39:32 2006 >>> app-office/openoffice-2.0.4
merge time: 7 hours, 15 minutes and 16 seconds.
x2-42 neil # emerge -pv openoffice
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] app-office/openoffice-2.0.4 USE="kde pam -binfilter -branding -cairo -cups -dbus -debug -eds -firefox -gnome -gstreamer -gtk -java -ldap -odk -sound -webdav" LINGUAS="-af -ar -be_BY -bg -bn -bs -ca -cs -cy -da -de -el -en -en_GB -en_US -en_ZA -es -et -fa -fi -fr -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -lt -mk -nb -nl -nn -nr -ns -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -st -sv -sw_TZ -th -tn -tr -ts -vi -xh -zh_CN -zh_TW -zu" 0 kB
|
_________________ Game! - Where the stick is mightier than the sword! |
|
Back to top |
|
|
mkk n00b
Joined: 10 Oct 2004 Posts: 56
|
Posted: Sat Oct 14, 2006 9:40 pm Post subject: |
|
|
I've not yet emerged 2.0.4, but I've been able to emerge 2.0.4-rc2 with USE=java if and only if I unmerge any instance of sun-java 1.5. No setting I've tried (and I've tried a lot) can make the compilation ignore the existance of java 1.5 unless it simply is not on my system. But with Blackdown 1.4 only on my system it compiles just fine.
Of course I do crash when I use the MySQL JDBC when I try to create a table. I seem to remember that was a problem in the 2.0 beta on 32 bit. I seem to remember that got resolved in 32 bit, but my memory isn't all that great so I'm not sure. |
|
Back to top |
|
|
<3 Veteran
Joined: 21 Oct 2004 Posts: 1083
|
Posted: Sun Oct 15, 2006 12:26 am Post subject: |
|
|
I just emerged openoffice 2.0.4 today on amd64 with gcc 4.1.1 and so far everything seems to be in working order. The interface looks a lot better than the binary version IMO, I think its because of the KDE intergration.
time emerge openoffice: | real 267m34.839s
user 181m48.960s
sys 55m24.521s |
Code: | #genlop -t openoffice
* app-office/openoffice
Sat Oct 14 11:04:44 2006 >>> app-office/openoffice-2.0.4
merge time: 4 hours, 27 minutes and 21 seconds. |
Using preinstalled dependencies and a prefectched openoffice ebuild. |
|
Back to top |
|
|
Mad Merlin Veteran
Joined: 09 May 2005 Posts: 1155
|
Posted: Sun Oct 15, 2006 2:33 am Post subject: |
|
|
<3 wrote: | I just emerged openoffice 2.0.4 today on amd64 with gcc 4.1.1 and so far everything seems to be in working order. The interface looks a lot better than the binary version IMO, I think its because of the KDE intergration.
time emerge openoffice: | real 267m34.839s
user 181m48.960s
sys 55m24.521s |
Code: | #genlop -t openoffice
* app-office/openoffice
Sat Oct 14 11:04:44 2006 >>> app-office/openoffice-2.0.4
merge time: 4 hours, 27 minutes and 21 seconds. |
Using preinstalled dependencies and a prefectched openoffice ebuild. |
Hmm, now that I think about it, there would have been a long SMART scan happening right then, which probably slowed it down, I might try again tonight for comparison's sake. _________________ Game! - Where the stick is mightier than the sword! |
|
Back to top |
|
|
tam Guru
Joined: 04 Mar 2003 Posts: 569
|
Posted: Sun Oct 15, 2006 10:01 am Post subject: |
|
|
I have successfully compiled OpenOffice 2.0.4, too:
Code: | amd64 ~ # grep "app-office/openoffice" /etc/portage/package.*
/etc/portage/package.keywords:app-office/openoffice ~amd64
/etc/portage/package.unmask:app-office/openoffice
/etc/portage/package.use:app-office/openoffice -java
|
It's worth the compile time (AMD64 3200+, 1GB RAM), because the ugly fonts within the bin package disapeared.
Code: | amd64 ~ # splat openoffice-2.0.4
* app-office/openoffice-2.0.4
Emerged at: Sat Oct 14 17:11:08 2006
Build time: 4 hours, 18 minutes, and 40 seconds
|
_________________ http://tam.belchenstuermer.de/ |
|
Back to top |
|
|
Logge Tux's lil' helper
Joined: 09 Jul 2004 Posts: 131 Location: Sweden
|
Posted: Sun Oct 15, 2006 1:04 pm Post subject: |
|
|
Yeah!! It's definetly worth the compile time, and the resulting ooffice2 runs alot faster than the openoffice-bin.
Code: | logge@Thalamus ~ $ genlop -t openoffice
* app-office/openoffice
Sun Oct 15 14:48:06 2006 >>> app-office/openoffice-2.0.4
merge time: 2 hours, 56 minutes and 27 seconds.
|
Compiled under a complete ~amd64 but with -java as USE because of the problems mentioned. I was also watching a movie so some cpu-power might have been eaten by kaffeine but it might have compiled faster if I didn't watch the movie... =)
//Logge _________________ I never stop to amaze about the advanced features of the human body's simplicity |
|
Back to top |
|
|
tam Guru
Joined: 04 Mar 2003 Posts: 569
|
Posted: Sun Oct 15, 2006 3:45 pm Post subject: |
|
|
Hey Logge,
Logge wrote: |
merge time: 2 hours, 56 minutes and 27 seconds.
|
Your's longer than mine. Which kind of CPU? _________________ http://tam.belchenstuermer.de/ |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5929
|
Posted: Sun Oct 15, 2006 3:56 pm Post subject: |
|
|
is it safe to remove it from package.mask and emerge it?
dagg |
|
Back to top |
|
|
Logge Tux's lil' helper
Joined: 09 Jul 2004 Posts: 131 Location: Sweden
|
Posted: Sun Oct 15, 2006 3:56 pm Post subject: |
|
|
Hi!!
Code: | logge@Thalamus ~ $ uname -p
Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz |
I've set my makeopts to -j4... it seems pretty suitable and works pretty well with 2 gigs of ram.
But... I don't know how you get 2 hours and 56 minutes to be longer than 4 hours and 18 minutes??
//Oskar _________________ I never stop to amaze about the advanced features of the human body's simplicity |
|
Back to top |
|
|
tam Guru
Joined: 04 Mar 2003 Posts: 569
|
Posted: Sun Oct 15, 2006 3:57 pm Post subject: |
|
|
DaggyStyle wrote: | is it safe to remove it from package.mask and emerge it? |
Of course. Pls read the whole topic. _________________ http://tam.belchenstuermer.de/ |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5929
|
Posted: Sun Oct 15, 2006 4:30 pm Post subject: |
|
|
tam wrote: | DaggyStyle wrote: | is it safe to remove it from package.mask and emerge it? |
Of course. Pls read the whole topic. |
I've read, but I wasnt sure so I've decided to ask
thanks
dagg |
|
Back to top |
|
|
mkk n00b
Joined: 10 Oct 2004 Posts: 56
|
Posted: Sun Oct 15, 2006 4:50 pm Post subject: |
|
|
In case anyone's interested...
Code: | # genlop -t openoffice
* app-office/openoffice
Sat Sep 16 20:10:35 2006 >>> app-office/openoffice-2.0.4_rc1-r1
merge time: 7 hours, 32 minutes and 23 seconds.
Sun Sep 24 04:59:09 2006 >>> app-office/openoffice-2.0.4_rc2
merge time: 7 hours, 15 minutes and 4 seconds.
Sun Oct 15 04:28:23 2006 >>> app-office/openoffice-2.0.4
merge time: 5 hours, 54 minutes and 24 seconds.
# uname -p
AMD Athlon(tm) 64 Processor 3000+
# emerge openoffice -pv
These are the packages that would be merged, in order:
Calculating dependencies ... done!
[ebuild R ] app-office/openoffice-2.0.4 USE="binfilter branding cairo cups dbus firefox gnome gstreamer gtk java kde ldap odk pam sound webdav -debug -eds" LINGUAS="-af -ar -be_BY -bg -bn -bs -ca -cs -cy -da -de -el -en -en_GB -en_US -en_ZA -es -et -fa -fi -fr -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -lt -mk -nb -nl -nn -nr -ns -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -st -sv -sw_TZ -th -tn -tr -ts -vi -xh -zh_CN -zh_TW -zu" 0 kB |
So a relatively slow single core 64-bit processor (with 1 GB RAM) takes just under 6 hours to build with USE=java, but see my message above about needing to uninstall sun-jdk 1.5, in fact all I had on my system was Blackdown 1.4 during the compile. You can reinstall sun-jdk 1.5 after it compiles though. |
|
Back to top |
|
|
tam Guru
Joined: 04 Mar 2003 Posts: 569
|
Posted: Sun Oct 15, 2006 5:37 pm Post subject: |
|
|
Logge wrote: | But... I don't know how you get 2 hours and 56 minutes to be longer than 4 hours and 18 minutes?? |
I did not talk about the time needed to compile OOo. _________________ http://tam.belchenstuermer.de/ |
|
Back to top |
|
|
Kasumi_Ninja Veteran
Joined: 18 Feb 2006 Posts: 1825 Location: The Netherlands
|
Posted: Sun Oct 15, 2006 10:00 pm Post subject: |
|
|
Here are my results thusfar:
Code: | !!! ERROR: The active vm could not be found
!!! ERROR: The active vm could not be found
!!! ERROR: The active vm could not be found
!!! ERROR: The active vm could not be found
* There was a problem determining which VM to use for generation-1
* This is because the way Java is handled on Gentoo has drastically changed.
* There does not seem to be a 1.4 or 1.3 JDK installed.
* You should probably install =virtual/jdk-1.4* or =virtual/jdk-1.3*
* It is important to have either a 1.4 or 1.3 JDK installed
* in order for the old and new Java systems to coexist
* Details about this can be found at:
* http://overlays.gentoo.org/proj/java/wiki/Why_We_Need_Java14
* You should run, and follow the advice of:
* /usr/bin/java-check-environment
* You will also likely want to follow the Java Upgrade Guide:
* http://www.gentoo.org/proj/en/java/java-upgrade.xml
* If you have problems with the guide, please see:
* http://overlays.gentoo.org/proj/java/wiki/Common_Problems
!!! ERROR: dev-java/ant-core-1.6.2-r5 failed.
Call stack:
ebuild.sh, line 1562: Called dyn_setup
ebuild.sh, line 665: Called pkg_setup
ebuild.sh, line 1255: Called java-pkg_pkg_setup
java-pkg.eclass, line 52: Called die
!!! Expected VMHANDLE to be defined in the env
!!! If you need support, post the topmost build error, and the call stack if relevant. |
Code: | #/usr/bin/java-check-environment
* === Java Environment Checker ===
* The purpose of this script is to check the sanity of your Java Environment.
* We have significantly changed and improved the way Java is handled in many respects.
* Please refer to http://www.gentoo.org/proj/en/java/java-upgrade.xml for details
* Checking vm_environment_files ...
* Generation-1 configuration files were found in /etc/env.d/java
* Please run the following to remove them:
# rm /etc/env.d/java/20blackdown-jdk-1.4.2.03
* You must then update your VMs to Generation-2 by running:
# emerge -autv1 '>=dev-java/blackdown-jdk-1.4.2.03-r12'
* If you've done this already, but java-check-environment
* still prompts you to emerge the same stuff, be sure that you
* have each package keyworded properly to get the latest version.
* Refer to the Gentoo Java upgrade guide for complete list of
* packages to put into package.keywords. [ !! ]
* Some problems were found. Please follow the instructions above, and rerun java-check-environment
|
Code: |
# rm /etc/env.d/java/20blackdown-jdk-1.4.2.03
addeddev-java/blackdown-jdk to /etc/portage/pacvkage.keywords
# emerge -autv1 '>=dev-java/blackdown-jdk-1.4.2.03-r12' |
1st compile crashed 2nd was more succesful:
Code: | real 342m32.590s
user 181m12.660s
sys 60m50.937s
|
_________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
Last edited by Kasumi_Ninja on Mon Oct 16, 2006 12:58 pm; edited 1 time in total |
|
Back to top |
|
|
reynolds531 Apprentice
Joined: 23 Apr 2005 Posts: 260 Location: Rochester, NY
|
Posted: Mon Oct 16, 2006 4:48 am Post subject: |
|
|
mkk wrote: | So a relatively slow single core 64-bit processor (with 1 GB RAM) takes just under 6 hours to build with USE=java, but see my message above about needing to uninstall sun-jdk 1.5, in fact all I had on my system was Blackdown 1.4 during the compile. You can reinstall sun-jdk 1.5 after it compiles though. |
Thanks for the tip -- I've now gotten openoffice to compile with the java flag. However, in my case, I had sun-jdk-1.4 and sun-jdk-1.5 on my system beforehand and had to remove both of them (and install blackdown-jdk-1.4) before getting it to work.
Afterward, I reinstalled sun-jdk-1.4, but java-config wouldn't recognize it as a generation-1 virtual machine and I had to keep blackdown. Anyone have any idea why that is?
Things seem to run well, with a couple of exceptions -- I can now save documents OK, but the save dialog behaves strangely. If I type a name in the filename box and then hit enter, the dialog creates a new subdirectory of that name and not a file, unless I include the suffix in the filename.
Also oobase crashes when I try to create tables, forms and reports. |
|
Back to top |
|
|
|