[gentoo-user] non-root user switch gcc version ?

2011-02-24 Thread Helmut Jarausch
Hi,

many distributions have something like a 'switch' command such that an 
ordinary user can switch the version of his/her default gcc compiler.

Is there something similar in GenToo?

Many thanks for a hint,
Helmut.



Re: [gentoo-user] Why is KDE part of the system set?

2011-02-24 Thread Sebastian Beßler

Am 24.02.2011 01:48, schrieb Alex Schuster:


Looks like normal behaviour to me. @system should be a small set, but
when some packages in @system have kde USE flags, they will pull in KDE
stuff.


One can make an easy test to see how that works:

USE=-kde emerge -e @system -vp
Total: 181 packages

emerge -e @system -v
Total: 436 packages,

The kde-useflag pulls in a waste of packages

In my system-set are 50 packages:

emerge @system -vp
Total: 50 packages

Greetings

Sebastian Beßler



Re: [gentoo-user] non-root user switch gcc version ?

2011-02-24 Thread Gregory Shearman
In linux.gentoo.user, you wrote:
 Hi,

 many distributions have something like a 'switch' command such that an 
 ordinary user can switch the version of his/her default gcc compiler.

 Is there something similar in GenToo?

 Many thanks for a hint,

$ gcc-config -h

-- 
Regards,
Gregory.



Re: [gentoo-user] non-root user switch gcc version ?

2011-02-24 Thread Gregory Shearman
In linux.gentoo.user, you wrote:
 Hi,

 many distributions have something like a 'switch' command such that an 
 ordinary user can switch the version of his/her default gcc compiler.

 Is there something similar in GenToo?

 Many thanks for a hint,

Forgive previous post. Didn't read it properly. I'm not aware of any
user switching program but perhaps you can manually select your gcc
profile by using /usr/bin/gcc-x.x.x rather than gcc.

-- 
Regards,
Gregory.



Re: [gentoo-user] Why is KDE part of the system set?

2011-02-24 Thread Dale

Sebastian Beßler wrote:


One can make an easy test to see how that works:

USE=-kde emerge -e @system -vp
Total: 181 packages

emerge -e @system -v
Total: 436 packages,

The kde-useflag pulls in a waste of packages

In my system-set are 50 packages:

emerge @system -vp
Total: 50 packages

Greetings

Sebastian Beßler




This is what I got with that:

Total: 294 packages (294 reinstalls), Size of downloads: 0 kB

With the kde USE flag:

Total: 401 packages (401 reinstalls), Size of downloads: 0 kB

That's a big difference.  This is my system and world info:

Packages installed:   929
Packages in world:94
Packages in system:   50
Required packages:929

Dale

:-)  :-)



Re: [gentoo-user] Why is KDE part of the system set?

2011-02-24 Thread Dale

Walter Dnes wrote:

On Wed, Feb 23, 2011 at 09:57:00AM -0600, Dale wrote

   I tried a pretend emerge of khelpcenter.  I had to unmask dbus and
allow a bunch of use flags before it would run.  Here's what I ended up
with...

USE=accessibility kde dbus qt3support ssl handbook exceptions emerge -pv 
khelpcenter

...which would've downloaded 33 packages totalling 220 megabytes.  That
looks like it could be the culprit.  I suggest cp /var/lib/portage/world
to your user directory, and go over it with a fine-tooth comb, and ask
yourself why you want each of those packages.  If you want to see what
each package's dependancies are, execute...

emerge -pv --depclean  x.txt

...and then open up x.txt with an editor/viewer.  Packages listed as
pulled in by @selected are in world.  I have a script which will
generate a list of packages that can be unmerged relatively safely.

   You have one heckuva lot of USE flags.  I start my USE with -* and
add stuff as required.  Often, I only add it to package.use.

   


This is funny, I add USE flags as I need them as well.  You have to keep 
in mind tho, that USE line is many years old.  That USE line came from 
my old rig and as I emerge things, I add USE flags that I need.  I 
rarely use package.use tho.  I'm not that big of a control freak that I 
want to control a package one by one.  My package.use file has 4 lines 
in it.  They been there a while too.  I might could remove them since 
those were due to bugs of some sort.


I suspect that a lot of USE flags are no longer in use.  I tried 
eix-test-obsolete but it doesn't seem to check the USE flags.  Going 
through those one by one would take a good long while.  I don't know of 
a tool that checks for flags that are no longer in use tho.


My world file is fine.  I went through it a while back and it is fairly 
small.  It's the system set that is larger than normal.


Dale

:-)  :-)



Re: [gentoo-user] Why is KDE part of the system set?

2011-02-24 Thread Sebastian Beßler

Am 24.02.2011 13:32, schrieb Dale:


My world file is fine. I went through it a while back and it is fairly
small. It's the system set that is larger than normal.


Your system set has 50 entries, that seems to be absolutly normal.

The high count of entries in emerge -e @system comes from USE-flags like 
kde (what we have shown in the other post) and probably one or more 
other USE-flags.


To lower the number in emerge -e @system you have to look at your flags, 
one by one if nothing else helps. Or you could just ignore it, because 
all that is pulled in are dependencies of some sort and not in your @system.


Greetings

Sebastian Beßler



Re: [gentoo-user] Why is KDE part of the system set?

2011-02-24 Thread Dale

Sebastian Beßler wrote:

Am 24.02.2011 13:32, schrieb Dale:


My world file is fine. I went through it a while back and it is fairly
small. It's the system set that is larger than normal.


Your system set has 50 entries, that seems to be absolutly normal.

The high count of entries in emerge -e @system comes from USE-flags 
like kde (what we have shown in the other post) and probably one or 
more other USE-flags.


To lower the number in emerge -e @system you have to look at your 
flags, one by one if nothing else helps. Or you could just ignore it, 
because all that is pulled in are dependencies of some sort and not in 
your @system.


Greetings

Sebastian Beßler




And since I use KDE, it's not like I can disable the USE flag either.  I 
may be able to disable or remove some others that are not needed or 
outdated but still, kde would be there.


I just wonder if the devs have noticed how much this has grown when 
packages with X flags are included in the system set?.  Would Gnome do 
the same?  What about other GUI's?


If I do this:

USE=-* emerge -pv system

I get this:

Total: 50 packages (50 reinstalls)

What a difference USE flags makes huh?

Dale

:-)  :-)



Re: [gentoo-user] ssh problem

2011-02-24 Thread dhk
On 02/23/2011 03:42 AM, Joost Roeleveld wrote:
 On Tuesday 22 February 2011 14:51:31 Mick wrote:
 On 22 February 2011 14:19,  dhk...@optonline.net wrote:
 - Original Message -
 From: Mick

 There was a change in the default ssh encryption algorithm. You may
 want to check if that is causing the problem.

 How would I do that?

 By examining your config files?  Previously your keys would be in
 ~/.ssh/id_dsa[rsa].pub, but now with ECDSA being the default they
 would be in ~/.ssh/id_ecdsa.pub

 I recall something being mentioned in the elog asking to regenerate
 the key-pair.

 HTH.
 
 If this is the case, you could try speciying your key on the command-line 
 using the -i flag:
 
 # ssh -i .ssh/id_dsa.pub host
 
 Replace the file with the one on your machine.
 
 HTH,
 
 Joost
 
 

I still haven't gotten this to work.  Am I the only one using this?  The
ssh -i .ssh/id_dsa.pub host didn't work.  I get a message Read from
socket failed: Connection reset by peer with or without the -i option.

