Re: [gentoo-user] hal - what's the benefit of using it

2009-02-04 Thread Alan McKinnon
On Wednesday 04 February 2009 09:39:15 Helmut Jarausch wrote:
 Hi,

 having had some problems with recent xorg version my question is
 what are the benefits (if any) of building packages with the 'hal'
 use flag (i.e. adding 'hal' to US='...' in /etc/make.conf)

 Many thanks for your sharing your experience,
 Helmut.

There's no benefit as such. hal is a crock of shit that never worked right as 
the designer intended, and he said so publicly on his blog. He has a plan to 
replace it with something else that might work. It's similar to devfs which 
led to udev to replace it.

Meanwhile, trying to run KDE or Gnome on a box without hal is becoming more 
and more painful with each update. Even xorg is getting in on the hal game 
and using hal to auto-configure input devices.

Unless you know of a compelling need to remove it, chances are your life will 
be some much easier if you just add hal to USE and be done with it.


-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Re: hal - what's the benefit of using it

2009-02-04 Thread Nikos Chantziaras

Helmut Jarausch wrote:

Hi,

having had some problems with recent xorg version my question is
what are the benefits (if any) of building packages with the 'hal'
use flag (i.e. adding 'hal' to US='...' in /etc/make.conf)


The benefit for me is that I plug my USB flash stick in my PC and it 
pops up in my desktop without me needing to enter voodoo console 
commands to mount it.





Re: [gentoo-user] Re: hal - what's the benefit of using it

2009-02-04 Thread Norberto Bensa
On Wed, Feb 4, 2009 at 6:44 AM, Nikos Chantziaras rea...@arcor.de wrote:
 The benefit for me is that I plug my USB flash stick in my PC and it pops up
 in my desktop without me needing to enter voodoo console commands to mount
 it.

+1

That and... this is my xorg.conf :

Section Module
Loadglx
EndSection

Section Device
Identifier  Default Device
Driver  nvidia
Option  NoLogo
EndSection

Section Screen
Identifier  Default Screen
DefaultDepth24
EndSection


Good luck in having that minimalist xorg.conf without hal.



Re: [gentoo-user] Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-04 Thread Jesús Guerrero
El Mar, 3 de Febrero de 2009, 23:39, Grant Edwards escribió:
 Whenever I see a write-up of Gentoo, it's describe as a system
 similar to BSD ports where you build packages from source. The main
 benefit claimed for this approach is that you get better performance
 because all executables are optimized for exactly the right instruction
 set.

 Where did that bit of apocrypha come from, and why is it
 parroted by so many people?

There are parrots in all the social groups. That doesn't mean
that there aren't skilled users that see the real benefit. The
difference is that skilled users (or simply those that use the
system for real advantages and not due to some parrot axiom
like this one) don't go echoing how normal they are all around.

The result is that you only hear parrots, but that doesn't mean
they are the whole nor even the majority of a given community.

 AFAICT, the performance benefit due to compiler optimization
 is practically nil in real-world usage.

 In my experience the huge benefit of source-based distros such
 as Gentoo is elimination of the library dependency-hell that mires other
 binary-based distros.

Yes. I wholeheartedly agree with you here. USE flags they are.
And I love this part of Gentoo.

 The second benefit is that with Gentoo, upgrading a system
 actually works over the long-run.  With RedHat/Mandrake, things would
 gradually deteriorate to the point where the system was unmaintainable,
 but attempting to upgrade between major releases was always futile.  I've
 had Gentoo machines that have been upgraded for 4-5 years without any
 significant problems (failed hard-drives don't count).

Those who reinstall do it for various reasons. Some are legit (ie.
migration from x86 to amd64), some are just hobbyist stuff (most
of the times). And some people reinstall because they do all kind
of colorful things that break the system to an unusable state.
Gentoo is easy to break if you don't read the manuals and are
unable to put a minimal degree of common sense behind your actions.

That's the dark side of the force. However, I love it.

 The third main benefit I've seen is that there are vastly more
 packages available for Gentoo.  Putting together and maintaining an ebuild
 appears to take a lot less work than putting together and maintaining a
 binary RPM package.

Ditto. And upgrading is usually as easy as to use cp to created
a new version.

A big big advantage is that besides the huge number of packages
that we have, we also have dozens of overlays. Some of which are for
very specific tasks, and some of them are really bug.

Performance is just as good as with any other distro, as long as
both are configured in the same -read sane- way. No distro can make
your pc 200% faster, only a new $$mobo-cpu-ram$$ combo can do that.

-- 
Jesús Guerrero




Re: [gentoo-user] ENTER doesn't work in google.com?

2009-02-04 Thread Dale
Nikos Chantziaras wrote:
 Am I going crazy?  In google.com, when I enter a search query and
 press ENTER, nothing happens.  Note: only on the *English*
 google.com.  You get there by clicking the Google.com in English
 link.  It's this:

   http://www.google.com/ncr

 Does the ENTER key work for anyone?  I'm on Firefox 3.0.5.  Konqeuror
 has no problem.




I clicked on your link and tried it, it looked like it just refreshed
the page or something for me.  No results or anything tho.  Clicking the
search button worked fine.

r...@smoker / # emerge -pv seamonkey

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

Calculating dependencies... done!
[ebuild   R   ] www-client/seamonkey-1.1.14  USE=crypt ipv6 java ldap
xprint -debug -gnome -mozdevelop -moznocompose -moznoirc -moznomail
-moznopango -moznoroaming -postgres -xforms -xinerama 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
r...@smoker / #

Sort of weird, this worked a few days ago.  I always hit enter/return
when I do mine.

???

Dale

:-)  :-)



Re: [gentoo-user] Re: Gentoo's advantage: optimized for your system -- huh?

2009-02-04 Thread Momesso Andrea
On Wed, Feb 04, 2009 at 08:58:23AM +0200, Alan McKinnon wrote:
 On Wednesday 04 February 2009 01:48:34 Nikos Chantziaras wrote:
  So all in all, I agree.  Using Gentoo is nowadays not so much a matter
  of performance optimization but of better control of how to build the
  packages and the rolling release nature (I'm tired of major updates
  every 6 months in the majority of binary distros.)  I also like the USE
  flags which let me chose how to build something and get rid of
  dependencies I don't need.  Administrative features like dispatch-conf
  are also very useful.
 
 This is the main benefit of Gentoo for me. I have to use SuSE or RHEL at work 
 for the database machines - Sybase will not support any other other distro - 
 and the 1G+ base install from those distros drive me nuts. Contrast that with 
 the DNS caches which run FreeBSD, the difference is about a factor of 5 if 
 not more.
 
 I also get sick and tired of installing postfix on a database machine purely 
 to send nagios alerts, and watching the distro helpfully want to pull in 
 PostgreSQL, MySQL, LDAP, SASL, Courier and some fancy MTA-switcher thingy. 
 All because the maintainer enables those features and now I gotta have them.
 
 No thanks. Rather give me USE so I say what goes on the box.
 
 -- 
 alan dot mckinnon at gmail dot com


Often on gentoo related IRC chanels comes someone who asks why his
firefox-bin (or openoffice-bin or *-bin) runs faster than his
built-from-source firefox.

Usually chan's gurus answer that upstream packagers use all the possible
compiler optimizations (CFLAGS LDFLAGS etc.) for the given package,
while the average gentoo users keeps a set of system wide very safe
optimizations that are good for most packages, but not the best for
every particolar package.

Is that statement correct? 

===
TopperH
===


pgp2P5xwzz7JV.pgp
Description: PGP signature


[gentoo-user] Re: ENTER doesn't work in google.com?

2009-02-04 Thread Nikos Chantziaras

Dale wrote:

Nikos Chantziaras wrote:

Am I going crazy?  In google.com, when I enter a search query and
press ENTER, nothing happens.  Note: only on the *English*
google.com.  You get there by clicking the Google.com in English
link.  It's this:

  http://www.google.com/ncr

Does the ENTER key work for anyone?  I'm on Firefox 3.0.5.  Konqeuror
has no problem.





I clicked on your link and tried it, it looked like it just refreshed
the page or something for me.  No results or anything tho.  Clicking the
search button worked fine.

r...@smoker / # emerge -pv seamonkey

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

Calculating dependencies... done!
[ebuild   R   ] www-client/seamonkey-1.1.14  USE=crypt ipv6 java ldap
xprint -debug -gnome -mozdevelop -moznocompose -moznoirc -moznomail
-moznopango -moznoroaming -postgres -xforms -xinerama 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
r...@smoker / #

Sort of weird, this worked a few days ago.  I always hit enter/return
when I do mine.

???


I fixed it with rm -rf ~/.mozilla/firefox

:P




Re: [gentoo-user] Re: Gentoo's advantage: optimized for your system -- huh?

2009-02-04 Thread Sebastián Magrí
El mié, 04-02-2009 a las 14:03 +0100, Momesso Andrea escribió:
 On Wed, Feb 04, 2009 at 08:58:23AM +0200, Alan McKinnon wrote:
  On Wednesday 04 February 2009 01:48:34 Nikos Chantziaras wrote:
   So all in all, I agree.  Using Gentoo is nowadays not so much a matter
   of performance optimization but of better control of how to build the
   packages and the rolling release nature (I'm tired of major updates
   every 6 months in the majority of binary distros.)  I also like the USE
   flags which let me chose how to build something and get rid of
   dependencies I don't need.  Administrative features like dispatch-conf
   are also very useful.
  
  This is the main benefit of Gentoo for me. I have to use SuSE or RHEL at 
  work 
  for the database machines - Sybase will not support any other other distro 
  - 
  and the 1G+ base install from those distros drive me nuts. Contrast that 
  with 
  the DNS caches which run FreeBSD, the difference is about a factor of 5 if 
  not more.
  
  I also get sick and tired of installing postfix on a database machine 
  purely 
  to send nagios alerts, and watching the distro helpfully want to pull in 
  PostgreSQL, MySQL, LDAP, SASL, Courier and some fancy MTA-switcher thingy. 
  All because the maintainer enables those features and now I gotta have them.
  
  No thanks. Rather give me USE so I say what goes on the box.
  
  -- 
  alan dot mckinnon at gmail dot com
 
 
 Often on gentoo related IRC chanels comes someone who asks why his
 firefox-bin (or openoffice-bin or *-bin) runs faster than his
 built-from-source firefox.
 
 Usually chan's gurus answer that upstream packagers use all the possible
 compiler optimizations (CFLAGS LDFLAGS etc.) for the given package,
 while the average gentoo users keeps a set of system wide very safe
 optimizations that are good for most packages, but not the best for
 every particolar package.
 
 Is that statement correct? 
 
 ===
 TopperH
 ===

I've always felt the compiled openoffice faster than the binary one, but
if it is not the case portage also gives you the chance of establishing
per-package optimisations  on '/etc/portage/env/' or in the paludis
bashrc, so if one user wants an particular app to go faster, he can
research about the best way to build this one. This way, the user can
keep the very safe optimisations for the rest of the system and some
-unsafe optimisations- for the packages he want.

It is more about choices...


signature.asc
Description: Esta parte del mensaje está firmada	digitalmente


[gentoo-user] Re: Different servers behind the same router

2009-02-04 Thread Nikos Chantziaras

Momesso Andrea wrote:
Looks like my ISP allows both PPPoE and PPPoA. 
After some superficial googling it looks like PPPoE is preferred over

ethernet modems and PPPoA over USB ones... Is it true?


Nope.  PPPoA is preferred generally, although not strongly so.  The 
difference should be very minor, but if it's for free, why not use it?




By the way what I need to do is to enable CONFIG_ATM and
CONFIG_PPPOATM in the kernel and reemerge ppp with the atm USE flag.

Then I need to change  plugins_ppp1=( pppoe)  into  plugins_ppp1=( 
pppoa vc-encaps)  in my /etc/conf.d/net.


Is that all I need to have PPPoA working?


Not sure, since I'm on a DSL NAT router/modem that connects to my ISP 
with PPPoA and to the PC with ethernet.  But you can just try and see.





Re: [gentoo-user] Re: Gentoo's advantage: optimized for your system -- huh?

2009-02-04 Thread Momesso Andrea
On Wed, Feb 04, 2009 at 08:45:50AM -0430, Sebastián Magrí wrote:
[snip]
  
  Often on gentoo related IRC chanels comes someone who asks why his
  firefox-bin (or openoffice-bin or *-bin) runs faster than his
  built-from-source firefox.
  
  Usually chan's gurus answer that upstream packagers use all the possible
  compiler optimizations (CFLAGS LDFLAGS etc.) for the given package,
  while the average gentoo users keeps a set of system wide very safe
  optimizations that are good for most packages, but not the best for
  every particolar package.
  
  Is that statement correct? 
  
  ===
  TopperH
  ===
 
 I've always felt the compiled openoffice faster than the binary one, but
 if it is not the case portage also gives you the chance of establishing
 per-package optimisations  on '/etc/portage/env/' or in the paludis
 bashrc, so if one user wants an particular app to go faster, he can
 research about the best way to build this one. This way, the user can
 keep the very safe optimisations for the rest of the system and some
 -unsafe optimisations- for the packages he want.
 
 It is more about choices...

Sure, I've used per-package optimizations myself in some particular
cases, but that's not the point.

A package manteiner *should* know better than an average user which
optimizations will tune better their own package.

My question can be put like this: Do binary distro's per package
optimiziations override the benefit of having arch specific
optimiziations that gentoo allows?


===
TopperH
===


pgp5Jqrnm0iHU.pgp
Description: PGP signature


[gentoo-user] /etc/init.d/: ntpd or ntp-client?

2009-02-04 Thread Stroller

Hi there,

I just logged into one of my machines that has recently been powered  
down for a few days - not a terribly common occurrence with my servers  
- to find a date of January 30th showing.


I used to run ntp-client, but AIUI adding this to the default runlevel  
only sets the clock once at boot up. Of course the problem with that  
is that the computer's clock can become inaccurate if the spring  
tension is weak, as is obviously the case in my older PCs.


So a while back I changed /etc/runlevels/default so that ntpd is  
started instead.


