Re: [gentoo-user] Re: revdep-rebuild keeps reinstalling binutils
On Tue, Feb 9, 2010 at 8:53 PM, walt w41...@gmail.com wrote: On 02/08/2010 10:27 PM, Konstantinos Bekiaris wrote: What do you have in /etc/env.d/gcc/? I have this: #ls -l /etc/env.d/gcc/ total 16 -rw-r--r-- 1 root root 32 2010-02-08 11:53 config-i686-pc-linux-gnu -rw-r--r-- 1 root root 235 2009-01-29 12:33 i686-pc-linux-gnu-4.1.2 -rw-r--r-- 1 root root 235 2009-07-04 09:02 i686-pc-linux-gnu-4.3.2 -rw-r--r-- 1 root root 235 2010-01-10 12:29 i686-pc-linux-gnu-4.3.4 Do you still have any version of gcc installed? drwxr-xr-x 2 root root 4096 Jan 24 13:16 . drwxr-xr-x 5 root root 4096 Jan 24 13:17 .. lrwxrwxrwx 1 root root 25 Jan 24 06:25 .NATIVE - x86_64-pc-linux-gnu-4.1.2 -rw-r--r-- 1 root root 34 Jan 24 06:25 config-x86_64-pc-linux-gnu -rw-r--r-- 1 root root 381 Jan 24 06:25 x86_64-pc-linux-gnu-4.3.4 There's one problem. .NATIVE is pointing at a non-existent file. Assuming your machine really does have gcc-4.3.4, .NATIVE should be pointing at x86_64-pc-linux-gnu-4.3.4, and the contents of config-x86_64-pc-linux-gnu should be: CURRENT=x86_64-pc-linux-gnu-4.3.4 I don't know why there are two different ways to point at the same gcc, but that's the way gcc-config does it. Correct those two files and see if it helps. I think that i have gcc, the problem is that it is not correctly linked with tha appropriate files-libraries. You can run /usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4/gcc directly to see if it works. It works, when i am in the folder /usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4/ and i tried ./gcc, it works. Can you please show me the way i must put the links in order to work from anywhere(sym links or hard links)? I think it is ln -s //usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4/gcc folder.
Re: [gentoo-user] How the HAL are you supposed to use these files?
Volker Armin Hemmann wrote: I would like to point out that this is 'gentoo user' not 'talk about any os' or 'windows support'. You might be surprised to learn that gentoo is a linux distribution. So why do you bring windows or apple up? Because most of those millions of users you were refering to are using windows and macos... I met a non-sensical argument with another, as I see it. Gentoo users are hardly millions (although I don't have any figures to back that claim up). the problems, dbus solves, have been discussed to death already. Maybe you should read Alan McKinnons mails again. You seem to have missed a lot. Neil Bothwick's mails are also something you should consider. I have read them all. Again, this is just a matter of opinion; you, Alan and Neil thinks it solves a problem which I don't see. IPC has been working for decades before D-Bus came along it. It just adds another layer (the D-Bus protocol) on top of, for example, unix domain sockets (which is one variant of IPC). For the record I do have D-Bus installed because it's a compile-time requirement for Audacious but I don't run the daemon (Audacious works fine without it). It just sits there taking up space... Which I find annoying. But again this discussion is pointless since the Audacious programmers have introduced this (compilation) dependency. So if I wish to go back to the way it was (before D-Bus) I'd better get hacking! ;-) So let's agree that we disagree on this matter? :-) Best regards Peter K
Re: [gentoo-user] How the HAL are you supposed to use these files?
On Friday 12 February 2010 21:38:21 pk wrote: Alan McKinnon wrote: 1. Say stuff it and build a print server into your app. We stopped doing that when DOS fell out of fashion. 2. Support all possible print systems. lpr anyone? 3. Or just use IPC and let dedicated print middleware deal with it. What's wrong with lpr? Not all lot wrong with it really. As long as you use printers from the era when lpr was written, it works just fine. Now go buy the kind of thing managers usually buy - some weird Chinese thing no-one has ever heard of rebranded as an Olivetti where PCL 5 is the only thing you realistically use to get it to print. Use lpr with that. Let us know how that works out for you. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] How the HAL are you supposed to use these files?
Neil Bothwick wrote: Note that they are inventing a new protocol, not a new idea. Which is basically (if you read between the lines) what I've been trying to say the whole time. Although it may be my english is no sufficient to let that shine through... (English is not my native language). The same as they always talked about, but now they have a common protocol that can work with everything. D-Bus is not so much a new concept but a logical rationalisation of previous, disparate implementations. Yes, but... As I see it this is mainly a convenience to the programmer and no benefits to the users. Which, if I extrapolate, leads to todays nice GUIs/DEs that can sing and dance and includes the proverbial kitchen sink. I use gentoo in order to decide for myself what I need and don't need, in order to maximise my benefit from a linux installation; that means I need to weigh the benefit of a certain function/app against the hardware requirements. If I add another thing that runs in the background (daemon) it does steal resources (however small) and it has to have some benefit to me in order for me to think it worth it. Need I say that I'm a minimalist? :-) Thanks anyway for the rational, down-to-earth, answer instead of a rant. Best regards Peter K
Re: [gentoo-user] How the HAL are you supposed to use these files?
On Friday 12 February 2010 22:14:53 pk wrote: and because of that dbus is a great solution. Single solution for a wide range of problems. Which is pretty much anti-bloat. Great solution to what? What problems? As has been mentioned multiple times before by multiple people: The problem it solves is consistent communication between different applications, removing the need to have that functionality repeated many times by every app that would like to communicate state to another app. Yes, it is a generic bus designed to deal with generic data in a (mostly) transparent way. Yes, if you use dbus for one or two functions only, then you have more functionality than you need. However. ELF is analogous (with the exception that you don't have one or two binary apps), and nothing is stopping you from building everything statically, or still using .a Do you use ELF? And if so, why? If dbus gives similar benefits in a different area, why are you complaining? -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] How the HAL are you supposed to use these files?
On Saturday 13 February 2010 08:39:53 Walter Dnes wrote: Sorry about the delay replying. I'm having major problems upgrading to kernel 2.6.31-r6. On Thu, Feb 11, 2010 at 04:53:08PM +, Neil Bothwick wrote On Thu, 11 Feb 2010 02:31:21 -0500, Walter Dnes wrote: XMMS followed the original Unix philosophy... it did one thing did it right, namely playing audio. Yes, and if you have a number of programs, each doing one job only, they need to be able to communicate in order to do the larger job. Imagine a building site where the bricklayers, plasterers, electricians an plumbers didn't talk to each other or the project manager. - I run Firefox - I go to live365.com and log in - I click on an icon, and Firefox starts up an audio player, and passes it the appropriate URL. - I start reading/writing emails, whilst enjoying music in my headphones The audio player needs to communicate with my email client because...? It doesn't. But your example is stupid. Apps need to talk to apps. Not all apps need to talk to all other apps. You gave a case where this is so, and somehow this proves your point. It does not, and I shall show you why, with real life people: People need to communicate with people. Without it, they accomplish very little. For this to work, there needs to be a minimum of limits on what happens. Now, there's someone in the basement at my work that refuels the generators. I COULD communicate to him if I needed to but that's unlikely. I am the audio player, he is the mailer. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Two problems with xdg-open
On Fri, Feb 12, 2010 at 11:25:07PM -0500, Albert Hopkins wrote: It's a simple bash script. There's no magic. Take a peek at it. Heh, somehow it didn't occur to me that might be the case. Thanks. So after reading the script, xdg-open is not for me since I do not use a well known DE. Cheers, W -- Willie W. Wong ww...@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton
Re: [gentoo-user] Two problems with xdg-open
On Saturday 13 February 2010 12:31:08 Willie Wong wrote: On Fri, Feb 12, 2010 at 11:25:07PM -0500, Albert Hopkins wrote: It's a simple bash script. There's no magic. Take a peek at it. Heh, somehow it didn't occur to me that might be the case. Thanks. So after reading the script, xdg-open is not for me since I do not use a well known DE. Most functions have a fallthrough to DE=generic. Perhaps with that it might still be useful for you. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] How the HAL are you supposed to use these files?
Alan McKinnon wrote: Is it really so hard to understand that dbus replaces functionality THAT YOU ALREADY HAVE MULTIPLE TIMES? Nope. Besides, it doesn't _replace_ unix domain socket, named pipes etc.; it merely adds another layer on top of them. dbus is a net gain - it takes multiple implementations of similar goals and puts them in one place, reducing the duplication. If you haven't already spotted it, this is the same process of logic that lead to dynamic libraries. Do you consider dynamic libraries to be a good thing? I don't see how D-Bus would be comparable to dynamic libraries, no... It would be more comparable to a specific implementation of a dynamic library, which duplicates functionality from lower level APIs. This discussion is a bit similar to the one we (me and you) had with HAL; you think/thought that the idea behind HAL was good but the implementation was less than satisfactory. I think/thought that HAL is/was redundant. From the looks of it, it seems I'm getting what I want from the new Xorg server release (1.8+) where the X server will rely directly on udev (through libudev) for device discovery. Please see my reply (dated 2010-02-13 11:17) to Neils email for more details. Best regards Peter K
[gentoo-user] KDE 4.4: window tabbing?
Has anyone got the much vaunted window-tabbing of KDE 4.4 working? I have set my middle mouse button to Start window tab drag but when I try it nothing happens. Searching, I found references to a window menu option Move window to group but I don't have that. I don't think there is a USE option I have missed. Anybody have better luck? TIA -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling --
Re: [gentoo-user] KDE 4.4: window tabbing?
On Samstag 13 Februar 2010, Robin Atwood wrote: Has anyone got the much vaunted window-tabbing of KDE 4.4 working? I have set my middle mouse button to Start window tab drag but when I try it nothing happens. Searching, I found references to a window menu option Move window to group but I don't have that. I don't think there is a USE option I have missed. Anybody have better luck? TIA -Robin I have set the middle mouse button to nothing and window tabbing works great.
Re: [gentoo-user] Has semantic-desktop really become compulsatory for kmail?
chrome://messenger/locale/messengercompose/composeMsgs.properties: On Samstag 13 Februar 2010, Walter Dnes wrote: #except that dsbus is not a KDE application. Just grep to portage tree for apps that use dbus. The result might be a bit shocking. Btw, do you have a car? But certainly you drive stick. Unsyncronized. Because everything else is 'bloat'. And your tv has no way to find channels. You do it manually - with a screwdriver, I am sure. Now that was funny. I had a TV like that many many years ago. It was color but just barely. lol Dale :-) :-) P. S. I also drive a stick. I don't like the repair rates or costs on automatic transmissions.
[gentoo-user] Dual booting Dell with Windows 7
Hi All, I bought a Dell XPS laptop which seems to have 3 primary partitions. The third partition is where Windows 7 resides, while the second partition is flagged as bootable. The first partition contains some Dell (recovery) tools. I am lead to believe that the second partition is the back up partition and is meant to be used to restore the OS in the third partition. This confuses me a bit - shouldn't the third partition which houses the OS be flagged as bootable instead? Anyway, I do not want to interfere with the Dell/MS Windows OS way of booting, at least until the warranty expires. What is the recommended way of dual booting with Gentoo? In the past I have either installed GRUB in the MBR and chainloaded WinXP from there, or I have installed GRUB in the Linux partition boot record and then used NTLDR to chainload grub from the MSWindows bootloader. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Dual booting Dell with Windows 7
On Sat, Feb 13, 2010 at 03:09:35PM +, Mick wrote: I bought a Dell XPS laptop which seems to have 3 primary partitions. The third partition is where Windows 7 resides, while the second partition is flagged as bootable. The first partition contains some Dell (recovery) tools. I am lead to believe that the second partition is the back up partition and is meant to be used to restore the OS in the third partition. This confuses me a bit - shouldn't the third partition which houses the OS be flagged as bootable instead? Take a look at this http://lifehacker.com/5403100/dual+boot-windows-7-and-ubuntu-in-perfect-harmony Apparently you can now re-size online partitions with Windows 7 itself. Google also suggests you can chainload Windows 7 in the usual way using grub. W -- Willie W. Wong ww...@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton
Re: [gentoo-user] Ramifications of memtest86. Got it!
Hi, Dale, On Fri, Feb 12, 2010 at 05:27:55PM -0600, Dale wrote: chrome://messenger/locale/messengercompose/composeMsgs.properties: The shop who sold me the components suggested running memtest86 with just one RAM stick at a time. It turns out, one was duff, the other's just fine. (It went ~20 minutes on memtest86 without any errors.) So it looks like I'll be running on 2Gb only until I get a replacement for the broken one. Many thanks to all who helped me track this one down! Dale :-) :-) There you go. Most likely one little transistor that went belly up. Considering there are millions of those little devils on there, no surprise at all. Oh, don't be like that! You're saying, like, another little transistor will soon be going. ;-) Glad you got it sorted out and that is better than a lot of other options. Since it is new, I hope you have a good warranty that will make it a cheap fix as well. I bought my PC components from a premium quality shop, the sort that behaves like a gentleman and honours its guarantees. Its email support gets back to you within an hour or so (in business hours). The proprietor said I needed to send back _both_ RAM sticks (since they have a joint serial number), but he's sending me a replacement pair first, so my machine remains working. For all that, the cost of this PC was less than half that of its predecessor, a 1.2 GHz Athlon machine from ~2001. With desktop PCs now being so ridiculously cheap anyhow, it seems false economy to buy from a lesser vendor. Dale :-) :-) -- Alan Mackenzie (Nuremberg, Germany).
Re: [gentoo-user] How should I clean up my broken system?
Hi, Alan, On Sat, Feb 13, 2010 at 09:27:15AM +0200, Alan McKinnon wrote: On Friday 12 February 2010 21:55:29 Alan Mackenzie wrote: As reported in other threads, my new PC had a broken RAM stick in it. As a result, an unknown proportion of installed binaries are flaky. One non-functioning binary is probably GCC. What I'd like to do is reinstall every binary, yet without erasing any configuration info, whose creation was so arduous. Where does portage keep it's list of installed packages? What do I have to do to persuade portage it has _no_ installed packages before doing 'rm -rf *' in /bin, /sbin, /usr/bin, /usr/sbin? Has anybody any other tips to offer me for this operation? First get a working compiler installed. There are many ways, here's what I think is the easiest: Boot into a Gentoo LiveCD, chroot into your install, and emerge -k the gcc tarball on the CD. Reboot into the actual install, synce the portage tree and emerge -e world That will rebuild everything, including gcc. Thanks! In the end, I just used the gcc I had on the system anyway; it wasn't broken. I first did 'emerge -e gcc', which took an hour, then did 'emerge -e world', which took ~2 hours 30 mins. I was being a bit paranoid. The reason I gave up on the installation CD was I failed to find out how to start my LVM2 voluble logics, or whatever they're called. I'm now back on track, setting up my PC. Thanks! The paranoid might want to emerge gcc itself on it's own first so that rebuilding world is done with the same gcc version as what it will become (gcc is not built first when you rebuild world, all sort of toolchain tools and parsers are earlier in the list). Personally, I don't do that - there is an actual chance that using an old compiler to build a new compiler may lead to incompatibility issues, but the risk is extremely small and rare, and it's never bitten me. There was that apocryphal tale of the origianl Unix hacker who hardwired a backdoor login into the system, and hacked cc to _keep_ inserting the backdoor each time the system was built, and to keep this hack in cc each time cc was compiled. Whew! -- alan dot mckinnon at gmail dot com -- Alan Mackenzie (Nuremberg, Germany).
Re: [gentoo-user] How should I clean up my broken system?
On 13 Feb 2010, at 17:51, Alan Mackenzie wrote: ... There was that apocryphal tale of the origianl Unix hacker who hardwired a backdoor login into the system, and hacked cc to _keep_ inserting the backdoor each time the system was built, and to keep this hack in cc each time cc was compiled. Whew! This is completely OT, but: - Not apocryphal. - KenThompson. http://c2.com/cgi/wiki?TheKenThompsonHack http://cm.bell-labs.com/who/ken/trust.html Stroller.
Re: [gentoo-user] Has semantic-desktop really become compulsatory for kmail?
On 13 Feb 2010, at 15:42, Dale wrote: ... Btw, do you have a car? But certainly you drive stick. Unsyncronized. Because everything else is 'bloat'. ... P. S. I also drive a stick. I don't like the repair rates or costs on automatic transmissions. Except your manual gearbox probably has a synchronised (synchromesh?) transmission. http://en.wikipedia.org/wiki/Manual_transmission#Unsynchronized_transmission Stroller.
Re: [gentoo-user] KDE 4.4: window tabbing?
On Saturday 13 February 2010, Volker Armin Hemmann wrote: On Samstag 13 Februar 2010, Robin Atwood wrote: Has anyone got the much vaunted window-tabbing of KDE 4.4 working? I have set my middle mouse button to Start window tab drag but when I try it nothing happens. Searching, I found references to a window menu option Move window to group but I don't have that. I don't think there is a USE option I have missed. Anybody have better luck? I have set the middle mouse button to nothing and window tabbing works great. So what do you do? Do you have the new window menu option? -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling --
Re: [gentoo-user] How should I clean up my broken system?
On Sat, 13 Feb 2010 09:28:57 +0200, Alan McKinnon wrote: /etc/ is CONFIG_PROTECTed, so emerge -e world will do just what the OP wants, rebuild everything without touching the configs. Of course, a backup of /etc is always a handy thing to have around anyway, For this case, it's probably easier to just tar /etc/ and untar it back later. The OP then doesn't have to deal with 600+ conf-update complaints Run conf-update and press a then d :) -- Neil Bothwick I've got a mind like a... a... what's that thing called? signature.asc Description: PGP signature
Re: [gentoo-user] How the HAL are you supposed to use these files?
On Sat, 13 Feb 2010 01:39:53 -0500, Walter Dnes wrote: The audio player needs to communicate with my email client because...? This is a relevant and meaningful example because...? -- Neil Bothwick Someone who thinks logically is a nice contrast to the real world. signature.asc Description: PGP signature
Re: [gentoo-user] KDE 4.4: window tabbing?
Am Samstag, 13. Februar 2010 schrieb Robin Atwood: Has anyone got the much vaunted window-tabbing of KDE 4.4 working? I have set my middle mouse button to Start window tab drag but when I try it nothing happens. Searching, I found references to a window menu option Move window to group but I don't have that. I don't think there is a USE option I have missed. Anybody have better luck? Do you use Oxygen or anything else as window decorator? I use crystal, where tabbing does not work. However, after I changed to Oxygen, it did. So the Decorator has to support it. -- Gruß | Greetings | Qapla' How are things in the collective? - Perfect. (Captain Jainway to the Borg queen) signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] KDE 4.4: window tabbing?
On Samstag 13 Februar 2010, Robin Atwood wrote: On Saturday 13 February 2010, Volker Armin Hemmann wrote: On Samstag 13 Februar 2010, Robin Atwood wrote: Has anyone got the much vaunted window-tabbing of KDE 4.4 working? I have set my middle mouse button to Start window tab drag but when I try it nothing happens. Searching, I found references to a window menu option Move window to group but I don't have that. I don't think there is a USE option I have missed. Anybody have better luck? I have set the middle mouse button to nothing and window tabbing works great. So what do you do? Do you have the new window menu option? -Robin I don't know ;) I just grab the titlebar with the middle button, drag the window to the window I want to tab it with and drop. Tada, tabbing.
Re: [gentoo-user] Ramifications of memtest86. Got it!
On Samstag 13 Februar 2010, Alan Mackenzie wrote: Hi, Dale, On Fri, Feb 12, 2010 at 05:27:55PM -0600, Dale wrote: chrome://messenger/locale/messengercompose/composeMsgs.properties: The shop who sold me the components suggested running memtest86 with just one RAM stick at a time. It turns out, one was duff, the other's just fine. (It went ~20 minutes on memtest86 without any errors.) So it looks like I'll be running on 2Gb only until I get a replacement for the broken one. Many thanks to all who helped me track this one down! Dale :-) :-) There you go. Most likely one little transistor that went belly up. Considering there are millions of those little devils on there, no surprise at all. Oh, don't be like that! You're saying, like, another little transistor will soon be going. ;-) Glad you got it sorted out and that is better than a lot of other options. Since it is new, I hope you have a good warranty that will make it a cheap fix as well. I bought my PC components from a premium quality shop, the sort that behaves like a gentleman and honours its guarantees. Its email support gets back to you within an hour or so (in business hours). The proprietor said I needed to send back _both_ RAM sticks (since they have a joint serial number), but he's sending me a replacement pair first, so my machine remains working. For all that, the cost of this PC was less than half that of its predecessor, a 1.2 GHz Athlon machine from ~2001. With desktop PCs now being so ridiculously cheap anyhow, it seems false economy to buy from a lesser vendor. Dale :-) :-) nothing beats a local shop where the personal knows you and they just replace your stuff when you tell them that it is defective... I gladly pay a little premium for that.
[gentoo-user] Re: revdep-rebuild keeps reinstalling binutils
Konstantinos Bekiaris wrote: On Tue, Feb 9, 2010 at 8:53 PM, walt w41...@gmail.com mailto:w41...@gmail.com wrote: On 02/08/2010 10:27 PM, Konstantinos Bekiaris wrote: What do you have in /etc/env.d/gcc/? I have this: #ls -l /etc/env.d/gcc/ total 16 -rw-r--r-- 1 root root 32 2010-02-08 11:53 config-i686-pc-linux-gnu -rw-r--r-- 1 root root 235 2009-01-29 12:33 i686-pc-linux-gnu-4.1.2 -rw-r--r-- 1 root root 235 2009-07-04 09:02 i686-pc-linux-gnu-4.3.2 -rw-r--r-- 1 root root 235 2010-01-10 12:29 i686-pc-linux-gnu-4.3.4 Do you still have any version of gcc installed? drwxr-xr-x 2 root root 4096 Jan 24 13:16 . drwxr-xr-x 5 root root 4096 Jan 24 13:17 .. lrwxrwxrwx 1 root root 25 Jan 24 06:25 .NATIVE - x86_64-pc-linux-gnu-4.1.2 -rw-r--r-- 1 root root 34 Jan 24 06:25 config-x86_64-pc-linux-gnu -rw-r--r-- 1 root root 381 Jan 24 06:25 x86_64-pc-linux-gnu-4.3.4 There's one problem. .NATIVE is pointing at a non-existent file. Assuming your machine really does have gcc-4.3.4, .NATIVE should be pointing at x86_64-pc-linux-gnu-4.3.4, and the contents of config-x86_64-pc-linux-gnu should be: CURRENT=x86_64-pc-linux-gnu-4.3.4 I don't know why there are two different ways to point at the same gcc, but that's the way gcc-config does it. Correct those two files and see if it helps. I think that i have gcc, the problem is that it is not correctly linked with tha appropriate files-libraries. You can run /usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4/gcc directly to see if it works. It works, when i am in the folder /usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4/ and i tried ./gcc, it works. Can you please show me the way i must put the links in order to work from anywhere(sym links or hard links)? I think it is ln -s //usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4/gcc folder. This is weird. I have a small binary /usr/bin/gcc which is obviously just a stub for starting the version of gcc you select with gcc-config. The weird part is that no package claims that file so I don't know how it got there but the date suggests it was put there by gcc-4.3.4. $ls -l /usr/bin/gcc* -rwxr-xr-x 1 root root 9572 2010-01-10 12:29 /usr/bin/gcc *** this one lrwxrwxrwx 1 root root58 2009-01-29 12:34 /usr/bin/gcc-4.1.2 - /usr/i686-pc-linux-gnu/gcc-bin/4.1.2/i686-pc-linux-gnu-gcc lrwxrwxrwx 1 root root58 2009-07-04 09:03 /usr/bin/gcc-4.3.2 - /usr/i686-pc-linux-gnu/gcc-bin/4.3.2/i686-pc-linux-gnu-gcc lrwxrwxrwx 1 root root58 2010-01-10 12:29 /usr/bin/gcc-4.3.4 - /usr/i686-pc-linux-gnu/gcc-bin/4.3.4/i686-pc-linux-gnu-gcc -rwxr-xr-x 1 root root 21711 2010-02-13 14:33 /usr/bin/gcc-config Do you have a similar /usr/bin/gcc? It seems to run whatever file /etc/env.d/gcc/.NATIVE is pointing to, so that symlink must be right for /usr/bin/gcc to work properly.
[gentoo-user] Re: Dual booting Dell with Windows 7
Mick wrote: Hi All, I bought a Dell XPS laptop which seems to have 3 primary partitions. The third partition is where Windows 7 resides, while the second partition is flagged as bootable. The first partition contains some Dell (recovery) tools. I am lead to believe that the second partition is the back up partition and is meant to be used to restore the OS in the third partition. This confuses me a bit - shouldn't the third partition which houses the OS be flagged as bootable instead? Anyway, I do not want to interfere with the Dell/MS Windows OS way of booting, at least until the warranty expires. What is the recommended way of dual booting with Gentoo? In the past I have either installed GRUB in the MBR and chainloaded WinXP from there, or I have installed GRUB in the Linux partition boot record and then used NTLDR to chainload grub from the MSWindows bootloader. Not the answer you asked for, but I'm running the public beta of Win7 on virtualbox, and it works so well that leaving the original install on the machine seems like a waste of space to me. Maybe the fancy-shmancy desktop with the transparent windows won't work quite as well on virtualbox, but I don't use Windows anyway, unless I'm forced.
Re: [gentoo-user] Ramifications of memtest86. Got it!
chrome://messenger/locale/messengercompose/composeMsgs.properties: Hi, Dale, On Fri, Feb 12, 2010 at 05:27:55PM -0600, Dale wrote: chrome://messenger/locale/messengercompose/composeMsgs.properties: The shop who sold me the components suggested running memtest86 with just one RAM stick at a time. It turns out, one was duff, the other's just fine. (It went ~20 minutes on memtest86 without any errors.) So it looks like I'll be running on 2Gb only until I get a replacement for the broken one. Many thanks to all who helped me track this one down! Dale :-) :-) There you go. Most likely one little transistor that went belly up. Considering there are millions of those little devils on there, no surprise at all. Oh, don't be like that! You're saying, like, another little transistor will soon be going. ;-) That's not what I meant at all. Consider the odds. There are millions of little circuits on those chips, even a 0.0001% failure rate can mean the chip is bad. They either all work or the chip doesn't work. Glad you got it sorted out and that is better than a lot of other options. Since it is new, I hope you have a good warranty that will make it a cheap fix as well. I bought my PC components from a premium quality shop, the sort that behaves like a gentleman and honours its guarantees. Its email support gets back to you within an hour or so (in business hours). The proprietor said I needed to send back _both_ RAM sticks (since they have a joint serial number), but he's sending me a replacement pair first, so my machine remains working. For all that, the cost of this PC was less than half that of its predecessor, a 1.2 GHz Athlon machine from ~2001. With desktop PCs now being so ridiculously cheap anyhow, it seems false economy to buy from a lesser vendor. Dale :-) :-) I bought mine from newegg and they stand behind theirs too. Things is, the person you buy them from doesn't decide if it is a bad one or not. It's just a luck of the draw. I doubt there are many companies that want to sell something that is broken. It's not good for business. If you bought the memory sticks as a set, they do usually want them returned as a set. That's normal. I have seen that many times. Glad you got something working tho. Dale :-) :-)
Re: [gentoo-user] Has semantic-desktop really become compulsatory for kmail?
chrome://messenger/locale/messengercompose/composeMsgs.properties: On 13 Feb 2010, at 15:42, Dale wrote: ... Btw, do you have a car? But certainly you drive stick. Unsyncronized. Because everything else is 'bloat'. ... P. S. I also drive a stick. I don't like the repair rates or costs on automatic transmissions. Except your manual gearbox probably has a synchronised (synchromesh?) transmission. http://en.wikipedia.org/wiki/Manual_transmission#Unsynchronized_transmission Stroller. It may at that. I dunno. It is a little hard headed when it is cold outside tho. It takes a bit of effort to hit those gears just right so that they mesh together. So, it may be synced but it doesn't always act like it. Dale :-) :-)
Re: [gentoo-user] Ramifications of memtest86. Got it!
On Sonntag 14 Februar 2010, Dale wrote: chrome://messenger/locale/messengercompose/composeMsgs.properties: Hi, Dale, On Fri, Feb 12, 2010 at 05:27:55PM -0600, Dale wrote: chrome://messenger/locale/messengercompose/composeMsgs.properties: The shop who sold me the components suggested running memtest86 with just one RAM stick at a time. It turns out, one was duff, the other's just fine. (It went ~20 minutes on memtest86 without any errors.) So it looks like I'll be running on 2Gb only until I get a replacement for the broken one. Many thanks to all who helped me track this one down! Dale :-) :-) There you go. Most likely one little transistor that went belly up. Considering there are millions of those little devils on there, no surprise at all. Oh, don't be like that! You're saying, like, another little transistor will soon be going. ;-) That's not what I meant at all. Consider the odds. There are millions of little circuits on those chips, even a 0.0001% failure rate can mean the chip is bad. They either all work or the chip doesn't work. Glad you got it sorted out and that is better than a lot of other options. Since it is new, I hope you have a good warranty that will make it a cheap fix as well. I bought my PC components from a premium quality shop, the sort that behaves like a gentleman and honours its guarantees. Its email support gets back to you within an hour or so (in business hours). The proprietor said I needed to send back _both_ RAM sticks (since they have a joint serial number), but he's sending me a replacement pair first, so my machine remains working. For all that, the cost of this PC was less than half that of its predecessor, a 1.2 GHz Athlon machine from ~2001. With desktop PCs now being so ridiculously cheap anyhow, it seems false economy to buy from a lesser vendor. Dale :-) :-) I bought mine from newegg and they stand behind theirs too. Things is, the person you buy them from doesn't decide if it is a bad one or not. It's just a luck of the draw. I doubt there are many companies that want to sell something that is broken. It's not good for business. no, but some shops just say 'ok, that is bad luck, here is a new set, try these'. And some others let you wait or just don't believe you, demand the output of certain test apps etc pp. Some years ago a friend had a stick that would produce errors only in certain scenarios (it was a muster dependent error). Most checkers back then did not find it. Our favorite shop just exchanged it And that kind of service is a good reason to buy there.
Re: [gentoo-user] Adding dependencies in init scripts
HTH... Dirk Thanks a lot for your responses. That looks just like what I needed.
Re: [gentoo-user] Adding dependencies in init scripts
On Sun, Feb 14, 2010 at 2:25 AM, Damian damian.o...@gmail.com wrote: HTH... Dirk Thanks a lot for your responses. That looks just like what I needed. Ok, I just cannot make this work. I've created a file /etc/conf.d/mpd with the following line rc_after=mpdscrible But the init script seems to ignore it. No matter what I put in /etc/conf.d/mpd . The gentoo handbook doesn't say anything about it. I'm clearly missing something, but I don't know what it is.
Re: [gentoo-user] Ramifications of memtest86. Got it!
On Saturday 13 February 2010 19:43:47 Alan Mackenzie wrote: There you go. Most likely one little transistor that went belly up. Considering there are millions of those little devils on there, no surprise at all. Oh, don't be like that! You're saying, like, another little transistor will soon be going. ;-) Considering the enormous complexity of modern PC's, I'm always amazed that nay of the bits and pieces inside them ever work at all :-) Glad you got it sorted out and that is better than a lot of other options. Since it is new, I hope you have a good warranty that will make it a cheap fix as well. I bought my PC components from a premium quality shop, the sort that behaves like a gentleman and honours its guarantees. Its email support gets back to you within an hour or so (in business hours). The proprietor said I needed to send back both RAM sticks (since they have a joint serial number), but he's sending me a replacement pair first, so my machine remains working. Nice to see that decent responsible vendors still exist out their who do TheRightThing(tm) for their customers, even the ones with little orders. I get that level of service from Dell, but I think that's more because we're ordering 1000+ servers a year all with extended 3-5 year warranty and Next Day Corporate Service Contract -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Has semantic-desktop really become compulsatory for kmail?
On Saturday 13 February 2010 14:07:05 Volker Armin Hemmann wrote: I agree with the concept that people who don't want KDE dependancies, e.g. dbus, shouldn't use KDE apps. Therefore, I avoid amarok, kaffeine, kplayer, etc. What got me started in this thread was the fact that what had been a formerly-standalone media player (audacious), now pretty much demands dbus. dbus would be bundled in to my basic service, i.e. ICEWM. #except that dsbus is not a KDE application. Just grep to portage tree for apps that use dbus. The result might be a bit shocking. Btw, do you have a car? But certainly you drive stick. Unsyncronized. Oy! What are you trying to say? All my cars are stick. Down here in deepest darkest Africa you pay a premium for auto so no-one in their right mind buys them except old ladies and trendy hippy naffs. And we need a clutch to get the car out of the potholes that adorn the streets. The bikes are all crash boxes because all bikes are like that (except Vespas and Chinese scooters, but I don't have any of those). On the track the clutch is mostly pointless once you're moving. I highly recommend drivers to gain the skill of driving a vehicle crash-style without a clutch. Comes in useful sometimes. :-) -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] How should I clean up my broken system?
On Saturday 13 February 2010 19:51:05 Alan Mackenzie wrote: Thanks! In the end, I just used the gcc I had on the system anyway; it wasn't broken. I first did 'emerge -e gcc', which took an hour, then did 'emerge -e world', which took ~2 hours 30 mins. I was being a bit paranoid. The reason I gave up on the installation CD was I failed to find out how to start my LVM2 voluble logics, or whatever they're called. Oh yes, I forgot about that. I have old LiveCDs around too that don't support LVM. It can get bloody annoying when you forget and use it anyway. These days I use RIPLinux on a small spare USB stick as my rescue system I'm now back on track, setting up my PC. Thanks! The paranoid might want to emerge gcc itself on it's own first so that rebuilding world is done with the same gcc version as what it will become (gcc is not built first when you rebuild world, all sort of toolchain tools and parsers are earlier in the list). Personally, I don't do that - there is an actual chance that using an old compiler to build a new compiler may lead to incompatibility issues, but the risk is extremely small and rare, and it's never bitten me. There was that apocryphal tale of the origianl Unix hacker who hardwired a backdoor login into the system, and hacked cc to keep inserting the backdoor each time the system was built, and to keep this hack in cc each time cc was compiled. Whew! That's not a myth either :-) There was a story on /. about that very thing just the other day! -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] How should I clean up my broken system?
On Saturday 13 February 2010 22:43:39 Neil Bothwick wrote: On Sat, 13 Feb 2010 09:28:57 +0200, Alan McKinnon wrote: /etc/ is CONFIG_PROTECTed, so emerge -e world will do just what the OP wants, rebuild everything without touching the configs. Of course, a backup of /etc is always a handy thing to have around anyway, For this case, it's probably easier to just tar /etc/ and untar it back later. The OP then doesn't have to deal with 600+ conf-update complaints Run conf-update and press a then d :) But I'm a paranoid snarky old git and that doesn't work for me! If I get 600 entries in conf-update I feel compelled to examine each one and decide individually. Just in case -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] KDE 4.4: window tabbing?
On Sunday 14 February 2010, Frank Steinmetzger wrote: Am Samstag, 13. Februar 2010 schrieb Robin Atwood: Has anyone got the much vaunted window-tabbing of KDE 4.4 working? I have set my middle mouse button to Start window tab drag but when I try it nothing happens. Searching, I found references to a window menu option Move window to group but I don't have that. I don't think there is a USE option I have missed. Anybody have better luck? Do you use Oxygen or anything else as window decorator? I use crystal, where tabbing does not work. However, after I changed to Oxygen, it did. So the Decorator has to support it. Thanks, that's the problem, I use Crystal. Changing to Oxygen makes it all work. Bummer, I don't much like Oxygen. ;) Cheers -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling --