Re: [gentoo-user] Why does my system still want gcc 3.4.9?

2008-05-14 Thread Dirk Heinrichs
Am Mittwoch, 14. Mai 2008 schrieb ext [EMAIL PROTECTED]:

 The short of it is that a lot of binaries on my system are linked
 against gcc 3.4.9, even if I remerge them from scratch.

There is no such thing as gcc 3.4.9.

 It happened 
 with gcc 4.2.2, I emerged 4.2.3 and it still happens.  The most common
 broken binary is /usr/bin/lzma, which I have remerged several times
 since the 4.2.3 emerge to no avail.

 # ldd /usr/bin/lzma
 /usr/bin/lzma: /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6:
 version `GLIBCXX_3.4.9' not found (required by /usr/bin/lzma)

You emerged it with 4.2.3, but _at_runtime_ it's trying to get libstdc++ 
from 4.1.2. Check your environment, especially all variables with PATH in 
their name (env|grep PATH), as well as /etc/ld.so.conf.

Try: LD_LIBRARY_PATH=/usr/lib/gcc/i686-pc-linux-gnu/4.2.3 ldd /usr/bin/lzma

If this works, try running env-update  source /etc/profile, then 
just ldd /usr/bin/lzma again.

 gcc-config is happy:

It doesn't matter how happ gcc-config is. Your runtime linker is not.

 There is an old gcc hanging around, which I have been tempted to move
 out of the way and see what happens, but I don't like broken
 unbootable systems.

Rename it and run revdep-rebuild. If everything is fine you can remove it.

HTH...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net


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


Re: [gentoo-user] Nice level for X11

2008-05-14 Thread Uwe Thiem
On Tuesday 13 May 2008, Andrey Falko wrote:
 On Tue, May 13, 2008 at 4:02 PM, Uwe Thiem [EMAIL PROTECTED] wrote:
  On Tuesday 13 May 2008, Abraham Gyorgy wrote:
Hello guys, in which configuration file can I set a nice level
for X11? (this makes all graphical software run much faster,
at least when I used Debian).
 
   Nice factor for X makes graphical software run fater? I don't
  thinl so. Not at all.

 Nice factor gives X priority, so if you are compiling something and
 X's priority is high, you'll be using X as if nothing was being
 compiled.

Only if you are root. As a normal user, you can only lower the 
priority of a process.

Uwe

-- 
Ignorance killed the cat, sir, curiosity was framed!
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Constant hammering from Chinese IPs on prt 102[67]

2008-05-14 Thread Mick
On Wednesday 14 May 2008, Justin wrote:
 [EMAIL PROTECTED] schrieb:
  Justin [EMAIL PROTECTED] writes:
  If so what is the massive chinese interest in icq?
 
  found this in the net:
 
  http://www.grc.com/port_1026.htm
  http://www.grc.com/port_1027.htm
 
  That doesn't give any analysis of why this port is being hammered by
  hundreds, even thousands of IP originating in china.
 
  It only guesses at what `might' be the reason such a port my be open,
  and how to close it... but even that part has no detail.
 
  It appears to be, at root, just another snivel about how MS does
  things with no substance.

This is typical grc.com style FUD for paranoid MSWindows users.  He is a 
really good salesman in IT snakeoil (his background is in marketing).

 I understand it the other way round. It is not an active knocking on
 your ports, but a passive MS thing. Lots of Chinese bought a new
 computer with an MS operating system, which is sending out to the world.

The two ports in question relate to the Windows Messenger service and the way 
it listens for UDP connections on ports in the 1026-1030 range.  If you have 
disabled your Messenger Service there's probably nothing to fear.  If on the 
other hand you have just woken up to the MSWindows miracle, just booted up 
your brand new unpatched WinXP and connected it to the Internet for the first 
time, wey-hey! Mandarin party time :-p

LOL!  Actually it could be a trojan listening on these ports, although on a 
box I just checked they are bound to 127.0.0.1.  My money is on some new 
Messenger Spam attack similar to the one that was doing the rounds a few 
years ago.  I thought that MS brought out a patch that disabled the Windows 
Messenger service by default since SP2 if not earlier?

A packer sniffer ought to show up if something is amiss with the box. 
-- 
Regards,
Mick


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


Re: [gentoo-user] Why does my system still want gcc 3.4.9?