When I re-emerged openssh the following output is displayed.

# emerge openssh
Calculating dependencies... done!
 Verifying ebuild manifests
 Emerging (1 of 1) net-misc/openssh-5.8_p1-r1
 Installing (1 of 1) net-misc/openssh-5.8_p1-r1
 Jobs: 1 of 1 complete   Load avg: 2.80,
1.95, 1.43

 * Messages for package net-misc/openssh-5.8_p1-r1:

 * Starting with openssh-5.8p1, the server will default to a newer key
 * algorithm (ECDSA).  You are encouraged to manually update your stored
 * keys list as servers update theirs.  See ssh-keyscan(1) for more info.
 * Remember to merge your config files in /etc/ssh/ and then
 * reload sshd: '/etc/init.d/sshd reload'.
 * Please be aware users need a valid shell in /etc/passwd
 * in order to be allowed to login.
 Auto-cleaning packages...

 No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

The ssh-keyscan man page hasn't helped.

As of now I can only log in from older systems.

dhk



Re: [gentoo-user] Why is KDE part of the system set?

2011-02-24 Thread Sebastian Beßler

Am 24.02.2011 14:03, schrieb Dale:


If I do this:

USE=-* emerge -pv system

I get this:

Total: 50 packages (50 reinstalls)

What a difference USE flags makes huh?


You forgot to add the e, without it you reinstall only the 50 packages 
in @system, because the dependencies are all there at this time.


USE=-* emerge -pv @system
Total: 50 packages (50 reinstalls)

emerge -pv @system
Total: 50 packages (50 reinstalls)

USE=-* emerge -pve @system
Total: 88 packages (88 reinstalls)

But yes, the difference 88 to more then 400 is really big.



Re: [gentoo-user] Why is KDE part of the system set?

2011-02-24 Thread Elaine C. Sharpe
In linux.gentoo.user, you wrote:
 Sebastian Beßler wrote:
 Am 24.02.2011 13:32, schrieb Dale:

 My world file is fine. I went through it a while back and it is fairly
 small. It's the system set that is larger than normal.

 Your system set has 50 entries, that seems to be absolutly normal.

 The high count of entries in emerge -e @system comes from USE-flags 
 like kde (what we have shown in the other post) and probably one or 
 more other USE-flags.

 To lower the number in emerge -e @system you have to look at your 
 flags, one by one if nothing else helps. Or you could just ignore it, 
 because all that is pulled in are dependencies of some sort and not in 
 your @system.

 Greetings

 Sebastian Beßler



 And since I use KDE, it's not like I can disable the USE flag either.  I 
 may be able to disable or remove some others that are not needed or 
 outdated but still, kde would be there.

 I just wonder if the devs have noticed how much this has grown when 
 packages with X flags are included in the system set?.  Would Gnome do 
 the same?  What about other GUI's?

 If I do this:

 USE=-* emerge -pv system

 I get this:

 Total: 50 packages (50 reinstalls)

 What a difference USE flags makes huh?

 Dale

:-)  :-)

I use fluxbox and sometimes wmaker. Probably a lot of people are put 
off by the default configs, but both offer extremely powerful and 
versatile customization tools. Add your fave terminal emulator (I 
recommend terminator for it's killer feature set) and conky for system 
monitoring, midnight commander or worker for file management, and you 
have a pretty complete desktop without need of all the bloaty k or g 
stuff.  It's a *lot* faster that way, too.

-- 
caveat utilitor 
♫ ❤ ♫ ❤ ♫ ❤ ♫ 




Re: [gentoo-user] ssh problem

2011-02-24 Thread Mick
On 24 February 2011 13:17, dhk dhk...@optonline.net wrote:
 On 02/23/2011 03:42 AM, Joost Roeleveld wrote:
 On Tuesday 22 February 2011 14:51:31 Mick wrote:
 On 22 February 2011 14:19,  dhk...@optonline.net wrote:
 - Original Message -
 From: Mick

 There was a change in the default ssh encryption algorithm. You may
 want to check if that is causing the problem.

 How would I do that?

 By examining your config files?  Previously your keys would be in
 ~/.ssh/id_dsa[rsa].pub, but now with ECDSA being the default they
 would be in ~/.ssh/id_ecdsa.pub

 I recall something being mentioned in the elog asking to regenerate
 the key-pair.

 HTH.

 If this is the case, you could try speciying your key on the command-line
 using the -i flag:

 # ssh -i .ssh/id_dsa.pub host

 Replace the file with the one on your machine.

 HTH,

 Joost



 I still haven't gotten this to work.  Am I the only one using this?  The
 ssh -i .ssh/id_dsa.pub host didn't work.  I get a message Read from
 socket failed: Connection reset by peer with or without the -i option.

 When I re-emerged openssh the following output is displayed.

 # emerge openssh
 Calculating dependencies... done!
 Verifying ebuild manifests
 Emerging (1 of 1) net-misc/openssh-5.8_p1-r1
 Installing (1 of 1) net-misc/openssh-5.8_p1-r1
 Jobs: 1 of 1 complete                           Load avg: 2.80,
 1.95, 1.43

  * Messages for package net-misc/openssh-5.8_p1-r1:

  * Starting with openssh-5.8p1, the server will default to a newer key
  * algorithm (ECDSA).  You are encouraged to manually update your stored
  * keys list as servers update theirs.  See ssh-keyscan(1) for more info.
  * Remember to merge your config files in /etc/ssh/ and then
  * reload sshd: '/etc/init.d/sshd reload'.
  * Please be aware users need a valid shell in /etc/passwd
  * in order to be allowed to login.
 Auto-cleaning packages...

 No outdated packages were found on your system.

  * GNU info directory index is up-to-date.

 The ssh-keyscan man page hasn't helped.

 As of now I can only log in from older systems.

This would imply that your older (rsa/dsa) server keys still work.

What have you changed on your Gentoo client?

Have you tried using ssh user@host to login with?
-- 
Regards,
Mick



Re: [gentoo-user] Why is KDE part of the system set?

2011-02-24 Thread Dale

Sebastian Beßler wrote:

Am 24.02.2011 14:03, schrieb Dale:


If I do this:

USE=-* emerge -pv system

I get this:

Total: 50 packages (50 reinstalls)

What a difference USE flags makes huh?


You forgot to add the e, without it you reinstall only the 50 packages 
in @system, because the dependencies are all there at this time.


USE=-* emerge -pv @system
Total: 50 packages (50 reinstalls)

emerge -pv @system
Total: 50 packages (50 reinstalls)

USE=-* emerge -pve @system
Total: 88 packages (88 reinstalls)

But yes, the difference 88 to more then 400 is really big.




Good catch.  I did miss the -e.  I don't use it very much so my fingers 
are not used to typing it in.  This is the new results which is close to 
yours.


Total: 87 packages (87 reinstalls)

That is more reasonable.  I just wonder where it will be in another year 
or so.


Dale

:-)  :-)



Re: [gentoo-user] Why is KDE part of the system set?

2011-02-24 Thread Dale

Elaine C. Sharpe wrote:


