[gentoo-user] Re: Idle Process Scheduling

2009-06-14 Thread Jason Lynch
On Sat, 13 Jun 2009 23:39:52 +0200, Sascha Hlusiak wrote:
 How do you know how many processes are running? What does 'top' say
 about CPU usage and load? Maybe dnetc has two threads, which can each
 occupy a core, so you have still 4 threads that are running, in 3
 processes. You still should get a load of 5 or higher.
 You don't have a lot of IO load, do you?

Technically, in the scenario I described, I only have two processes, as 
dnetc is running with four threads. To simplify the situation, I created 
a simple Python script that does nothing other than loop indefinitely. I 
then start four separate nice 19 copies of it in four separate terminals. 
At this point, top reports that each CPU is almost entirely executing 
niced code. Load average is a little bit above 4, as expected.

At this point, I leave these four copies running, and execute a fifth 
copy without nicing it, so it ends up with a nice value of 0. At this 
point, cpu0 is executing almost 100% user. cpu2 and cpu3 are executing 
almost 100% nice. Finally, cpu1 is almost 100% idle. (The actual CPU 
numbering seems to shift around every so often.)

Thus, I have five processes, four at nice 19, one at nice 0, a load 
average of just over 5, but only 3 out of the 4 cores are actually doing 
anything. 




Re: [gentoo-user] Re: Idle Process Scheduling

2009-06-14 Thread Mike Kazantsev
On Sun, 14 Jun 2009 06:07:16 + (UTC)
Jason Lynch ja...@calindora.com wrote:

 Thus, I have five processes, four at nice 19, one at nice 0, a load 
 average of just over 5, but only 3 out of the 4 cores are actually doing 
 anything. 

That's an interesting observation with quite a trivial scenario.

So I thought to check it out and ran 8 niced copies while True: pass
script on 8-core machine, atop showed 799-800% load, 100% for each core.
Ninth, non-niced process indeed drops the load to 700-710%, with one
core absolutely free.

Then, I've tried to remove nice form the equation and load held at 800%
with 8, 9, 10 and more processes. Nice-only processes behave similary,
loading all eight cores.

So I guess the problem (or feature?) is related to nice / non-nice
processes' scheduling and exists at least in 2.6.29 kernel.
Gotta google it a bit later, bet someone on lkml should've noticed it.

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


Re: [gentoo-user] inkscape won't start

2009-06-14 Thread Ward Poelmans
On Sun, Jun 14, 2009 at 01:17, Michael P.
Souliermsoul...@digitaltorque.ca wrote:
 Wow. How'd I get in this state?

Try unmerging app-text/poppler*. It's being replaced by dev-libs/poppler*

Ward



Re: [gentoo-user] Re: Considering launching into Gentoo

2009-06-14 Thread bn
walt ha scritto:

 Heh.  I laughed out loud when I read this link about dselect, especially
 the quote from Andrew Morton who captured my sentiments exactly:
 
 http://en.wikipedia.org/wiki/Dselect

Oh well but it's kinda obvious that dselect is HELL and no one uses it
anymore I think. I thought you were using something like aptitude, which
is a bit clumsy but works well.

But for me synaptics is THE way to do a user-friendly software installer.

 Yes, if gentoo ever disappears (God forbid) I would probably go back to
 Ubuntu because the Synaptics front end isn't too confusing.  But I'm
 still annoyed by the idea that a binary package can be only 'partially
 installed', whatever that means.  And why does a binary package need to
 be configured, whatever that means?