I understood that ntpd was not only a server for my LAN (a facility I  
don't use) but that it would also periodically check the time with  
upstream servers  keep the machine's clock in constant sync.


So when I found the clock to be a week out of date I checked that ntpd  
appeared to be running (it was) and restarted it. The date remained  
the same. Stopping ntpd  starting ntp-client corrected the date  
immediately.


Before I do any investigation, can someone tell me if my understanding  
so far is correct? Is ntpd supposed to keep the machine's clock in  
constant sync, or is it only (say) a server to offer the date to  
clients? (depending upon the clock being set correctly by other means)  
I thought I had configured ntpd with upstream servers separately from  
ntp-client.


Stroller.



Re: [gentoo-user] /etc/init.d/: ntpd or ntp-client?

2009-02-04 Thread Justin
Stroller schrieb:
 Hi there,
 
 I just logged into one of my machines that has recently been powered
 down for a few days - not a terribly common occurrence with my servers -
 to find a date of January 30th showing.
 
 I used to run ntp-client, but AIUI adding this to the default runlevel
 only sets the clock once at boot up. Of course the problem with that is
 that the computer's clock can become inaccurate if the spring tension is
 weak, as is obviously the case in my older PCs.
 
 So a while back I changed /etc/runlevels/default so that ntpd is started
 instead.
 
 I understood that ntpd was not only a server for my LAN (a facility I
 don't use) but that it would also periodically check the time with
 upstream servers  keep the machine's clock in constant sync.
 
 So when I found the clock to be a week out of date I checked that ntpd
 appeared to be running (it was) and restarted it. The date remained the
 same. Stopping ntpd  starting ntp-client corrected the date immediately.
 
 Before I do any investigation, can someone tell me if my understanding
 so far is correct? Is ntpd supposed to keep the machine's clock in
 constant sync, or is it only (say) a server to offer the date to
 clients? (depending upon the clock being set correctly by other means) I
 thought I had configured ntpd with upstream servers separately from
 ntp-client.
 
 Stroller.
 

pkg_postinst() {
ewarn You can find an example /etc/ntp.conf in /usr/share/ntp/
ewarn Review /etc/ntp.conf to setup server info.
ewarn Review /etc/conf.d/ntpd to setup init.d info.
echo
elog The way ntp sets and maintains your system time has changed.
elog Now you can use /etc/init.d/ntp-client to set your time at
elog boot while you can use /etc/init.d/ntpd to maintain your time
elog while your machine runs



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-04 Thread Nikos Chantziaras

Sebastián Magrí wrote:

Also, Gentoo is a great school. If you want to learn how a Linux system
works, and really want to learn about Unix systems, then Gentoo is the
best for you.


I don't get that argument.  I didn't learn how Linux or Unix works with 
Gentoo.  I didn't even find my prior knowledge of Unix and Linux of much 
use either.  Typing emerge package and dispatch-conf doesn't offer 
me much knowledge.  It's as simple as Debian in this regard.


If I wanted a learn Unix distro, I would be using Slackware :P




Re: [gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-04 Thread Jesús Guerrero




El Mie, 4 de Febrero de 2009, 11:08, Nikos Chantziaras escribió:
 Jesús Guerrero wrote:

 [...]
 A big big advantage is that besides the huge number of packages
 that we have, we also have dozens of overlays. [...] and some of them are
 really bug.

 QFT ;)

Ouch, I meant big, though that applies as well :lol:
-- 
Jesús Guerrero




Re: [gentoo-user] /etc/init.d/: ntpd or ntp-client?

2009-02-04 Thread Alan McKinnon
On Wednesday 04 February 2009 15:38:11 Stroller wrote:
 Before I do any investigation, can someone tell me if my understanding  
 so far is correct? Is ntpd supposed to keep the machine's clock in  
 constant sync, or is it only (say) a server to offer the date to  
 clients? (depending upon the clock being set correctly by other means)  
 I thought I had configured ntpd with upstream servers separately from  
 ntp-client.

ntp is one of those things that looks really easy and turns out to be 
horrendously complicated once you scratch the surface. The problem is not ntp 
itself, it's the subject of time.

ntp is indeed both a server for it's host machine and your LAN, but also a 
client to upstream. It is also full of precautions:

It will not make your clock jump forwards or backwards if your time is way 
out. ntp keeps track of how weak your clock spring is and gradually pulls the 
local clock back into sync with the master clock by making the length of 
seconds fractionally shorter or longer. It does this so that there are no 
gaps in the time record. If it suddenly pulled the clock forward, the time 
tick for midnight might never happen and your crons might not run. I forget 
what the threshold is, but it's not long; and it can take several hours to 
correct a clock that is only a few minutes out.

ntpd is really designed for Unix servers with 3 digit uptimes and clocks not 
assembled by Mickey Mouse's younger brother (which seems to include all pcs 
ever made.)

Most folk are better off with ntpdate run from a cron. When run, it checks the 
upstream time and immediately corrects the local clock to that time. Schedule 
it for once an hour or so, depending on your bandwidth and local ntp site's 
policies.

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] syslog-ng +bash history

2009-02-04 Thread Marcin Niskiewicz
Hello
Everything that is written by users on console is logged in 3 different
files (debug , syslog, messages) ...
I'd like to route all history logs to one file only... i know how to make a
filter which would write it to specific file but still everything is written
to other files as well.

is there possibility to configure syslog-ng to log history only to one file
(for example history.log) and leave others files clean?

best regards
nichu


Re: [gentoo-user] ENTER doesn't work in google.com?

2009-02-04 Thread Mark Knecht
On Wed, Feb 4, 2009 at 4:04 AM, Dale rdalek1...@gmail.com wrote:
 Nikos Chantziaras wrote:
 Am I going crazy?  In google.com, when I enter a search query and
 press ENTER, nothing happens.  Note: only on the *English*
 google.com.  You get there by clicking the Google.com in English
 link.  It's this:

   http://www.google.com/ncr

 Does the ENTER key work for anyone?  I'm on Firefox 3.0.5.  Konqeuror
 has no problem.

Firefox 3.0.5. Works for me in Vista. Works for me in Gentoo.

My issue on Gentoo lately is that the box where you are supposed to
type isn't visible. There isn't any surrounding line like on Windows.
When I hit the back button I Can see the sounding line, but as soon as
my mouse passes over it the line goes away and the whole area is
white.

- Mark



Re: [gentoo-user] Re: Gentoo's advantage: optimized for your system -- huh?

2009-02-04 Thread Neil Bothwick
On Wed, 4 Feb 2009 14:31:26 +0100, Momesso Andrea wrote:

 Sure, I've used per-package optimizations myself in some particular
 cases, but that's not the point.
 
 A package manteiner *should* know better than an average user which
 optimizations will tune better their own package.

But the user knows their own needs and system better. If the user is
using -Os, it is reasonable to assume they have a reason for doing so
and not override it. The only time ebuilds should override user CFLAGS is
when the build is known to fail with certain settings.


-- 
Neil Bothwick

Top Oxymorons Number 36: Alone together


signature.asc
Description: PGP signature


Re: [gentoo-user] /etc/init.d/: ntpd or ntp-client?

2009-02-04 Thread Neil Bothwick
On Wed, 4 Feb 2009 13:38:11 +, Stroller wrote:

 So when I found the clock to be a week out of date I checked that ntpd  
 appeared to be running (it was) and restarted it. The date remained  
 the same. Stopping ntpd  starting ntp-client corrected the date  
 immediately.

ntpd will not change the time if the difference is too large, the man
page gives the limit. You need to run both at boot; ntp-client sets the
time immediately, no matter what the skew, then ntpd keeps the clock in
time.

-- 
Neil Bothwick

Nymphomania-- an illness you hear about but never encounter.


signature.asc
Description: PGP signature


Re: [gentoo-user] /etc/init.d/: ntpd or ntp-client?

2009-02-04 Thread Dale
Stroller wrote:
 Hi there,

 I just logged into one of my machines that has recently been powered
 down for a few days - not a terribly common occurrence with my servers
 - to find a date of January 30th showing.

 I used to run ntp-client, but AIUI adding this to the default runlevel
 only sets the clock once at boot up. Of course the problem with that
 is that the computer's clock can become inaccurate if the spring
 tension is weak, as is obviously the case in my older PCs.

 So a while back I changed /etc/runlevels/default so that ntpd is
 started instead.

 I understood that ntpd was not only a server for my LAN (a facility I
 don't use) but that it would also periodically check the time with
 upstream servers  keep the machine's clock in constant sync.

 So when I found the clock to be a week out of date I checked that ntpd
 appeared to be running (it was) and restarted it. The date remained
 the same. Stopping ntpd  starting ntp-client corrected the date
 immediately.

 Before I do any investigation, can someone tell me if my understanding
 so far is correct? Is ntpd supposed to keep the machine's clock in
 constant sync, or is it only (say) a server to offer the date to
 clients? (depending upon the clock being set correctly by other means)
 I thought I had configured ntpd with upstream servers separately from
 ntp-client.

 Stroller.



I use ntpd here as well.  Ntpd does not set it immediately like other
commands do.  From my understanding ntpd compares its time to a server
then gradually adjusts the clock by speeding up or slowing down the
clock.  It takes a while to do this.  If your clock is a long ways off
then it will take longer.

I'm not sure if this is still true but I read that if it is way off,
several days or longer I would assume, it will require you to adjust it
manually or you could set it with ntpdate which will set it instantly
from one of the time servers.  In this case, set the clock then restart
ntpd.

Hope that helps.

Dale

:-)  :-)



Re: [gentoo-user] Gentoo's advantage: optimized for your system -- huh?

2009-02-04 Thread David W Noon
In message c1cfj-6j...@gated-at.bofh.it, Grant Edwards wrote:

 Whenever I see a write-up of Gentoo, it's describe as a system
 similar to BSD ports where you build packages from source.
 The main benefit claimed for this approach is that you get
 better performance because all executables are optimized for
 exactly the right instruction set.
 
 Where did that bit of apocrypha come from, and why is it
 parroted by so many people?

It is not as apocryphal as you suggest!

About 9 years ago I had a couple of boxes based on AMD K6-3 processors. No 
distributors built binaries for the K6 architecture; when I installed SuSE on 
a K6 it always used base-model Pentium packages, which ensured that 
instruction sets such as MMX and 3DNow! were never used. The machine ran like 
a clogged drain.

When I installed Gentoo on those boxes, about 5 years ago, it was a 
revelation. Everything was compiled for the K6-3 processor, thus using its 
full instruction repertoire. Programs that took tens of seconds to respond 
when installed from binary RPMs suddenly responded instantly.

So, your apocrypha are other people's revealed truth. ... :-)

-- 
Regards

Dave  [RLU#314465]
==
dwn...@ntlworld.com (David W Noon)
==


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


[gentoo-user] Re: Gentoo's advantage: optimized for your system -- huh?

2009-02-04 Thread Grant Edwards
On 2009-02-04, Paul Hartman paul.hartman+gen...@gmail.com wrote:

 This thread is not complete without the obligatory link:

 http://funroll-loops.info/

Brilliant! I really like this one:

   To me, an extra 0.1% performance increase, even if I am only
   imagining it to be faster, is certainly worth one day a week
   recompiling all of the latest packages from source code. Even
   if I do occasionally get my CFLAGS in a muddle!

And this one pretty much echos my feelings:

   Real Gentoo users understand, it's not about
   OPTIMILAZIATIONS, it's about USE flags.

Apparently I'm one of the people who think Gentoo rules
because they can't use RPM properly.
   
;)

-- 
Grant Edwards   grante Yow! This PORCUPINE knows
  at   his ZIPCODE ... And he has
   visi.comVISA!!




[gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-04 Thread Grant Edwards
On 2009-02-04, Jes?s Guerrero i92gu...@terra.es wrote:
 El Mie, 4 de Febrero de 2009, 8:39, Alan McKinnon escribi?:
 On Wednesday 04 February 2009 09:27:31 Christopher Walters wrote:

 I personally don't view Gentoo as a distro in the traditional sense. To
 me, it's a build system, an app - portage or paludis - and the devs that
 make cool input files for that app. Building a distro from scratch for
 embedded devices is a painful process if you don't have an automated build
 system. It's not quite a trivial exercise, but portage does make it a
 whole lot easier.

 That's mostly what I call a metadistro. A set of tools and
 instructions to build a proper distro that suits you, and maintain
 it.

Except that what you build and maintain isn't a distro, it's
a single machine.

-- 
Grant Edwards   grante Yow! Are you still an
  at   ALCOHOLIC?
   visi.com




Re: [gentoo-user] Re: Gentoo's advantage: optimized for your system -- huh?

2009-02-04 Thread Sebastián Magrí
El mié, 04-02-2009 a las 14:31 +0100, Momesso Andrea escribió:
 On Wed, Feb 04, 2009 at 08:45:50AM -0430, Sebastián Magrí wrote:
 [snip]
   
   Often on gentoo related IRC chanels comes someone who asks why his
   firefox-bin (or openoffice-bin or *-bin) runs faster than his
   built-from-source firefox.
   
   Usually chan's gurus answer that upstream packagers use all the possible
   compiler optimizations (CFLAGS LDFLAGS etc.) for the given package,
   while the average gentoo users keeps a set of system wide very safe
   optimizations that are good for most packages, but not the best for
   every particolar package.
   
   Is that statement correct? 
   
   ===
   TopperH
   ===
  
  I've always felt the compiled openoffice faster than the binary one, but
  if it is not the case portage also gives you the chance of establishing
  per-package optimisations  on '/etc/portage/env/' or in the paludis
  bashrc, so if one user wants an particular app to go faster, he can
  research about the best way to build this one. This way, the user can
  keep the very safe optimisations for the rest of the system and some
  -unsafe optimisations- for the packages he want.
  
  It is more about choices...
 
 Sure, I've used per-package optimizations myself in some particular
 cases, but that's not the point.
 
 A package manteiner *should* know better than an average user which
 optimizations will tune better their own package.
 
 My question can be put like this: Do binary distro's per package
 optimiziations override the benefit of having arch specific
 optimiziations that gentoo allows?
 
 
 ===
 TopperH
 ===

It does, but I am almost sure that most of the binary distro's package
maintainers can't ship a package with hard optimisations because it will
possibly work fine on his box but not in the user's box. There is where
we heard histories about binary distros users compiling their apps to
improve it's performance, possibly breaking their system at the same
time.

Gentoo maintainers *should* also know better than the users which
optimisations can be given to the user for a package to build and work
fine... Other case is when it represents a risk of having unstable apps,
in that case dropping optimisations is necessary in order to have more
stable apps.


signature.asc
Description: Esta parte del mensaje está firmada	digitalmente


RE: [gentoo-user] Re: Gentoo's advantage: optimized for yoursystem -- huh?

2009-02-04 Thread Prado, Renato (R.P.)
 My question can be put like this: Do binary distro's per package
 optimiziations override the benefit of having arch specific
 optimiziations that gentoo allows?
Thinking about that... I guess a could future for future portage
releases would be a USE flag the overrides the system's CFLAGS (besides
-march) to what the package maintainer recommends. This would be
interesting for processor-intensive stuff, like ffmpeg for example. This
would also allow users to try some more dangerous flags only for
packages were they are known to be safe.



Re: [gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-04 Thread Neil Bothwick
On Wed, 4 Feb 2009 15:25:49 + (UTC), Grant Edwards wrote:

 Except that what you build and maintain isn't a distro, it's
 a single machine.

Why?


-- 
Neil Bothwick

WinErr 01B: Illegal error - You are not allowed to get this error.
Next time you will get a penalty for that.


signature.asc
Description: PGP signature


Re: [gentoo-user] syslog-ng +bash history

2009-02-04 Thread Yannick Mortier
2009/2/4 Marcin Niskiewicz mniskiew...@gmail.com:
 Hello
 Everything that is written by users on console is logged in 3 different
 files (debug , syslog, messages) ...
 I'd like to route all history logs to one file only... i know how to make a
 filter which would write it to specific file but still everything is written
 to other files as well.

 is there possibility to configure syslog-ng to log history only to one file
 (for example history.log) and leave others files clean?

 best regards
 nichu



Hello Marcin!
I imply that you already have done some modifications to your
syslog-ng.conf as logging everything the user type on the console is
not in the standard file that comes with gentoo.

Basically syslog-ng has got sources and destinations. So you have to
take a look at your syslog-ng.conf and find out the name of the
sources and the name of the destination of the history.log file.

Then you can simply add the following line (replace the variables accordingly)

log { source([source that was previously used for debug]);
source([source that was previously used for syslog]); source([source
that was previously used for messages]); destination([destination of
history.log]) };

If all the sources give you the same messages or they are one and the
same source just insert only this one. If your history.log file was
not defined by now you can simply add it as a destination with

destination [name] { file([path-to-history.log]/history.log);}

Also if there are other log lines that contain the sources and the
destinations that you mentioned you have to remove them completely if
they only contain this one source or just remove the source that
delivers the history.

Then syslog-ng should only log into history.log

Greetings


-- 
Currently developing a browsergame...
http://www.p-game.de
Trade - Expand - Fight

Follow me at twitter!
http://twitter.com/moortier



Re: [gentoo-user] Re: Gentoo's advantage: optimized for yoursystem -- huh?

2009-02-04 Thread Yannick Mortier
2009/2/4 Prado, Renato (R.P.) rpr...@visteon.com:
 My question can be put like this: Do binary distro's per package
 optimiziations override the benefit of having arch specific
 optimiziations that gentoo allows?
 Thinking about that... I guess a could future for future portage
 releases would be a USE flag the overrides the system's CFLAGS (besides
 -march) to what the package maintainer recommends. This would be
 interesting for processor-intensive stuff, like ffmpeg for example. This
 would also allow users to try some more dangerous flags only for
 packages were they are known to be safe.



I have -march=amdfam10 (Phenom) and I once watched the compilation of
ffmpeg and it said something like CPU family amdfam10 unknown and it
changed some of the CFLAGS (I can't remember which exactly) so I guess
something like this is already somewhere under the hood.

But I agree that a USE-Flag to decide over this behaviour would be great.



-- 
Currently developing a browsergame...
http://www.p-game.de
Trade - Expand - Fight

Follow me at twitter!
http://twitter.com/moortier



[gentoo-user] Re: ENTER doesn't work in google.com?

2009-02-04 Thread Nikos Chantziaras

Dale wrote:

Nikos Chantziaras wrote:

I fixed it with rm -rf ~/.mozilla/firefox

:P


Not a option here.  I would loose ALL my emails too.  O_O 


Is sort of weird tho.


I can't imagine your emails being stored in there.  Firefox doesn't deal 
with email.  But you can simply mv ~/.mozilla/firefox 
~/.mozilla/firefox.backup instead of deleting it just to be safe.





Re: [gentoo-user] KDE4.2 compile problem

2009-02-04 Thread Norberto Bensa
On Tue, Feb 3, 2009 at 9:38 AM, Jerry McBride mcbrid...@comcast.net wrote:

 If you need more info, feel free to email me direct.

why?

off-list communications should only be done with off-topic
conversations. If you have a solution for him, you should share it
with the list so others can find solutions to similar problems.

regards



[gentoo-user] Re: Gentoo's advantage: optimized for your system -- huh?

2009-02-04 Thread James
Paul Hartman paul.hartman+gentoo at gmail.com writes:



  One *BIG* difference is when the GPUs on video cards are used
  as co-processors on systems. ATI and Nv are working on making
  general purpose C languages for programs to take advantage
  of the power of the GPU. Look for Gentoo to beat the other
  distros, by the very nature of how it compiles code for
  everything.


 http://funroll-loops.info/


According to your logic, Nvidia and ATI(AMD) are ricers?


http://developer.nvidia.com/object/cg_toolkit.html
http://techreport.com/discussions.x/15886

Or maybe the folks at CMU are ricers?
http://www.cs.cmu.edu/~cil/v-source.html

Surely these folks at StonyBrook are ricers?
http://www.ecsl.cs.sunysb.edu/fir/

Not to mention these folks at Stanford,
http://novembertech.blogspot.com/2006/10/stanford-atis-gpu-can-calculate-much.html


And all of these scientists are ricers?
http://gpgpu.org/


I count myself proud to be among this company
of ricers as you put it..



James





Re: [gentoo-user] Re: libtool problem

2009-02-04 Thread Neil Bothwick
On Tue, 03 Feb 2009 22:25:34 -0500, ABCD wrote:

 The reason there wasn't a bump (IIRC) was that the ebuild never changed
 - - only the eclass did.  If you emerged any version of GCC during the
 window where the eclass was broken, that version of GCC would have been
 broken.

Of course, I'd forgotten that the change was in the eclass.


-- 
Neil Bothwick

I understand the answers, the questions throw me.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-04 Thread Jesús Guerrero
El Mie, 4 de Febrero de 2009, 8:39, Alan McKinnon escribió:
 On Wednesday 04 February 2009 09:27:31 Christopher Walters wrote:

 I personally don't view Gentoo as a distro in the traditional sense. To
 me, it's a build system, an app - portage or paludis - and the devs that
 make cool input files for that app. Building a distro from scratch for
 embedded devices is a painful process if you don't have an automated build
 system. It's not quite a trivial exercise, but portage does make it a
 whole lot easier.

That's mostly what I call a metadistro. A set of tools and
instructions to build a proper distro that suits you, and maintain
it.

-- 
Jesús Guerrero




Re: [gentoo-user] Re: Different servers behind the same router

2009-02-04 Thread Momesso Andrea
On Wed, Feb 04, 2009 at 01:36:55AM +0200, Nikos Chantziaras wrote:
 Momesso Andrea wrote:
 On Tue, Feb 03, 2009 at 05:52:13PM +, Stroller wrote:
 On 3 Feb 2009, at 17:43, Momesso Andrea wrote:
 ...
 What happens if I decide to switch to the router configuration? If I
 have a single IP for all the machines in the LAN, when someone from the
 outside will try to connect to homeserver.foo or to webserver.bar, will
 they be routed to the correct machine?
 No, they will all reach the router's IP address. It will have an option 
 for port forwarding so that you can forward port 80 to the webserver 
 and ports 25  110 to the mail server. If you have two webservers behind 
 the router then you need to use one to proxy forward to the other.

 NAT is another Google keyword.

 Stroller.
 Is it correct to say that the configuration I alredy have (pppoe and 
 different IPs) is the best choice?

 Since your ISP offers you the option to have two different IP, yes that the 
 best choice.  Over here I would have to pay quite some money to get an 
 extra IP.  So you're lucky I guess.

 Also, if your ISP allows PPPoA too instead of only PPPoE, use that instead. 
  It's a bit more optimal due to less overhead.  But it's not critical or 
 something.  Just a little and safe optimization.


Looks like my ISP allows both PPPoE and PPPoA. 
After some superficial googling it looks like PPPoE is preferred over
ethernet modems and PPPoA over USB ones... Is it true?

By the way what I need to do is to enable CONFIG_ATM and
CONFIG_PPPOATM in the kernel and reemerge ppp with the atm USE flag.

Then I need to change  plugins_ppp1=( pppoe)  into  plugins_ppp1=( 
pppoa vc-encaps)  in my /etc/conf.d/net.

Is that all I need to have PPPoA working?

===
TopperH
===


pgpo68yBGL3yk.pgp
Description: PGP signature


[gentoo-user] Re: hal - what's the benefit of using it

2009-02-04 Thread James
Helmut Jarausch jarausch at igpm.rwth-aachen.de writes:


 having had some problems with recent xorg version my question is
 what are the benefits (if any) of building packages with the 'hal'
 use flag (i.e. adding 'hal' to US='...' in /etc/make.conf)


This link is short and reasonable.

http://en.wikipedia.org/wiki/HAL_(software)


Hardware Abstraction Layer is a buzz term that means
many different things to many different hardware
designers  who need software to make their designs
complete.


hth,

James







Re: [gentoo-user] Re: Gentoo's advantage: optimized for your system -- huh?

2009-02-04 Thread Hazen Valliant-Saunders
With unit processors approaching up to 128 Cores on a single GPU I can
see why the guys at all those institutions want to put EL lights in
their big hawking 4 card SLI rigs?

That's like 1600 Cores on a single system, Even Blue Gene L only has
Dual Core PowerPC 440's, whith AMD's 4870 having 800 SPU's on a single
die, the X2 has two of them; oh and did we mention they are cheap?
(Blue Gene cost 100 million, right now a 4870x2 is only $500).

No they would never be useful for anything other then rendering
bouncing bobbies! ;)

On Wed, Feb 4, 2009 at 11:07 AM, James wirel...@tampabay.rr.com wrote:
 Paul Hartman paul.hartman+gentoo at gmail.com writes:



  One *BIG* difference is when the GPUs on video cards are used
  as co-processors on systems. ATI and Nv are working on making
  general purpose C languages for programs to take advantage
  of the power of the GPU. Look for Gentoo to beat the other
  distros, by the very nature of how it compiles code for
  everything.


 http://funroll-loops.info/


 According to your logic, Nvidia and ATI(AMD) are ricers?


 http://developer.nvidia.com/object/cg_toolkit.html
 http://techreport.com/discussions.x/15886

 Or maybe the folks at CMU are ricers?
 http://www.cs.cmu.edu/~cil/v-source.html

 Surely these folks at StonyBrook are ricers?
 http://www.ecsl.cs.sunysb.edu/fir/

 Not to mention these folks at Stanford,
 http://novembertech.blogspot.com/2006/10/stanford-atis-gpu-can-calculate-much.html


 And all of these scientists are ricers?
 http://gpgpu.org/


 I count myself proud to be among this company
 of ricers as you put it..



 James







-- 
Hazen Valliant-Saunders
IT/IS Consultant
(613) 355-5977



[gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-04 Thread Grant Edwards
On 2009-02-04, Neil Bothwick n...@digimed.co.uk wrote:
 On Wed, 4 Feb 2009 15:25:49 + (UTC), Grant Edwards wrote:

 Except that what you build and maintain isn't a distro, it's
 a single machine.

 Why?

Do you distribute what you're building as a something for
others to use to install Linux?  I don't, and none of the other
Gentoo users I know do.  They're all building and maintaining
installations on individual machines.

-- 
Grant Edwards   grante Yow! My life is a patio
  at   of fun!
   visi.com




Re: [gentoo-user] Re: ENTER doesn't work in google.com?

2009-02-04 Thread Michael Holmes
2009/2/4 Nikos Chantziaras rea...@arcor.de:
 I can't imagine your emails being stored in there.  Firefox doesn't deal
 with email.  But you can simply mv ~/.mozilla/firefox
 ~/.mozilla/firefox.backup instead of deleting it just to be safe.

He's using Seamonkey, not Firefox.



[gentoo-user] Re: Gentoo's advantage: optimized for your system -- huh?

2009-02-04 Thread Grant Edwards
On 2009-02-04, James wirel...@tampabay.rr.com wrote:
 Paul Hartman paul.hartman+gentoo at gmail.com writes:



  One *BIG* difference is when the GPUs on video cards are used
  as co-processors on systems. ATI and Nv are working on making
  general purpose C languages for programs to take advantage
  of the power of the GPU. Look for Gentoo to beat the other
  distros, by the very nature of how it compiles code for
  everything.


 http://funroll-loops.info/


 According to your logic, Nvidia and ATI(AMD) are ricers?


 http://developer.nvidia.com/object/cg_toolkit.html
 http://techreport.com/discussions.x/15886

 Or maybe the folks at CMU are ricers?
 http://www.cs.cmu.edu/~cil/v-source.html

 Surely these folks at StonyBrook are ricers?
 http://www.ecsl.cs.sunysb.edu/fir/

 Not to mention these folks at Stanford,
 http://novembertech.blogspot.com/2006/10/stanford-atis-gpu-can-calculate-much.html


 And all of these scientists are ricers?
 http://gpgpu.org/


 I count myself proud to be among this company
 of ricers as you put it..

And some of us count ourselves proud to be amongh the company
of people who have a sense of humor.  ;)

-- 
Grant Edwards   grante Yow! This PIZZA symbolizes
  at   my COMPLETE EMOTIONAL
   visi.comRECOVERY!!




Re: [gentoo-user] Re: hal - what's the benefit of using it

2009-02-04 Thread Hazen Valliant-Saunders
Um, you are using the HAL weather you want to or not, it's not really an option!

The HARDWARE ABSTRACTION LAYER with respect to good ol linux happens
to be your kernel and it's drivers.

The bare metal registers within which all those bits are moved is
called the hardware; all those configuration files and source you
compile is considered the software, anything that creates the
transparency between the two is refereed to as the HAL (In windows 98
it was a single DLL file), in Linux it's the source code and binaries
of the kernel and drivers, all modern computers regardless of low
level arch have a HAL.

Regards,
Hazen.

On Wed, Feb 4, 2009 at 11:17 AM, James wirel...@tampabay.rr.com wrote:
 Helmut Jarausch jarausch at igpm.rwth-aachen.de writes:


 having had some problems with recent xorg version my question is
 what are the benefits (if any) of building packages with the 'hal'
 use flag (i.e. adding 'hal' to US='...' in /etc/make.conf)


 This link is short and reasonable.

 http://en.wikipedia.org/wiki/HAL_(software)


 Hardware Abstraction Layer is a buzz term that means
 many different things to many different hardware
 designers  who need software to make their designs
 complete.


 hth,

 James









-- 
Hazen Valliant-Saunders
IT/IS Consultant
(613) 355-5977



Re: [gentoo-user] Re: Gentoo's advantage: optimized for your system -- huh?

2009-02-04 Thread Volker Armin Hemmann
On Mittwoch 04 Februar 2009, Momesso Andrea wrote:
 On Wed, Feb 04, 2009 at 08:58:23AM +0200, Alan McKinnon wrote:
  On Wednesday 04 February 2009 01:48:34 Nikos Chantziaras wrote:
   So all in all, I agree.  Using Gentoo is nowadays not so much a matter
   of performance optimization but of better control of how to build the
   packages and the rolling release nature (I'm tired of major updates
   every 6 months in the majority of binary distros.)  I also like the USE
   flags which let me chose how to build something and get rid of
   dependencies I don't need.  Administrative features like dispatch-conf
   are also very useful.
 
  This is the main benefit of Gentoo for me. I have to use SuSE or RHEL at
  work for the database machines - Sybase will not support any other other
  distro - and the 1G+ base install from those distros drive me nuts.
  Contrast that with the DNS caches which run FreeBSD, the difference is
  about a factor of 5 if not more.
 
  I also get sick and tired of installing postfix on a database machine
  purely to send nagios alerts, and watching the distro helpfully want to
  pull in PostgreSQL, MySQL, LDAP, SASL, Courier and some fancy
  MTA-switcher thingy. All because the maintainer enables those features
  and now I gotta have them.
 
  No thanks. Rather give me USE so I say what goes on the box.
 
  --
  alan dot mckinnon at gmail dot com

 Often on gentoo related IRC chanels comes someone who asks why his
 firefox-bin (or openoffice-bin or *-bin) runs faster than his
 built-from-source firefox.

 Usually chan's gurus answer that upstream packagers use all the possible
 compiler optimizations (CFLAGS LDFLAGS etc.) for the given package,
 while the average gentoo users keeps a set of system wide very safe
 optimizations that are good for most packages, but not the best for
 every particolar package.

 Is that statement correct?

partly. Gentoo CFLAGS don't replace the ones already there. Except stuff like 
OX where the package has something like O99 set (mplayer, hello) and you set 
O2 or Os. O99 = O3. But you shouldn't see any difference.





[gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-04 Thread Nikos Chantziaras

Jesús Guerrero wrote:

[...]
A big big advantage is that besides the huge number of packages
that we have, we also have dozens of overlays. [...] and some
of them are really bug.


QFT ;)




Re: [gentoo-user] KDE4.2 compile problem

2009-02-04 Thread Jerry McBride
On Wednesday 04 February 2009 05:52:16 am Norberto Bensa wrote:
 On Tue, Feb 3, 2009 at 9:38 AM, Jerry McBride mcbrid...@comcast.net wrote:
  If you need more info, feel free to email me direct.

 why?

 off-list communications should only be done with off-topic
 conversations. If you have a solution for him, you should share it
 with the list so others can find solutions to similar problems.

 regards

Well.. you just answered your own message. I DON'T have an answer, but I'm 
willing to answer any questions he may have off line... That was the purpose 
of my OP... What's the mystery?



-- 

*
   
 From the desk of:
 Jerome D. McBride
   
   06:50:28 up 49 days, 12:56,  5 users,  load average: 0.16, 0.14, 0.05
 
*



Re: [gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-04 Thread Neil Bothwick
On Wed, 4 Feb 2009 16:01:19 +0200, Alan McKinnon wrote:

  If I wanted a learn Unix distro, I would be using Slackware :P  
 
 s/Slackware/Linux From Scratch/

That just teaches you to read and repeat the same commands over and over.
You learn about Linux by administering it, not installing it.


-- 
Neil Bothwick

By the time you can make ends meet, they move the ends.


signature.asc
Description: PGP signature


Re: [gentoo-user] Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-04 Thread Jesús Guerrero




El Mie, 4 de Febrero de 2009, 0:06, Paul Hartman escribió:
 On Tue, Feb 3, 2009 at 4:39 PM, Grant Edwards gra...@visi.com wrote:

 Whenever I see a write-up of Gentoo, it's describe as a system
 similar to BSD ports where you build packages from source. The main
 benefit claimed for this approach is that you get better performance
 because all executables are optimized for exactly the right instruction
 set.

 Where did that bit of apocrypha come from, and why is it
 parroted by so many people?

 I've never done any benchmarks on my system of i386 vs core2 or
 anything like that... I think the fact that gentoo allows you to control
 compiler flags which can potentially give you speedups is more of it. But,
 like you, building from source is kind of a side-effect of Gentoo and not
 the reason why. Compiling for the sake of compiling is just a waste of
 time, and that's why a lot of people say Just use Ubuntu or whatever.

Not really. Compiling the things gives you control over what
dependencies will that package have. In a binary distro mplayer
will usually push like 80 or 800 (I never counted them) packages
due to the number of features that it potentially has.

If you don't install those, then the ldd info of the binary is
broken because it can't find the needed object files outside of
mplayer.

Compiling the packages allow you to tune CFLAGS, ok. But even if
you think that -most times- this doesn't make a difference, it's
still worth the trouble compiling it, if only for the sake of
mplayer not having to depend on 200MB of additional software for it
to install correctly.

In gentoo, this is as easy as to set your use flags up, and then
emerge. Easy as hell, and you don't have to go ./configure'ing
with a dozen parameters every single package in your system,
because portage takes cares of that.

I absolutely don't care much about the CFLAGS stuff, I just set
up my -march and forget about it for years. And I think that
there's a lot of point in using GEntoo, even if you have zero
interest in compiling sofware there're still a lot of reasons
why I would use Gentoo over any other Linux.


-- 
Jesús Guerrero




Re: [gentoo-user] KDE4.2 compile problem

2009-02-04 Thread Joost Roeleveld
 On Tue, Feb 3, 2009 at 11:34 PM, J. Roeleveld jo...@antarean.org wrote:

 Today succesfully installed kde4.2 on amd64.
 I first removed my old KDE completely and then installed it on a clean
 system.

 Only reinstalling the old kde libs for programs that have not yet been
 ported
 to kde4.2.

 Not run into any problems so far. Did have to unmask (~amd64) quite a
 few
 packages to get it to install.

 --
 Joost


 I should have mentioned in my original email that I run ~x86 and that
 I upgraded from KDE4.1. I had a few blockers which I had to emerge -C,
 but other than that, everything except the systemsetting and startkde
 package emerge fine.

 I tried looking at the order of the emerges, but nothing seems out of
 the ordinary as far as my knowledge goes. I tried rebuilding the
 dependacies of systemsettings, but that did not resolve the problem.

 What can I do about this? No one else seem to have this problem?

 Regards
 Dirk

Hi Dirk,

Did you try fully removing the entire KDE-chain?
Eg. emerge -C all the kde packages in the /var/lib/portage/world file
and then removing the remaining packages using emerge --depclean ?

This is what I did when moving from 3.5.10 to 4.2.0.

--
Joost





Re: [gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-04 Thread Neil Bothwick
On Wed, 4 Feb 2009 16:19:17 + (UTC), Grant Edwards wrote:

  Except that what you build and maintain isn't a distro, it's
  a single machine.  
 
  Why?  
 
 Do you distribute what you're building as a something for
 others to use to install Linux?  I don't, and none of the other
 Gentoo users I know do.  They're all building and maintaining
 installations on individual machines.

It doesn't have to be for others. What about someone maintaining a
network of machines?


-- 
Neil Bothwick

EMail - garbage at the speed of light.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Gentoo's advantage: optimized for your system -- huh?

2009-02-04 Thread Alan McKinnon
On Wednesday 04 February 2009 15:31:26 Momesso Andrea wrote:
 My question can be put like this: Do binary distro's per package
 optimiziations override the benefit of having arch specific
 optimiziations that gentoo allows?

That can only be answered with valid benchmarks on paper in front of you.

Have you performed valid benchmark tests?

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Re: Gentoo's advantage: optimized for your system -- huh?

2009-02-04 Thread James
Hazen Valliant-Saunders hazenvs at gmail.com writes:


 No they would never be useful for anything other then rendering
 bouncing bobbies! ;)

Bouncing bobbies? Sound like a fraternity game for new recruits...



So Searching and Sorting, are documented to orders of magnitude
faster on GPU (SIMD) machines. Are those 'bouncing bobbies'
algorithms that form much of our software foundation?


common,

How could you look at video or play video games without the GPU.
It's opening up and going mainstream. Gentoo is naturally positioned
to be the distro of choice. Watch, wait and learn.



James










Re: [gentoo-user] Re: Gentoo's advantage: optimized for your system -- huh?

2009-02-04 Thread Momesso Andrea
On Wed, Feb 04, 2009 at 03:59:44PM +0200, Alan McKinnon wrote:
 On Wednesday 04 February 2009 15:31:26 Momesso Andrea wrote:
  My question can be put like this: Do binary distro's per package
  optimiziations override the benefit of having arch specific
  optimiziations that gentoo allows?
 
 That can only be answered with valid benchmarks on paper in front of you.
 
 Have you performed valid benchmark tests?
 

Nope, if I had there would have been no reason to ask... :)

===
TopperH
===


pgpbhLQnjMuRe.pgp
Description: PGP signature


Re: [gentoo-user] problem with mail server

2009-02-04 Thread Marcin Niskiewicz
2009/2/3 kashani kashani-l...@badapple.net



 I think you've got a couple of problems, but none of them individually jump
 at as the cause of your problems. However making these three changes
 together might help.

 1. Turn your max_user_connections in Mysql down to something sane. Default
 is 100 which is fine unless you're also running a web app against the same
 Mysql instance.

 2. Use proxy in your Mysql connections from Postfix.
 Postfix can be configured to open a connection to Mysql and keep it open.
 Basically acts a connection pool and keep Postfix from opening hundreds of
 connections to Mysql on a very busy server. I recommend *always* using the
 proxy: statement anytime you're connecting to Mysql from Postfix. Your new
 transport_map statement will look like this.

 transport_maps =  proxy:mysql:/etc/mail/sql/mysql-transport.cf

 Generally you shouldn't be running into connection issues because you're
 hitting Mysql on localhost which means it'll default to a socket connection.
 It's possible that opening a new session is taking to too long occasionally
 and using proxy should alleviate that.

 3. You're using Postfix 2.1 or earlier query syntax.
 Hell it might even be Postfix 1.x syntax. This is the new syntax for
 Postfix 2.2 or better. This really isn't a problem, but the new syntax is
 far more powerful and suspect bugs that creep into the parser around old
 syntax aren't noticed or getting fixed.

 user = postfix
 password = password
 hosts = localhost
 dbname = maildb
 query = SELECT destination FROM domain WHERE domain='%s'

 I'm not sure what how-to you've been using, but I'd look at a few others to
 see some of the other options available. The one you're using seems to be
 pretty far out of date. While not wrong in any way it isn't taking full
 advantage of the last seven years of updates in Postfix.

 kashani

 thank You for Your response
I switch all of mysql connections to proxy and I'll be watching if it helps.
You're right - syntax of my configs were ancient - so I set them right.

thank You again
I hope it's solutions to my problems

regards
nichu


Re: [gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-04 Thread Jesús Guerrero
El Mie, 4 de Febrero de 2009, 7:17, Grant Edwards escribió:
 On 2009-02-04, James wirel...@tampabay.rr.com wrote:

 Grant Edwards grante at visi.com writes:


 Whenever I see a write-up of Gentoo, it's described as a system
 similar to BSD ports where you build packages from source. The main
 benefit claimed for this approach is that you get better performance
 because all executables are optimized for exactly the right
 instruction set. is practically nil in real-world usage.

 Not true.  You can eliminate many non-essential portions of a
 compiled program, via use flag and the freedom you get to select
 software, as opposed to other distros. Smaller executables are usually
 always faster.

[...]
 But that wasn't what I was talking about, and AFAICT that's not
 what reviewers are talking about when they talk about adjusting compiler
 flags to optimize performance. They seem to be talking about building for
 Athlon instead of P4 (or vice-versa).
 Perhaps I've always completely misunderstood the articles I've
 read, and they were indeed talking about USE flags that control options
 passed to configure and not about things like gcc's -march and -O
 options.

USe flags can be used for anything. Note that ebuilds are
ultimately bash scripts. And USE flags are just that: f-l-a-g-s.
Flags are used in a script to control things that can be run -or
not- depending on a condition, things like if in amd64 do this,
if not, if hardened do that, if yes and hardened to anything else...
That includes things like activating concrete portions of
arch dependent code or a patch, things like passing a simple option
to add or remove a dependency, and any other things that you could
do manually on a shell.

It can of course be used as well to adjust CFLAGS and other things
depending on the architecture or whatever condition you want. And
even more, they can be used to filter CFLAGS that the developers know
that are harmful (and that's a big part of the portage stability,
because in the past users used to shot themselves on the feet by
adding a 20 lines long CFLAGS declaration into their make.conf's.

Note that reviewers usually test a thing for 2 days, and then they
think they are qualified to talk about whatever thing. Some times,
these reviews are useless for this reason. They only scratch the
surface, giving a bad impression or just a poor one.

Note that I said some times, though I think that most times
is potentially a more correct qualifier.

-- 
Jesús Guerrero





Re: [gentoo-user] Re: ENTER doesn't work in google.com?

2009-02-04 Thread Dale
Nikos Chantziaras wrote:
 Dale wrote:
 Nikos Chantziaras wrote:
 Am I going crazy?  In google.com, when I enter a search query and
 press ENTER, nothing happens.  Note: only on the *English*
 google.com.  You get there by clicking the Google.com in English
 link.  It's this:

   http://www.google.com/ncr

 Does the ENTER key work for anyone?  I'm on Firefox 3.0.5.  Konqeuror
 has no problem.




 I clicked on your link and tried it, it looked like it just refreshed
 the page or something for me.  No results or anything tho.  Clicking the
 search button worked fine.

 r...@smoker / # emerge -pv seamonkey

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

 Calculating dependencies... done!
 [ebuild   R   ] www-client/seamonkey-1.1.14  USE=crypt ipv6 java ldap
 xprint -debug -gnome -mozdevelop -moznocompose -moznoirc -moznomail
 -moznopango -moznoroaming -postgres -xforms -xinerama 0 kB

 Total: 1 package (1 reinstall), Size of downloads: 0 kB
 r...@smoker / #

 Sort of weird, this worked a few days ago.  I always hit enter/return
 when I do mine.

 ???

 I fixed it with rm -rf ~/.mozilla/firefox

 :P




Not a option here.  I would loose ALL my emails too.  O_O 

Is sort of weird tho.

Dale

:-)  :-)