I use fluxbox and sometimes wmaker. Probably a lot of people are put
off by the default configs, but both offer extremely powerful and
versatile customization tools. Add your fave terminal emulator (I
recommend terminator for it's killer feature set) and conky for system
monitoring, midnight commander or worker for file management, and you
have a pretty complete desktop without need of all the bloaty k or g
stuff.  It's a *lot* faster that way, too.

   


I have Fluxbox installed here as well.  I use it for a backup GUI.  I 
can open Seamonkey and some other programs in it.  I mostly wanted 
something that if KDE died, I could get to the mailing lists or the 
forums and get help in a easy way.


KDE is big tho.  I also like KDE.  I tried Gnome but it just wasn't my 
thing.  Fluxbox as a backup is nice tho.  It is surely fast on this 4 
core 3.2Ghz with 8Gbs of ram rig.  To say it flies is putting it mild.  lol


For those keeping up, DHL got the new memory to Memphis.  It has been 
sitting at the post office since Monday.  I'm hoping it will show up 
today but it says next week on the website.  Time to drag out my bicycle 
again.  lol


Dale

:-)  :-)



Re: [gentoo-user] Why is KDE part of the system set?

2011-02-24 Thread Neil Bothwick
On Thu, 24 Feb 2011 07:03:06 -0600, Dale wrote:

 I just wonder if the devs have noticed how much this has grown when 
 packages with X flags are included in the system set?.  Would Gnome do 
 the same?  What about other GUI's?

What does it matter? They are only dependencies of @system, but they will
also be dependencies of @world, because you have emerged kde-meta, so
either way they would be on your system.

There is nothing wrong with your system, it is doing exactly what you
told it to with your USE flags, and the kde flag is not the culprit
anyway as emerge -ep @system doesn't bring in any KDE stuff here.


-- 
Neil Bothwick

WinErr 012: Window closed - Do not look inside


signature.asc
Description: PGP signature


Re: [gentoo-user] Why is KDE part of the system set?

2011-02-24 Thread Dale

Neil Bothwick wrote:

On Thu, 24 Feb 2011 07:03:06 -0600, Dale wrote:

   

I just wonder if the devs have noticed how much this has grown when
packages with X flags are included in the system set?.  Would Gnome do
the same?  What about other GUI's?
 

What does it matter? They are only dependencies of @system, but they will
also be dependencies of @world, because you have emerged kde-meta, so
either way they would be on your system.

There is nothing wrong with your system, it is doing exactly what you
told it to with your USE flags, and the kde flag is not the culprit
anyway as emerge -ep @system doesn't bring in any KDE stuff here.

   


I was always under the impression that @system was supposed to be a 
limited set of packages to build, including dependencies.  For me, if I 
have a issue, I usually start with emerge -e system to see if it helps.  
Since there is some KDE stuff in there, that makes it build packages 
that I most likely don't need to be rebuilt.  To me, KDE is not a system 
package.


It is doing what it is told but it is also doing things that it didn't 
use to do even when told the same as it is being told now.  It wasn't to 
long ago that system was about 150 packages and didn't take that long to 
recompile.  Now it is over 400.  If this continues, the difference 
between system and world is going to be small.


It may not be broke but it seems the system set is growing pretty quick.

Dale

:-)  :-)



[gentoo-user] Re: x11-base/xorg-server-1.9.4 and DPMS

2011-02-24 Thread walt

On 02/23/2011 02:51 PM, Mick wrote:

On Wednesday 23 February 2011 22:45:18 Mick wrote:

On Wednesday 23 February 2011 18:54:12 walt wrote:

On 02/23/2011 08:28 AM, Mick wrote:

Hi All,

I noticed that since I installed xorg-server-1.9.4 my screen will not
go into standby anymore ...

According to the man pages DPMS is enabled by default and I have not
disabled it.

Have you noticed the same?


No, it still works as usual.  What does xset q tell you?  Maybe it's a
bug in the video driver?


Hmm ... this is what I see:

Screen Saver:
   prefer blanking:  yesallow exposures:  yes
   timeout:  0cycle:  5
...

DPMS (Energy Star):
   Standby: 600Suspend: 600Off: 600
   DPMS is Disabled

Are you saying that the radeon driver disable DPMS?


This is what the log shows:

# less /var/log/Xorg.0.log | grep -i DPMS
[36.365] (II) Loading extension DPMS
[36.595] (II) RADEON(0): No DPMS capabilities specified
[36.653] (==) RADEON(0): DPMS enabled


The driver is lying to you :)  That sounds to me like a bug.






Re: [gentoo-user] Why is KDE part of the system set?

2011-02-24 Thread Neil Bothwick
On Thu, 24 Feb 2011 09:21:54 -0600, Dale wrote:

 I was always under the impression that @system was supposed to be a 
 limited set of packages to build, including dependencies.  For me, if I 
 have a issue, I usually start with emerge -e system to see if it
 helps. Since there is some KDE stuff in there, that makes it build
 packages that I most likely don't need to be rebuilt.  To me, KDE is
 not a system package.

Actually, it is, because you told it to be. To me, KDE is not a system
package, because I run different USE flags to you. Gentoo gave you the
gun but you pointed it at your foot :)


-- 
Neil Bothwick

Top Oxymorons Number 11: Terribly pleased


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: x11-base/xorg-server-1.9.4 and DPMS

2011-02-24 Thread Dale

Mick wrote:

On Wednesday 23 February 2011 19:21:34 Dale wrote:
   
 
When I upgraded to KDE4, I had to start using xset to handle turning my

monitor off.  I put it in the startup section and it seems to work OK.
 

This is strange - I added  Option DPMS   on under the Monitor section in
the xorg.conf, but it won't take.

xset +dpms works fine ...

Why would that be?
   


I think there is a thread where I asked the same thing.  When I first 
upgraded to KDE4, my monitor would not turn off unless I turned it off 
myself.  I set up a script that runs when I login to cut off the 
monitor.  I have another script that sets it back when I log out.  I put 
it in ~.kde4/Autostart.  It's the same commands I tested manually and it 
works fine.


If I recall correctly, KDE was not quite up to speed on controlling the 
monitor with DPMS yet.  That was back in the 4.1 days so that may have 
changed but given you are having issues with it, maybe it is still 
having problems.  This could be due to the hal/udev/polkit switch as 
well.  They may be letting all that settle so that they only have to 
write the code once.  I would do that if it was me.  ;-)


This is my settings when I am logged in:

xset dpms 3600 3600 3600

I think that is one hour.  I'm pretty sure it is measured in seconds not 
minutes.


Dale

:-)  :-)



[gentoo-user] howto recover gcc from another system

2011-02-24 Thread James
Hello,

Well running a routine --depclean somehow
I lost the only copy of gcc on the system

CFLAGS=-march=k8 -msse3 -O2 -pipe
CHOST=x86_64-pc-linux-gnu
CXXFLAGS=${CFLAGS}

I have a a similar system set like this:

CFLAGS=-march=k8 -O2 -pipe
CHOST=x86_64-pc-linux-gnu
CXXFLAGS=${CFLAGS}


Since there is no gcc-bin to emerge (ha ha)
I guess I'll have to copy over the binary of
 orsys-devel/gcc-4.4.4-r2 from another system. 
GUIDANCE on that is most welcome.

Additionally, this could be prevented by keeping
the latest current stable gcc as well as the 
previous current stable gcc on the system,
perhaps via the world file? Or Another method
to ensure at least 2 versions of gcc are
always on a given system?

It's a first time deleting the compiler,
still do not know how it happened, as I
did look over the -p --depclean first

-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- broken
CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
  The C compiler /usr/bin/x86_64-pc-linux-gnu-gcc is not able to compile a
  simple test program.


James




[gentoo-user] Re: [OT] etho app rating 10/100 etc in megabytes