Good questions. As for the first, I guess it means apt-get finds a
conflict or something wrong happens during installing (Tried to google
but didn't find anything). As for the configuring, well, I guess it's
something like writing default configuration files, or when you have to
do dispatch-conf here.


 After I dropped dselect like a hot potato I used apt-get from the command
 line routinely.  I recall that there were often conflicts between the newly
 downloaded packages and the old installed ones, leaving the machine in an
 undefined state for me to sort out however I could.

Yes this is bad, but probably is more due to bad packaging than to the
packaging system itself (On Gentoo you have other troubles like having
to revdep-rebuild your system etc., so to each its own)

 Perhaps Debian has matured a bit since then -- I certainly hope so!

I can say that using Kubuntu at work was mostly a piece of cake. It is a
different system from Gentoo with different goals, of course.

m.



[gentoo-user] Basic queries regarding installation from an outsider looking in

2009-06-14 Thread AG

Hi all

Thanks for the responses to my earlier query regarding co-location of 
Debian and Gentoo on the same HDD.


I still have a few questions regarding an installation before I take the 
plunge:


(1)  Looking through the background docs, it occurs to me that if I 
wanted to install Gentoo on my system, I would need access to a second 
machine that is running all of the on-line docs that guide one through 
the installation process.  Is this correct?  If not, how does one refer 
to the (seemingly quite comprehensive) guidelines whilst in the middle 
of an installation?


(2)  When Gentoo installs its libraries, does this duplicate the 
libraries already on my machine?  For instance - if I have OOo and KDE 
and Xfce4 loaded as part of my Debian Squeeze system, will Gentoo also 
install its own version of OOo, KDE and Xfce4 alongside the Deb files?  
I was thinking that this would have a number of implications in terms of 
space and (potentially) in how the drive is partitioned for the Gentoo 
installation ... unless I'm missing the point?


(3)  What differences would I likely experience between running my 
Debian installation and the Gentoo installation?  After all, up to a 
certain point GNU/Linux is GNU/Linux, and if I configured all the bells 
and whistles the same way as I have currently got them set up (i.e. 
preferred WM, desktop settings, applications, email and Net preferences, 
etc.), I'm not sure there would be any ostensible distinction between 
the two.  Hence, my question refers really to the more subtle 
differences between the two systems which one only picks up on after a 
while of using it.  For example, the last time I used Mandriva (when it 
was still called Mandrake), it was chunky and locked down, a FOSS 
version of Windows really, but the same applications were in use as were 
on my ol' trusty workhorse Slackware 8.1 through 10.1.  It was just in 
the latter that nothing would happen in Slack without my having been 
involved directly or indirectly in making it happen.  I appreciate that 
many distros tend to not have the bare bones approach that Slack does, 
but this is really just to try to illustrate what I am getting at: the 
subtleties experienced by a user of the system.


Any installation commitment will have to wait for a couple of weeks yet 
though: I'm in the process of completing my MSc thesis and need to keep 
a stable environment for the time being, so will look at taking this on 
in a few weeks.  This is thus background research - a bit of a 
reconnaissance mission, so to speak.  Any thoughts/ shared experiences 
would be welcome ... unless there is another, more appropriate forum for 
these kinds of experiences to be shared/ discussed.


Many thanks all.

Best wishes

AG



Re: [gentoo-user] Installing python packages for different versions

2009-06-14 Thread Khanh Nguyen
Hi Florian.

** (Sat, Jun 13, 2009 at 06:44:27PM +0200) Florian Philipp wrote:
 Hi!
 
 This is actually a follow-up for my thread Trouble installing Plone.
 
 Following scenario: I have packages which run on python-2.4 and other
 packages which work with 2.5. Zope is a prominent example of the 2.4 gang.
 
 The problem: When I emerge a python package, for example
 dev-python/imaging, it is only installed in the
 /usr/lib/python-2.*/site-packages directory of the python version which
 is currently enabled by eselect.
 
 Naturally, this is the most recent version: 2.5. However, as soon as a
 python-2.4 package depends on one of these other packages, it just
 doesn't work because it expects them in /usr/lib/python-2.4/site-packages.
 
 How am I supposed to work around this?

With regards to Zope and Plone, use python2.5 but have python2.4 installed
and use buildout[1] to fetch Zope/Plone.

Zope needs python2.4 with PIL. A quick fix, is to either symlink or
copy /usr/lib/python-2.5/site-packages/PIL* to 
/usr/lib/python-2.4/site-packages/

You also need dev-libs/libxml2 (with python) and symlink/copy to
/usr/lib/python-2.4/site-packages/{libxml2*,drv_libxml2}  

When Python dependencies are in place, you can use buildout to fetch Zope/Plone
For this you need dev-python/setuptools.


PS! When following the guide[1], remember to bootstrap and buildout with 
python2.4.
eg: python2.4 bootstrap.py  python2.4 ./bin/buildout

PSS! If you use sudo and have a restrictive umask for your user, you need to 
lower
it to eg 022 before creating the buildout enviroment.

 Regards,
 
 Florian Philipp
 

Good luck :)

[1] http://plone.org/documentation/tutorial/buildout
-- 
Khanh Nguyen



Re: [gentoo-user] Basic queries regarding installation from an outsider looking in

2009-06-14 Thread Neil Bothwick
On Sun, 14 Jun 2009 12:02:50 +0100, AG wrote:

 (1)  Looking through the background docs, it occurs to me that if I 
 wanted to install Gentoo on my system, I would need access to a second 
 machine that is running all of the on-line docs that guide one through 
 the installation process.  Is this correct?  If not, how does one refer 
 to the (seemingly quite comprehensive) guidelines whilst in the middle 
 of an installation?

Look at the alternate install docs. Although these relate to using a live
CD like Knoppix, you can also use an already installed system for this.
So you can install Gentoo from a chroot in your existing Debian system
(you will may a live CD to repartition). That way you can not only read
the docs, you can read your email, browse the web or play games while the
installation proceeds.

 (2)  When Gentoo installs its libraries, does this duplicate the 
 libraries already on my machine?  For instance - if I have OOo and KDE 
 and Xfce4 loaded as part of my Debian Squeeze system, will Gentoo also 
 install its own version of OOo, KDE and Xfce4 alongside the Deb files?  
 I was thinking that this would have a number of implications in terms
 of space and (potentially) in how the drive is partitioned for the
 Gentoo installation ... unless I'm missing the point?

Your Gentoo and Debian systems would, and should, be totally separate,
apart from shared user data.

 (3)  What differences would I likely experience between running my 
 Debian installation and the Gentoo installation?  After all, up to a 
 certain point GNU/Linux is GNU/Linux, and if I configured all the bells 
 and whistles the same way as I have currently got them set up (i.e. 
 preferred WM, desktop settings, applications, email and Net
 preferences, etc.), I'm not sure there would be any ostensible
 distinction between the two.

From a user perspective, you are right, Linux is Linux and different
distros tend to be different ways of arriving at a similar point. The
main difference is in the system administration.

 Any installation commitment will have to wait for a couple of weeks yet 
 though: I'm in the process of completing my MSc thesis and need to keep 
 a stable environment for the time being, so will look at taking this on 
 in a few weeks.  This is thus background research - a bit of a 
 reconnaissance mission, so to speak.  Any thoughts/ shared experiences 
 would be welcome ... unless there is another, more appropriate forum
 for these kinds of experiences to be shared/ discussed.

