View previous topic :: View next topic |
Author |
Message |
ilm Guru
Joined: 29 Jun 2006 Posts: 310 Location: Brisbane, Australia
|
Posted: Mon Aug 21, 2006 1:22 am Post subject: Revdep-rebuild and gcc |
|
|
Since I wanted to try out windowmaker with the gnustep option, i recompiled gcc with the objc and gcj USE flags. However, whenever I try to run revdep-rebuild, it keeps wanting to do a oneshot emerge of gcc.
Any ideas??? |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
|
Back to top |
|
|
ilm Guru
Joined: 29 Jun 2006 Posts: 310 Location: Brisbane, Australia
|
Posted: Mon Aug 21, 2006 1:43 am Post subject: |
|
|
Code: | onfiguring search environment for revdep-rebuild
Checking reverse dependencies...
Packages containing binaries and libraries broken by a package update
will be emerged.
Collecting system binaries and libraries... using existing /root/.revdep-rebuild.1_files.
Collecting complete LD_LIBRARY_PATH... using existing /root/.revdep-rebuild.2_ldpath.
Checking dynamic linking consistency... using existing /root/.revdep-rebuild.3_rebuild.
Assigning files to ebuilds... using existing /root/.revdep-rebuild.4_ebuilds.
Evaluating package order... using existing /root/.revdep-rebuild.5_order.
All prepared. Starting rebuild...
emerge --oneshot =sys-devel/gcc-3.4.6-r1
.......
|
And then I hit Ctrl-c to stop it, as I've already tried letting it emerge gcc again twice. |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Mon Aug 21, 2006 1:56 am Post subject: |
|
|
Try deleting those .revdep-rebuild.* files, and running it again.
After rebuilding gcc, the files were left over if you had done a ctl-c previously, consequently revdep-rebuild thinks gcc still has a problem. _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
ilm Guru
Joined: 29 Jun 2006 Posts: 310 Location: Brisbane, Australia
|
Posted: Mon Aug 21, 2006 2:34 am Post subject: |
|
|
Tried that. Only difference is, when I ran it again, it came up with the following files for linking consistency:
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/lib-org-w3c-dom.la
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/lib-org-xml-sax.la
I did try and emerge dom and sax at one point to get a java project going, but later unmerged them. Would this be causing the problem???
(Note: should i have done this with letting it compile gcc again???)
Edit: both of these are looking for /usr/lib/libgcj.la, which isn't on my system. Is this causing the problem??? |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Mon Aug 21, 2006 2:39 am Post subject: |
|
|
Oh, I get that too, from having built gcc with the "gcj" USE flag. revdep-rebuild isn't perfect (notice it's a .la file, not a .so file); I wouldn't worry about it. _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
ilm Guru
Joined: 29 Jun 2006 Posts: 310 Location: Brisbane, Australia
|
Posted: Mon Aug 21, 2006 3:53 am Post subject: |
|
|
So, is it worth keeping the gcj USE flag? I only put that it because it was suggested to... |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Mon Aug 21, 2006 4:14 am Post subject: |
|
|
ilm wrote: | So, is it worth keeping the gcj USE flag? I only put that it because it was suggested to... |
It's not necessary anymore. It's recommended that you build gnustep-base with the "ffcall" USE flag. If you decide to use libffi instead of ffcall, the standalone library (USE flag "libffi") is a better option than the libffi included with gcc (available by building gcc with the "gcj" USE flag). _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
ilm Guru
Joined: 29 Jun 2006 Posts: 310 Location: Brisbane, Australia
|
Posted: Mon Aug 21, 2006 4:41 am Post subject: |
|
|
What's the difference between ffcall and libffi??? |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Mon Aug 21, 2006 5:03 am Post subject: |
|
|
They are both implementations of the same functionality. According to the GNUstep experts I've conversed with, ffcall is more robust and better-maintained these days. _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
ilm Guru
Joined: 29 Jun 2006 Posts: 310 Location: Brisbane, Australia
|
Posted: Tue Aug 22, 2006 10:37 am Post subject: |
|
|
That's fixed it!!!!!!!!!!!!!!!!!!
Now I just have to work out how to use Window Maker!!! |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
|
Back to top |
|
|
|