2008-05-14 Thread Volker Armin Hemmann
On Mittwoch, 14. Mai 2008, [EMAIL PROTECTED] wrote:
 I have been battling this weirdness for several months, and it has
 been getting worse and worse.  Now I can't even unpack half the man
 pages.

 The short of it is that a lot of binaries on my system are linked
 against gcc 3.4.9, even if I remerge them from scratch.  It happened
 with gcc 4.2.2, I emerged 4.2.3 and it still happens.  The most common
 broken binary is /usr/bin/lzma, which I have remerged several times
 since the 4.2.3 emerge to no avail.

 # ldd /usr/bin/lzma
 /usr/bin/lzma: /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6: version
 `GLIBCXX_3.4.9' not found (required by /usr/bin/lzma) linux-gate.so.1 = 
 (0xe000)
 libstdc++.so.6 =
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6 (0xb7e3a000) libm.so.6
 = /lib/libm.so.6 (0xb7e15000)
 libgcc_s.so.1 = /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
 (0xb7e09000) libc.so.6 = /lib/libc.so.6 (0xb7cd4000)
 /lib/ld-linux.so.2 (0xb7f63000)

 gcc-config is happy:

 # gcc-config -l
  [1] i686-pc-linux-gnu-4.1.2
  [2] i686-pc-linux-gnu-4.2.3 *

 The bad symlinks for gcj components (reported by revdep-rebuild) have
 been fixed.

 There is an old gcc hanging around, which I have been tempted to move
 out of the way and see what happens, but I don't like broken
 unbootable systems.

 $ ll /usr/lib/gcc/i386-pc-linux-gnu/
 total 0
 drwxr-xr-x 2 root root 80 Jun 12  2006 3.4.4

 with the other two versions elsewhere:

 $ ll /usr/lib/gcc/i686-pc-linux-gnu/
 total 4
 drwxr-xr-x 4 root root 2464 Dec 27 15:07 4.1.2
 drwxr-xr-x 5 root root 2504 May 12 11:58 4.2.3

 This is a ~x86 system.

there are/were probably a bunch of *la files left which have that stale crap 
in them. Grep for it. Then remove them.

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Problem upgrading kernel from 2.6.25.1to 2.6.26_rc1

2008-05-14 Thread Alan McKinnon
On Wednesday 14 May 2008, Marko Kocić wrote:
 Is it a known issue with 2.6.26-rc1 kernel? How could I painlessly
 migrate configuration from old 2.6.25 kernel to 2.6.26 without need
 for complete reconfiguration?
 make menuconfig always keeped current config before, did it change
 recently?

It didn't change that I know of, but one can never tell. I suppose step 
1 is to check what changed. So, either:

run make oldconfig
or
run make menuconfig and rapidly flip through all the screens looking for 
entries that end with [NEW]

If that doesn't sort stuff out, then you will probably have to inspect 
the area where you have missing modules more closely and read the help 
pages. What are these missing modules? Often it's a case of a 
replacement has a different name, like the b43legacy for Broadcom 
wireless now has an entirely new b43 intended to replace b43legacy

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Problem upgrading kernel from 2.6.25.1to 2.6.26_rc1

2008-05-14 Thread Marko Kocić
Hi all,

I'm using vanilla-sources-2.6.25.1 right now.
I tried to configure and build 2.6.26_rc1 like I did many times before.
 create symlink to linux-2.6.26-rc1 folder
 go to linux folder
 make menuconfig
 save
 make
 make modules_install install
Everythinh seems to build ok, with some MISMATCH_CONFIG warning, and
when I reboot to the new kernel, a bunch of modules that were there
before are not loaded anymore. Inspecting it it seems that some
modules are not even built.

Is it a known issue with 2.6.26-rc1 kernel? How could I painlessly
migrate configuration from old 2.6.25 kernel to 2.6.26 without need
for complete reconfiguration?
make menuconfig always keeped current config before, did it change recently?

Thanks,
Marko
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Gnome wallpaper

2008-05-14 Thread Adam Carter
My wallpaper doesnt come up when Gnome starts, but if i open the System - 
Preferences - Appearance dialogue it appears (i dont even need to make a 
change). So it looks like something is not running until i open the dialogue. 
Any ideas on how to fix it? Or will i have to resort to 'mv .gnome .gnome.orig' 
(or .gnome2) or something like that?


Re: [gentoo-user] Gnome wallpaper

2008-05-14 Thread marc
Am 14.05.2008 um  Uhr haben Sie geschrieben:
 My wallpaper doesnt come up when Gnome starts, but if i open the
System -
 Preferences - Appearance dialogue it appears (i dont even need to
make a
 change). So it looks like something is not running until i open the
dialogue.
 Any ideas on how to fix it? Or will i have to resort to 'mv .gnome
.gnome.orig'
 (or .gnome2) or something like that?



Does 'nautilus' start? Try using 'nautilus --no-desktop'...

Marc



-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Problem upgrading kernel from 2.6.25.1to 2.6.26_rc1

2008-05-14 Thread Alan McKinnon
On Wednesday 14 May 2008, Marko Kocić wrote:
 It might be the case. I don't currently have access to my home
 laptop, but there were lots of modules that are missing. Alsa and
 iptables failed to start after reboot and I ended up in console
 screen which is small and in the center of the screen.

Sounds like you have a lot more going on that one or two modules not 
loading :-) You do have module support in that kernel right?

Perhaps the output of dmesg and the relevant bits of messages from the 
init process will be required here


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Problem upgrading kernel from 2.6.25.1to 2.6.26_rc1

2008-05-14 Thread Marko Kocić
2008/5/14 Alan McKinnon [EMAIL PROTECTED]:
 On Wednesday 14 May 2008, Marko Kocić wrote:
   Is it a known issue with 2.6.26-rc1 kernel? How could I painlessly
   migrate configuration from old 2.6.25 kernel to 2.6.26 without need
   for complete reconfiguration?
   make menuconfig always keeped current config before, did it change
   recently?

  It didn't change that I know of, but one can never tell. I suppose step
  1 is to check what changed. So, either:

  run make oldconfig
  or
  run make menuconfig and rapidly flip through all the screens looking for
  entries that end with [NEW]

Did that, but I probably missed to reenable something ;) It was a long
time since
the last time I had to configure kernel from scratch, so it is hard to remember
everything.

  If that doesn't sort stuff out, then you will probably have to inspect
  the area where you have missing modules more closely and read the help
  pages. What are these missing modules? Often it's a case of a
  replacement has a different name, like the b43legacy for Broadcom
  wireless now has an entirely new b43 intended to replace b43legacy

It might be the case. I don't currently have access to my home laptop,
but there were lots of modules that are missing. Alsa and iptables failed to
start after reboot and I ended up in console screen which is small and
in the center of the screen.

Thanks,
Marko


Re: [gentoo-user] Problem upgrading kernel from 2.6.25.1to 2.6.26_rc1

2008-05-14 Thread Marko Kocić
2008/5/14 Alan McKinnon [EMAIL PROTECTED]:
 On Wednesday 14 May 2008, Marko Kocić wrote:

  It might be the case. I don't currently have access to my home
   laptop, but there were lots of modules that are missing. Alsa and
   iptables failed to start after reboot and I ended up in console
   screen which is small and in the center of the screen.

  Sounds like you have a lot more going on that one or two modules not
  loading :-) You do have module support in that kernel right?

Yes. For some reason it was reset to N, so I had to set it again. Some
modules build and install ok (eg. agpgart)

  Perhaps the output of dmesg and the relevant bits of messages from the
  init process will be required here

Yes, I'll  have to digg more to fix this. I just hoped that there is
some easy/fast
solution that I didn't know of :(
It is going to be a fun week ;(, hopefully not the weekend ;)

Thanks for your help


Re: [gentoo-user] Problem upgrading kernel from 2.6.25.1to 2.6.26_rc1

2008-05-14 Thread Alan McKinnon
On Wednesday 14 May 2008, Marko Kocić wrote:
   Perhaps the output of dmesg and the relevant bits of messages from
  the init process will be required here

 Yes, I'll  have to digg more to fix this. I just hoped that there is
 some easy/fast
 solution that I didn't know of :(
 It is going to be a fun week ;(, hopefully not the weekend ;)

Here's my advice:

start over :-)

Using a .24 config works to build .25 - I have done it, so I think 
something just went bellyup on yours. 

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Masked Packages

2008-05-14 Thread Daniel Mendler

Hi,

I have a lot of masked packages installed on my system. The packages are 
installed but not unmasked. Is there an easy way to find those packages?


Daniel

--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Problem upgrading kernel from 2.6.25.1to 2.6.26_rc1

2008-05-14 Thread Marko Kocić
2008/5/14 Alan McKinnon [EMAIL PROTECTED]:
 On Wednesday 14 May 2008, Marko Kocić wrote:

Perhaps the output of dmesg and the relevant bits of messages from
the init process will be required here
  
   Yes, I'll  have to digg more to fix this. I just hoped that there is
   some easy/fast
   solution that I didn't know of :(
   It is going to be a fun week ;(, hopefully not the weekend ;)

  Here's my advice:

  start over :-)

  Using a .24 config works to build .25 - I have done it, so I think
  something just went bellyup on yours.

It worked for me too. I had similar problem when upgrading from 25 to 25.1,
but it seems like it was enough to fast scan through menus in menuconfig,
change nothing, just save config, and rebuild.
z�b�� z{h���x%��

Re: [gentoo-user] Masked Packages

2008-05-14 Thread tecnic5
Dunno if this will get you every masked package, but at least should be 
quite close; if you run

emerge -pv --emptytree world

you can check the packages that are being downgraded, quite probably the 
reason for this downgrading will be that the installed version is a masked 
one.

Just an idea.

Abraham Marín Pérez [EMAIL PROTECTED] 
Responsable de I+D 
SILVANO CONSULTORES 
Tfno.: 93.412.79.12 -- Fax: 93.410.92.90 
http://www.silvanoc.com/ 

 




Daniel Mendler [EMAIL PROTECTED]
14/05/2008 13:53
Por favor, responda a gentoo-user
 
Para:   Gentoo User List gentoo-user@lists.gentoo.org
cc: 
Asunto: [gentoo-user] Masked Packages

Hi,

I have a lot of masked packages installed on my system. The packages are 
installed but not unmasked. Is there an easy way to find those packages?

Daniel

-- 
gentoo-user@lists.gentoo.org mailing list



--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Masked Packages

2008-05-14 Thread Justin

Daniel Mendler schrieb:

Hi,

I have a lot of masked packages installed on my system. The packages 
are installed but not unmasked. Is there an easy way to find those 
packages?


Daniel


See this

http://gentoo-wiki.com/Keywords
http://gentoo-wiki.com/TIP_Regenerate_package_keywords

Both tips can help you to find those packages.

Another way is

$ eix -uc|grep '\[D\]'.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Masked Packages

2008-05-14 Thread Alan McKinnon
On Wednesday 14 May 2008, Daniel Mendler wrote:
 Hi,

 I have a lot of masked packages installed on my system. The packages
 are installed but not unmasked. Is there an easy way to find those
 packages?

How can you have a masked package installed but have not unmasked it? 

To find all sorts of oddities with your portage config files, run:

eix-test-obsolete

You may have to emerge eix first to get it

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Nice level for X11

2008-05-14 Thread Abraham Gyorgy
Well I did a little Google'ing, and i found a blog. There the author wrote:

lapitopi gyuszk # snice -15 X

After doing this, I ran htop and it told me that my X11 was running with -15
niceness. I experience better responsiblity under all of X11 (kde,
firefox, konsole, anything). For example switching from an existing Firefox
window to (for ex.) Konsole or Xchat is much faster.
I have to add, I own a very slow computer, so I have to do everything to
speed up my system. It is very slow even with WinXP+official drivers.


2008/5/14 Uwe Thiem [EMAIL PROTECTED]:

 On Tuesday 13 May 2008, Andrey Falko wrote:
  On Tue, May 13, 2008 at 4:02 PM, Uwe Thiem [EMAIL PROTECTED] wrote:
   On Tuesday 13 May 2008, Abraham Gyorgy wrote:
 Hello guys, in which configuration file can I set a nice level
 for X11? (this makes all graphical software run much faster,
 at least when I used Debian).
  
Nice factor for X makes graphical software run fater? I don't
   thinl so. Not at all.
 
  Nice factor gives X priority, so if you are compiling something and
  X's priority is high, you'll be using X as if nothing was being
  compiled.

 Only if you are root. As a normal user, you can only lower the
 priority of a process.

 Uwe

 --
 Ignorance killed the cat, sir, curiosity was framed!
 --
 gentoo-user@lists.gentoo.org mailing list




Re: [gentoo-user] Masked Packages

2008-05-14 Thread Dirk Uys
On Wed, May 14, 2008 at 2:06 PM, Alan McKinnon [EMAIL PROTECTED] wrote:

 How can you have a masked package installed but have not unmasked it?


By setting the ACCEPT_KEYWORDS flag in the command line when emerging?
Haven't done that for a while though, so I wouldn't know if
ACCEPT_KEYWORDS has been deprecated since?
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Why does my system still want gcc 3.4.9?

2008-05-14 Thread felix
On Wed, May 14, 2008 at 08:19:38AM +0200, Dirk Heinrichs wrote:

 There is no such thing as gcc 3.4.9.
 
 You emerged it with 4.2.3, but _at_runtime_ it's trying to get libstdc++ 
 from 4.1.2. Check your environment, especially all variables with PATH in 
 their name (env|grep PATH), as well as /etc/ld.so.conf.

I see the difference.  I had thought if it was looking for 3.4.9, it
must have been compiled with 3.4.9.  But I just edited (read only!)
libstdc++.so... and it has the string 3.4.9 in it, presumably to
satisfy multiple versions.

 Try: LD_LIBRARY_PATH=/usr/lib/gcc/i686-pc-linux-gnu/4.2.3 ldd /usr/bin/lzma

This works.

 If this works, try running env-update  source /etc/profile, then 
 just ldd /usr/bin/lzma again.

Unfortunately, this doesn't work.  But at least I am now pointed in
the right direction of being a runtime problem solved (temporarily) by
LD_LIBRARY_PATH.  Now I need to get me some sleep and get a fresh start.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Nice level for X11

2008-05-14 Thread Josh Cepek

Abraham Gyorgy wrote:
Well I did a little Google'ing, and i found a blog. There the author 
wrote:


lapitopi gyuszk # snice -15 X


As already pointed out, running process with a nice value less than 0 
can only be done by root, and it's usually a really bad idea to run your 
entire X session as root. X (and applications running under X) involve a 
lot of code, and vulnerabilities can exist in this code. You don't want 
any vulnerabilities to be potentially exploited as the root user. Take 
the multiple X-terminal vulnerabilities reported last week by the Gentoo 
security team that could allow local attackers to hijack X11 terminals 
of other users. The moral is don't run as root unless you actually need 
to (and I'd argue that you should never need to run X sessions as root.)


After doing this, I ran htop and it told me that my X11 was running 
with -15 niceness. I experience better responsiblity under all of 
X11 (kde, firefox, konsole, anything). For example switching from an 
existing Firefox window to (for ex.) Konsole or Xchat is much faster.
I have to add, I own a very slow computer, so I have to do everything 
to speed up my system. It is very slow even with WinXP+official drivers.


If the goal is to lower the priority of other tasks the computer may be 
doing at the same time, perhaps setting a higher nice value for them 
would offer similar results. In the case of compiling, portage provides 
an easy way to lower the priority with the PORTAGE_NICENESS value.



2008/5/14 Uwe Thiem [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]:

On Tuesday 13 May 2008, Andrey Falko wrote:
 On Tue, May 13, 2008 at 4:02 PM, Uwe Thiem [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
  On Tuesday 13 May 2008, Abraham Gyorgy wrote:
Hello guys, in which configuration file can I set a nice level
for X11? (this makes all graphical software run much faster,
at least when I used Debian).
 
   Nice factor for X makes graphical software run fater? I don't
  thinl so. Not at all.

 Nice factor gives X priority, so if you are compiling something and
 X's priority is high, you'll be using X as if nothing was being
 compiled.

Only if you are root. As a normal user, you can only lower the
priority of a process.



--
Josh




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Nice level for X11

2008-05-14 Thread Alan McKinnon
On Wednesday 14 May 2008, Josh Cepek wrote:
  lapitopi gyuszk # snice -15 X

 As already pointed out, running process with a nice value less than 0
 can only be done by root, and it's usually a really bad idea to run
 your entire X session as root. X (and applications running under X)
 involve a lot of code, and vulnerabilities can exist in this code.

I think you don't know how X runs.

X *always* runs as root on Linux so whether you nice it to 19 or -19 is 
not relevant. It was only very very recently that someone got X to run 
as a user. Do you disagree or should I elaborate?

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Nice level for X11

2008-05-14 Thread Justin Findlay
On AD 2008 May 13 Tuesday 09:50:24 PM +0200, Abraham Gyorgy wrote:
 Hello guys, in which configuration file can I set a nice level for X11?
 (this makes all graphical software run much faster, at least when I used
 Debian).

Before trying this, there are some kernel modifications you can try:

preemptible kernel
timer frequency - 1000 Hz


Justin
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] KDE-4.0.4 (not a nag)

2008-05-14 Thread Dmitry S. Makovey

Hi everybody,

does anybody know what's happening to KDE4 in gentoo land ? Gentoo-KDE folks 
were pretty responsive with previous 4.0.x releases updating portage tree 
etc., but now I can't find much updates on what's happening with 4.0.4. Was 
it 3.5.9 preparations that took priority?

Note: this message is not a nag, it's just my curiosity speaking (well and 
desire to finally switch to KDE4 as 4.0.3 had some glitches and functionality 
gaps that prevented my permanent switch so far).

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


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


Re: [gentoo-user] Why does my system still want gcc 3.4.9?

2008-05-14 Thread Dirk Heinrichs
Am Mittwoch, 14. Mai 2008 schrieb [EMAIL PROTECTED]:

  Try: LD_LIBRARY_PATH=/usr/lib/gcc/i686-pc-linux-gnu/4.2.3 ldd
  /usr/bin/lzma

 This works.

Good.

  If this works, try running env-update  source /etc/profile, then
  just ldd /usr/bin/lzma again.

 Unfortunately, this doesn't work.

Did you check /etc/ld.so.conf, maybe 4.1.2 is still listed before 4.2.3?

You may also need to clean up /etc/env.d a bit and running gcc-config again 
afterwards also seems to be a good idea.

HTH...

Dirk


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


Re: [gentoo-user] Why does my system still want gcc 3.4.9?

2008-05-14 Thread felix
On Wed, May 14, 2008 at 06:40:24PM +0200, Dirk Heinrichs wrote:

 Did you check /etc/ld.so.conf, maybe 4.1.2 is still listed before 4.2.3?
 
 You may also need to clean up /etc/env.d a bit and running gcc-config again 
 afterwards also seems to be a good idea.

Thanks.  I started looking at it last night, but it was a warm night
after a long day and I left it for this morning.  4.1.2 is in
ld.so.conf, and in two env.d files:

# ls -l `grep -l 4.1.2 05*`
-rw-r--r-- 1 root root 243 Feb 16  2007 05compiler
-rw-r--r-- 1 root root 293 May 12 01:58 05gcc-i686-pc-linux-gnu

The 05compiler file is so old that I suspect it is some kind of
flotsam and needs to be deleted.  The 05gcc file only includes 4.1.2
on the LDPATH line, but after 4.2.3, and its MANPATH, INFOPATH, PATH,
and ROOTPATH entries are all 4.2.3 only.  equery belongs doesn't
know about either one.

So I moved 05compiler out of the way (I want to preserve that time
stamp just in case I do need to restore it), ran env-update again, and
now lzma is happy.  I can run man again!  Things which failed emerge
now build -- 323 to go.

I wonder what lessons I have learned?  I misled myself into thinking
it was a compile problem because I didn't realize one lib could handle
multiple versions.  I probably didn't follow post merge instructions
somewhen and that started the bitrot.  I didn't take the hint when
remerging lzma several times made no difference.

Thanks again.  I hope I don't need to ask for more help :-)

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Constant hammering from Chinese IPs on prt 102[67]

2008-05-14 Thread kashani

Mick wrote:


This is typical grc.com style FUD for paranoid MSWindows users.  He is a 
really good salesman in IT snakeoil (his background is in marketing).


I'll second this. He's clown.

kashani
--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] libmad.la missing

2008-05-14 Thread Uwe Thiem
Hi folks,

libmad-0.2.1 doens't install libmad.la. Programs linking to it fail 
during link stage. Is it a known issue?

Uwe

-- 
Ignorance killed the cat, sir, curiosity was framed!
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] --depclean wants to remove gentoo-sources

2008-05-14 Thread Mark Knecht
Hi,
   Has emerge --depclean always removed older gentoo-sources or has
something changed? I don't remember this operation. Maybe I'm
forgetting something I already know on this subject but I'm drawing a
blank this afternoon.

   I'm curious if there is a way to mask package from --depclean
removing them. In this case it wants to remove my running kernel tree
before I've updated to a newer kernel.

Thanks,
Mark
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] --depclean wants to remove gentoo-sources

2008-05-14 Thread Neil Bothwick
On Wed, 14 May 2008 13:02:28 -0700, Mark Knecht wrote:

Has emerge --depclean always removed older gentoo-sources or has
 something changed? I don't remember this operation. Maybe I'm
 forgetting something I already know on this subject but I'm drawing a
 blank this afternoon.
 
I'm curious if there is a way to mask package from --depclean
 removing them. In this case it wants to remove my running kernel tree
 before I've updated to a newer kernel.

It's a recent change, where it now want to remove all but the newest
version. You can fix this by adding specific versions to world, or by not
running --depclean during a kernel upgrade.


-- 
Neil Bothwick

Top Oxymorons Number 45: Resident alien


signature.asc
Description: PGP signature


Re: [gentoo-user] libmad.la missing

2008-05-14 Thread Volker Armin Hemmann
On Mittwoch, 14. Mai 2008, Uwe Thiem wrote:
 Hi folks,

 libmad-0.2.1 doens't install libmad.la. Programs linking to it fail
 during link stage. Is it a known issue?

there is no 'libmad-0.2.1' on my system.

But probably you are hit by flameeyes test. Just revdep-rebuilt.

Or install libmad-0.15.1b-r5
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] --depclean wants to remove gentoo-sources

2008-05-14 Thread Mark Knecht
On Wed, May 14, 2008 at 1:06 PM, Neil Bothwick [EMAIL PROTECTED] wrote:
 On Wed, 14 May 2008 13:02:28 -0700, Mark Knecht wrote:

Has emerge --depclean always removed older gentoo-sources or has
 something changed? I don't remember this operation. Maybe I'm
 forgetting something I already know on this subject but I'm drawing a
 blank this afternoon.

I'm curious if there is a way to mask package from --depclean
 removing them. In this case it wants to remove my running kernel tree
 before I've updated to a newer kernel.

 It's a recent change, where it now want to remove all but the newest
 version. You can fix this by adding specific versions to world, or by not
 running --depclean during a kernel upgrade.

Thanks Neil. Adding specific versions to world is fine solution for me.

Cheers,
Mark
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] possible gentoo-sources stuff-up

2008-05-14 Thread Matthew R. Lee
I just ran emerge --depclean and missed that it was going to remove 
gentoo-sources-2.6.22-r2, the sources for the kernel I'm currently using.  
Now what I'm not sure about is, do I need the sources, or is the kernel image 
in /boot sufficient.  Do I need to build myself a new working kernel before I 
reboot again?  I can't reemerge 2.6.22-r2 becuase it's no longer available.
Thanks
Matt
-- 
%%%
Dr. Matthew R. Lee
Instituto Biologia Marina 'Jurgen Winter'
Universidad Austral de Chile
Campus Isla Teja
Valdivia

[EMAIL PROTECTED]

URL: meiochile.matthewlee.org
%%%
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] possible gentoo-sources stuff-up

2008-05-14 Thread Alan McKinnon
On Thursday 15 May 2008, Matthew R. Lee wrote:
 I just ran emerge --depclean and missed that it was going to remove
 gentoo-sources-2.6.22-r2, the sources for the kernel I'm currently
 using. Now what I'm not sure about is, do I need the sources, or is
 the kernel image in /boot sufficient.  Do I need to build myself a
 new working kernel before I reboot again?  I can't reemerge 2.6.22-r2
 becuase it's no longer available. Thanks

Hi Matt,

The answer to why this happens is in a thread from earlier today when 
this happened to mark Knecht. Summary:

This is a new thing that --depclean does. Just remerge the sources you 
want, put them in world if you want to guarantee that --depclean won't 
be overly helpful in future.

As for the sources themselves, they are only needed to build a kernel or 
out-of-tree modules (ati drivers, ndiswrapper, vmware-modules, etc 
etc). You already have a working kernel, so you are safe. Gentoo does 
not require anything in /usr/src - unlike most binary distros it 
doesn't keep kernel headers there, they are somewhere else and 
completely unaffected by the presence or absence of full sources.

If you do need to remerge the original sources, you can grab the 
original ebuild from the gentoo attic. Google will find it for you



-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] possible gentoo-sources stuff-up

2008-05-14 Thread Matthew R. Lee
On Wednesday 14 May 2008 18:42:05 Alan McKinnon wrote:
 On Thursday 15 May 2008, Matthew R. Lee wrote:
  I just ran emerge --depclean and missed that it was going to remove
  gentoo-sources-2.6.22-r2, the sources for the kernel I'm currently
  using. Now what I'm not sure about is, do I need the sources, or is
  the kernel image in /boot sufficient.  Do I need to build myself a
  new working kernel before I reboot again?  I can't reemerge 2.6.22-r2
  becuase it's no longer available. Thanks

 Hi Matt,

 The answer to why this happens is in a thread from earlier today when
 this happened to mark Knecht. Summary:

 This is a new thing that --depclean does. Just remerge the sources you
 want, put them in world if you want to guarantee that --depclean won't
 be overly helpful in future.

 As for the sources themselves, they are only needed to build a kernel or
 out-of-tree modules (ati drivers, ndiswrapper, vmware-modules, etc
 etc). You already have a working kernel, so you are safe. Gentoo does
 not require anything in /usr/src - unlike most binary distros it
 doesn't keep kernel headers there, they are somewhere else and
 completely unaffected by the presence or absence of full sources.

 If you do need to remerge the original sources, you can grab the
 original ebuild from the gentoo attic. Google will find it for you



 --
 Alan McKinnon
 alan dot mckinnon at gmail dot com
Thanks for the info.  I'm really not in the mood for building a new kernel.  
And I'll pay more attention in future, to --depclean and the list. Too much 
work at the moment
Saludos
Matt

-- 
%%%
Dr. Matthew R. Lee
Instituto Biologia Marina 'Jurgen Winter'
Universidad Austral de Chile
Campus Isla Teja
Valdivia

[EMAIL PROTECTED]

URL: meiochile.matthewlee.org
%%%
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] possible gentoo-sources stuff-up

2008-05-14 Thread Mark Knecht
On Wed, May 14, 2008 at 3:28 PM, Matthew R. Lee [EMAIL PROTECTED] wrote:
 I just ran emerge --depclean and missed that it was going to remove
 gentoo-sources-2.6.22-r2, the sources for the kernel I'm currently using.
 Now what I'm not sure about is, do I need the sources, or is the kernel image
 in /boot sufficient.  Do I need to build myself a new working kernel before I
 reboot again?  I can't reemerge 2.6.22-r2 becuase it's no longer available.
 Thanks
 Matt
 --
 %%%
 Dr. Matthew R. Lee

As Alan said, I came across this earlier today. In my case
gentoo-sources was the only think in the --depclean list so I didn't
let emerge remove it but had I been presented with a longer list I
could have easily missed it.

To fix it, or be safe for the future when you are tired and not paying
much attention, you can add lines by hand in /var/lib/portage/world

sys-kernel/gentoo-sources:2.6.24-r7
sys-kernel/gentoo-sources:2.6.24-r8

Note the use of the colon instead of the dash. Don't ask me why but
that's what works.

With that I now have two kernels protected from this problem and can
still, I believe, do an emerge -C on a specific kernel that I might
want to get rid of in the future.

Hope this helps,
Mark
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] sendmail trb post update wrld and jump to openrc

2008-05-14 Thread reader
Following a recent jump from pre openrc to post openrc via emerge -vuD
world, sendmail is now failing to authenticate with my Smart host.

I'll say in advance that I am not interested in switching MTAs for the
inevitable suggestions to switch to a different MTA.

Far as I know nothing has changed with my Smart Host... (comcast.net)
and I haven't changed any sendmail config files.

But following along with the smtp conversation with mail -v  I see my
messages meet a hefty pause at the point were my machine shakes hands
with the smtp.comcast.net server.  (The output is inlined at the end).

There is no mention of authentication failing it just says the
connection is `deferred' and then times out. 