2011-02-24 Thread Harry Putnam
James wirel...@tampabay.rr.com writes:

 Harry Putnam reader at newsguy.com writes:



 But still, when I'm trying to measure how much data is moving 

 emerge bwmon,

 It measures across the ethernet ports, so adjust your test,
 according to what you want to measure, crossing the ethernet
 port on the target system.

First off.. thanks for the tips and help.

All I get from bwmon is a large mess of incomprehensible data ending in 

,
| b7841000-b7881000 r-xp  03:05 6663   /lib/libncurses.so.5.7
| [...]
| b789e000-b78ba000 r-xp  03:05 7228   /lib/ld-2.12.2.so
| b78ba000-b78bb000 r-xp  00:00 0  [vdso]
| b78bb000-b78bc000 r--p 0001c000 03:05 7228   /lib/ld-2.12.2.so
| b78bc000-b78bd000 rw-p 0001d000 03:05 7228   /lib/ld-2.12.2.so
| bffae000-bffc4000 rw-p  00:00 0  [stack]
| Aborted
`

And it has no man page whatsoever.

(it has a little help at bwmon -h)

But I recall using bwmon years ago so not sure whats happening that it
crashes for me.

 and it seems quite slow for what is supposed to be a gigabyte network.

 Gigabit ethernet rarely runs full out constantly, something, (ram, cpu,
 interface, swith-latency) mucks things up. Do not let your copper
 get to long either!

But that figures out to about 3-4 MB per second (assuming I did the
math right)

I said it was averaging about 230-237 MBytes per MINUTE , so giving it
a nice round 240 MB per MINUTE:

  240 / 60 = 4MB per second... and that figures out to:

  ( using this forumula: 1MBytes ps = 800 bits ps or 8 Mbits ps)

  4 * 800 = 32 Mbits ps

That is not counting packets going the other way of course, but isn't
an incoming speed of 32Mega bits per second what one might expect from
adapters capable of 100 mbps... (not gigabit (1000))


What you've shown below appears to show gigabit network between h4 and
h5.  Is that really to be expected?

gigabyte switch
||
||
  (192.168.0.9) h4  h5 (192.168.0.17)

If you show the top half of the diagram you snipped, you see that h4
h5 are aimed at a switch/router/firewall above, that is only 100mbps.
The gigaswitch has no address, so I'm wondering if traffic between h4
and h5 has to go up thru the 100Mbps router to communicate with each
other. 

I realized when I made the diagram that I was probably looking for
gigabit speeds where really only 100mbps was possible.

Take another look at the diagram (Knowing that h4 and h5 have there
default routes set to the netgear (100mbps) router.

Would it still be possible that h4 and h5 would communicate direct
thru the gigabit switch or would that traffic have to go up thru the
100 Mbps router above?

(Note that in the previous diagram I had mislabled (just a typo) the
gigabit switch as gigabyte switch)

 internet
|
|
|
 (netgear router is lan `default route'  = 10/100* 
   NETGEAR ROUTER (inside address 192.168.0.20)
  | | |
  | | |
   (192.168.0.5) h1 | h3 (192.168.0.7)
|
|
 gigabit switch
 ||
 ||
   (192.168.0.9) h4  h5 (192.168.0.17)


 But also if I should be expecting h4 h5 to be able to use GigaByte
 transfer speeds.

 Some fraction say 50% is good, if it is copper, unless the systems
 are smoking gaming systems or of very high quality resources.

I keep having a sneaking feeling I'm making some horrible mistake in
the math, but wouldn't the speeds I posted (240 MegaBytes per min)
figure out to something like 3.2+ % of the rated 1000 Mbits.

(I really hope I haven't demonstrated idiocy levels of math)





Re: [gentoo-user] Why is KDE part of the system set?

2011-02-24 Thread Sebastian Beßler

Am 24.02.2011 16:21, schrieb Dale:


I was always under the impression that @system was supposed to be a
limited set of packages to build, including dependencies. For me, if I
have a issue, I usually start with emerge -e system to see if it helps.
Since there is some KDE stuff in there, that makes it build packages
that I most likely don't need to be rebuilt. To me, KDE is not a system
package.


Then remove the kde-Flag from every package in @system and its 
dependecies. After that remove all the unneeded flags from all the other 
packages.

The tools are there, you just have to use them right.



Re: [gentoo-user] Why is KDE part of the system set?

2011-02-24 Thread Dale

Neil Bothwick wrote:

On Thu, 24 Feb 2011 09:21:54 -0600, Dale wrote:

   

I was always under the impression that @system was supposed to be a
limited set of packages to build, including dependencies.  For me, if I
have a issue, I usually start with emerge -e system to see if it
helps. Since there is some KDE stuff in there, that makes it build
packages that I most likely don't need to be rebuilt.  To me, KDE is
not a system package.
 

Actually, it is, because you told it to be. To me, KDE is not a system
package, because I run different USE flags to you. Gentoo gave you the
gun but you pointed it at your foot :)


   


I didn't tell portage to include KDE, qt, and a boatload of other stuff 
to be part of @system.  Did I enable the kde USE flag, yea.  That should 
be part of the world stuff not the system stuff.  If I disable kde, qt 
and all the others then my GUI is going to be junk if it would even work 
at all.


I guess the kernel will have the kde USE flag next.  lol  At least that 
should be in @system tho.  ;-)


Dale

:-)  :-)



Re: [gentoo-user] Why is KDE part of the system set?

2011-02-24 Thread Mark Knecht
On Thu, Feb 24, 2011 at 7:21 AM, Dale rdalek1...@gmail.com wrote:
 Neil Bothwick wrote:

 On Thu, 24 Feb 2011 07:03:06 -0600, Dale wrote:



 I just wonder if the devs have noticed how much this has grown when
 packages with X flags are included in the system set?.  Would Gnome do
 the same?  What about other GUI's?


 What does it matter? They are only dependencies of @system, but they will
 also be dependencies of @world, because you have emerged kde-meta, so
 either way they would be on your system.

 There is nothing wrong with your system, it is doing exactly what you
 told it to with your USE flags, and the kde flag is not the culprit
 anyway as emerge -ep @system doesn't bring in any KDE stuff here.



 I was always under the impression that @system was supposed to be a limited
 set of packages to build, including dependencies.  For me, if I have a
 issue, I usually start with emerge -e system to see if it helps.  Since
 there is some KDE stuff in there, that makes it build packages that I most
 likely don't need to be rebuilt.  To me, KDE is not a system package.

 It is doing what it is told but it is also doing things that it didn't use
 to do even when told the same as it is being told now.  It wasn't to long
 ago that system was about 150 packages and didn't take that long to
 recompile.  Now it is over 400.  If this continues, the difference between
 system and world is going to be small.

 It may not be broke but it seems the system set is growing pretty quick.

 Dale

Dale,
   As Neil states, it has a lot to do with what you told the machine to do.

   I have a new, very clean, stable (not ~amd64) laptop using the kde
profile. emerge -ep @system says 191 packages and I'm writing this
response from that machine inside KDE so it has to be something else
in your case.

   I posted something a couple of years ago about using -java in