Installing from within your existing system means you can fit the Gentoo
installation process in around your other computer usage.


-- 
Neil Bothwick

WinErr 018: Unrecoverable error - System has been destroyed. Buy a new
one. Old Windows licence is not valid anymore.


signature.asc
Description: PGP signature


Re: [gentoo-user] KDE menu missing: not solved !

2009-06-14 Thread Tal2baro

I also had a problem with the KDE menu missing after the upgrade to 3.5.10
I've investigated starting from the message form kbuildsycoca and found a
solution to get the KDE menu to be build. I found that in ~/.config/menus/
nothing was there as expected by kbuildsyscoca
So I did:

Copy /usr/kde/3.5/etc/xdg/menus/ content to ~/.config/menus/
Run from a terminal : kbuildsycoca --noincremental

I'm not sure it's the real problem but at least it fixed the problem even
after a reboot.
-- 
View this message in context: 
http://www.nabble.com/KDE-menu-missing-tp23923988p24020642.html
Sent from the gentoo-user mailing list archive at Nabble.com.




Re: [gentoo-user] Basic queries regarding installation from an outsider looking in

2009-06-14 Thread Alan McKinnon
On Sunday 14 June 2009 13:02:50 AG wrote:
 Hi all

 Thanks for the responses to my earlier query regarding co-location of
 Debian and Gentoo on the same HDD.

 I still have a few questions regarding an installation before I take the
 plunge:

 (1)  Looking through the background docs, it occurs to me that if I
 wanted to install Gentoo on my system, I would need access to a second
 machine that is running all of the on-line docs that guide one through
 the installation process.  Is this correct?  If not, how does one refer
 to the (seemingly quite comprehensive) guidelines whilst in the middle
 of an installation?

With links or link2 or lynx - it's on the stage 3.

Get network up and running, view docs in text mode

 (2)  When Gentoo installs its libraries, does this duplicate the
 libraries already on my machine?  For instance - if I have OOo and KDE
 and Xfce4 loaded as part of my Debian Squeeze system, will Gentoo also
 install its own version of OOo, KDE and Xfce4 alongside the Deb files?
 I was thinking that this would have a number of implications in terms of
 space and (potentially) in how the drive is partitioned for the Gentoo
 installation ... unless I'm missing the point?

Yes. You have two complete operating systems, and they share very little, if 
anything. Don't try and be tempted to share binaries - that way does madness 
lie.

 (3)  What differences would I likely experience between running my
 Debian installation and the Gentoo installation?

That's not a question that anyone except you can answer - it's like asking me 
what different experience will you have between your ex-wife and current 
girlfriend. I have no idea, nor any way to find out.

They will be different, that much is true. Gentoo will work the way you set it 
up, I can't even warn you about sudo instead of su a la Ubuntu as Gentoo let's 
you do it either way. If you use Gnome, you will get Gnome's default theme (a 
blue one?) instead of say Ubuntu's Human theme. Changing that is a simple 
emerge and a few mouse clicks.

What you will do is spend an insane amount of time trying to figure out what a 
certain USE flag actually does an if you want it. Debian doesn't give you that 
choice.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Basic queries regarding installation from an outsider looking in

2009-06-14 Thread AG

Alan McKinnon wrote:

On Sunday 14 June 2009 13:02:50 AG wrote:
  

Hi all

Thanks for the responses to my earlier query regarding co-location of
Debian and Gentoo on the same HDD.

I still have a few questions regarding an installation before I take the
plunge:

(1)  Looking through the background docs, it occurs to me that if I
wanted to install Gentoo on my system, I would need access to a second
machine that is running all of the on-line docs that guide one through
the installation process.  Is this correct?  If not, how does one refer
to the (seemingly quite comprehensive) guidelines whilst in the middle
of an installation?



With links or link2 or lynx - it's on the stage 3.

Get network up and running, view docs in text mode

  
It looks like an installation in a chroot space on my current machine 
will be the way I'll go on this one.  If I can find the parts, I might 
even go so far as patching together an older box and dedicating it to 
the great take-on Gentoo project!  In which case, this would be an 
interesting route to pursue. But, for now, I'm likely to go the chroot way.

(2)  When Gentoo installs its libraries, does this duplicate the
libraries already on my machine?  For instance - if I have OOo and KDE
and Xfce4 loaded as part of my Debian Squeeze system, will Gentoo also
install its own version of OOo, KDE and Xfce4 alongside the Deb files?
I was thinking that this would have a number of implications in terms of
space and (potentially) in how the drive is partitioned for the Gentoo
installation ... unless I'm missing the point?



Yes. You have two complete operating systems, and they share very little, if 
anything. Don't try and be tempted to share binaries - that way does madness 
lie.


  
Thanks for the heads' up!  I'm beginning to get a clearer picture of how 
this would actually work now. 


(3)  What differences would I likely experience between running my
Debian installation and the Gentoo installation?