[gentoo-user] KDE-4.2 missing Oxygen

2009-02-04 Thread Naga
Hi,

I was wondering if I'm the only one who is missing the Oxygen desktop theme 
when installing KDE-4.2 from the kde-testing overlay?

/Regards
Naga



Re: [gentoo-user] Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-04 Thread Sebastián Magrí
El mié, 04-02-2009 a las 11:09 +0100, Jesús Guerrero escribió:
 
 
 
 El Mie, 4 de Febrero de 2009, 0:06, Paul Hartman escribió:
  On Tue, Feb 3, 2009 at 4:39 PM, Grant Edwards gra...@visi.com wrote:
 
  Whenever I see a write-up of Gentoo, it's describe as a system
  similar to BSD ports where you build packages from source. The main
  benefit claimed for this approach is that you get better performance
  because all executables are optimized for exactly the right instruction
  set.
 
  Where did that bit of apocrypha come from, and why is it
  parroted by so many people?
 
  I've never done any benchmarks on my system of i386 vs core2 or
  anything like that... I think the fact that gentoo allows you to control
  compiler flags which can potentially give you speedups is more of it. But,
  like you, building from source is kind of a side-effect of Gentoo and not
  the reason why. Compiling for the sake of compiling is just a waste of
  time, and that's why a lot of people say Just use Ubuntu or whatever.
 
 Not really. Compiling the things gives you control over what
 dependencies will that package have. In a binary distro mplayer
 will usually push like 80 or 800 (I never counted them) packages
 due to the number of features that it potentially has.
 
 If you don't install those, then the ldd info of the binary is
 broken because it can't find the needed object files outside of
 mplayer.
 
 Compiling the packages allow you to tune CFLAGS, ok. But even if
 you think that -most times- this doesn't make a difference, it's
 still worth the trouble compiling it, if only for the sake of
 mplayer not having to depend on 200MB of additional software for it
 to install correctly.
 
 In gentoo, this is as easy as to set your use flags up, and then
 emerge. Easy as hell, and you don't have to go ./configure'ing
 with a dozen parameters every single package in your system,
 because portage takes cares of that.
 
 I absolutely don't care much about the CFLAGS stuff, I just set
 up my -march and forget about it for years. And I think that
 there's a lot of point in using GEntoo, even if you have zero
 interest in compiling sofware there're still a lot of reasons
 why I would use Gentoo over any other Linux.
 
 

Also, Gentoo is a great school. If you want to learn how a Linux system
works, and really want to learn about Unix systems, then Gentoo is the
best for you. The huge knowledge base is one of the things that make
Gentoo as good as it is, and left the users without excuses when they
break the system.

With the power of the CPUs growing every day, the -long time compiling-
idea is becoming irrelevant, this way, I see more benefits on continue
using mi beloved Gentoo and feel users have less excuses to continue
using other distros, but, they are free of choosing, I choose Gentoo
because Gentoo lets me choose... 


signature.asc
Description: Esta parte del mensaje está firmada	digitalmente


Re: [gentoo-user] Re: wlan0 promiscuous mode

2009-02-04 Thread Dominic Kexel
On Sat, 31 Jan 2009 14:51:59 -0800
Grant emailgr...@gmail.com wrote:

 That all works great, the problem is it only works when net.wlan0 is
 started.  I'm told I:
 
 need to load the modules and setup the interface for your card
 
 because that's probably what net.wlan0 does.  I tried to look through
 net.wlan0 but I'm lost in there.  Any idea what I might need to do
 that net.wlan0 usually does for me?
 
 - Grant

net.wlan0 configures your interface. So, when switching back
from monitor-mode to managed-mode, your setup for that 
interface is lost.

You have to do something like:

ath=wlan0
iwconfig $ath channel 11
iwconfig $ath essid 'my_essid'
iwconfig $ath ap 05:1B:4F:22:XX:XX
iwconfig $ath key mysecretkey open



-- 
Dominic Kexel nexe...@evil-monkey-in-my-closet.com



Re: [gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-04 Thread Jesús Guerrero
El Mie, 4 de Febrero de 2009, 14:19, Nikos Chantziaras escribió:
 Sebastián Magrí wrote:

 Also, Gentoo is a great school. If you want to learn how a Linux system
  works, and really want to learn about Unix systems, then Gentoo is the
  best for you.

 I don't get that argument.  I didn't learn how Linux or Unix works with
 Gentoo.  I didn't even find my prior knowledge of Unix and Linux of much
 use either.  Typing emerge package and dispatch-conf doesn't offer me
 much knowledge.  It's as simple as Debian in this regard.

 If I wanted a learn Unix distro, I would be using Slackware :P

Gentoo forces you to use linux in the sense that you need to
do all the work by yourself to install it. What you describe is
just the regular update/install process, which is simple enough
as you said.

But installing the OS is another thing. Not too difficult, but
without a doubt you need to know or learn the basics of linux
to be able to handle it. Most distros just require that you put
the cd in the tray and press next, then you appear into a kde
or gnome desktop.

In Gentoo the installation is manual and you need to deal with
a lot of basic stuff. For an experienced user, to install Gentoo
is a piece of cake, no doubt.

Also, note that he said linux, and not unix. If you want to
learn Unix, then slackware is no more Unix-like than gentoo,
it might be even less. For a unix-like OS look into solaris or
any bsd flavor instead.

-- 
Jesús Guerrero




Re: [gentoo-user] KDE-4.2 missing Oxygen

2009-02-04 Thread Neil Bothwick
On Wed, 4 Feb 2009 18:13:47 +0100, Naga wrote:

 I was wondering if I'm the only one who is missing the Oxygen desktop
 theme when installing KDE-4.2 from the kde-testing overlay?

It's there when you install 4.2 from the main portage tree.


-- 
Neil Bothwick

What colour is a chameleon on a mirror?


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-04 Thread Jesús Guerrero




El Mie, 4 de Febrero de 2009, 16:25, Grant Edwards escribió:
 On 2009-02-04, Jes?s Guerrero i92gu...@terra.es wrote:

 El Mie, 4 de Febrero de 2009, 8:39, Alan McKinnon escribi?:

 On Wednesday 04 February 2009 09:27:31 Christopher Walters wrote:


 I personally don't view Gentoo as a distro in the traditional
 sense. To me, it's a build system, an app - portage or paludis - and
 the devs that make cool input files for that app. Building a distro
 from scratch for embedded devices is a painful process if you don't
 have an automated build system. It's not quite a trivial exercise, but
 portage does make it a whole lot easier.

 That's mostly what I call a metadistro. A set of tools and
 instructions to build a proper distro that suits you, and maintain it.

 Except that what you build and maintain isn't a distro, it's
 a single machine.

That I only know ;)

It's up to you if you reuse the distro on a second machine
or on a whole cluster. And certainly, Gentoo provide the means
to reutilize whatever you compiled and configured on many machines,
like with catalyst and the newer metro tool from drobbins.

-- 
Jesús Guerrero




[gentoo-user] Re: ENTER doesn't work in google.com?

2009-02-04 Thread Nikos Chantziaras

Michael Holmes wrote:

2009/2/4 Nikos Chantziaras rea...@arcor.de:

I can't imagine your emails being stored in there.  Firefox doesn't deal
with email.  But you can simply mv ~/.mozilla/firefox
~/.mozilla/firefox.backup instead of deleting it just to be safe.


He's using Seamonkey, not Firefox.


This just reminded me of why I don't use apps that do more than one 
thing at the same.  If they fsck up, you might lose more than one thing.





RE: [gentoo-user] Re: Gentoo's advantage: 'optimized for yoursystem' -- huh?

2009-02-04 Thread Jesús Guerrero




El Mie, 4 de Febrero de 2009, 16:39, Prado, Renato (R.P.) escribió:
 My question can be put like this: Do binary distro's per package
 optimiziations override the benefit of having arch specific
 optimiziations that gentoo allows?
 Thinking about that... I guess a could future for future portage
 releases would be a USE flag the overrides the system's CFLAGS (besides
 -march) to what the package maintainer recommends. This would be
 interesting for processor-intensive stuff, like ffmpeg for example. This
 would also allow users to try some more dangerous flags only for packages
 were they are known to be safe.

Unless you mean a different thing, that can be achieved and
is already done in some packages. For example, mplayer has a
USE flag called custom-cflags which freely allow you to break
it as much as you want.

And if an ebuild bothers you filtering flags, you can always overlay
it and remove the filters. If you can't do that, you definitely
don't qualify to break your CFLAGS.


-- 
Jesús Guerrero




[gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-04 Thread Nikos Chantziaras

Jesús Guerrero wrote:

El Mie, 4 de Febrero de 2009, 14:19, Nikos Chantziaras escribió:

Sebastián Magrí wrote:


Also, Gentoo is a great school. If you want to learn how a Linux system
 works, and really want to learn about Unix systems, then Gentoo is the
 best for you.

I don't get that argument.  I didn't learn how Linux or Unix works with
Gentoo.  I didn't even find my prior knowledge of Unix and Linux of much
use either.  Typing emerge package and dispatch-conf doesn't offer me
much knowledge.  It's as simple as Debian in this regard.

If I wanted a learn Unix distro, I would be using Slackware :P


Gentoo forces you to use linux in the sense that you need to
do all the work by yourself to install it. What you describe is
just the regular update/install process, which is simple enough
as you said.


It was very easy for me.  The first I came in tough with Gentoo was with 
the 2007 DVD.  I booted, double clicked the installer icon, clicked 
next a few times with checking some tickboxes too, and then emerged -e 
system and world and the packages I need.


After that I was asking myself where the difficulty lies many people 
refer to when it comes to installing Gentoo.


Seriously, I didn't learn anything.  Maybe CLFAGS and USE flags.




Re: [gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-04 Thread Jesús Guerrero




El Mie, 4 de Febrero de 2009, 17:19, Grant Edwards escribió:
 On 2009-02-04, Neil Bothwick n...@digimed.co.uk wrote:

 On Wed, 4 Feb 2009 15:25:49 + (UTC), Grant Edwards wrote:


 Except that what you build and maintain isn't a distro, it's
 a single machine.

 Why?


 Do you distribute what you're building as a something for
 others to use to install Linux?  I don't, and none of the other Gentoo
 users I know do.  They're all building and maintaining installations on
 individual machines.

Not true at all. Lost of uses do stage4 and stage5 stuff to deploy
them in lots of places. Even the official stage3 have been built using
Gentoo of course, and the livecds using the Gentoo tools and catalyst.
So, as you see, some of the stuff created with this metadistro is deployed
in thosands of machines. Oh, and don't forget about the drobbins stuff
in funtoo, which is also built using to a lesser degree the Gentoo stuff.

There are some other projects that build a distro starting from a
Gentoo base which could fit better in your concept of what a distro
is, like vidalinux or sabayon.

But even if that was the case, that doesn't change the fact that
you are building your own distro using the Gentoo tools.

A linux distribution is not called so because it's distributed
world wide. A linux distribution is defined as a linux kernel
with some userland tools. Even if it's just a kernel with vi on
a floppy.

So, gentoo is a metadistro that you use to build a distro. Even
if the only consumer for that distro is going to be you. It's
like writing songs. They are songs, even if no one ever hear
them but you and your parents, or your girlfriend, or whomever.



-- 
Jesús Guerrero




RE: [gentoo-user] Re: Gentoo's advantage: 'optimized for yoursystem' -- huh?

2009-02-04 Thread Prado, Renato (R.P.)
Unless you mean a different thing, that can be achieved and
is already done in some packages. For example, mplayer has a
USE flag called custom-cflags which freely allow you to break
it as much as you want.

What I meant was something like this: supposed that the maintainer of a
particular package knows the -O3 causes a massive performance increase
(just an example, I know that usually -03 only gives marginally better
performance and that it can even make stuff slower), if the user has the
simmonsays USE flag enabled, that package will be built with -03,
respecting the users' -march setting but overriding -On.

Developing the idea, there could be a performance and a stability
USE flags, that would use the recommended CFLAGS for each package, some
sort of automated ricing ;-)
 



Re: [gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-04 Thread Jesús Guerrero




El Mie, 4 de Febrero de 2009, 18:48, Nikos Chantziaras escribió:
 Jesús Guerrero wrote:

 El Mie, 4 de Febrero de 2009, 14:19, Nikos Chantziaras escribió:

 Sebastián Magrí wrote:


 Also, Gentoo is a great school. If you want to learn how a Linux
 system works, and really want to learn about Unix systems, then
 Gentoo is the
 best for you.
 I don't get that argument.  I didn't learn how Linux or Unix works
 with Gentoo.  I didn't even find my prior knowledge of Unix and Linux
 of much use either.  Typing emerge package and dispatch-conf
 doesn't offer me much knowledge.  It's as simple as Debian in this
 regard.

 If I wanted a learn Unix distro, I would be using Slackware :P


 Gentoo forces you to use linux in the sense that you need to
 do all the work by yourself to install it. What you describe is just the
 regular update/install process, which is simple enough as you said.

 It was very easy for me.  The first I came in tough with Gentoo was with
 the 2007 DVD.  I booted, double clicked the installer icon, clicked next
 a few times with checking some tickboxes too, and then emerged -e system
 and world and the packages I need.

 After that I was asking myself where the difficulty lies many people
 refer to when it comes to installing Gentoo.

 Seriously, I didn't learn anything.  Maybe CLFAGS and USE flags.

You used the installer. Which should never be used because
it's buggy and crappy, it has caused lots of problems, and
for me it spoils the whole gentoo thing because lots of
newcomers that use it have nothing but problems. In addition,
they don't learn the basic linux stuff we were talking about,
and hence, they have problems administering their machines,
dealing with packages, mixing software branches, creating
overlays, configuring their systems and many more. Problems
whose solution they wouldn't need to ask (spamming the lists
and forums in the way) if they had used the handbook in first
place.

In my opinion that buggy livecd was in all sense a bad thing
and should have never existed.

Gentoo is installed by hand usually, following the handbook,
and not clicking next. Once you read the whole handbook you
can have an opinion if a new user would learn a thing or two
by using it or not.

A wouldn't have expected that a brave slacker would choose the
graphical installer ;)