Sendmail-8.14.2 here

You can see from output below that the message makes it past my local
submit agent and then following the line that says:
  354 Enter mail, end with . on a line by itself
   .
The connection is deferred and then times out.

  mail -v -s $DATE-$(hostname) [EMAIL PROTECTED]

[EMAIL PROTECTED] Connecting to [127.0.0.1] via relay...
220 reader.local.lan ESMTP Sendmail 8.14.2/8.14.2; Wed, 14 May 2008
18:19:21 -0500
 EHLO reader.local.lan
250-reader.local.lan Hello reader.local.lan [127.0.0.1], pleased to
meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH LOGIN PLAIN
250-DELIVERBY
250 HELP
 VERB
250 2.0.0 Verbose mode
 MAIL From:[EMAIL PROTECTED] SIZE=88
[EMAIL PROTECTED]
250 2.1.0 [EMAIL PROTECTED]... Sender ok
 RCPT To:[EMAIL PROTECTED]
 DATA
250 2.1.5 [EMAIL PROTECTED]... Recipient ok
354 Enter mail, end with . on a line by itself
 .

  2 or more minute pause here

050 [EMAIL PROTECTED]... Connecting to smtp.comcast.net via
relay...
050 [EMAIL PROTECTED]... Deferred: Connection timed out with
smtp.comcast.net
250 2.0.0 m4ENJLAS003991 Message accepted for delivery
[EMAIL PROTECTED] Sent (m4ENJLAS003991 Message accepted for
delivery)
Closing connection to [127.0.0.1]
 QUIT
