Re: [gentoo-user] Libpng warning

2012-09-20 Thread Dale
Fernando Antunes wrote:
 Hi. I've been receiving a linpng warnong on my console saying that
 something like Application build with libpng.1.2.8 running with
 libpng.1.5.4.

 Somebody knows how to identify which application is that ?


Have you ran revdep-rebuild recently?  That should pick up what package
it is and emerge it again using the newer libpng. 

If not, you could try equery d libpng.1.2.8 which I'm not sure will work
but worth a try. 

I'm sure someone else will come along with other ideas too.  As usual,
there could be more than one way to fix this. 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] new machine : Python calculator

2012-09-20 Thread Philip Webb
120919 Marc Joliet wrote:
 120918 Philip Webb purs...@ca.inter.net wrote:
 With Python running as interpreter, I would get much more capability,
 but I would need to enter the special line to load the math functions :
 is it possible to do it with some capitalised variable in  .bashrc ,
 which might list parameters telling Python3 what to load when it starts ?
 one of the 'man' files seems to refer to something like that, but briefly.
 3.) Put the import line in its own file and put it in the variable
 PYTHONSTARTUP, e.g. export PYTHONSTARTUP=/path/to/my/script.py.
 Python executes it's contents before presenting the prompt,
 so you can put whatever imports you want in that script.

Thanks, that's what I saw in my brief glance at the 'man'.
It works out of the box: the only problem is precision,
which at  16  decimal places is a bit more than I usually need (smile).
I can search out how to limit it to something more useful to me,
but might you have a quick answer ?  Thanks for the above.

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




Re: [gentoo-user] new machine : suddenly Python 3 appears

2012-09-20 Thread Willie WY Wong
On Wed, Sep 19, 2012 at 09:08:52AM +0200, Penguin Lover Marc Joliet squawked:
 2.) The full blown interactive solution: IPython. You can create a session and
 configure which modules you want preloaded via startup scripts. This is
 overkill for what you want, I think, but IPython is a much nicer interactive
 Python interpreter than python itself. For instance, you can reuse previous
 outputs, e.g. Out[2], to get the output from the third command you entered
 (indexing starts at 0). Inputs can be similarly recalled by referencing
 In[i].

Yes, I recommend ipython too. 

 3.) Put the import line in its own file and put it in the variable
 PYTHONSTARTUP, e.g. export PYTHONSTARTUP=/path/to/my/script.py. Python
 executes it's contents before presenting the prompt, so you can put whatever
 imports you want in that script. It's simple, and if the python interpreter is
 enough for you, then I'd go with this.
 
 There are probably more possibilities, but this is what I can think of right
 now.