-- 
Jesús Guerrero




Re: [gentoo-user] /etc/init.d/: ntpd or ntp-client?

2009-02-04 Thread Dirk Heinrichs
Am Mittwoch, 4. Februar 2009 14:57:28 schrieb Alan McKinnon:

 ntpd is really designed for Unix servers with 3 digit uptimes and clocks
 not assembled by Mickey Mouse's younger brother (which seems to include all
 pcs ever made.)

Errh, no. It is designed for exactly those machines, so that they are 
independant of their hardware (Mickey Mouse) clock and of course to keep them 
all in sync with each other (and the Unix servers they connect to).

 Most folk are better off with ntpdate run from a cron. When run, it checks
 the upstream time and immediately corrects the local clock to that time.
 Schedule it for once an hour or so, depending on your bandwidth and local
 ntp site's policies.

That does exactly what NTP tries to avoid: Time jumps.

So when you're not connected to the net permanently, one has two choices:

1) Choose one of your machines as the ntp time server which delivers the time 
of its internal clock and synchronize each others time with this one. In the 
end it only matters that the time is correct in _your_ own network, isn't it.

2) If even the most accurate internal clock on your network is not accurate 
enough, plug an accurate time source into one machine you choose as time 
server, then goto 1).

Bye...

Dirk


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


Re: [gentoo-user] Re: games-fps without blood

2009-02-04 Thread James Ausmus
On Tue, Feb 3, 2009 at 12:14 PM, pk pete...@coolmail.se wrote:

 Andrew Gaydenko wrote:

  Ups.. He-he... :-) I have thought it is frame per second - is related
 to 3D
  reality reconstruction, where GL, *fps* and such are needed, used, told
  about. Fine! Probably there are not-FPS :-) beauty (rich 3D) games for
  little boy, are not they?

 Well, if you can lower your requirements a little to include 2D games
 then there are quite a few interesting games:

 2D:
 1. Freedroid
 2. Frozen Bubble
 3. Rocks n' diamonds
 4. XMoto
 ... of course there are a few that contain indirect violence like
 freeciv, battle for wesnoth, etc.


Freecol is a great game that is in Portage and can provide for hours of
entertainment - it's a Java-based clone of Sid Meier's Colonization, one of
the best turn-based strategy games ever. Might be a little much for a 7-year
old, but might not be, either. ;)

-James


Re: [gentoo-user] /etc/init.d/: ntpd or ntp-client?

2009-02-04 Thread Stroller


On 4 Feb 2009, at 13:40, Justin wrote:

Stroller schrieb:

...
I understood that ntpd was not only a server for my LAN (a facility I
don't use) but that it would also periodically check the time with
upstream servers  keep the machine's clock in constant sync.
...

pkg_postinst() {
ewarn You can find an example /etc/ntp.conf in /usr/share/ntp/
ewarn Review /etc/ntp.conf to setup server info.
ewarn Review /etc/conf.d/ntpd to setup init.d info.
echo
elog The way ntp sets and maintains your system time has changed.
elog Now you can use /etc/init.d/ntp-client to set your time at
elog boot while you can use /etc/init.d/ntpd to maintain your time
elog while your machine runs


Right! That's the very message which caused me to switch!

Stroller.





Re: [gentoo-user] Re: libtool problem

2009-02-04 Thread Dirk Heinrichs
Am Mittwoch, 4. Februar 2009 04:25:34 schrieb ABCD:

 The reason there wasn't a bump (IIRC) was that the ebuild never changed
 - only the eclass did.  If you emerged any version of GCC during the
 window where the eclass was broken, that version of GCC would have been
 broken.

That also means that portage is broken. Whenever something changes where other 
things depend on, those other things should be rebuilt. This doesn't happen 
here.

Bye...

Dirk


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


Re: [gentoo-user] /etc/init.d/: ntpd or ntp-client?

2009-02-04 Thread Stroller


On 4 Feb 2009, at 14:11, Neil Bothwick wrote:

On Wed, 4 Feb 2009 13:38:11 +, Stroller wrote:

So when I found the clock to be a week out of date I checked that  
ntpd

appeared to be running (it was) and restarted it. The date remained
the same. Stopping ntpd  starting ntp-client corrected the date
immediately.


ntpd will not change the time if the difference is too large, the man
page gives the limit. You need to run both at boot; ntp-client sets  
the
time immediately, no matter what the skew, then ntpd keeps the clock  
in

time.


I see. Many thanks.

I am surprised my clock got so far out of whack, having been only  
switched off a few days. I don't think the battery is completely dead.  
The difference in behaviour seems unexpected, but surely makes sense  
from the developers' point-of-view.


I will set both in the default runlevel  keep an eye on things.

Stroller.




Re: [gentoo-user] /etc/init.d/: ntpd or ntp-client?

2009-02-04 Thread Justin
Stroller wrote:
 
 On 4 Feb 2009, at 13:40, Justin wrote:
 Stroller schrieb:
 ...
 I understood that ntpd was not only a server for my LAN (a facility I
 don't use) but that it would also periodically check the time with
 upstream servers  keep the machine's clock in constant sync.
 ...
 pkg_postinst() {
 ewarn You can find an example /etc/ntp.conf in /usr/share/ntp/
 ewarn Review /etc/ntp.conf to setup server info.
 ewarn Review /etc/conf.d/ntpd to setup init.d info.
 echo
 elog The way ntp sets and maintains your system time has changed.
 elog Now you can use /etc/init.d/ntp-client to set your time at
 elog boot while you can use /etc/init.d/ntpd to maintain your time
 elog while your machine runs
 
 Right! That's the very message which caused me to switch!
 
 Stroller.
 
 
 
so use the ntp-client to set the time at boot and use ntp to  keep clock
synced.



Re: [gentoo-user] Re: games-fps without blood

2009-02-04 Thread Volker Armin Hemmann
On Mittwoch 04 Februar 2009, James Ausmus wrote:


 Freecol is a great game that is in Portage and can provide for hours of
 entertainment - it's a Java-based clone of Sid Meier's Colonization, one of
 the best turn-based strategy games ever. Might be a little much for a
 7-year old, but might not be, either. ;)

it is also very buggy - which makes it pretty frustrating for everybody 
without tons of good will. Which makes it unsuitable for children.



Re: [gentoo-user] KDE-4.2 missing Oxygen

2009-02-04 Thread Naga
On Wednesday 04 February 2009 18:32:52 Neil Bothwick wrote:
 On Wed, 4 Feb 2009 18:13:47 +0100, Naga wrote:
  I was wondering if I'm the only one who is missing the Oxygen desktop
  theme when installing KDE-4.2 from the kde-testing overlay?

 It's there when you install 4.2 from the main portage tree.

My bad, I did install from portage, kde-testing was before.

Do you use kdeprefix?

/Regards
Naga



Re: [gentoo-user] /etc/init.d/: ntpd or ntp-client?

2009-02-04 Thread Stroller


On 4 Feb 2009, at 18:23, Justin wrote:

Stroller wrote:


On 4 Feb 2009, at 13:40, Justin wrote:

Stroller schrieb:

...
I understood that ntpd was not only a server for my LAN (a  
facility I

don't use) but that it would also periodically check the time with
upstream servers  keep the machine's clock in constant sync.
...

pkg_postinst() {
   ewarn You can find an example /etc/ntp.conf in /usr/share/ntp/
   ewarn Review /etc/ntp.conf to setup server info.
   ewarn Review /etc/conf.d/ntpd to setup init.d info.
   echo
   elog The way ntp sets and maintains your system time has  
changed.

   elog Now you can use /etc/init.d/ntp-client to set your time at
   elog boot while you can use /etc/init.d/ntpd to maintain your  
time

   elog while your machine runs


Right! That's the very message which caused me to switch!

Stroller.

so use the ntp-client to set the time at boot and use ntp to  keep  
clock

synced.


As I said in my post of 4 February 2009 18:20:50 GMT I will do so.

But I had not initially assumed that maintaining the time excluded  
the criteria used by ntp-client when setting at boot.


Stroller.




[gentoo-user] Removing shared libraries

2009-02-04 Thread Damian
Hi,

After I ran reconcilio (I guess revdep-rebuild will yield a similar
output) I got the following message:
The following broken files are not owned by any installed package:
/usr/lib64/kde4/plasma_applet_sysmoni_nvidia.so (requires libplasma.so.2)
/usr/lib64/kde4/plasma_applet_sysmoni_portage.so (requires libplasma.so.2)
/usr/lib64/kde4/plasma_applet_sysmoni_ram.so (requires libplasma.so.2)
/usr/lib64/kde4/plasma_applet_sysmoni_sys.so (requires libplasma.so.2)
/usr/lib64/kde4/plasma_applet_sysmoni_top.so (requires libplasma.so.2)
/usr/lib64/kde4/plasma_yawp.so (requires libplasma.so.2)
/usr/lib64/kde4/sysmoni_engine.so (requires libplasma.so.2)
/usr/lib64/libsysmoni.so (requires libplasma.so.2)

Those shared objects were installed when I manually compiled plasmoids
some time ago (using kde 4.1, now I have kde 4.2). So my question is
if I can safely remove those files without beaking anything. I think
it is safe but I want to be cautious.

Thanks in advance.

Regards,
Damian.



Re: [gentoo-user] Re: Gentoo's advantage: optimized for your system -- huh?

2009-02-04 Thread Paul Hartman
On Wed, Feb 4, 2009 at 10:07 AM, James wirel...@tampabay.rr.com wrote:
 Paul Hartman paul.hartman+gentoo at gmail.com writes:



  One *BIG* difference is when the GPUs on video cards are used
  as co-processors on systems. ATI and Nv are working on making
  general purpose C languages for programs to take advantage
  of the power of the GPU. Look for Gentoo to beat the other
  distros, by the very nature of how it compiles code for
  everything.


 http://funroll-loops.info/


 According to your logic, Nvidia and ATI(AMD) are ricers?


 http://developer.nvidia.com/object/cg_toolkit.html
 http://techreport.com/discussions.x/15886

 Or maybe the folks at CMU are ricers?
 http://www.cs.cmu.edu/~cil/v-source.html

 Surely these folks at StonyBrook are ricers?
 http://www.ecsl.cs.sunysb.edu/fir/

 Not to mention these folks at Stanford,
 http://novembertech.blogspot.com/2006/10/stanford-atis-gpu-can-calculate-much.html


 And all of these scientists are ricers?
 http://gpgpu.org/


 I count myself proud to be among this company
 of ricers as you put it..



 James

It's not my site... I was just putting it out there in case anyone
hadn't seen it before. It's ld. I'm a happy Gentoo user
for many years. :)

Paul



Re: [gentoo-user] Removing shared libraries

2009-02-04 Thread Paul Hartman
On Wed, Feb 4, 2009 at 1:09 PM, Damian damian.o...@gmail.com wrote:
 Hi,

 After I ran reconcilio (I guess revdep-rebuild will yield a similar
 output) I got the following message:
The following broken files are not owned by any installed package:
/usr/lib64/kde4/plasma_applet_sysmoni_nvidia.so (requires libplasma.so.2)
/usr/lib64/kde4/plasma_applet_sysmoni_portage.so (requires libplasma.so.2)
/usr/lib64/kde4/plasma_applet_sysmoni_ram.so (requires libplasma.so.2)
/usr/lib64/kde4/plasma_applet_sysmoni_sys.so (requires libplasma.so.2)
/usr/lib64/kde4/plasma_applet_sysmoni_top.so (requires libplasma.so.2)
/usr/lib64/kde4/plasma_yawp.so (requires libplasma.so.2)
/usr/lib64/kde4/sysmoni_engine.so (requires libplasma.so.2)
/usr/lib64/libsysmoni.so (requires libplasma.so.2)

 Those shared objects were installed when I manually compiled plasmoids
 some time ago (using kde 4.1, now I have kde 4.2). So my question is
 if I can safely remove those files without beaking anything. I think
 it is safe but I want to be cautious.

I think so. I always manually delete when they show up like that and
nothing has broken that I know of. For some reason they don't always
get removed during unmerge or upgrade.



Re: [gentoo-user] Removing shared libraries

2009-02-04 Thread Jesús Guerrero
El Mie, 4 de Febrero de 2009, 20:28, Paul Hartman escribió:
 On Wed, Feb 4, 2009 at 1:09 PM, Damian damian.o...@gmail.com wrote:

 Those shared objects were installed when I manually compiled plasmoids
 some time ago (using kde 4.1, now I have kde 4.2). So my question is if I
 can safely remove those files without beaking anything. I think it is
 safe but I want to be cautious.

In any case it's non-vital stuff. So just tar them up and
delete. You can put them back if anything related complains.

-- 
Jesús Guerrero




Re: [gentoo-user] Re: libtool problem

2009-02-04 Thread Alan McKinnon
On Wednesday 04 February 2009 20:17:33 Dirk Heinrichs wrote:
 Am Mittwoch, 4. Februar 2009 04:25:34 schrieb ABCD:
  The reason there wasn't a bump (IIRC) was that the ebuild never changed
  - only the eclass did.  If you emerged any version of GCC during the
  window where the eclass was broken, that version of GCC would have been
  broken.

 That also means that portage is broken. Whenever something changes where
 other things depend on, those other things should be rebuilt. This doesn't
 happen here.

I disagree, that would cause many more spurious rebuilds than is needed if it 
were automated. Portage cannot tell how important or how deep a change is, 
that requires a human to look and see. So what is needed is a flag that 
portage recognizes as an instruction to do a revdep-rebuild-style search and 
find everything using a specific changed file, and rebuild those. The flag is 
set under dev control.

Blindly doing what you suggest leads to this:

appA depends on libB. 
libB has a bug which is fixed but no changes to the API or ABI occur, so appA 
does not need to be rebuilt, it simply uses the new compiled lib when run.
This circumstance will likely happen many many times more often that the 
updated eclass that is the subject of this thread.

Therefore, a simple elog entry is a valid handling and fully compliant with 
the principle of The Simplest Thing That Could Possibly Work.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-04 Thread Alan McKinnon
On Wednesday 04 February 2009 19:48:27 Nikos Chantziaras wrote:
  Gentoo forces you to use linux in the sense that you need to
  do all the work by yourself to install it. What you describe is
  just the regular update/install process, which is simple enough
  as you said.

 It was very easy for me.  The first I came in tough with Gentoo was with
 the 2007 DVD.  I booted, double clicked the installer icon, clicked
 next a few times with checking some tickboxes too, and then emerged -e
 system and world and the packages I need.

You should have been around in the days when stage1 was still supported.

Now that was fun. For varying definitions of fun of course :-)

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: wlan0 promiscuous mode

2009-02-04 Thread Grant
 That all works great, the problem is it only works when net.wlan0 is
 started.  I'm told I:

 need to load the modules and setup the interface for your card

 because that's probably what net.wlan0 does.  I tried to look through
 net.wlan0 but I'm lost in there.  Any idea what I might need to do
 that net.wlan0 usually does for me?

 - Grant

 net.wlan0 configures your interface. So, when switching back
 from monitor-mode to managed-mode, your setup for that
 interface is lost.

 You have to do something like:

 ath=wlan0
 iwconfig $ath channel 11
 iwconfig $ath essid 'my_essid'
 iwconfig $ath ap 05:1B:4F:22:XX:XX
 iwconfig $ath key mysecretkey open

managed mode works perfectly.  Here's my situation:

managed mode: perfect
monitor mode with net.wlan0 started: perfect
monitor mode with net.wlan0 stopped: no airodump-ng results

I'd like to get airodump-ng results without starting net.wlan0 for
situations when I don't have an AP to associate with.

- Grant



Re: [gentoo-user] Re: libtool problem

2009-02-04 Thread Dirk Heinrichs
Am Mittwoch, 4. Februar 2009 21:21:38 schrieb Alan McKinnon:
 On Wednesday 04 February 2009 20:17:33 Dirk Heinrichs wrote:
  Am Mittwoch, 4. Februar 2009 04:25:34 schrieb ABCD:
   The reason there wasn't a bump (IIRC) was that the ebuild never changed
   - only the eclass did.  If you emerged any version of GCC during the
   window where the eclass was broken, that version of GCC would have been
   broken.
 
  That also means that portage is broken. Whenever something changes where
  other things depend on, those other things should be rebuilt. This
  doesn't happen here.

 I disagree, that would cause many more spurious rebuilds than is needed if
 it were automated.

Why spurious? The package manager should be smart enough to tell the user: 
Rebuild because of eclass change. Nothing spurious.

 Portage cannot tell how important or how deep a change
 is, that requires a human to look and see. So what is needed is a flag that
 portage recognizes as an instruction to do a revdep-rebuild-style search
 and find everything using a specific changed file, and rebuild those. The
 flag is set under dev control.

Not dev, user. Something equivalent to --newuse.

 Blindly doing what you suggest leads to this:

 appA depends on libB.

No. Sorry if this was misleading. I was only referring to dependencies between 
ebuilds and eclasses.

Library interdependencies are handled just fine by portage/revdep-rebuild.

 Therefore, a simple elog entry is a valid handling and fully compliant with
 the principle of The Simplest Thing That Could Possibly Work.

Elog entries are overlooked too often.

Bye...

Dirk


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


Re: [gentoo-user] Re: Gentoo's advantage: optimized for your system -- huh?

2009-02-04 Thread Alan McKinnon
On Wednesday 04 February 2009 18:55:07 Momesso Andrea wrote:
 On Wed, Feb 04, 2009 at 03:59:44PM +0200, Alan McKinnon wrote:
  On Wednesday 04 February 2009 15:31:26 Momesso Andrea wrote:
   My question can be put like this: Do binary distro's per package
   optimiziations override the benefit of having arch specific
   optimiziations that gentoo allows?
 
  That can only be answered with valid benchmarks on paper in front of you.
 
  Have you performed valid benchmark tests?

 Nope, if I had there would have been no reason to ask... :)

Then your question is nonsensical and is best answered as:

mu

As so many others have stated, the mythical performance benefits of gentoo are 
no longer applicable in the main. When i386 was the standard optimization 
things were different, but no longer.

The major benefit of Gentoo to most users is USE, not CFLAGS


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-04 Thread Sebastián Magrí
El mié, 04-02-2009 a las 22:24 +0200, Alan McKinnon escribió:
 On Wednesday 04 February 2009 19:48:27 Nikos Chantziaras wrote:
   Gentoo forces you to use linux in the sense that you need to
   do all the work by yourself to install it. What you describe is
   just the regular update/install process, which is simple enough
   as you said.
 
  It was very easy for me.  The first I came in tough with Gentoo was with
  the 2007 DVD.  I booted, double clicked the installer icon, clicked
  next a few times with checking some tickboxes too, and then emerged -e
  system and world and the packages I need.
 
 You should have been around in the days when stage1 was still supported.
 
 Now that was fun. For varying definitions of fun of course :-)
 

The installation experience with the traditional method must be
mandatory... That's why I think we are better now that GLI is
deprecated...


signature.asc
Description: Esta parte del mensaje está firmada	digitalmente


Re: [gentoo-user] Re: hal - what's the benefit of using it

2009-02-04 Thread Alan McKinnon
Please don't top post on this list. It's considered rude.

You are talking about HAL, an abstract concept.
The OP is talking about hal, a definite package - sys-apps/hal. Recent X.org 
uses it to autoconfigure input devices on startup


On Wednesday 04 February 2009 18:34:28 Hazen Valliant-Saunders wrote:
 Um, you are using the HAL weather you want to or not, it's not really an
 option!

 The HARDWARE ABSTRACTION LAYER with respect to good ol linux happens
 to be your kernel and it's drivers.

 The bare metal registers within which all those bits are moved is
 called the hardware; all those configuration files and source you
 compile is considered the software, anything that creates the
 transparency between the two is refereed to as the HAL (In windows 98
 it was a single DLL file), in Linux it's the source code and binaries
 of the kernel and drivers, all modern computers regardless of low
 level arch have a HAL.

 Regards,
 Hazen.

 On Wed, Feb 4, 2009 at 11:17 AM, James wirel...@tampabay.rr.com wrote:
  Helmut Jarausch jarausch at igpm.rwth-aachen.de writes:
  having had some problems with recent xorg version my question is
  what are the benefits (if any) of building packages with the 'hal'
  use flag (i.e. adding 'hal' to US='...' in /etc/make.conf)
 
  This link is short and reasonable.
 
  http://en.wikipedia.org/wiki/HAL_(software)
 
 
  Hardware Abstraction Layer is a buzz term that means
  many different things to many different hardware
  designers  who need software to make their designs
  complete.
 
 
  hth,
 
  James



-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] 'emerge -avDuN world' doesn't find everything