221 2.0.0 reader.local.lan closing connection


-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: Constant hammering from Chinese IPs on prt 102[67]

2008-05-14 Thread reader
Justin [EMAIL PROTECTED] writes:

 It appears to be, at root, just another snivel about how MS does
 things with no substance.

   
 I understand it the other way round. It is not an active knocking on
 your ports, but a passive MS thing. Lots of Chinese bought a new
 computer with an MS operating system, which is sending out to the
 world.

Justin,
A moments thought would indicate that logic has a large flaw in it.
MS is the largest selling OS world wide .. that would indicate I
should see this traffic from all parts of the world.  But what I see is
probably 85 % chinese in origin.

-- 
gentoo-user@lists.gentoo.org mailing list



RE: [gentoo-user] Gnome wallpaper

2008-05-14 Thread Adam Carter

  My wallpaper doesnt come up when Gnome starts,
snip
 Does 'nautilus' start? Try using 'nautilus --no-desktop'...


Not sure if it tries to or not, but when I try to run it as you suggest, it 
dies;

[EMAIL PROTECTED] ~ $ nautilus --no-desktop 
[1] 7059
[EMAIL PROTECTED] ~ $ Initializing gnome-mount extension

** (nautilus:7059): WARNING **: Failed to initialize libhal context: (null) : 
(null)