Unless you want to load the math module every single time you start 
Python, it is perhaps better to create an alias (say, python-calc) 
in bash (or shell of your choice) using the `-i' option of python 
like 
  alias python-calc='python -i loadmath.py' 
or if you only need one single command
  alias python-calc='python -i -c from math import *' 
which will give you an interactive session with the math functions
preloaded. 

Cheers, 

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




[gentoo-user] Recreating a directory structure and indicating a files presence

2012-09-20 Thread Andrew Lowe

Hi all,
	I have the situation where I have a large amount of data, many TB's, 
made up of many, many files. This information has now been archived but 
I've got people who want to be able to see what data does/does not 
exist, filling in gaps where they may exist.


	As this data used to be available/visible in a directory structure, ie 
via a file browser, I thought the easiest way for them to see if 
something existed would be to create a mirror of the directory structure 
and then populate this dir structure with 1 - 5 byte files with the same 
name as the real data files that now reside in the archive. I've seen 
some scripts on the interweb that allow me to create the dir structure, 
but does anyone have any ideas how to do the creation of the marker 
files in the active file system?


	Just buying more hard disks and keeping the data on line also isn't an 
option.


Any thoughts, greatly appreciated,

Andrew



Re: [gentoo-user] Recreating a directory structure and indicating a files presence

2012-09-20 Thread Alan McKinnon
On Thu, 20 Sep 2012 20:33:39 +0800
Andrew Lowe a...@wht.com.au wrote:

 Hi all,
   I have the situation where I have a large amount of data,
 many TB's, made up of many, many files. This information has now been
 archived but I've got people who want to be able to see what data
 does/does not exist, filling in gaps where they may exist.
 
   As this data used to be available/visible in a directory
 structure, ie via a file browser, I thought the easiest way for them
 to see if something existed would be to create a mirror of the
 directory structure and then populate this dir structure with 1 - 5
 byte files with the same name as the real data files that now
 reside in the archive. I've seen some scripts on the interweb that
 allow me to create the dir structure, but does anyone have any ideas
 how to do the creation of the marker files in the active file
 system?
 
   Just buying more hard disks and keeping the data on line also
 isn't an option.
 
   Any thoughts, greatly appreciated,
 
   Andrew
 

I don't understand why you specify 1-5 byte files. Those few bytes will
always be useless. Rather use 0-length files.

On the archive:

find /root/of/dir/structure -type d  dirs.txt
find /root/of/dir/structure -type f  files.txt

Copy those two files to the on-line system:

for I in `cat dirs.txt` ; do mkdir -p $I ; done
for I in `cat files.txt` ; do touch -p $I ; done

Do that in the appropriate top-level directory of course. You can
probably make it more efficient using decent options to xargs, but what
the hell, I'd do it as-is. It's a once off action and finding the xargs
man page will take longer than the mkdirs

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Recreating a directory structure and indicating a files presence

2012-09-20 Thread Neil Bothwick
On Thu, 20 Sep 2012 16:13:08 +0200, Alan McKinnon wrote:

 On the archive:
 
 find /root/of/dir/structure -type d  dirs.txt
 find /root/of/dir/structure -type f  files.txt

This will add '/root/of/dir/structure' to the start of each path. would
it be better to do?

cd /root/of/dir/structure
find -type d  ../dirs.txt
find -type f  ../files.txt


-- 
Neil Bothwick

All generalizations are false.


signature.asc
Description: PGP signature


Re: [gentoo-user] Recreating a directory structure and indicating a files presence

2012-09-20 Thread Michael Mol
On Thu, Sep 20, 2012 at 10:48 AM, Neil Bothwick n...@digimed.co.uk wrote:
 On Thu, 20 Sep 2012 16:13:08 +0200, Alan McKinnon wrote:

 On the archive:

 find /root/of/dir/structure -type d  dirs.txt
 find /root/of/dir/structure -type f  files.txt

 This will add '/root/of/dir/structure' to the start of each path. would
 it be better to do?

 cd /root/of/dir/structure
 find -type d  ../dirs.txt
 find -type f  ../files.txt

I see your path correction, and raise you:
* whitespace-safe folders
* Automatic copy to remote system.
* Automatic new file and folder creation
* Using those pretty xargs parameters.

cd /root/of/dir/structure
find . -type d -print0  ~/dirs.txt
find . -type d -print0  ~/files.txt

scp dirs.txt files.txt remote.system:

ssh remote.system ENDSSH
cd /root/of/new/structure
cat ~/dirs.txt|xargs -0 mkdir -p
cat ~/files.txt|xargs -0 touch
ENDSSH


-- 
:wq



Re: [gentoo-user] Re: Reinstall + switch to KDE

2012-09-20 Thread Daniel Wagener
On Mon, 10 Sep 2012 14:44:33 -0500
Canek Peláez Valdés can...@gmail.com wrote:

 On Mon, Sep 10, 2012 at 2:36 PM, Alan McKinnon alan.mckin...@gmail.com 
 wrote:
  On Mon, 10 Sep 2012 12:53:41 -0400
  Andrey Moshbear andrey@gmail.com wrote:
 
  On Mon, Sep 10, 2012 at 12:43 PM, Nikos Chantziaras
  rea...@gmail.com wrote:
   On 10/09/12 19:12, Samuraiii wrote:
  
   Hello,
   because I broke me PC and I need to reinstall it I'm going ask what
   should I preserve to make install faster:
  
   So what *is* broken?  The hardware?  If you have a new PC, you
   simply need to transfer your Gentoo install to a new hard disk
   using rsync.
 
  He borked his /usr/include due to an improperly-written uninstall rule
  in a Makefile.
 
 
  if emerge -e world runs, it will fix that little oopsie
 
 No, it won't; if enough files from /usr/include are gone/borked, most
 packages will fail compilation. glibc alone has ~450 files under
 /usr/include; and basically everything depends on glibc.

hmm, my approach in that case would be to get /usr from a recent stage3 tarball 
and then running emerge -e world

but maybe there is a reason why nobody came up with that already :-/

-- 




Re: [gentoo-user] Gentoo is the best linux distro

2012-09-20 Thread Daniel Wagener
On Wed, 12 Sep 2012 16:55:37 +0200
Alan McKinnon alan.mckin...@gmail.com wrote:

  lafilefixer --justfixit.

 The last one, lafilefixer --justfixit is especially valuable as it
 gets right of a huge gigantic steaming pile of crap that a) should
 never have been there at all in the first place and b) if it's causing
 the problem is almost impossible to pin down without lots of work. So
 even if b) is not true, you still get the huge benefit of a)

while we are at it…
does it still make sense to run it on a regular basis or can I purge it from my 
maintenace script?e



Re: [gentoo-user] Recreating a directory structure and indicating a files presence

2012-09-20 Thread Pandu Poluan
On Sep 20, 2012 10:04 PM, Michael Mol mike...@gmail.com wrote:

 On Thu, Sep 20, 2012 at 10:48 AM, Neil Bothwick n...@digimed.co.uk
wrote:
  On Thu, 20 Sep 2012 16:13:08 +0200, Alan McKinnon wrote:
 
  On the archive:
 
  find /root/of/dir/structure -type d  dirs.txt
  find /root/of/dir/structure -type f  files.txt
 
  This will add '/root/of/dir/structure' to the start of each path. would
  it be better to do?
 
  cd /root/of/dir/structure
  find -type d  ../dirs.txt
  find -type f  ../files.txt

 I see your path correction, and raise you:
 * whitespace-safe folders
 * Automatic copy to remote system.
 * Automatic new file and folder creation
 * Using those pretty xargs parameters.

 cd /root/of/dir/structure
 find . -type d -print0  ~/dirs.txt
 find . -type d -print0  ~/files.txt

 scp dirs.txt files.txt remote.system:

 ssh remote.system ENDSSH
 cd /root/of/new/structure
 cat ~/dirs.txt|xargs -0 mkdir -p
 cat ~/files.txt|xargs -0 touch
 ENDSSH



Cool... except that your raise is invalid (should've used -type f in the
3rd line)...

;-)

Rgds,


Re: [gentoo-user] Recreating a directory structure and indicating a files presence

2012-09-20 Thread Michael Mol
On Thu, Sep 20, 2012 at 11:54 AM, Pandu Poluan pa...@poluan.info wrote:

 On Sep 20, 2012 10:04 PM, Michael Mol mike...@gmail.com wrote:

 On Thu, Sep 20, 2012 at 10:48 AM, Neil Bothwick n...@digimed.co.uk
 wrote:
  On Thu, 20 Sep 2012 16:13:08 +0200, Alan McKinnon wrote:
 
  On the archive:
 
  find /root/of/dir/structure -type d  dirs.txt
  find /root/of/dir/structure -type f  files.txt
 
  This will add '/root/of/dir/structure' to the start of each path. would
  it be better to do?
 
  cd /root/of/dir/structure
  find -type d  ../dirs.txt
  find -type f  ../files.txt

 I see your path correction, and raise you:
 * whitespace-safe folders
 * Automatic copy to remote system.
 * Automatic new file and folder creation
 * Using those pretty xargs parameters.

 cd /root/of/dir/structure
 find . -type d -print0  ~/dirs.txt
 find . -type d -print0  ~/files.txt

 scp dirs.txt files.txt remote.system:

 ssh remote.system ENDSSH
 cd /root/of/new/structure
 cat ~/dirs.txt|xargs -0 mkdir -p
 cat ~/files.txt|xargs -0 touch
 ENDSSH



 Cool... except that your raise is invalid (should've used -type f in the 3rd
 line)...

 ;-)


Heh. It's also performing a bunch of unnecessary mkdir commands. I
mean, find -type d isn't going to return a subpath of a folder until
it's first returned the folder, so -p is unnecessary. For a better
speed gain, you'd want to keep -p, but filter out any folder which has
a subfolder, to reduce the number of mkdir commands issued. It's
possible mkdir performs this optimization internally, though. And I
don't know how to quickly do that filter on the command line.

-- 
:wq



Re: [gentoo-user] Recreating a directory structure and indicating a files presence

2012-09-20 Thread Michael Mol
On Thu, Sep 20, 2012 at 12:04 PM, Michael Mol mike...@gmail.com wrote:
 On Thu, Sep 20, 2012 at 11:54 AM, Pandu Poluan pa...@poluan.info wrote:

 On Sep 20, 2012 10:04 PM, Michael Mol mike...@gmail.com wrote:

 On Thu, Sep 20, 2012 at 10:48 AM, Neil Bothwick n...@digimed.co.uk
 wrote:
  On Thu, 20 Sep 2012 16:13:08 +0200, Alan McKinnon wrote:
 
  On the archive:
 
  find /root/of/dir/structure -type d  dirs.txt
  find /root/of/dir/structure -type f  files.txt
 
  This will add '/root/of/dir/structure' to the start of each path. would
  it be better to do?
 
  cd /root/of/dir/structure
  find -type d  ../dirs.txt
  find -type f  ../files.txt

 I see your path correction, and raise you:
 * whitespace-safe folders
 * Automatic copy to remote system.
 * Automatic new file and folder creation
 * Using those pretty xargs parameters.

 cd /root/of/dir/structure
 find . -type d -print0  ~/dirs.txt
 find . -type d -print0  ~/files.txt

 scp dirs.txt files.txt remote.system:

 ssh remote.system ENDSSH
 cd /root/of/new/structure
 cat ~/dirs.txt|xargs -0 mkdir -p
 cat ~/files.txt|xargs -0 touch
 ENDSSH



 Cool... except that your raise is invalid (should've used -type f in the 3rd
 line)...

 ;-)


 Heh. It's also performing a bunch of unnecessary mkdir commands. I
 mean, find -type d isn't going to return a subpath of a folder until
^^ s/subpath/subfolder/ ^^


-- 
:wq



Re: [gentoo-user] Gentoo is the best linux distro

2012-09-20 Thread Dale
Daniel Wagener wrote:
 On Wed, 12 Sep 2012 16:55:37 +0200
 Alan McKinnon alan.mckin...@gmail.com wrote:

 lafilefixer --justfixit.
 The last one, lafilefixer --justfixit is especially valuable as it
 gets right of a huge gigantic steaming pile of crap that a) should
 never have been there at all in the first place and b) if it's causing
 the problem is almost impossible to pin down without lots of work. So
 even if b) is not true, you still get the huge benefit of a)
 while we are at it…
 does it still make sense to run it on a regular basis or can I purge it from 
 my maintenace script?e



I think it depends on your version of portage.  Older portage versions
needs you to run it and newer versions I think have it built into
portage or another way to fix this.  You may want to post what version
of portage you are using to get a more accurate answer. 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] Re: Reinstall + switch to KDE

2012-09-20 Thread Alan McKinnon
On Thu, 20 Sep 2012 07:44:13 +0200
Daniel Wagener st...@gmx.net wrote:

 On Mon, 10 Sep 2012 14:44:33 -0500
 Canek Peláez Valdés can...@gmail.com wrote:
 
  On Mon, Sep 10, 2012 at 2:36 PM, Alan McKinnon
  alan.mckin...@gmail.com wrote:
   On Mon, 10 Sep 2012 12:53:41 -0400
   Andrey Moshbear andrey@gmail.com wrote:
  
   On Mon, Sep 10, 2012 at 12:43 PM, Nikos Chantziaras
   rea...@gmail.com wrote:
On 10/09/12 19:12, Samuraiii wrote:
   
Hello,
because I broke me PC and I need to reinstall it I'm going
ask what should I preserve to make install faster:
   
So what *is* broken?  The hardware?  If you have a new PC, you
simply need to transfer your Gentoo install to a new hard disk
using rsync.
  
   He borked his /usr/include due to an improperly-written
   uninstall rule in a Makefile.
  
  
   if emerge -e world runs, it will fix that little oopsie
  
  No, it won't; if enough files from /usr/include are gone/borked,
  most packages will fail compilation. glibc alone has ~450 files
  under /usr/include; and basically everything depends on glibc.
 
 hmm, my approach in that case would be to get /usr from a recent
 stage3 tarball and then running emerge -e world
 
 but maybe there is a reason why nobody came up with that already :-/
 

But that would be too easy, no wonder no-one mentioned it :-)

It probably is the right thing to do though. You don;t actually know
every package that's affected, and no easy way to find out and no way
to find false negatives.

So the correct approach is to realize that a complete rebuild finishes
in a reasonable time, and then do it.


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] new machine : Python calculator

2012-09-20 Thread Marc Joliet
Am Thu, 20 Sep 2012 05:05:11 -0400
schrieb Philip Webb purs...@ca.inter.net:

 120919 Marc Joliet wrote:
  120918 Philip Webb purs...@ca.inter.net wrote:
  With Python running as interpreter, I would get much more capability,
  but I would need to enter the special line to load the math functions :
  is it possible to do it with some capitalised variable in  .bashrc ,
  which might list parameters telling Python3 what to load when it starts ?
  one of the 'man' files seems to refer to something like that, but briefly.
  3.) Put the import line in its own file and put it in the variable
  PYTHONSTARTUP, e.g. export PYTHONSTARTUP=/path/to/my/script.py.
  Python executes it's contents before presenting the prompt,
  so you can put whatever imports you want in that script.
 
 Thanks, that's what I saw in my brief glance at the 'man'.
 It works out of the box: the only problem is precision,
 which at  16  decimal places is a bit more than I usually need (smile).
 I can search out how to limit it to something more useful to me,
 but might you have a quick answer ?  Thanks for the above.

Reading up the format specification mini language
(http://docs.python.org/library/string.html#formatspec, and the format syntax
explained above it), you could do as follows, to print as float rounded to four
decimal places:

  print('{0:.4f}'.format(2.4))

Or, leaving out the zero (you only need the indexes if you print things out of
order or multiple times):

  print('{:.4f}'.format(2.4))

Also, I re-remembered that there is an alternative formatting method  (I don't
print formatted output that often in python, I guess):

  print(%.4f % 2.4)

will do the same as the above two examples. Either way, to make things easy,
you could define your own print function to do that for you, e.g.:

  def myprint(num, places=4, *args, **kargs):
  fmt_str = {:. + str(places) + f}
  print(fmt_str.format(num), *args, **kargs)

Using it would look like (in IPython):

  In [13]: myprint(2.4)
  2.4000

  In [14]: myprint(2.4, 5)
  2.4

You would put this in the startup script after the import line. Note that it
passes extra positional and keyword arguments to print(), so you can specify a
file to print to, for example. Also note that because of this, it won't work in
Python 2.

HTH
-- 
Marc Joliet
--
People who think they know everything really annoy those of us who know we
don't - Bjarne Stroustrup


signature.asc
Description: PGP signature


Re: [gentoo-user] new machine : suddenly Python 3 appears

2012-09-20 Thread Marc Joliet
Am Thu, 20 Sep 2012 13:38:45 +0200
schrieb Willie WY Wong wong...@member.ams.org:

 On Wed, Sep 19, 2012 at 09:08:52AM +0200, Penguin Lover Marc Joliet squawked:
  2.) The full blown interactive solution: IPython. You can create a session 
  and
  configure which modules you want preloaded via startup scripts. This is
  overkill for what you want, I think, but IPython is a much nicer interactive
  Python interpreter than python itself. For instance, you can reuse previous
  outputs, e.g. Out[2], to get the output from the third command you entered
  (indexing starts at 0). Inputs can be similarly recalled by referencing
  In[i].
 
 Yes, I recommend ipython too. 
 
  3.) Put the import line in its own file and put it in the variable
  PYTHONSTARTUP, e.g. export PYTHONSTARTUP=/path/to/my/script.py. Python
  executes it's contents before presenting the prompt, so you can put whatever
  imports you want in that script. It's simple, and if the python interpreter 
  is
  enough for you, then I'd go with this.
  
  There are probably more possibilities, but this is what I can think of right
  now.
 
 Unless you want to load the math module every single time you start 
 Python, it is perhaps better to create an alias (say, python-calc) 
 in bash (or shell of your choice) using the `-i' option of python 
 like 
   alias python-calc='python -i loadmath.py' 
 or if you only need one single command
   alias python-calc='python -i -c from math import *' 
 which will give you an interactive session with the math functions
 preloaded. 

You are right, exporting PYTHONSTARTUP globally for something like this
in the bashrc would in this case be stupid, or at least wasteful. I like your
alias version better :) .

 Cheers, 
 
 W

Greetings
-- 
Marc Joliet
--
People who think they know everything really annoy those of us who know we
don't - Bjarne Stroustrup


signature.asc
Description: PGP signature


Re: [gentoo-user] new machine : Python calculator

2012-09-20 Thread Marc Joliet
[...]
 
   def myprint(num, places=4, *args, **kargs):
   fmt_str = {:. + str(places) + f}
   print(fmt_str.format(num), *args, **kargs)

OK, quick update because I just realised how weird it is to have positional
arguments after a (potential) keyword argument (I really should go to bed).
Either of these is better:

  # places is exclusively a keyword argument now
  def myprint(num, *args, places=4, **kargs):
  fmt_str = {:. + str(places) + f}
  print(fmt_str.format(num), *args, **kargs)

  # doesn't support extra arguments to print(), but is simpler
  def myprint(num, places=4):
  fmt_str = {:. + str(places) + f}
  print(fmt_str.format(num))

-- 
Marc Joliet
--
People who think they know everything really annoy those of us who know we
don't - Bjarne Stroustrup


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Reinstall + switch to KDE

2012-09-20 Thread William Kenworthy
On Thu, 2012-09-20 at 18:20 +0200, Alan McKinnon wrote:
 On Thu, 20 Sep 2012 07:44:13 +0200
 Daniel Wagener st...@gmx.net wrote:
 
  On Mon, 10 Sep 2012 14:44:33 -0500
  Canek Peláez Valdés can...@gmail.com wrote:
  
   On Mon, Sep 10, 2012 at 2:36 PM, Alan McKinnon
   alan.mckin...@gmail.com wrote:
On Mon, 10 Sep 2012 12:53:41 -0400
Andrey Moshbear andrey@gmail.com wrote:
   
On Mon, Sep 10, 2012 at 12:43 PM, Nikos Chantziaras
rea...@gmail.com wrote:
 On 10/09/12 19:12, Samuraiii wrote:

 Hello,
 because I broke me PC and I need to reinstall it I'm going
 ask what should I preserve to make install faster:

 So what *is* broken?  The hardware?  If you have a new PC, you
 simply need to transfer your Gentoo install to a new hard disk
 using rsync.
   
He borked his /usr/include due to an improperly-written
uninstall rule in a Makefile.
   
   
if emerge -e world runs, it will fix that little oopsie
   
   No, it won't; if enough files from /usr/include are gone/borked,
   most packages will fail compilation. glibc alone has ~450 files
   under /usr/include; and basically everything depends on glibc.
  
  hmm, my approach in that case would be to get /usr from a recent
  stage3 tarball and then running emerge -e world
  
  but maybe there is a reason why nobody came up with that already :-/
  
 
 But that would be too easy, no wonder no-one mentioned it :-)
 
 It probably is the right thing to do though. You don;t actually know
 every package that's affected, and no easy way to find out and no way
 to find false negatives.
 
...

equery check pkgname