2009-02-04 Thread Grant
 When this was asked a few weeks ago someone then asked why
 --with-bdeps Y isn't the default? This seems to burn nearly everyone
 once in awhile.

 Because using --with-bdeps y causes unnecessary compilation of packages
 that don't need t0 be changed. They won't be used again until the
 dependent package is updated, so why waste time rebuilding them in the
 interim?

 No one really gets burned by this, they just wonder why installed
 packages aren't upgraded, nothing stops working.


 I added:

 EMERGE_DEFAULT_OPTS=--with-bdeps n

 to make.conf and ran 'emerge --depclean' and it got rid of a bunch of
 stuff, but I'm still confused by boost.  --depclean didn't remove it,
 'emerge -avDuN world' doesn't downgrade it even --with-bdeps y, but
 'emerge -pv boost' would downgrade it.  I also re-emerged twinkle and
 rb_libtorrent which are the packages that depend on boost, but the
 result is the same.

 Also man seems to be broken after that --depclean.  When I try to use
 it, I get errors starting with:

 sh: /usr/bin/unlzma: No such file or directory

 - Grant





 This may help.

 r...@smoker / # equery belongs /usr/bin/unlzma
 [ Searching for file(s) /usr/bin/unlzma in *... ]
 app-arch/lzma-utils-4.32.7 (/usr/bin/unlzma - lzma)
 r...@smoker / #

 I would rebuild that or see why it is not already installed.  I would
 think that would be part of system???  I'm not sure tho.

 I seem to recall some switch from LZMA to BZ2 manpages in an
 etc-update recently ...

 emerging lzma-utils fixed it, thank you.  I always etc-update as soon
 as the packages are built.  Should lzma-utils be a dependency of
 something?

 - Grant

 Weird, --depclean wants to remove lzma-utils again even though:

 # equery depends lzma-utils
 [ Searching for packages depending on lzma-utils... ]
 dev-libs/mpfr-2.3.2 (app-arch/lzma-utils)
 media-libs/libpng-1.2.34 (app-arch/lzma-utils)
 media-libs/netpbm-10.44.00-r1 (app-arch/lzma-utils)
 net-dns/dnsmasq-2.45 (app-arch/lzma-utils)
 net-misc/netkit-rsh-0.17-r9 (app-arch/lzma-utils)
 sys-apps/coreutils-6.10-r2 (app-arch/lzma-utils)
 sys-apps/net-tools-1.60_p20071202044231-r1 (app-arch/lzma-utils)
 sys-devel/m4-1.4.11 (app-arch/lzma-utils)
 sys-kernel/linux-headers-2.6.27-r2 (app-arch/lzma-utils)
 sys-libs/gpm-1.20.5 (app-arch/lzma-utils)

 Maybe it's listed as a build-time dependency of coreutils when it
 should be runtime?

 - Grant



 coreutils is an lzma archive, so lzma-utils are required to decompress
 it. So it seems proper that it's a build-time dep.

 I think there was something about man using lzma IF you had lzma-utils
 installed at the time of emerging man. So maybe you can try to unmerge
 lzma-utils, then re-emerge man (and maybe convert your lzma manpages
 to bz2).

man seems to be working fine without lzma-utils now.  It looks like I
emerged help2man at some point yesterday so maybe that helped.

I think I've gotten to the bottom of my boost problem.  I have
rb_libtorrent installed which requires =dev-libs/boost-1.35, meaning
boost needs to be in package.keywords.  If I remove boost from
package.keywords, should portage tell me there is a problem?  I like
the idea of being able to edit package.keywords and know that portage
will either upgrade/downgrade based on the changes, or tell me if
there is a depended-on package installed which doesn't have the
necessary package.keywords entry.

- Grant

 Also be sure you've got PORTAGE_COMPRESS set to what you'd like in
 your make.conf



Re: [gentoo-user] 'emerge -avDuN world' doesn't find everything

2009-02-04 Thread Mark Knecht
On Wed, Feb 4, 2009 at 1:02 PM, Grant emailgr...@gmail.com wrote:
SNIP

 I think I've gotten to the bottom of my boost problem.  I have
 rb_libtorrent installed which requires =dev-libs/boost-1.35, meaning
 boost needs to be in package.keywords.  If I remove boost from
 package.keywords, should portage tell me there is a problem?  I like
 the idea of being able to edit package.keywords and know that portage
 will either upgrade/downgrade based on the changes, or tell me if
 there is a depended-on package installed which doesn't have the
 necessary package.keywords entry.

 - Grant

It should. I often play with package.keywords and package.use to see
what the effects might be. You can always set them back.

HTH,
Mark



Re: [gentoo-user] Re: libtool problem

2009-02-04 Thread Alan McKinnon
On Wednesday 04 February 2009 22:40:26 Dirk Heinrichs wrote:
 Am Mittwoch, 4. Februar 2009 21:21:38 schrieb Alan McKinnon:
  On Wednesday 04 February 2009 20:17:33 Dirk Heinrichs wrote:
   Am Mittwoch, 4. Februar 2009 04:25:34 schrieb ABCD:
The reason there wasn't a bump (IIRC) was that the ebuild never
changed - only the eclass did.  If you emerged any version of GCC
during the window where the eclass was broken, that version of GCC
would have been broken.
  
   That also means that portage is broken. Whenever something changes
   where other things depend on, those other things should be rebuilt.
   This doesn't happen here.
 
  I disagree, that would cause many more spurious rebuilds than is needed
  if it were automated.

 Why spurious? The package manager should be smart enough to tell the user:
 Rebuild because of eclass change. Nothing spurious.

Portage only knows that the eclass changed. It does not know what the result 
of that change will be. Therefore it is not in a position to mandate that a 
rebuild of other apps is *required* in order to function correctly. Which 
leaves us with two options:

Tell the user to look and decide for themselves, or
Rebuild everything using the eclass anyway

The latter option will always fix problems but at a huge cost of most often 
rebuilding something that looks like it needs rebuilding but actually 
doesn't. Therefore spurious.

  Portage cannot tell how important or how deep a change
  is, that requires a human to look and see. So what is needed is a flag
  that portage recognizes as an instruction to do a revdep-rebuild-style
  search and find everything using a specific changed file, and rebuild
  those. The flag is set under dev control.

 Not dev, user. Something equivalent to --newuse.

I was thinking more along the lines of what @preserved-rebuild does. Some 
mechanism in the ebuild that includes a package in a list of stuff to be 
rebuilt. Obviously this is something new and a fairly deep change to portage 
so I can't think of a decent parallel or analogy.

  Blindly doing what you suggest leads to this:
 
  appA depends on libB.

 No. Sorry if this was misleading. I was only referring to dependencies
 between ebuilds and eclasses.

OK

 Library interdependencies are handled just fine by portage/revdep-rebuild.

  Therefore, a simple elog entry is a valid handling and fully compliant
  with the principle of The Simplest Thing That Could Possibly Work.

 Elog entries are overlooked too often.

True, but do we have anything better? As in a proven mechanism successfully 
used elsewhere to deal with comparable situations?



-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] 'emerge -avDuN world' doesn't find everything

2009-02-04 Thread Alan McKinnon
On Wednesday 04 February 2009 23:02:38 Grant wrote:
 I think I've gotten to the bottom of my boost problem.  I have
 rb_libtorrent installed which requires =dev-libs/boost-1.35, meaning
 boost needs to be in package.keywords.  If I remove boost from
 package.keywords, should portage tell me there is a problem?  I like
 the idea of being able to edit package.keywords and know that portage
 will either upgrade/downgrade based on the changes, or tell me if
 there is a depended-on package installed which doesn't have the
 necessary package.keywords entry.

Portage should throw a blocker in that case if boost needs to be rebuilt. You 
have one package that requires keywording, but you don't have a keyword. I'm 
not sure offhand what portage will do if you run 'emerge -uND world' and 
boost does not require rebuilding, but I *think* it will simply leave it 
alone. OTOH, I don't have an easy way to create scenario to test this right 
now.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] /etc/init.d/: ntpd or ntp-client?