make.conf because I found with +java I got almost twice as many
packages in @system. (Except it wasn't @system at the time) I started
putting java flags in package.use and got things to work the way I
wanted - easy to rebuild @system, java on the packages I really wanted
java support. I suspect what you are seeing is far more in that vein
than anything else.

Good luck,
Mark



Re: [gentoo-user] howto recover gcc from another system

2011-02-24 Thread Dale

James wrote:

Hello,

Well running a routine --depclean somehow
I lost the only copy of gcc on the system

CFLAGS=-march=k8 -msse3 -O2 -pipe
CHOST=x86_64-pc-linux-gnu
CXXFLAGS=${CFLAGS}

I have a a similar system set like this:

CFLAGS=-march=k8 -O2 -pipe
CHOST=x86_64-pc-linux-gnu
CXXFLAGS=${CFLAGS}


Since there is no gcc-bin to emerge (ha ha)
I guess I'll have to copy over the binary of
  orsys-devel/gcc-4.4.4-r2 from another system.
GUIDANCE on that is most welcome.

Additionally, this could be prevented by keeping
the latest current stable gcc as well as the
previous current stable gcc on the system,
perhaps via the world file? Or Another method
to ensure at least 2 versions of gcc are
always on a given system?

It's a first time deleting the compiler,
still do not know how it happened, as I
did look over the -p --depclean first

-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- broken
CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
   The C compiler /usr/bin/x86_64-pc-linux-gnu-gcc is not able to compile a
   simple test program.


James



   


I would be glad to email you the binary from mine if it would help.  
Here is some info:


CBUILD=x86_64-pc-linux-gnu
CFLAGS=-march=native -O2 -pipe
CHOST=x86_64-pc-linux-gnu
sys-devel/gcc:   4.4.4-r2

Since it is set to native, I have a AMD X4 955 Deneb 3.2GHz CPU.  If you 
think it will work, let me know and I'll send you my copy.  I promise 
not to spit on it first too.  lol


Let me know if you need more info.

Dale

:-)  :-)



Re: [gentoo-user] Why is KDE part of the system set?

2011-02-24 Thread Mark Knecht
On Thu, Feb 24, 2011 at 9:41 AM, Mark Knecht markkne...@gmail.com wrote:
SNIP

   I posted something a couple of years ago about using -java in
 make.conf because I found with +java I got almost twice as many
 packages in @system. (Except it wasn't @system at the time) I started
 putting java flags in package.use and got things to work the way I
 wanted - easy to rebuild @system, java on the packages I really wanted
 java support. I suspect what you are seeing is far more in that vein
 than anything else.

In fact, on this laptop, if all I do is change the profile I've selected then

-ep @system results:
10.0 - 167 packages
10.0/desktop - 191 packages
10.0/gnome - 268 packages
10.0/kde - 191 packages
10.0/developer - 245 packages
10.0/no-multilib - 167 packages
10.0/server - 145 packages

So, as you can see, even the profile you choose has a big effect on a
system with very few use flags in make.cong or package.use.

- Mark



Re: [gentoo-user] ssh problem

2011-02-24 Thread dhk
On 02/24/2011 08:53 AM, Mick wrote:
 On 24 February 2011 13:17, dhk dhk...@optonline.net wrote:
 On 02/23/2011 03:42 AM, Joost Roeleveld wrote:
 On Tuesday 22 February 2011 14:51:31 Mick wrote:
 On 22 February 2011 14:19,  dhk...@optonline.net wrote:
 - Original Message -
 From: Mick

 There was a change in the default ssh encryption algorithm. You may
 want to check if that is causing the problem.

 How would I do that?

 By examining your config files?  Previously your keys would be in
 ~/.ssh/id_dsa[rsa].pub, but now with ECDSA being the default they
 would be in ~/.ssh/id_ecdsa.pub

 I recall something being mentioned in the elog asking to regenerate
 the key-pair.

 HTH.

 If this is the case, you could try speciying your key on the command-line
 using the -i flag:

 # ssh -i .ssh/id_dsa.pub host

 Replace the file with the one on your machine.

 HTH,

 Joost



 I still haven't gotten this to work.  Am I the only one using this?  The
 ssh -i .ssh/id_dsa.pub host didn't work.  I get a message Read from
 socket failed: Connection reset by peer with or without the -i option.

 When I re-emerged openssh the following output is displayed.

 # emerge openssh
 Calculating dependencies... done!
 Verifying ebuild manifests
 Emerging (1 of 1) net-misc/openssh-5.8_p1-r1
 Installing (1 of 1) net-misc/openssh-5.8_p1-r1
 Jobs: 1 of 1 complete   Load avg: 2.80,
 1.95, 1.43

  * Messages for package net-misc/openssh-5.8_p1-r1:

  * Starting with openssh-5.8p1, the server will default to a newer key
  * algorithm (ECDSA).  You are encouraged to manually update your stored
  * keys list as servers update theirs.  See ssh-keyscan(1) for more info.
  * Remember to merge your config files in /etc/ssh/ and then
  * reload sshd: '/etc/init.d/sshd reload'.
  * Please be aware users need a valid shell in /etc/passwd
  * in order to be allowed to login.
 Auto-cleaning packages...

 No outdated packages were found on your system.

  * GNU info directory index is up-to-date.

 The ssh-keyscan man page hasn't helped.

 As of now I can only log in from older systems.
 
 This would imply that your older (rsa/dsa) server keys still work.
 
 What have you changed on your Gentoo client?
 
 Have you tried using ssh user@host to login with?

At first all I did was an update:  emerge -uDN world .  They when it
didn't work I removed all public and private keys and restarted sshd.
That didn't work then I tried the ssh-keygen and ssh-keyscan.  That
didn't work so I removed all keys again and restarted sshd.  Are there
ssh_config or sshd_config options that should be set?

Thanks,

dhk



Re: [gentoo-user] howto recover gcc from another system

2011-02-24 Thread Florian Philipp
Am 24.02.2011 17:54, schrieb James:
 Hello,
 
 Well running a routine --depclean somehow
 I lost the only copy of gcc on the system
 
[...]
 
 
 Since there is no gcc-bin to emerge (ha ha)
 I guess I'll have to copy over the binary of
  orsys-devel/gcc-4.4.4-r2 from another system. 
 GUIDANCE on that is most welcome.
 
[...]
 
 It's a first time deleting the compiler,
 still do not know how it happened, as I
 did look over the -p --depclean first
 

This should get you going:
http://www.gossamer-threads.com/lists/gentoo/user/168951?do=post_view_threaded#168951

Was your profile setting messed up? Maybe on an unmounted device?
AFAIK, the system set is defined by your profile. GCC is right in the
base file for every profile:
${PORTDIR}/profiles/base/packages

Hope this helps,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


[gentoo-user] seq24 on AMD64

2011-02-24 Thread meino . cramer


Hi,

does anyone have seq24 successfully running on an AMD64 system?
Is there any othe loop sequencer out there, which I could try?

Thank you very much in advance!
Best regards,
mcc




[gentoo-user] Re: howto recover gcc from another system

2011-02-24 Thread james
Dale rdalek1967 at gmail.com writes:


  I lost the only copy of gcc on the system

 I would be glad to email you the binary from mine if it would help.  

Dale,

I have several system to copy from (thanks anyway). 
Is that all I have to do, just copy over the binary?

then rebuild gcc via the local ebuild package?
(using the copied over binary) that's all?

locate gcc (just a snippet)

/usr/x86_64-pc-linux-gnu/gcc-bin
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2
/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4
/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.4
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/c++
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/cpp
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/g++
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/gcc
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/gccbug
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/gcov
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/gfortran


So copy over 
/usr/x86_64-pc-linux-gnu/gcc-bin
to the same location only?

Copy over all of them?




[gentoo-user] Re: howto recover gcc from another system

2011-02-24 Thread James
Florian Philipp lists at binarywings.net writes:


 This should get you going:

http://www.gossamer-threads.com/lists/gentoo/user/168951?do=post_view_threaded#168951

ok, after reading I tried this:

emerge --usepkg gcc

which did not work.

Can you be more  specific on the syntax?


It looks like this thread will prevent accidential
deletion of gcc, in the future, but, I have not
gleaned from the thread, nor from the emerge pages
the correct (syntactically) version of how to
use quickpkg to fix the problem. Do I first
copy over the binary(ies) for gcc from another system?


 Was your profile setting messed up? Maybe on an unmounted device?
 AFAIK, the system set is defined by your profile. GCC is right in the
 base file for every profile:
 ${PORTDIR}/profiles/base/packages

[2]   default/linux/amd64/10.0/desktop *

No unmounted device, just the internal ide drive
in the laptop It was installed back in 2004
so there may be cruft in the laptop, since
it's been dual boot Gentoo XP for a long time.

it's not the first time I've run depclean on
it though.









Re: [gentoo-user] Why is KDE part of the system set?

2011-02-24 Thread Neil Bothwick
On Thu, 24 Feb 2011 11:34:09 -0600, Dale wrote:

  Actually, it is, because you told it to be. To me, KDE is not a system
  package, because I run different USE flags to you. Gentoo gave you the
  gun but you pointed it at your foot :)

 I didn't tell portage to include KDE, qt, and a boatload of other stuff 
 to be part of @system.  Did I enable the kde USE flag, yea.  That
 should be part of the world stuff not the system stuff.