That's not a question that anyone except you can answer - it's like asking me 
what different experience will you have between your ex-wife and current 
girlfriend. I have no idea, nor any way to find out.


  
Interesting analogy, but your point is taken.  It was a bit of an unfair 
question really. 
They will be different, that much is true. Gentoo will work the way you set it 
up, I can't even warn you about sudo instead of su a la Ubuntu as Gentoo let's 
you do it either way. If you use Gnome, you will get Gnome's default theme (a 
blue one?) instead of say Ubuntu's Human theme. Changing that is a simple 
emerge and a few mouse clicks.
  
I don't know *buntu.  I'm on Squeeze (testing) and am having a good time 
with it.  After Slackware's rock-climbing experience of system 
maintenance, I feel quite spoilt having a tool like apt at my 
fingertips.  Debian does have some interesting policy implementations 
with renaming Firefox, etc., but these are minor and aside from my 
inclination to call apps by their given name there is no inconvenience. 
What you will do is spend an insane amount of time trying to figure out what a 
certain USE flag actually does an if you want it. Debian doesn't give you that 
choice.


  

Is this an example of that infinite adaptability of Gentoo as a metadistro?

Thanks.



Re: [gentoo-user] Considering launching into Gentoo

2009-06-14 Thread Peter Humphrey
On Saturday 13 June 2009 14:02:26 AG wrote:

 How compatible are Gentoo and Debian in terms of using a shared /home
 directory - I am concerned about uid for the directory for instance
 which, if I changed it for Gentoo, may not work for Debian and vice
 versa.

I've run multi-boot systems too, and I shied away from sharing my home 
directory between them - there was too much risk of different versions of, 
say, kmail running in the two systems and clobbering each other's data. So 
I created a ~/common/ partition for things I wanted to be always available.

I still operate that way, even though I haven't made much use of any other 
distros in the last year or two.

-- 
Rgds
Peter



Re: [gentoo-user] Basic queries regarding installation from an outsider looking in

2009-06-14 Thread Alan McKinnon
On Sunday 14 June 2009 15:24:24 AG wrote:
 What you will do is spend an insane amount of time trying to figure out
 what a certain USE flag actually does an if you want it. Debian doesn't
 give you that choice.


  Is this an example of that infinite adaptability of Gentoo as a
 metadistro?

Yes. In fact, this is Gentoo's major strength - the ability to have a 
customized installation that does exactly what you want with no additional 
junk, an do it in an automated sane fashion that can be maintained.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Installing python packages for different versions

2009-06-14 Thread Florian Philipp
Khanh Nguyen schrieb:
 Hi Florian.
 
 ** (Sat, Jun 13, 2009 at 06:44:27PM +0200) Florian Philipp wrote:
 Hi!

 This is actually a follow-up for my thread Trouble installing Plone.

 Following scenario: I have packages which run on python-2.4 and other
 packages which work with 2.5. Zope is a prominent example of the 2.4 gang.

 The problem: When I emerge a python package, for example
 dev-python/imaging, it is only installed in the
 /usr/lib/python-2.*/site-packages directory of the python version which
 is currently enabled by eselect.

 Naturally, this is the most recent version: 2.5. However, as soon as a
 python-2.4 package depends on one of these other packages, it just
 doesn't work because it expects them in /usr/lib/python-2.4/site-packages.

 How am I supposed to work around this?
 
 With regards to Zope and Plone, use python2.5 but have python2.4 installed
 and use buildout[1] to fetch Zope/Plone.
 
 Zope needs python2.4 with PIL. A quick fix, is to either symlink or
 copy /usr/lib/python-2.5/site-packages/PIL* to 
 /usr/lib/python-2.4/site-packages/
 
 You also need dev-libs/libxml2 (with python) and symlink/copy to
 /usr/lib/python-2.4/site-packages/{libxml2*,drv_libxml2}  

Thanks for the hint! Interestingly, zope works without such a
symlink/copy at the moment. Maybe it isn't needed for the tasks I've
done so far?

 
 When Python dependencies are in place, you can use buildout to fetch 
 Zope/Plone
 For this you need dev-python/setuptools.
 
 
 PS! When following the guide[1], remember to bootstrap and buildout with 
 python2.4.
 eg: python2.4 bootstrap.py  python2.4 ./bin/buildout
 
 PSS! If you use sudo and have a restrictive umask for your user, you need to 
 lower
 it to eg 022 before creating the buildout enviroment.
 

Thanks for your answer but I have to say, this looks like a really
cumbersome workaround. Wouldn't it be better to make portage and
python-updater aware of this problem?

The update from python-2.4 to 2.5 was a minor one with only a few
incompatible packages. What shall happen when we stabilize 3.0? We'll
run into orders of magnitude more problems than we did till now if we
keep it as it is!

Do you think I should open a bug for this?



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] inkscape won't start

2009-06-14 Thread Michael P. Soulier
On 14/06/09 Ward Poelmans said:

 Try unmerging app-text/poppler*. It's being replaced by dev-libs/poppler*

Ok, after completely rebuilding inkscape, it works now. With warnings mind you

(inkscape:25661): Gtk-WARNING **: GtkSpinButton: setting an adjustment with
non-zero page size is deprecated

(inkscape:25661): Gtk-WARNING **: GtkSpinButton: setting an adjustment with
non-zero page size is deprecated

(inkscape:25661): Gtk-WARNING **: GtkSpinButton: setting an adjustment with
non-zero page size is deprecated

(inkscape:25661): Gtk-WARNING **: GtkSpinButton: setting an adjustment with
non-zero page size is deprecated

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


