View previous topic :: View next topic |
Author |
Message |
Kezza n00b
Joined: 11 Dec 2002 Posts: 49
|
Posted: Sun Dec 15, 2002 7:57 am Post subject: emerge openoffice fails! |
|
|
emerge openoffice fails with the following message:
dmake: Error --
`/var/tmp/portage/openoffice-1.0.1-r1/work/oo_1.0.1_src/solver/641/unxlngi4.pro/lib/libstdc++.so.5.0.0'
not found, and can't be made
---* RULES.MK *---
ERROR: Error 65280 occurred while making
/var/tmp/portage/openoffice-1.0.1-r1/work/oo_1.0.1_src/product/util
!!! ERROR: app-office/openoffice-1.0.1-r1 failed.
!!! Function src_compile, Line 358, Exitcode 1
!!! Build failed!
Does this mean libstdc++.so.5.0.0 cannot be found within the source tree? Interestingly the ebuild script applies many patches, among them:
>>> Unpacking OOo_1.0.1_source.tar.bz2
>>> Unpacking gpc231.tar.Z
* Applying patches...
* Applying openoffice-1.0.0-configure.patch... [ ok ]
* Applying openoffice-1.0.1-use-libstdc++-5.0.0.patch... [ ok ]
So I'm lost. I would expect libstdc++.so.5.0.0 to be present after the patch? Any pointers would be appreciated. |
|
Back to top |
|
|
s003apr Apprentice
Joined: 04 Oct 2002 Posts: 162
|
Posted: Sun Dec 15, 2002 3:17 pm Post subject: |
|
|
Same problem!!!
This is on a fresh install of Gentoo, prior to emerging openoffice I updated the system (emerge -u system) and I did an emerge sync.
Other than that it's a pretty bare system with just kde installed.
Code: |
ln -s libgcc_s.so.1 ../unxlngi4.pro/bin/udk3.0.1/linux/lib/libgcc_s.so
dmake: Error -- `/var/tmp/portage/openoffice-1.0.1-r1/work/oo_1.0.1_src/solver/641/unxlngi4.pro/lib/libstdc++.so.5.0.0' not found, and can't be made
---* RULES.MK *---
ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.0.1-r1/work/oo_1.0.1_src/product/util
!!! ERROR: app-office/openoffice-1.0.1-r1 failed.
!!! Function src_compile, Line 358, Exitcode 1
!!! Build failed!
|
|
|
Back to top |
|
|
mpool n00b
Joined: 16 Dec 2002 Posts: 26
|
Posted: Mon Dec 16, 2002 4:52 am Post subject: same libstdc++.so.5.0.0 error |
|
|
I have an identical error. I have tried changing the CFLAGS in my make.conf but that doesn't make a difference.
This is my first install of Gentoo. Besides the base, I have emerged only X, kde and emacs. Is there something I should do before openoffice?
Madeline |
|
Back to top |
|
|
Trainwreck n00b
Joined: 16 Dec 2002 Posts: 24 Location: HR
|
Posted: Mon Dec 16, 2002 6:27 am Post subject: |
|
|
Having the exact same problem here. "Error 65280" & "!!! Function src_compile, Line 358, Exitcode 1"
Got the following earlier:
* This ebuild has only been tested with the blackdown port of
* java. If you use another java implementation, it could fail
* horribly, so please merge the blackdown-jdk and set it as
* system VM before proceeding:
*
* # emerge blackdown-jdk
* # java-config --set-system-vm=blackdown-jdk-1.3.1
* # env-update
* # source /etc/profile
*
* At the time of writing, this was version 1.3.1, so please
* adjust the version according to the version installed in
* /opt.
*
* If you however want to test another JDK (not officially supported),
* you could do the following:
*
* # export FORCE_JAVA=yes
*
!!! ERROR: app-office/openoffice-1.0.1-r1 failed.
!!! Function pkg_setup, Line 94, Exitcode 0
!!! (no error message)
I forget to enter the last "export FORCE_JAVA=yes"
trying it again....... |
|
Back to top |
|
|
bassvandijk Guru
Joined: 13 Sep 2002 Posts: 306 Location: Haps, Netherlands
|
Posted: Mon Dec 16, 2002 4:16 pm Post subject: |
|
|
I have the exact same problem.
my brother posted it earlier, but nobody replied .
NOTE: I also got this same error message when I emerge gkrellm |
|
Back to top |
|
|
ehj n00b
Joined: 02 Aug 2002 Posts: 29 Location: sweden
|
Posted: Mon Dec 16, 2002 4:42 pm Post subject: |
|
|
This is the output I got after 5 hours of compiling openoffice:
Code: | cp -p /var/tmp/portage/openoffice-1.0.1-r1/work/oo_1.0.1_src/solver/641/unxlngi4.pro/lib/libstlport_gcc.so ../unxlngi4.pro/bin/udk3.0.1/linux/lib/libstlport_gcc.so
rm -f ../unxlngi4.pro/bin/udk3.0.1/linux/lib/libgcc_s.so.1
cp -p /var/tmp/portage/openoffice-1.0.1-r1/work/oo_1.0.1_src/solver/641/unxlngi4.pro/lib/libgcc_s.so.1 ../unxlngi4.pro/bin/udk3.0.1/linux/lib/libgcc_s.so.1
rm -f ../unxlngi4.pro/bin/udk3.0.1/linux/lib/libgcc_s.so
ln -s libgcc_s.so.1 ../unxlngi4.pro/bin/udk3.0.1/linux/lib/libgcc_s.so
dmake: Error -- `/var/tmp/portage/openoffice-1.0.1-r1/work/oo_1.0.1_src/solver/641/unxlngi4.pro/lib/libstdc++.so.5.0.0' not found, and can't be made
---* RULES.MK *---
ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.0.1-r1/work/oo_1.0.1_src/product/util
!!! ERROR: app-office/openoffice-1.0.1-r1 failed.
!!! Function src_compile, Line 358, Exitcode 1
!!! Build failed!
|
I still cant emerge -u system because:
Code: |
[ebuild U ] sys-apps/portage-2.0.45-r5 [2.0.45-r4]
[ebuild U ] sys-devel/binutils-2.13.90.0.16 [2.13.90.0.4-r0]
[ebuild U ] sys-apps/util-linux-2.11y [2.11u-r0]
|
cant be updated because of err 300 Multiple Choices or similar
(see other post).
https://forums.gentoo.org/viewtopic.php?p=151048&highlight=#151048
//Erik |
|
Back to top |
|
|
Trainwreck n00b
Joined: 16 Dec 2002 Posts: 24 Location: HR
|
Posted: Tue Dec 17, 2002 11:38 am Post subject: |
|
|
Here's what I'm doing:
went into:
#/var/tmp/portage/openoffice-1.0.1-r1/work/oo_1.0.1_src/solver/641/unxlngi4.pro/lib
typed:
# ln -s libstdc++.so.5 libstdc++.so.5.0.0
(had to do it after I already started 'emerge openoffice')
I'm currently on my 3rd hr+ crunching oo. I usualy come accross that ".../libstdc++.so.5.0.0' not found, and can't be made..." error within the first 2 and a half hours. Hope it works... |
|
Back to top |
|
|
Trainwreck n00b
Joined: 16 Dec 2002 Posts: 24 Location: HR
|
Posted: Tue Dec 17, 2002 6:49 pm Post subject: |
|
|
Sick!!! It worked! I've finally completed ooffice emerge. Just need to figure out that address book thing now. |
|
Back to top |
|
|
s003apr Apprentice
Joined: 04 Oct 2002 Posts: 162
|
Posted: Wed Dec 18, 2002 3:49 pm Post subject: |
|
|
Great Job trainwreck, I'll have to try it tonight |
|
Back to top |
|
|
iplayfast l33t
Joined: 08 Jul 2002 Posts: 642 Location: Cambridge On,CA
|
Posted: Wed Dec 18, 2002 4:22 pm Post subject: |
|
|
I tried it last night, didn't work for me
But I also saw in the notes that the optimizations should be set lower, so maybe that's where I went wrong. |
|
Back to top |
|
|
s003apr Apprentice
Joined: 04 Oct 2002 Posts: 162
|
Posted: Wed Dec 18, 2002 4:37 pm Post subject: |
|
|
did you have to use less aggressive CFLAGS and CXXFLAGS, trainwreck? |
|
Back to top |
|
|
Trainwreck n00b
Joined: 16 Dec 2002 Posts: 24 Location: HR
|
Posted: Thu Dec 19, 2002 9:19 am Post subject: |
|
|
s003apr wrote: | did you have to use less aggressive CFLAGS and CXXFLAGS, trainwreck? |
Nope, just used my regular Code: | CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer -funroll-loops -mmmx -m3dnow" |
I'm under the impression that the ebuild adjusts them to what it 'needs' to be (just from looking at the compile)
ps: I added the link after about 15 mins or a half hour of OO compiling. |
|
Back to top |
|
|
s003apr Apprentice
Joined: 04 Oct 2002 Posts: 162
|
Posted: Thu Dec 19, 2002 1:45 pm Post subject: |
|
|
thanks again trainwreck, it worked for me as well without making any changes to the optimization settings. |
|
Back to top |
|
|
cbrese Tux's lil' helper
Joined: 12 Jul 2002 Posts: 126 Location: San Diego, CA
|
Posted: Sun Dec 22, 2002 5:12 pm Post subject: |
|
|
Did anyone file a bug report for this? I searched bugzilla and saw some simular bugs but everything is resolved.
I had the problem using the latest everything so it hasn't been resolved.
I'm trying again with Trainwreck's hack, I hope it works. |
|
Back to top |
|
|
iplayfast l33t
Joined: 08 Jul 2002 Posts: 642 Location: Cambridge On,CA
|
Posted: Mon Dec 23, 2002 1:20 am Post subject: |
|
|
I just tried it again this morning. It failed due to something about it couldn't allocate 4000000 bytes of memory after it allocated 100000 bytes or something like that(not exact numbers). I don't know why it would need so much memory. But my problem may be there. I noticed also that openOffice has been updated which may fix the problems. |
|
Back to top |
|
|
Stalione Guru
Joined: 21 Apr 2002 Posts: 335
|
Posted: Fri Jan 03, 2003 2:23 pm Post subject: |
|
|
Thank you Trainwreck. It worked for me too... |
|
Back to top |
|
|
sarnold Developer
Joined: 28 Nov 2002 Posts: 115 Location: California
|
Posted: Mon Jan 13, 2003 10:40 pm Post subject: Me too |
|
|
It also worked for me (making the link after starting the emerge) on my wife's k6-2 350. It only took about 3 days... |
|
Back to top |
|
|
|