2009-02-04 Thread Drew Tomlinson
Neil Bothwick wrote:
 On Wed, 4 Feb 2009 13:38:11 +, Stroller wrote:

   
 So when I found the clock to be a week out of date I checked that ntpd  
 appeared to be running (it was) and restarted it. The date remained  
 the same. Stopping ntpd  starting ntp-client corrected the date  
 immediately.
 

 ntpd will not change the time if the difference is too large, the man
 page gives the limit. You need to run both at boot; ntp-client sets the
 time immediately, no matter what the skew, then ntpd keeps the clock in
 time.
   

To avoid running ntp-client and ntpd, look at the -g switch for ntpd. 
It will make the big jump once and then keep the clock in sync.

Cheers,

Drew

-- 
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com




Re: [gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-04 Thread Paul Hartman
On Wed, Feb 4, 2009 at 2:37 PM, Sebastián Magrí sebasma...@gmail.com wrote:
 El mié, 04-02-2009 a las 22:24 +0200, Alan McKinnon escribió:
 On Wednesday 04 February 2009 19:48:27 Nikos Chantziaras wrote:
   Gentoo forces you to use linux in the sense that you need to
   do all the work by yourself to install it. What you describe is
   just the regular update/install process, which is simple enough
   as you said.
 
  It was very easy for me.  The first I came in tough with Gentoo was with
  the 2007 DVD.  I booted, double clicked the installer icon, clicked
  next a few times with checking some tickboxes too, and then emerged -e
  system and world and the packages I need.

 You should have been around in the days when stage1 was still supported.

 Now that was fun. For varying definitions of fun of course :-)


 The installation experience with the traditional method must be
 mandatory... That's why I think we are better now that GLI is
 deprecated...


I think my first attempt to install Gentoo was a stage 1, several
years ago on a box with a network card not supported by the drivers on
the Live CD... and of course the distfiles CD did not have the current
versions since I was using a portage snapshot from that day. My
printed install guide didn't help because i couldn't google when
things didn't work the way it said they should work :) now that was a
fun experience :) I, of course, realized it was fruitless and went
stage2 instead... and did emerge -e world when it was all up  running
on the network. and the rest is history.

I don't think I've ever seen the graphical installer for gentoo. I
don't have a problem with a simple click here to have a working
gentoo installation, I don't think installing an OS should be an
educational experience necessarily, sometimes if you already know how
Gentoo works you just want to get it over with. Of course if gentoo
stores certain configs in unique places compared to other distros, and
the whole portage system in general, having some early exposure could
make it easier once it's all up and running, but someone who can read
the manual should have no trouble either way. (assuming the installer
works)



Re: [gentoo-user] Re: hal - what's the benefit of using it

2009-02-04 Thread Paul Hartman
On Wed, Feb 4, 2009 at 3:29 AM, Norberto Bensa nbe...@gmail.com wrote:
 On Wed, Feb 4, 2009 at 6:44 AM, Nikos Chantziaras rea...@arcor.de wrote:
 The benefit for me is that I plug my USB flash stick in my PC and it pops up
 in my desktop without me needing to enter voodoo console commands to mount
 it.

 +1

 That and... this is my xorg.conf :

 Section Module
Loadglx
 EndSection

 Section Device
Identifier  Default Device
Driver  nvidia
Option  NoLogo
 EndSection

 Section Screen
Identifier  Default Screen
DefaultDepth24
 EndSection


 Good luck in having that minimalist xorg.conf without hal.



Almost the same as mine, except I still have lots of font stuff in my
xorg.conf -- do those go somewhere else? or are they unneeded in
xorg.conf at all these days?



Re: [gentoo-user] hal - what's the benefit of using it

2009-02-04 Thread Michael P. Soulier
On 04/02/09 Alan McKinnon said:

 Meanwhile, trying to run KDE or Gnome on a box without hal is becoming more 
 and more painful with each update. Even xorg is getting in on the hal game 
 and using hal to auto-configure input devices.

That explains why even on Ubuntu I shut off dbus and hal, and run fluxbox.

In Gentoo I'm using XFCE4 right now without hal. I can mount my own drives.

Mike
-- 
Michael P. Soulier msoul...@digitaltorque.ca
Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction.
--Albert Einstein


pgp2ZV9u9Ennq.pgp
Description: PGP signature


Re: [gentoo-user] 'emerge -avDuN world' doesn't find everything

2009-02-04 Thread Paul Hartman
On Wed, Feb 4, 2009 at 3:02 PM, Grant emailgr...@gmail.com wrote:
 When this was asked a few weeks ago someone then asked why
 --with-bdeps Y isn't the default? This seems to burn nearly everyone
 once in awhile.

 Because using --with-bdeps y causes unnecessary compilation of packages
 that don't need t0 be changed. They won't be used again until the
 dependent package is updated, so why waste time rebuilding them in the
 interim?

 No one really gets burned by this, they just wonder why installed
 packages aren't upgraded, nothing stops working.


 I added:

 EMERGE_DEFAULT_OPTS=--with-bdeps n

 to make.conf and ran 'emerge --depclean' and it got rid of a bunch of
 stuff, but I'm still confused by boost.  --depclean didn't remove it,
 'emerge -avDuN world' doesn't downgrade it even --with-bdeps y, but
 'emerge -pv boost' would downgrade it.  I also re-emerged twinkle and
 rb_libtorrent which are the packages that depend on boost, but the
 result is the same.

 Also man seems to be broken after that --depclean.  When I try to use
 it, I get errors starting with:

 sh: /usr/bin/unlzma: No such file or directory

 - Grant





 This may help.

 r...@smoker / # equery belongs /usr/bin/unlzma
 [ Searching for file(s) /usr/bin/unlzma in *... ]
 app-arch/lzma-utils-4.32.7 (/usr/bin/unlzma - lzma)
 r...@smoker / #

 I would rebuild that or see why it is not already installed.  I would
 think that would be part of system???  I'm not sure tho.

 I seem to recall some switch from LZMA to BZ2 manpages in an
 etc-update recently ...

 emerging lzma-utils fixed it, thank you.  I always etc-update as soon
 as the packages are built.  Should lzma-utils be a dependency of
 something?

 - Grant

 Weird, --depclean wants to remove lzma-utils again even though:

 # equery depends lzma-utils
 [ Searching for packages depending on lzma-utils... ]
 dev-libs/mpfr-2.3.2 (app-arch/lzma-utils)
 media-libs/libpng-1.2.34 (app-arch/lzma-utils)
 media-libs/netpbm-10.44.00-r1 (app-arch/lzma-utils)
 net-dns/dnsmasq-2.45 (app-arch/lzma-utils)
 net-misc/netkit-rsh-0.17-r9 (app-arch/lzma-utils)
 sys-apps/coreutils-6.10-r2 (app-arch/lzma-utils)
 sys-apps/net-tools-1.60_p20071202044231-r1 (app-arch/lzma-utils)
 sys-devel/m4-1.4.11 (app-arch/lzma-utils)
 sys-kernel/linux-headers-2.6.27-r2 (app-arch/lzma-utils)
 sys-libs/gpm-1.20.5 (app-arch/lzma-utils)

 Maybe it's listed as a build-time dependency of coreutils when it
 should be runtime?

 - Grant



 coreutils is an lzma archive, so lzma-utils are required to decompress
 it. So it seems proper that it's a build-time dep.

 I think there was something about man using lzma IF you had lzma-utils
 installed at the time of emerging man. So maybe you can try to unmerge
 lzma-utils, then re-emerge man (and maybe convert your lzma manpages
 to bz2).

 man seems to be working fine without lzma-utils now.  It looks like I
 emerged help2man at some point yesterday so maybe that helped.

 I think I've gotten to the bottom of my boost problem.  I have
 rb_libtorrent installed which requires =dev-libs/boost-1.35, meaning
 boost needs to be in package.keywords.  If I remove boost from
 package.keywords, should portage tell me there is a problem?  I like
 the idea of being able to edit package.keywords and know that portage
 will either upgrade/downgrade based on the changes, or tell me if
 there is a depended-on package installed which doesn't have the
 necessary package.keywords entry.

Boost 1.36 and above are in separate slots, so you might be able to
install one of those alongside the older version of boost and make
both of your programs happy.



[gentoo-user] Where has vmware-config.pl gone?

2009-02-04 Thread Iain Buchanan
Hi all,

I just upgraded from vmware-workstation vmware-workstation-6.0.5.109488
to vmware-workstation-6.5.1.126130 as I'm upgrading kernels, modules,
etc, and the old faithful 6.0.5 version has been hard masked...

I get the usual:

VMware Workstation Error:
VMware Workstation is installed, but it has not been (correctly)
configured for your running kernel. To (re-)configure it, your system
administrator must find and run vmware-config.pl. For more
information, please see the VMware Workstation documentation.


But for the life of me I can't find vmware-config.pl.  slocate returns
nothing.  Google isn't helpful either.  The emerge log mentioned `emerge
--config vmware-workstation` which output this:

Configuring pkg...

Network settings database seems to be invalid,configuring default
settings
Configuring Bridged network vmnet0
Configuring hostonly network vmnet1, probing for unused subnet ...
Configuring NAT network vmnet8, probing for unused subnet ...
Configured default networks - Bridged, Hostonly, NAT

But vmware still complains about vmware-config.pl

Any ideas?

thanks,
-- 
Iain Buchanan iaindb at netspace dot net dot au

What makes us so bitter against people who outwit us is that they think
themselves cleverer than we are.




Re: [gentoo-user] Where has vmware-config.pl gone?

2009-02-04 Thread Mark Knecht
updatedb and then slocate?

I'm running the server, not the workstation. For me the path is

/opt/vmware/server/bin/vmware-config.pl

Hope this helps,
Mark

On Wed, Feb 4, 2009 at 3:42 PM, Iain Buchanan iai...@netspace.net.au wrote:
 Hi all,

 I just upgraded from vmware-workstation vmware-workstation-6.0.5.109488
 to vmware-workstation-6.5.1.126130 as I'm upgrading kernels, modules,
 etc, and the old faithful 6.0.5 version has been hard masked...

 I get the usual:

 VMware Workstation Error:
 VMware Workstation is installed, but it has not been (correctly)
 configured for your running kernel. To (re-)configure it, your system
 administrator must find and run vmware-config.pl. For more
 information, please see the VMware Workstation documentation.


 But for the life of me I can't find vmware-config.pl.  slocate returns
 nothing.  Google isn't helpful either.  The emerge log mentioned `emerge
 --config vmware-workstation` which output this:

 Configuring pkg...

 Network settings database seems to be invalid,configuring default
 settings
 Configuring Bridged network vmnet0
 Configuring hostonly network vmnet1, probing for unused subnet ...
 Configuring NAT network vmnet8, probing for unused subnet ...
 Configured default networks - Bridged, Hostonly, NAT

 But vmware still complains about vmware-config.pl

 Any ideas?

 thanks,
 --
 Iain Buchanan iaindb at netspace dot net dot au

 What makes us so bitter against people who outwit us is that they think
 themselves cleverer than we are.






Re: [gentoo-user] Where has vmware-config.pl gone?

2009-02-04 Thread Paul Hartman
On Wed, Feb 4, 2009 at 5:42 PM, Iain Buchanan iai...@netspace.net.au wrote:
 Hi all,

 I just upgraded from vmware-workstation vmware-workstation-6.0.5.109488
 to vmware-workstation-6.5.1.126130 as I'm upgrading kernels, modules,
 etc, and the old faithful 6.0.5 version has been hard masked...

 I get the usual:

 VMware Workstation Error:
 VMware Workstation is installed, but it has not been (correctly)
 configured for your running kernel. To (re-)configure it, your system
 administrator must find and run vmware-config.pl. For more
 information, please see the VMware Workstation documentation.


 But for the life of me I can't find vmware-config.pl.  slocate returns
 nothing.  Google isn't helpful either.  The emerge log mentioned `emerge
 --config vmware-workstation` which output this:

 Configuring pkg...

 Network settings database seems to be invalid,configuring default
 settings
 Configuring Bridged network vmnet0
 Configuring hostonly network vmnet1, probing for unused subnet ...
 Configuring NAT network vmnet8, probing for unused subnet ...
 Configured default networks - Bridged, Hostonly, NAT

 But vmware still complains about vmware-config.pl

 Any ideas?

I think emerge --config is the gentoo way.

It runs /opt/vmware/workstation/bin/vmware-networks

Here's the snippet from the ebuild:

pkg_config() {
${VM_INSTALL_DIR}/bin/vmware-networks --postinstall ${PN},old,new
}



Re: [gentoo-user] hal - what's the benefit of using it

2009-02-04 Thread Paul Hartman
On Wed, Feb 4, 2009 at 4:23 PM, Michael P. Soulier
msoul...@digitaltorque.ca wrote:
 On 04/02/09 Alan McKinnon said:

 Meanwhile, trying to run KDE or Gnome on a box without hal is becoming more
 and more painful with each update. Even xorg is getting in on the hal game
 and using hal to auto-configure input devices.

 That explains why even on Ubuntu I shut off dbus and hal, and run fluxbox.

 In Gentoo I'm using XFCE4 right now without hal. I can mount my own drives.

I thought it only did the automounting stuff if you were in the
plugdev group. That's the way the docs make it sound anyway.

Also, you can selectively disable hal automounting on certain devices.
For example I do not want it to automount CDROM but I do want it to
automount my USB memory stick.

Of course just getting rid of it completely does the job, too. :)

Paul



Re: [gentoo-user] cnn.com flash videos crash firefox

2009-02-04 Thread Enrico Weigelt
* Grant emailgr...@gmail.com wrote:

 What could there be that wasn't already exposed during a very long
 election campaign?

A log. Everything that's censored in the mass media.


cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-



Re: [gentoo-user] Where has vmware-config.pl gone?

2009-02-04 Thread Iain Buchanan
On Wed, 2009-02-04 at 15:58 -0800, Mark Knecht wrote:
 updatedb and then slocate?

forgot to mention - tried that.

also tried:
$ find /opt/vmware/ -name vmware-config
/opt/vmware/workstation/lib/vmware-vix/setup/vmware-config
/opt/vmware/workstation/lib/vmware/setup/vmware-config

neither seems right.

 I'm running the server, not the workstation. For me the path is
 
 /opt/vmware/server/bin/vmware-config.pl

not so when I swap server for workstation...

thanks,

-- 
Iain Buchanan iaindb at netspace dot net dot au

Anthony's Law of the Workshop:
Any tool when dropped, will roll into the least accessible
corner of the workshop.

Corollary:
On the way to the corner, any dropped tool will first strike
your toes.




  1   2   >