pgp83NJFgJuQY.pgp
Description: PGP signature


Re: [gentoo-user] Installing python packages for different versions

2009-06-14 Thread Mike Kazantsev
On Sun, 14 Jun 2009 18:03:58 +0200
Florian Philipp li...@f_philipp.fastmail.net wrote:

...
 
 Thanks for your answer but I have to say, this looks like a really
 cumbersome workaround. Wouldn't it be better to make portage and
 python-updater aware of this problem?
 
 The update from python-2.4 to 2.5 was a minor one with only a few
 incompatible packages. What shall happen when we stabilize 3.0? We'll
 run into orders of magnitude more problems than we did till now if we
 keep it as it is!
 
 Do you think I should open a bug for this?

I guess one way would be to create debian-like split between
packages for one python version and another, so we'll have
pyxml-0.8.4-py2.4 and pyxml-0.8.4-py2.5 and zope can request former
as a dependency, which seem to be quite an ugly solution.

Installing every package for each compatible python on system if some
use-flag like multislot is enabled (it might also be impossible for
some pkgs, which also sit in share/bin/lib) look better and somewhat
easier - just a eselech switch flip and +x (un)installs.

I wonder, what do you have in mind?

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: How to veiw absolute latest on partage without syncing

2009-06-14 Thread Sebastian Günther
* Harry Putnam (rea...@newsguy.com) [12.06.09 18:15]:
 
 I can sync fine... just didn't want to do an update world just now as
 my sources are quite new, but still didn't want to get sources too far
 ahead of installed packages.
 

I think, you did not understand, what a sync does. It updates mostly 
ebuilds and not ever any source package.

And ebuilds are just recipes to build software from sources, so this has 
no impact on the software installed, as long as you don't want to 
rebuild a specific version, which is no longer in the tree. But even for 
this case there is the attic.

Gentoo's normal behaviour is frequent change. May you should consider 
the buildpkg option or quickpkg to have binary packages for all your 
installed software at hand, for quick recovery.

But syncing the portage tree at least weekly, most likely daily, is that 
what most Gentoo users do. So there is absolute no problem, especially 
if you are using the stable tree...

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgpKR8JwgApQN.pgp
Description: PGP signature


Re: [gentoo-user] About procmail and getline

2009-06-14 Thread Sebastian Günther
* Harry Putnam (rea...@newsguy.com) [12.06.09 16:41]:
 
 There is a patch offered but still one would think using standard
 emerge on a package that is outside the `~' daredevil stage and is not
 masked, it should `just work' [tm]. 
 


When I read the bug rightfully, procmail did not build with glibc 
2.10.1, which is *not* stable yet, especially because of a lot packages 
which don't build cleanly with it at the moment.

So if you'd use the stable glibc it would build fine. There is no need 
to mark procmail in any way. ~x86 should be able to apply patches on 
their own, or wait until the patch arrives in tree.

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgpDj4dElppuv.pgp
Description: PGP signature


Re: [gentoo-user] Basic queries regarding installation from an outsider looking in

2009-06-14 Thread Neil Bothwick
On Sun, 14 Jun 2009 14:06:04 +0100, AG wrote:

  Look at the alternate install docs. Although these relate to using a
  live CD like Knoppix, you can also use an already installed system
  for this. So you can install Gentoo from a chroot in your existing
  Debian system (you will may a live CD to repartition). That way you
  can not only read the docs, you can read your email, browse the web
  or play games while the installation proceeds.

 Hmm ... it looks like I need to beef up my chroot know-how.  My /home 
 partition is large enough to partition a dedicated area without
 problems I'd imagine.  That sounds a reasonably painless way forward,
 but not for now.

I think you nay mis-understand the standard install process. it's done in
a chroot anyway. The only difference is that the system from which you
enter the chroot is your existing distro and not a live CD. That's
exactly how I installed Gentoo on this computer.


-- 
Neil Bothwick

There are only two tragedies in life: one is not getting what one wants;
and the other is getting it. - Oscar Wilde (1854-1900)


signature.asc
Description: PGP signature


[gentoo-user] Re: About procmail and getline

2009-06-14 Thread Harry Putnam
Sebastian Günther sam...@guenther-roetgen.de writes:

 * Harry Putnam (rea...@newsguy.com) [12.06.09 16:41]:
 
 There is a patch offered but still one would think using standard
 emerge on a package that is outside the `~' daredevil stage and is not
 masked, it should `just work' [tm]. 
 


 When I read the bug rightfully, procmail did not build with glibc 
 2.10.1, which is *not* stable yet, especially because of a lot packages 
 which don't build cleanly with it at the moment.

 So if you'd use the stable glibc it would build fine. There is no need 
 to mark procmail in any way. ~x86 should be able to apply patches on 
 their own, or wait until the patch arrives in tree.

Having run ~x86 since starting to build this install... how big of a
problem would it be to return to stable?




[gentoo-user] Re: About procmail and getline

2009-06-14 Thread Harry Putnam
Sebastian Günther sam...@guenther-roetgen.de writes:

 * Harry Putnam (rea...@newsguy.com) [12.06.09 16:41]:
 
 There is a patch offered but still one would think using standard
 emerge on a package that is outside the `~' daredevil stage and is not
 masked, it should `just work' [tm]. 
 


 When I read the bug rightfully, procmail did not build with glibc 
 2.10.1, which is *not* stable yet, especially because of a lot packages 
 which don't build cleanly with it at the moment.

 So if you'd use the stable glibc it would build fine. There is no need 
 to mark procmail in any way. ~x86 should be able to apply patches on 
 their own, or wait until the patch arrives in tree.

