| View previous topic :: View next topic |
| Author |
Message |
IRQsRFun Apprentice

Joined: 02 May 2003 Posts: 194 Location: Somewhere between .3 and .7 Vdd
|
Posted: Sun Jan 10, 2010 11:04 pm Post subject: |
|
|
gary,
Check the man page for gcc-config. I had to "force" it to make it work. I do not remember which switch I used.
As to the extra files that showed up in a revdep-rebuld, I did not have that problem. I used the identical versions of (previously emerged) gcc and the tinderbox version and emerged over the tinderbox version.
Best of luck, you are treading where I dread to tread. |
|
| Back to top |
|
 |
IRQsRFun Apprentice

Joined: 02 May 2003 Posts: 194 Location: Somewhere between .3 and .7 Vdd
|
Posted: Sun Jan 10, 2010 11:21 pm Post subject: |
|
|
(edit)
Accidentally reposted. I dont want to repeat myself. |
|
| Back to top |
|
 |
gary Tux's lil' helper


Joined: 11 Jan 2004 Posts: 110 Location: Auburn, CA
|
Posted: Mon Jan 11, 2010 1:04 am Post subject: |
|
|
Thanks IRQs.
I did use the -f (AKA --force) switch with gcc-config, which allegedly regenerates all of the config files when you select a profile.
It seems that something is just not quite lined up right...  |
|
| Back to top |
|
 |
gary Tux's lil' helper


Joined: 11 Jan 2004 Posts: 110 Location: Auburn, CA
|
Posted: Wed Jan 13, 2010 3:28 am Post subject: |
|
|
Hmm.
I notice in my emerge --info readout
Is this likely to be breaking my i686-pc-linux-gnu-4.3.4 profile?
What, if anything, ought reasonably to be there? |
|
| Back to top |
|
 |
gary Tux's lil' helper


Joined: 11 Jan 2004 Posts: 110 Location: Auburn, CA
|
Posted: Tue Jan 19, 2010 5:35 am Post subject: |
|
|
Sure would appreciate any thoughts - I am hesitant to update my system with a non-standard compiler...
 |
|
| Back to top |
|
 |
iandoug Apprentice

Joined: 11 Feb 2005 Posts: 259 Location: Cape Town, South Africa
|
Posted: Mon Feb 08, 2010 9:03 pm Post subject: |
|
|
| ssuominen wrote: | I would simply stop all running emerge's and edit /var/lib/portage/world by hand (vim) and remove all kde related entries, except "kde-base/kde-meta" and run emerge --depclean -av.
1. Stop running emerges
2.a. Open /var/lib/portage/world
2.b. Delete all kde-base/ and kde-misc/ entries except kde-base/kde-meta (or kdebase-meta or kdebase-startkde, depends on what you use)
3. emerge --depclean -av
4. emerge -avDNut world (for good measure)
5. revdep-rebuild
That should get rid of most. And if you want to be hardcore,
6. Mask =kde-base/kdelibs-3* in /etc/portage/package.mask and check emerge -avDNut world again if there's still pkgs wanting it.
At your own risk.  |
So instead of doing this, I follow the instructions here:
http://www.gentoo.org/proj/en/desktop/kde/kde4-guide.xml
ie
| Code: |
emerge -C $(qfile -C -q -e /usr/kde/%PREFIX%) (replace %PREFIX% with your KDE version, eg. 3.5, 4)
emerge --depclean
|
which among other things, had the nerve to remove my gcc.
Is this normal? How can they post instructions which do things like that?
| Code: |
gcc-config -l
* gcc-config: Active gcc profile is invalid!
[1] x86_64-pc-linux-gnu-4.3.4
|
I'm pretty clueless in dealing with problems on this level, how do I fix it?
(edit)
It looks like the programs are still there, but the sytem can't find them:
| Code: |
/usr/bin $ ll gcc*
-rwxr-xr-x 1 root root 14512 2009-02-01 10:38 gcc
lrwxrwxrwx 1 root root 62 2010-01-14 01:42 gcc-4.3.4 -> /usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4/x86_64-pc-linux-gnu-gcc
-rwxr-xr-x 1 root root 21656 2009-06-29 13:25 gcc-config
/usr/bin $ cd /usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4/
/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4 $ ll
total 1564
lrwxrwxrwx 1 root root 23 2010-01-14 01:42 c++ -> x86_64-pc-linux-gnu-c++
lrwxrwxrwx 1 root root 23 2010-01-14 01:42 cpp -> x86_64-pc-linux-gnu-cpp
lrwxrwxrwx 1 root root 23 2010-01-14 01:42 g++ -> x86_64-pc-linux-gnu-g++
lrwxrwxrwx 1 root root 23 2010-01-14 01:42 gcc -> x86_64-pc-linux-gnu-gcc
-rwxr-xr-x 1 root root 16703 2010-01-14 01:42 gccbug
-rwxr-xr-x 1 root root 31016 2010-01-14 01:42 gcov
lrwxrwxrwx 1 root root 28 2010-01-14 01:42 gfortran -> x86_64-pc-linux-gnu-gfortran
-rwxr-xr-x 1 root root 231000 2010-01-14 01:42 gtreelang
-rwxr-xr-x 1 root root 51792 2010-01-14 01:42 protoize
-rwxr-xr-x 1 root root 47696 2010-01-14 01:42 unprotoize
-rwxr-xr-x 2 root root 235096 2010-01-14 01:42 x86_64-pc-linux-gnu-c++
-rwxr-xr-x 1 root root 235096 2010-01-14 01:42 x86_64-pc-linux-gnu-cpp
-rwxr-xr-x 2 root root 235096 2010-01-14 01:42 x86_64-pc-linux-gnu-g++
-rwxr-xr-x 1 root root 231000 2010-01-14 01:42 x86_64-pc-linux-gnu-gcc
lrwxrwxrwx 1 root root 23 2010-01-14 01:42 x86_64-pc-linux-gnu-gcc-4.3.4 -> x86_64-pc-linux-gnu-gcc
-rwxr-xr-x 1 root root 235096 2010-01-14 01:42 x86_64-pc-linux-gnu-gfortran
/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4 $ ./x86_64-pc-linux-gnu-gcc --help
Usage: x86_64-pc-linux-gnu-gcc [options] file...
Options:
-pass-exit-codes Exit with highest error code from a phase
--help Display this information
--target-help Display target specific command line options
--help={target|optimizers|warnings|undocumented|params}[,{[^]joined|[^]separate}]
Display specific types of command line options
(Use '-v --help' to display command line options of sub-processes)
(etc)
|
So what is actually broken then?
(later)
solved with help from http://www.imminentweb.com/technologies/gcc-config-active-gcc-profile-invalid
thanks, Ian _________________ Asus M3A78 64, X2 6000+, PX9800 GT, 4GB Ram | Asus M4A77TD PRO, X2 245, HD4350, 4GB RAM |
|
| Back to top |
|
 |
Joseph K. Guru


Joined: 07 Jun 2006 Posts: 377 Location: Melbourne, Australia
|
Posted: Thu Mar 04, 2010 11:55 pm Post subject: |
|
|
| Hi, I have a fairly trivial but none-the-less annoying issue: applications from 3.5 still appear in the run menu (Alt-F2) and are associated with files. How do I get rid of them? Thanks, cheers. |
|
| Back to top |
|
 |
|
|
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
|
|