** (nautilus:7059): WARNING **: Could not initialize hal context

Shutting down gnome-mount extension

[1]+  Donenautilus --no-desktop
[EMAIL PROTECTED] ~ $

So I found hald wasn't running, so I've started it (and rc-update added it) and 
now I get a ton of these;
** Message: drive = 0
** Message: volume = 0

Then it dies again;.
[1]+  Donenautilus --no-desktop
[EMAIL PROTECTED] ~ $


--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re enter chroot install

2008-05-14 Thread James
Hello,

I have a installation that did not complete successfully. 
I need to re enter the chroot environment, using a
install cd.  For argue purposes, let's assume the hard drive
is formatted exactly as the example in the handbook.  All I want to
do is emerge an older kernel and compile it.  According 
to what I glean from the handbook, these are the minimal steps
to re enter the chroot environment after a failed reboot:





# mount /dev/sda3 /mnt/gentoo
# mkdir /mnt/gentoo/boot
# mount /dev/sda1 /mnt/gentoo/boot
# mount -t proc none /mnt/gentoo/proc
# mount -o bind /dev /mnt/gentoo/dev
# chroot /mnt/gentoo /bin/bash
# env-update
# source /etc/profile
# export PS1=(chroot) $PS1


Anything else I missed?
Any of the above steps that are not necessary?