Probably should use only stable but never have in over 5 yrs.
Probably much to the dismay of this list.

But even then, when a package is known in advance NOT to install with
current ~x86 tools, seems there would be some way to let user know
that.

Since you've said it is because of glibc... and this is a known bug
seems there might be a way to flag or mark procmail as incompatible
with it.

Maybe that would be way to hard to keep up with?




Re: [gentoo-user] Installing python packages for different versions

2009-06-14 Thread Florian Philipp
Mike Kazantsev schrieb:
 On Sun, 14 Jun 2009 18:03:58 +0200
 Florian Philipp li...@f_philipp.fastmail.net wrote:
 
 ...
 Thanks for your answer but I have to say, this looks like a really
 cumbersome workaround. Wouldn't it be better to make portage and
 python-updater aware of this problem?

 The update from python-2.4 to 2.5 was a minor one with only a few
 incompatible packages. What shall happen when we stabilize 3.0? We'll
 run into orders of magnitude more problems than we did till now if we
 keep it as it is!

 Do you think I should open a bug for this?
 
[...]
 
 Installing every package for each compatible python on system if some
 use-flag like multislot is enabled (it might also be impossible for
 some pkgs, which also sit in share/bin/lib) look better and somewhat
 easier - just a eselech switch flip and +x (un)installs.
 
 I wonder, what do you have in mind?
 

I don't know. I'm not a python dev. Therefore I might not understand
every aspect of the problem. I thought about something like this:

eselect maintains a list of all enabled python slots and a primary one,
not just the primary one like now. If nothing else is specified, every
program uses this primary python version (just like now). Portage
installs or symlinks all files which end up in the site-packages
directory in the respective directories for every python slot enabled by
eselect.

python-updater could be augmented to do the necessary rebuilds when a
new version is added or an old one removed from the list.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: About procmail and getline

2009-06-14 Thread Sebastian Günther
* Harry Putnam (rea...@newsguy.com) [14.06.09 19:46]:
 Sebastian Günther sam...@guenther-roetgen.de writes:
 
  * Harry Putnam (rea...@newsguy.com) [12.06.09 16:41]:
  
  There is a patch offered but still one would think using standard
  emerge on a package that is outside the `~' daredevil stage and is not
  masked, it should `just work' [tm]. 
  
 
 
  When I read the bug rightfully, procmail did not build with glibc 
  2.10.1, which is *not* stable yet, especially because of a lot packages 
  which don't build cleanly with it at the moment.
 
  So if you'd use the stable glibc it would build fine. There is no need 
  to mark procmail in any way. ~x86 should be able to apply patches on 
  their own, or wait until the patch arrives in tree.
 
 Probably should use only stable but never have in over 5 yrs.
 Probably much to the dismay of this list.
 
 But even then, when a package is known in advance NOT to install with
 current ~x86 tools, seems there would be some way to let user know
 that.
 

First of all the bug is fixed, and a working patch was there 1 day after 
the opening. I call this a fast response...

For ~x86 this is a working solution, and if you use ~x86: b.g.o *is* the 
users information system and applying patches should be no problem.

 Since you've said it is because of glibc... and this is a known bug
 seems there might be a way to flag or mark procmail as incompatible
 with it.
 

The problem with glibc is, that you only find issues when you recompile 
your whole world, which is not needed in most cases. And most of the 
errors with glibc-2.10.1 result from wrong castings, which is only a 
compile time issue not a run issue.

And all these problems are upstream, so you can patch for yourself in 
gentoo, but the cleaner solution is to wait for upstream to include the 
patch there. And release a new version, when they do too...

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgpiQPOqv2ETB.pgp
Description: PGP signature


[gentoo-user] Web application for contact management...

2009-06-14 Thread Steve
I am looking for a web-application to manage contacts... but I'm not 
looking for just an address book... I guess this isn't especially 
gentoo, but I'd ideally like to run a server on my gentoo box, so I hope 
I can be forgiven for asking here.


Personally, I'm absolutely awful at remembering people's names or 
dates... I'm not so bad at remembering their jobs; where I met them; 
their opinions about cuisine or cars etc. etc.  The snag I find is that 
I tend to forget the details that would be most useful to remember - 
while I remember all the trivia.  I forget when I last spoke to 
occasional acquaintances - and about details that don't mean much to me 
at the time... for example, about spouses or partners if I meet in a 
work environment.


What I'm looking for is some software to help me to collate details 
about my occasional contacts... the idea being that if I expect to meet 
someone I've not met for a while, I've an aide memoir about whom 
introduced me - and the last time we spoke.


Does anyone know of any application to do this?  An open-source 
web-application would be perfect as it would allow me to run a private 
server - hence eliminating potential security and privacy concerns - 
while making the information available independent of the kit I have on 
my desk.  Key features would include some sort of standard form to help 
jog my memory to enter details I might forget - while being flexible 
enough not to try and pigeon-hole the people I meet.


Any suggestions?  Any good experiences?  I guess I could even pay for an 
application like this - if it was good... though not a lot, of course, 
since this would be a personal purchase.