BillK






Re: [gentoo-user] Libpng warning

2012-09-20 Thread Fernando Antunes
On Thu, Sep 20, 2012 at 3:42 AM, Dale rdalek1...@gmail.com wrote:

 Fernando Antunes wrote:
  Hi. I've been receiving a linpng warnong on my console saying that
  something like Application build with libpng.1.2.8 running with
  libpng.1.5.4.
 
  Somebody knows how to identify which application is that ?


 Have you ran revdep-rebuild recently?  That should pick up what package
 it is and emerge it again using the newer libpng.
 Yes I had it, but no error.



 If not, you could try equery d libpng.1.2.8 which I'm not sure will work
 but worth a try.
 Did not show anything.



 I'm sure someone else will come along with other ideas too.  As usual,
 there could be more than one way to fix this.

 I hope so.

 Dale

 :-)  :-)

 --
 I am only responsible for what I said ... Not for what you understood or
 how you interpreted my words!





[gentoo-user] Comparing kernel configurations...

2012-09-20 Thread meino . cramer
Hi,

are there any tools beside diff, vimdiff, kdiff3 and such which
supports one in comparing two differen .config from the linux kernel?

Thank your very much for any help in advance!
Have a nice weekend!
Best regards,
mcc






Re: [gentoo-user] Comparing kernel configurations...

2012-09-20 Thread wenpin cui
meino.cra...@gmx.de writes:

 Hi,

 are there any tools beside diff, vimdiff, kdiff3 and such which
 supports one in comparing two differen .config from the linux kernel?

Just copy your .config to new kernel directory and make oldconfig.
The newly added and changed option will prompt, verify them carefully. 
 Thank your very much for any help in advance!
 Have a nice weekend!
 Best regards,
 mcc




-- 

wenpin cui



Re: [gentoo-user] Re: virtualbox - serial port

2012-09-20 Thread Mick
On Tuesday 18 Sep 2012 18:49:33 Joseph wrote:
 On 09/18/12 15:59, Grant Edwards wrote:
 
 [snip]
 
  I'm in group tty, so I can not figure it out why virtualbox is
  complaining.
 
 What happens when you do cat /dev/ttyS0?
 
 It is working know. It was my error :-/
 I had it selected host pipe and it should be host device'
 One of those days :-)

Mine looks like this:

$ ls -l /dev/ttyS0
crw-rw 1 root uucp 4, 64 Sep 21 06:16 /dev/ttyS0

and the user (me) is a member of the uucp group.  Not sure if this is a more 
correct way to configure it ...
-- 
Regards,
Mick


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