James

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re enter chroot install

2008-05-14 Thread Espen Hustad
2008/5/15, James [EMAIL PROTECTED]:

 Hello,

 I have a installation that did not complete successfully.
 I need to re enter the chroot environment, using a
 install cd.  For argue purposes, let's assume the hard drive
 is formatted exactly as the example in the handbook.  All I want to
 do is emerge an older kernel and compile it.  According
 to what I glean from the handbook, these are the minimal steps
 to re enter the chroot environment after a failed reboot:





 # mount /dev/sda3 /mnt/gentoo
 # mkdir /mnt/gentoo/boot
 # mount /dev/sda1 /mnt/gentoo/boot
 # mount -t proc none /mnt/gentoo/proc
 # mount -o bind /dev /mnt/gentoo/dev
 # chroot /mnt/gentoo /bin/bash
 # env-update
 # source /etc/profile
 # export PS1=(chroot) $PS1


 Anything else I missed?

No.


Any of the above steps that are not necessary?

mkdir /mnt/gentoo/boot


James

 --
 gentoo-user@lists.gentoo.org mailing list




Re: [gentoo-user] Re enter chroot install

2008-05-14 Thread Robert Bridge
On Thu, 15 May 2008 00:56:29 + (UTC)
James [EMAIL PROTECTED] wrote:
 I have a installation that did not complete successfully. 
 I need to re enter the chroot environment, using a
 install cd.  For argue purposes, let's assume the hard drive
 is formatted exactly as the example in the handbook.  All I want to
 do is emerge an older kernel and compile it.  According 
 to what I glean from the handbook, these are the minimal steps
 to re enter the chroot environment after a failed reboot:
 
 # mount /dev/sda3 /mnt/gentoo