Ideas?




Re: [gentoo-user] Web application for contact management...

2009-06-14 Thread Mick
On Sunday 14 June 2009, Steve wrote:
 I am looking for a web-application to manage contacts... but I'm not
 looking for just an address book... I guess this isn't especially
 gentoo, but I'd ideally like to run a server on my gentoo box, so I hope
 I can be forgiven for asking here.

 Personally, I'm absolutely awful at remembering people's names or
 dates... I'm not so bad at remembering their jobs; where I met them;
 their opinions about cuisine or cars etc. etc.  The snag I find is that
 I tend to forget the details that would be most useful to remember -
 while I remember all the trivia.  I forget when I last spoke to
 occasional acquaintances - and about details that don't mean much to me
 at the time... for example, about spouses or partners if I meet in a
 work environment.

 What I'm looking for is some software to help me to collate details
 about my occasional contacts... the idea being that if I expect to meet
 someone I've not met for a while, I've an aide memoir about whom
 introduced me - and the last time we spoke.

 Does anyone know of any application to do this?  An open-source
 web-application would be perfect as it would allow me to run a private
 server - hence eliminating potential security and privacy concerns -
 while making the information available independent of the kit I have on
 my desk.  Key features would include some sort of standard form to help
 jog my memory to enter details I might forget - while being flexible
 enough not to try and pigeon-hole the people I meet.

 Any suggestions?  Any good experiences?  I guess I could even pay for an
 application like this - if it was good... though not a lot, of course,
 since this would be a personal purchase.

 Ideas?

Have a look at sugar-crm, or any other CRM application.  Of course a corporate 
database to manage customer info may be an overkill, but that's what you're 
describing, if only at a personal rather than corporate level.

If running mysql, or postgresql is too much, check out the address book 
features of most mail clients - they usually have space for notes.  You can 
write in there all trivia and non-trivia for each contact.  I am using kmail 
and its address book also has custom fields that you can create as you need 
them.  An address book search will pick up words from within any notes and 
custom fields too.  That should hopefully do what you need.
-- 
Regards,
Mick


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


Re: [gentoo-user] Web application for contact management...

2009-06-14 Thread Joshua Murphy
On Sun, Jun 14, 2009 at 4:30 PM, Stevegentoo_...@shic.co.uk wrote:
 I am looking for a web-application to manage contacts... but I'm not looking
 for just an address book... I guess this isn't especially gentoo, but I'd
 ideally like to run a server on my gentoo box, so I hope I can be forgiven
 for asking here.

 Personally, I'm absolutely awful at remembering people's names or dates...
 I'm not so bad at remembering their jobs; where I met them; their opinions
 about cuisine or cars etc. etc.  The snag I find is that I tend to forget
 the details that would be most useful to remember - while I remember all the
 trivia.  I forget when I last spoke to occasional acquaintances - and about
 details that don't mean much to me at the time... for example, about spouses
 or partners if I meet in a work environment.

 What I'm looking for is some software to help me to collate details about my
 occasional contacts... the idea being that if I expect to meet someone I've
 not met for a while, I've an aide memoir about whom introduced me - and the
 last time we spoke.

 Does anyone know of any application to do this?  An open-source
 web-application would be perfect as it would allow me to run a private
 server - hence eliminating potential security and privacy concerns - while
 making the information available independent of the kit I have on my desk.
  Key features would include some sort of standard form to help jog my memory
 to enter details I might forget - while being flexible enough not to try and
 pigeon-hole the people I meet.

 Any suggestions?  Any good experiences?  I guess I could even pay for an
 application like this - if it was good... though not a lot, of course, since
 this would be a personal purchase.

 Ideas?

Well, most tools that handle that functionality I know of are full
fledged CRMs, which are overkill for what you're after. You might take
a look at Simple Customer though, PHP  MySQL, and seems to take a
less 'enterprise' centric approach.

http://www.simplecustomer.com/

No idea if it's any good, though.

-- 
Poison [BLX]
Joshua M. Murphy



Re: [gentoo-user] Installing python packages for different versions

2009-06-14 Thread Mike Kazantsev
On Sun, 14 Jun 2009 19:53:38 +0200
Florian Philipp li...@f_philipp.fastmail.net wrote:

 eselect maintains a list of all enabled python slots and a primary one,
 not just the primary one like now. If nothing else is specified, every
 program uses this primary python version (just like now). Portage
 installs or symlinks all files which end up in the site-packages
 directory in the respective directories for every python slot enabled by
 eselect.

Many packages use C libs, linked against specific version of python.so
library, so running it with another python version than it was compiled
with will yield unpredictable results - it might work for 2.4-2.5 but
I'm pretty sure it won't for 2.6-3.1.

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


[gentoo-user] Re: About procmail and getline

2009-06-14 Thread Harry Putnam
Sebastian Günther sam...@guenther-roetgen.de writes:

 First of all the bug is fixed, and a working patch was there 1 day after 
 the opening. I call this a fast response...
 
 For ~x86 this is a working solution, and if you use ~x86: b.g.o *is* the 
 users information system and applying patches should be no problem.