Which is probably why the kde flag does NOT pull in all that stuff.

You can't on the one hand tell portage to build the packages with support
for some other packages, then on the other hand complain that they are
dependencies. Note the KDE is not and never will be part of @system, by
your own post that still contains 50 packages, it is your choices that
have created the huge dependency list for @system.

Save the output of emerge -epvt @system to a file, or print it out, then
work through to see which choices you have made that created this list of
dependencies.

Or accept that they were going to be installed anyway, as part of @world
if not @system, and do something useful with your life :)

 If I disable
 kde, qt and all the others then my GUI is going to be junk if it would
 even work at all.

Incorrect. You can install KDE without the kde USE flag, none of the
packages in kde-meta respect the kde USE flag.


-- 
Neil Bothwick

Every time I jump on the bandwagon all its wheels fall off.


signature.asc
Description: PGP signature


[gentoo-user] Re: howto recover gcc from another system

2011-02-24 Thread james
Florian Philipp lists at binarywings.net writes:


  Since there is no gcc-bin to emerge (ha ha)
  I guess I'll have to copy over the binary of
   orsys-devel/gcc-4.4.4-r2 from another system. 
  GUIDANCE on that is most welcome.

 [...]

OK, if this the first step, then I'm confused.
/usr/bin has this:

-rwxr-xr-x 1 root root 14512 Jan 14  2010 gcc
lrwxrwxrwx 1 root root62 Nov  6 14:08 gcc-4.4.4 -
/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.4/x86_64-pc-linux-gnu-gcc
-rwxr-xr-x 1 root root 21709 Sep 22  2009 gcc-config
-rwxr-xr-x 1 root root 14512 Jan 14  2010 x86_64-pc-linux-gnu-gcc
lrwxrwxrwx 1 root root62 Nov  6 14:08 x86_64-pc-linux-gnu-gcc-4.4.4 -
/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.4/x86_64-pc-linux-gnu-gcc


So can I just rebuild the links, as  it is fine
in /usr/bin:

file gcc
gcc: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked
(uses shared libs), for GNU/Linux 2.6.9, stripped


Or do I use quickpkg to fix it, since the binary is 
in place?  (confused here so detail is appreciated!)

I already downloaded gcc-4.4.4 but it will
not build, so the symbolic link being used
is broken?
gcc-config -l
 * gcc-config: Active gcc profile is invalid!
 [1] x86_64-pc-linux-gnu-4.4.4


I understand that quickpkg can be used
to protect gcc in the future, but, I think
I need to use the /usr/bin binary to rebuild 
the links and then the entire (gcc) package
from sources?


confused,
James









Re: [gentoo-user] howto recover gcc from another system

2011-02-24 Thread Neil Bothwick
On Thu, 24 Feb 2011 16:54:36 + (UTC), James wrote:

 Since there is no gcc-bin to emerge (ha ha)
 I guess I'll have to copy over the binary of
  orsys-devel/gcc-4.4.4-r2 from another system. 
 GUIDANCE on that is most welcome.

quickpkg gcc on the other system, copy the gcc-*.tbz2 package from
$PKGDIR on that to the broken system, then emerge -1k gcc.


-- 
Neil Bothwick

STATUS QUO is Latin for the mess we're in.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: howto recover gcc from another system

2011-02-24 Thread Dale

james wrote:

Dalerdalek1967at  gmail.com  writes:


   

I lost the only copy of gcc on the system
   
   

I would be glad to email you the binary from mine if it would help.
 

Dale,

I have several system to copy from (thanks anyway).
Is that all I have to do, just copy over the binary?

then rebuild gcc via the local ebuild package?
(using the copied over binary) that's all?

locate gcc (just a snippet)

/usr/x86_64-pc-linux-gnu/gcc-bin
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2
/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4
/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.4
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/c++
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/cpp
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/g++
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/gcc
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/gccbug
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/gcov
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/gfortran


So copy over
/usr/x86_64-pc-linux-gnu/gcc-bin
to the same location only?

Copy over all of them?

   


If I recall correctly, you put the binary in 
/usr/portage/packages/sys-devel/ and then emerge -Ka 
=sys-devel/gcc-4.4.4-r2 and it should just unpack and install gcc.  I 
have done this before but I was using my own binary that portage made 
sure was put in the right place.  This also assumes you are using the 
portage defaults as to the location of the portage directory and such.


Mine looks like this:

root@fireball / # emerge -Ka =sys-devel/gcc-4.4.4-r2

These are the packages that would be merged, in order:

Calculating dependencies... done!
[binary   R] sys-devel/gcc-4.4.4-r2

Would you like to merge these packages? [Yes/No]

Note it says binary?  If it says something else, then there may be a 
problem.


It's been a while but I think all that is right.

Dale

:-)  :-)



[gentoo-user] Re: howto recover gcc from another system

2011-02-24 Thread James
Neil Bothwick neil at digimed.co.uk writes:


  GUIDANCE on that is most welcome.

 quickpkg gcc on the other system, 
 copy the gcc-*.tbz2 package from
 $PKGDIR on that to the broken system,

OK I ran 'quickpkg gcc' got this:

ls /usr/portage/packages/sys-devel
gcc-4.1.2.tbz2  gcc-4.1.2.tbz2.28680  gcc-4.3.4.tbz2  gcc-4.4.4-r2.tbz2

now run scp ./*tbz2 remotehost://usr/portage/packages/sys-devel

or somewhere in /usr/portage/sys-devel/gcc 

(where to copy which *tbz2 file(s) to?
Ignore copying the 'gcc-4.1.2.tbz2.28680' file?


 copy the gcc-*.tbz2 package from
 $PKGDIR on that to the broken system, 


 then emerge -1k gcc.
Got this part







Re: [gentoo-user] ssh problem

2011-02-24 Thread dhk
On 02/24/2011 03:01 PM, Matthew Marlowe wrote:
 On Thursday, February 24, 2011 10:09:22 am dhk wrote:

 I still haven't gotten this to work.  Am I the only one using this?  The
 ssh -i .ssh/id_dsa.pub host didn't work.  I get a message Read from
 socket failed: Connection reset by peer with or without the -i option.

 
 I encountered a similar, if not the same, problem this morning.
 Upgraded SSH, rebooted server, and no longer able to login.  Logs showed 
 errors I had not seen before.
 
 I managed to solve the problem when I noticed that ssh'ing to the fqdn of the 
 server failed, but ssh'ing to the server hostname worked.  This implied there 
 might be an issue with the known_hosts file, so I blew away that on both the 
 client and server and all was well.
 
 I'm guessing the upgrade modified the default ssh host keys, the new code 
 somehow doesn't give the normal error about discrepencies in known_hosts, and 
 consequently although ones user keys are still fine, it fails.  The issue 
 here 
 is really the new error isn't nearly as understandable as the old.
 
 Anyhow, try it and I hope it works.
 
 Matt

Thanks, but I've tried that.  ssh'ing to the hostname and loopback
address work.  However, when I go out to the WAN it doesn't.  So I can't
ssh user@123.123.123.123 even though I have port 22 open on the switch
for my ip.



Re: [gentoo-user] Re: x11-base/xorg-server-1.9.4 and DPMS

2011-02-24 Thread Mick
On Thursday 24 February 2011 16:23:31 Dale wrote:
 Mick wrote:
  On Wednesday 23 February 2011 19:21:34 Dale wrote:
  When I upgraded to KDE4, I had to start using xset to handle turning my
  monitor off.  I put it in the startup section and it seems to work OK.
  
  This is strange - I added  Option DPMS   on under the Monitor section
  in the xorg.conf, but it won't take.
  
  xset +dpms works fine ...
  
  Why would that be?
 
 I think there is a thread where I asked the same thing.  When I first
 upgraded to KDE4, my monitor would not turn off unless I turned it off
 myself.  I set up a script that runs when I login to cut off the
 monitor.  I have another script that sets it back when I log out.  I put
 it in ~.kde4/Autostart.  It's the same commands I tested manually and it
 works fine.
 
 If I recall correctly, KDE was not quite up to speed on controlling the
 monitor with DPMS yet.  That was back in the 4.1 days so that may have
 changed but given you are having issues with it, maybe it is still
 having problems.  This could be due to the hal/udev/polkit switch as
 well.  They may be letting all that settle so that they only have to
 write the code once.  I would do that if it was me.  ;-)
 
 This is my settings when I am logged in:
 
 xset dpms 3600 3600 3600
 
 I think that is one hour.  I'm pretty sure it is measured in seconds not
 minutes.

I would have thought that DPMS is a an xorg function/issue, rather than KDE's.

Things went sideways here when I upgrade xorg-server from 1.9.2 to 1.9.4.

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: x11-base/xorg-server-1.9.4 and DPMS

2011-02-24 Thread Dale

Mick wrote:

On Thursday 24 February 2011 16:23:31 Dale wrote:
   

I think there is a thread where I asked the same thing.  When I first
upgraded to KDE4, my monitor would not turn off unless I turned it off
myself.  I set up a script that runs when I login to cut off the
monitor.  I have another script that sets it back when I log out.  I put
it in ~.kde4/Autostart.  It's the same commands I tested manually and it
works fine.

If I recall correctly, KDE was not quite up to speed on controlling the
monitor with DPMS yet.  That was back in the 4.1 days so that may have
changed but given you are having issues with it, maybe it is still
having problems.  This could be due to the hal/udev/polkit switch as
well.  They may be letting all that settle so that they only have to
write the code once.  I would do that if it was me.  ;-)

This is my settings when I am logged in:

xset dpms 3600 3600 3600

I think that is one hour.  I'm pretty sure it is measured in seconds not
minutes.
 

I would have thought that DPMS is a an xorg function/issue, rather than KDE's.

Things went sideways here when I upgrade xorg-server from 1.9.2 to 1.9.4.

   


I thought the same thing.  Thing is, there are settings in KDE to tell 
it when to blank, cut off and all that.  I just know I couldn't get it 
to work until I did the things I posted.  It didn't make much sense but 
it works now.


Dale

:-)  :-)



Re: [gentoo-user] non-root user switch gcc version ?

2011-02-24 Thread Mike Gilbert
On Thu, Feb 24, 2011 at 6:15 AM, Helmut Jarausch
jarau...@igpm.rwth-aachen.de wrote:
 Hi,

 many distributions have something like a 'switch' command such that an
 ordinary user can switch the version of his/her default gcc compiler.

 Is there something similar in GenToo?

 Many thanks for a hint,
 Helmut.



You could do something like the following:

# Set environment
eval $(gcc-conifg -E profile)

# Set library path
export LD_LIBRARY_PATH=$(gcc-config -L profile)



Re: [gentoo-user] Re: howto recover gcc from another system

2011-02-24 Thread Neil Bothwick
On Thu, 24 Feb 2011 21:29:50 + (UTC), James wrote:

  quickpkg gcc on the other system, 
  copy the gcc-*.tbz2 package from
  $PKGDIR on that to the broken system,  
 
 OK I ran 'quickpkg gcc' got this:
 
 ls /usr/portage/packages/sys-devel
 gcc-4.1.2.tbz2  gcc-4.1.2.tbz2.28680  gcc-4.3.4.tbz2  gcc-4.4.4-r2.tbz2
 
 now run scp ./*tbz2 remotehost://usr/portage/packages/sys-devel

You only need to copy the file for the version you want to install.

 or somewhere in /usr/portage/sys-devel/gcc 
 
 (where to copy which *tbz2 file(s) to?

Copy to /usr/portage/packages/sys-devel, the same location as they are in
on the good system. Unless you have redefined PKGDIR.

 Ignore copying the 'gcc-4.1.2.tbz2.28680' file?

Yes, it looks like a failed attempt to package an old version.


-- 
Neil Bothwick

Walking on water and writing software to specification is easy if they're
frozen.


signature.asc
Description: PGP signature


Re: [gentoo-user] ssh problem

2011-02-24 Thread Mick
On Thursday 24 February 2011 18:09:22 dhk wrote:
 On 02/24/2011 08:53 AM, Mick wrote:

  Have you tried using ssh user@host to login with?
 
 At first all I did was an update:  emerge -uDN world .  They when it
 didn't work I removed all public and private keys and restarted sshd.
 That didn't work then I tried the ssh-keygen and ssh-keyscan.  That
 didn't work so I removed all keys again and restarted sshd.  Are there
 ssh_config or sshd_config options that should be set?

I recommend you have another look at:

 http://www.gentoo.org/doc/en/articles/openssh-key-management-p1.xml

and from there Part 2 and Part 3 just in case you are missing something basic.

The only difference being that the latest openssh version is now using ECDSA 
as the default.

Therefore you should specify it as the prefered option in your server's and 
client's config files (which from the elog I am led to believe that it is the 
new default setting).

Also, note the elog comment about users needing a valid shell in /etc/passwd.  
Does your user have /bin/bash (or other shell of choice) at the end of the 
line in /etc/passwd?

PS.  I am able to login into a gentoo box which is running 5.8_p1-r1 using my 
ssh_host_rsa_key from a client also running 5.8_p1-r1.  So it seems that old 
keys should work fine - unless you have removed them from your server.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] ssh problem

2011-02-24 Thread Mick
On Thursday 24 February 2011 21:51:56 dhk wrote:

 Thanks, but I've tried that.  ssh'ing to the hostname and loopback
 address work.  However, when I go out to the WAN it doesn't.  So I can't
 ssh user@123.123.123.123 even though I have port 22 open on the switch
 for my ip.

Just to state the obvious, have your tried something like:

$ nc -v -z 123.123.123.123 22
123.123.123.123 (ssh) open

from a WAN client to make sure that the port is open?
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Re: howto recover gcc from another system

2011-02-24 Thread James
James wireless at tampabay.rr.com writes:


  copy the gcc-*.tbz2 package from
  $PKGDIR on that to the broken system, 

  then emerge -1k gcc.

emergeing gcc now (thanks Neil!)

One last question:
so I've learned the hard way
of the value of quickpkg.

Besides gcc, what is a good list
of critical software to use guickpkg
as to keep backup binaries?



James






Re: [gentoo-user] Re: howto recover gcc from another system

2011-02-24 Thread Dale

James wrote:

Jameswirelessat  tampabay.rr.com  writes:


   

copy the gcc-*.tbz2 package from
$PKGDIR on that to the broken system,
   
   

then emerge -1k gcc.
   

emergeing gcc now (thanks Neil!)

One last question:
so I've learned the hard way
of the value of quickpkg.

Besides gcc, what is a good list
of critical software to use guickpkg
as to keep backup binaries?



James

   


I have this set in my make.conf:

FEATURES=buildpkg sandbox fixpackages parallel-fetch --keep-going

Yours may vary but the buildpkg part is what you need.  There is also 
buildsyspkg but in the past, I had it to not keep some system packages.


If you use either of those, man eclean.  That will keep the cruft out.

Dale

:-)  :-)



Re: [gentoo-user] Why is KDE part of the system set?

2011-02-24 Thread Walter Dnes
On Thu, Feb 24, 2011 at 11:34:09AM -0600, Dale wrote

 I didn't tell portage to include KDE, qt, and a boatload of other stuff 
 to be part of @system.  Did I enable the kde USE flag, yea.  That should 
 be part of the world stuff not the system stuff.  If I disable kde, qt 
 and all the others then my GUI is going to be junk if it would even work 
 at all.

  What you're saying is that you want *SOME*, but not all, packages to
be built with certain flags.  That's what package.use was designed for.
If you enable kde globally in your USE var, everything that can be
built with KDE support will be built with KDE support.  If you enable it
for only certain packages, it will only show up for certain packages.

  You have kde and symantic-desktop in your USE, sorry, you're going
to pull in a lot of crap, no if's-and's-or's-but's.  BTW, I assure you
that I am absolutely neutral in the GNOME/KDE war...  the pox on both
their houses.  I didn't buy a computer to run desktops, I bought a
computer to run applications.

  Now it's possible that many of the flags in your combined USE are
pulled in by your profile.  The way to avoid that is to start your USE
with -* and only add what is absolutely necessary, either in USE in
make.conf or on a package-by-package basis in package.use.  I started
doing that some years ago after the developers in their infinite
wisdom decided to include ipv6 by default.  Firefox and mplayer and
anything else that connected to the net would spin their wheels for 30
to 45 seconds, while IPV6 DNS requests timed out, and then fall back to
IPV4.  I did *NOT* appreciate that.

 I guess the kernel will have the kde USE flag next.  lol  At least
 that should be in @system tho.  ;-)

  Check your profile.  Is it kde-desktop?  And while you're at it, set
your ALSA_CARDS variable in /etc/make.conf.  It seems to be pulling in
everything by default.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] ssh problem

2011-02-24 Thread dhk
On 02/24/2011 06:30 PM, Mick wrote:
 On Thursday 24 February 2011 21:51:56 dhk wrote:
 
 Thanks, but I've tried that.  ssh'ing to the hostname and loopback
 address work.  However, when I go out to the WAN it doesn't.  So I can't
 ssh user@123.123.123.123 even though I have port 22 open on the switch
 for my ip.
 
 Just to state the obvious, have your tried something like:
 
 $ nc -v -z 123.123.123.123 22
 123.123.123.123 (ssh) open
 
 from a WAN client to make sure that the port is open?

I don't have the nc comand.  What package is it in?



[gentoo-user] Re: howto recover gcc from another system

2011-02-24 Thread James
Dale rdalek1967 at gmail.com writes:


  Besides gcc, what is a good list
  of critical software to use guickpkg
  as to keep backup binaries?


 FEATURES=buildpkg sandbox fixpackages parallel-fetch --keep-going

I saw this (FEATURES=buildpkg) googling around.

1. What is a good list of software to use buildpkg on?

2. Once you decide those packages, where do you put
the list?

Surely I do not wish to use buildpkg on every installed
package, a few or maybe the entire @system. I have not
found the answer to [1] or [2].

This is muddy, because supposedly the profile
is suppose to protect the key packages for --depclean ?
[2]   default/linux/amd64/10.0/desktop   *

So is gcc protected somehow by the profile?
I think not..


Still googling but not find any clear answers, 
mostly cruft from years ago


James







[gentoo-user] Updating to gnome 2.32.x -- building totem fails.

2011-02-24 Thread walt

Sometimes I think I'm the only gnome fan in this wild jungle of kde users,
pardon my paranoia.

Anyway, I went through the same problem with totem on my ~x86 and ~amd64
machines a few months ago, and now I've just hit it again on my last amd64
(gentoo-stable) machine because gnome-2.32.x just made the 'stable' list.

The totem package fails to build for reasons I could have explained in great
detail two months ago because I actually read through the ebuild and the totem
config files and I finally concluded (for reasons I forgot almost instantly)
that totem-2.32.0 won't build while the X server is running.

No, don't be silly, of course I don't remember why.

If you want to update totem to 2.32.0 you must log out of your gnome session
and emerge totem from a boring old command prompt.

Only then may you resume your life as a gentoo gnome, like moi.





Re: [gentoo-user] Re: howto recover gcc from another system

2011-02-24 Thread Dale

James wrote:

Dalerdalek1967at  gmail.com  writes:


   

Besides gcc, what is a good list
of critical software to use guickpkg
as to keep backup binaries?
   


   

FEATURES=buildpkg sandbox fixpackages parallel-fetch --keep-going
 

I saw this (FEATURES=buildpkg) googling around.

1. What is a good list of software to use buildpkg on?

2. Once you decide those packages, where do you put
the list?

Surely I do not wish to use buildpkg on every installed
package, a few or maybe the entire @system. I have not
found the answer to [1] or [2].

This is muddy, because supposedly the profile
is suppose to protect the key packages for --depclean ?
[2]   default/linux/amd64/10.0/desktop   *

So is gcc protected somehow by the profile?
I think not..


Still googling but not find any clear answers,
mostly cruft from years ago


James

   


Short version, man make.conf for more info.  buildpkg, keeps a binary of 
EVERYTHING installed.  Now buildsyspkg only keeps binaries for system 
packages.  If you have plenty of disk space, I would use buildpkg.  If 
you have a lappy or are short of disk space, then buildpkg would work.  
Just keep in mind that some packages may not get saved.  After thinking 
about this, I'm pretty sure I lost python once and buildsyspkg didn't 
keep a binary copy around.  Just try to emerge something without python 
installed.  :-(


There is no list for you to keep.  Portage does that.

That help?

Dale

:-)  :-)



Re: [gentoo-user] ssh problem

2011-02-24 Thread Stroller

On 25/2/2011, at 1:08am, dhk wrote:
 
 I don't have the nc comand.  What package is it in?

net-analyzer/netcat