check...

 # mkdir /mnt/gentoo/boot

shouldn't be needed, you did this the first time right?

 # mount /dev/sda1 /mnt/gentoo/boot
 # mount -t proc none /mnt/gentoo/proc
 # mount -o bind /dev /mnt/gentoo/dev
 # chroot /mnt/gentoo /bin/bash
 # env-update
 # source /etc/profile
 # export PS1=(chroot) $PS1

check...

 Anything else I missed?

No, that looks about right.

 Any of the above steps that are not necessary?

the mkdir...

Rob.
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: Re enter chroot install

2008-05-14 Thread reader
James [EMAIL PROTECTED] writes:

 # mount -o bind /dev /mnt/gentoo/dev

[...]

 Any of the above steps that are not necessary?

Other have commented about the .../boot stuff but in dozens of times
chrooting during all kinds of install situations I've never done 
  `mount -o bind /dev /mnt/gentoo/dev'

And far as I know it never caused me a problem.

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] possible gentoo-sources stuff-up

2008-05-14 Thread Alan McKinnon
On Thursday 15 May 2008, Mark Knecht wrote:
 you can add lines by hand in /var/lib/portage/world

 sys-kernel/gentoo-sources:2.6.24-r7
 sys-kernel/gentoo-sources:2.6.24-r8

 Note the use of the colon instead of the dash. Don't ask me why but
 that's what works.

You can't put version numbers into the world file, but you can use SLOTs 
indicated with a colon.

Kernel packages are always SLOTted, each version get's it's own SLOT. 
That is so that you can have as many versions installed as you want.

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list