Point taken.
 
 The problem with glibc is, that you only find issues when you recompile 
 your whole world, which is not needed in most cases. And most of the 
 errors with glibc-2.10.1 result from wrong castings, which is only a 
 compile time issue not a run issue.

 And all these problems are upstream, so you can patch for yourself in 
 gentoo, but the cleaner solution is to wait for upstream to include the 
 patch there. And release a new version, when they do too...

Thanks for your patience and I learned in an earlier thread one very easy
way to get things working... 

I guess you'd still call it a patch... but not requiring setting up
your own local portage and producing a patched version.

ebuild /usr/portage/section/pkg/pkg.ebuild configure

  Do necessary manipulations

ebuild /usr/portage/section/pkg/pkg.ebuild merge

I realize in some cases that would be a recurring chore but I kind of
doubt it this time.  procmail will not likely need updating for some
time and then like you've suggested portage will have it fixed.




[gentoo-user] Whey two dangling symlinks /etc/init.d/ depscan.sh runscript.sh

2009-06-14 Thread Harry Putnam
This is a very new install but somehow I have two dangling symlinks in
/etc/init.d.

  depscan.sh and runscript.sh

Anyone know where these come from or if they are signs of a problem?




[gentoo-user] lvm problem(s)

2009-06-14 Thread Maxim Wexler
Hi group,

My fresh install of 2.6.29-r5 goes kablooey just after 'Loading module dm-mod'

Then the boot console reports:

Couldn't find device with uuid 'ldwVeS-gw14-HE42-M3Gw-DILI-Dbjh-2lHroF'

and

Couldn't find all physical volumes for volume group vg.

and

Volume group vg not found

The above repeat several times until: 'Failed to setup the LVM'. Then
off course fsck.ext2 complains it can't find /dev/vg/usr and so on...

My fllter in lvm.conf : filter = [ a|/dev/sd[ab]|, r/.*/] which
corresponds to my Phison SSD and a 8G SD card.

In /etc/fstab the logical volumes are listed like:

/dev/vg/usr   /usr   ext2  noatime  0 2 # etc as per 'Gentoo LVM2 installation'

When I run the reactivate commands given at the end of the above
document all goes well except for:

WARNING: Ignoring duplicate config node: filter (seeking filter)

But /usr /home /tmp /opt are still empty and /var has only lib and
lock below it.

The good news: it boots and lets me log in ;)

Maxim



Re: [gentoo-user] kde 3.5 packages blocking each other

2009-06-14 Thread Francisco Ares
I've found out that there are some packages out of kde-basse that are
pulling 3.5.10 packages while they're still masked ~x86

One is Amarok.  Another, probably, is Ktorrent.

Anyone has seen it or am I the only one not using KDE 4 ;-)  ?

Best regards to all
Francisco

On Sat, Jun 13, 2009 at 5:58 AM, Alan McKinnon alan.mckin...@gmail.comwrote:

 On Saturday 13 June 2009 01:54:45 Francisco Ares wrote:
  Thanks a lot!

 It's not completely obvious from Dirk's post (what he said is completely
 accurate though), but kde-3.5.10 will not receive monolithic ebuilds (dev
 decision). If you want kde-3.5.10, there is only one way to do it -

 Unmerge your existing kde monolithic packages
 Rememerge the new kde split packages

 There's a good migration guide at gentoo.org, called Migrating to KDE
 split
 ebuilds or some such. A quick search will find it for you.




 
  Francisco
 
  On Fri, Jun 12, 2009 at 5:58 PM, Dirk Heinrichs
 dirk.heinri...@online.dewrote:
   Am Freitag 12 Juni 2009 22:45:49 schrieb Francisco Ares:
And how do I tell if an ebuild is monolithic or not?
  
   The monolithic ones install larger parts of KDE, and usually have the
   same names as the original source packages offered at KDE.org.
  
   The split ebuilds, well, split those packages into their individual
   applications, so you have ebuilds for konqueror (which is also part of
   kdenetwork) or kmail (kdepim). In addition, there are the -meta
   ebuilds, which have the same name as the monolitic ones, but with -meta
   appended (kdepim-meta). Those usually install the same applications
 than
   monolithic ebuilds, but as split ebuilds.
  
   So, when you install kde, you get a complete KDE from monolithic
 ebuilds
   and
   when you install kde-meta, you get a complete KDE from split ebuilds.
  
   That's also the reason why they block each other. When you have kdepim
   installed, you already got kmail, so you shouldn't install kmail from
 the
   split ebuild again.
  
   HTH...
  
  Dirk

 --
 alan dot mckinnon at gmail dot com




-- 
If you have an apple and I have an apple and we exchange apples then you
and I will still each have one apple. But if you have an idea and I have one
idea and we exchange these ideas, then each of us will have two ideas. -
George Bernard Shaw


Re: [gentoo-user] KDE menu missing: not solved !

2009-06-14 Thread Philip Webb
090614 Tal2baro wrote:
 I also had a problem with the KDE menu missing after the upgrade to 3.5.10
 I've investigated starting from the message from  kbuildsycoca
  found there was nothing in  ~/.config/menus/  expected by kbuildsyscoca
 So I copied  /usr/kde/3.5/etc/xdg/menus/  content to  ~/.config/menus/
  ran  'kbuildsycoca --noincremental'
 at least it fixed the problem even after a reboot.

Thanks ! -- I did the same:
the Krusader 'open with' has been restored  it survived a reboot !

There mb some obscure bug remaining, but if it works, don't fiddle with it !

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca