Re: [gentoo-user] Re: I'm up, at long last!

2011-04-19 Thread Mick
On Tuesday 19 April 2011 04:35:09 Pandu Poluan wrote:
 On 2011-04-19, Harry Putnam rea...@newsguy.com wrote:
  Alan Mackenzie a...@muc.de writes:
  I think there's really only two ways to install Linux: you either go the
  Ubuntu route, where everything's done for you and you accept somebody
  else's defaults, or you go with Gentoo, where you do everything
  yourself.  I think anything in the middle, like Debian, just leads to
  confusion and uncertainty.  I don't know where Fedora and SuSE fit into
  all this.
  
  Jumping into the asbestos drawers... the sterling things about Debian
  are that it is more oldschool than ubuntu and its good for when you
  get sick of compiling everything from scratch over and over.
  
  For some things, I don't care if I'm accepting someone elses' defaults.
  
  I've stuck with Gentoo for several yrs now for my main desktop and
  would be very unwilling to switch for that usage, however, I prefer
  Debian for virtual guests on windows.  It just installs right off,
  when you need a full linux OS in a bit of a hurry.
 
 I still think Debian installed too many things I don't use. When I
 need a Linux VM in a hurry, I'd go Arch. Some people worry about its
 unsigned packages, but as long as I stick to well-known mirrors, I
 should be okay.
 
 The beauty of Arch is that its installation is very granular; I can
 truly pick components I want to have, and leave out those I won't ever
 use.
 
 But if I *do* have the time, I'll always take the Gentoo-route :)

Perhaps I'll try Debian next time I'm in a rush.  In the past I've run CentOS 
and it was a relatively quick exercise to get it installed and running as a 
webserver.  However, I still ended up spending some time I hadn't budgeted for 
shutting down (unnecessary) processes, uninstalling apps and what not.
-- 
Regards,
Mick


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


[gentoo-user] gentoo guest vm - vlan support kills eth0

2011-04-19 Thread Adam Carter
If i enable 802.1q kernel support in a gentoo vmware guest and reboot (even
as a module which is not loaded), eth0 is no longer available. (ifconfig -a
shows nothing). Is this expected?


Re: [gentoo-user] [OT router advice] a router capable of detailed logs

2011-04-19 Thread Mick
On Tuesday 19 April 2011 04:31:38 Harry Putnam wrote:

 So, cutting to the chase; can anyone recommend from actual use, a home
 lan router that has gigabit lan ports and very configurable/
 informative logging options?

Have you gone through the documentation to see if there isn't a more verbose 
option for the logs?

Do you get the same condensed format when you capture the logs in your LAN 
syslog server?
-- 
Regards,
Mick


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


[gentoo-user] Gentoo on Cygwin

2011-04-19 Thread Nils Andresen
Hi,
I kind of stumbled across http://gentoocygwin.sourceforge.net/ -
sounds interesting...
Since there is no News after 2003 I did not try to install... (need
a vm first...)
Does anyone know about the project? Is it dead?

Nils



Re: [gentoo-user] [OT router advice] a router capable of detailed logs

2011-04-19 Thread Joost Roeleveld
On Monday 18 April 2011 22:31:38 Harry Putnam wrote:
snipped - Not familiar with CISCO specifics

 So, cutting to the chase; can anyone recommend from actual use, a home
 lan router that has gigabit lan ports and very configurable/
 informative logging options?

Not familiar with specific types, but I've had best results with the routers 
from Zyxel. The one I used to use (ADSL) would provide a lot of information 
via SNMP and other logging-options.
Also, this one had no problem with multiple (1000+) simultaneous connections. 
Which is something other brands suffer from regularly.

 ps - I'm not interested in running an old linux or openbsd, machine as
 router.  Having a silent cool router the size and weight of a medium
 book is too appealing.

I understand the sentiment. I've since stopped using pre-made routers as I had 
the machine running anyway as a home-server and moving the router/firewall/... 
onto the server wasn't too much of a change and did mean I could switch off a 
small device.

--
Joost



Re: [gentoo-user] Howzat!

2011-04-19 Thread Joost Roeleveld
On Tuesday 19 April 2011 08:34:06 Thanasis wrote:
 on 04/19/2011 12:56 AM Neil Bothwick wrote the following:
  Incidentally, my cron script that runs emerge --sync follows it with
  emerge-uDNf world, so the files are already in $DISTDIR when I want to
  update.
 
 Can you post the script?

My guess is that the script would be something like the following:
=
#!/bin/sh
#
emerge --sync
emerge -uDNf world
=

--
Joost



[gentoo-user] emerge error with glib-perl-1.223. PkgConfig and Depends not installed

2011-04-19 Thread Alan Mackenzie
Hi, gentoo.

I'm trying # emerge --update --deep xfce4-meta.

It fails at glib-perl-1.223, since it can't find ExtUtils::Depends and
ExtUtils::PkgConfig.  Here is the relevant section from the build log:

 * Package:dev-perl/glib-perl-1.223
 * USE:amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   sandbox
 Unpacking source...
 Unpacking Glib-1.223.tar.gz to 
 /var/tmp/portage/dev-perl/glib-perl-1.223/work
 Source unpacked in /var/tmp/portage/dev-perl/glib-perl-1.223/work
 Preparing source in 
 /var/tmp/portage/dev-perl/glib-perl-1.223/work/Glib-1.223 ...
 Source prepared.
 Configuring source in 
 /var/tmp/portage/dev-perl/glib-perl-1.223/work/Glib-1.223 ...
 * Using ExtUtils::MakeMaker
 * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none 
DESTDIR=/var/tmp/portage/dev-perl/glib-perl-1.223/image/
Can't locate ExtUtils/Depends.pm in @INC (@INC contains: /etc/perl 
/usr/lib64/perl5/site_perl/5.12.2/x86_64-linux 
/usr/lib64/perl5/site_perl/5.12.2 
/usr/lib64/perl5/vendor_perl/5.12.2/x86_64-linux 
/usr/lib64/perl5/vendor_perl/5.12.2 /usr/lib64/perl5/5.12.2/x86_64-linux 
/usr/lib64/perl5/5.12.2 /usr/lib64/perl5/site_perl /usr/lib64/perl5/vendor_perl 
/usr/local/lib/site_perl .) at (eval 6) line 1.
BEGIN failed--compilation aborted at (eval 6) line 1.

Checking if your kit is complete...
Looks good
MakeMaker FATAL: prerequisites not found.
ExtUtils::Depends not installed
ExtUtils::PkgConfig not installed


However, I do have extutils-depends and extutils-pkgconfig installed at
the latest version.

Would somebody help me fix this, please.  I don't have a working X
windows at the moment.  :-(

-- Alan Mackenize (Nuremberg, Germany).



Re: [gentoo-user] I can't understand an emerge error. Help, please!

2011-04-19 Thread Neil Bothwick
On Mon, 18 Apr 2011 19:47:59 -0500, Dale wrote:

  I hadn't noticed the -p, but what will it show? It certainly won't
  show whether setting that USE flag globally will correct the error
  message, as the pretend emerge is for one package, and not the one
  causing the problem. You'd need to emerge -p world for that, and
  setting USE flags on the command line for that is even worse.

 I agree that setting about anything on the command line is a bad idea.  
 However, it is just to test it to see what, if anything, it changes.

But it doesn't tell you if setting the flag solves the problem, because
it doesn't attempt to emerge the package that failed. As a test it fails.


-- 
Neil Bothwick

Top Oxymorons Number 5: Twelve-ounce pound cake


signature.asc
Description: PGP signature


Re: [gentoo-user] I can't understand an emerge error. Help, please!

2011-04-19 Thread Alan Mackenzie
Hi, Alan.

On Mon, Apr 18, 2011 at 11:11:48PM +0200, Alan McKinnon wrote:
 Apparently, though unproven, at 22:21 on Monday 18 April 2011, Alan Mackenzie 
 did opine thusly:

   These are the items that require libgcrypt with static-libs USE
   flag set. Sometimes changing USE flags on thse packages will
   change the dependency requirements. Sometimes it's just something
   new that the maintainer added since a previous version.

  OK.  I was getting confused by dependency required, which sounds
  tautological.  What it seems to mean is package required.

 It really does mean exactly what it says. Look at it again:

 (dependency required by sys-fs/cryptsetup-1.1.3-r3[-dynamic] [ebuild])

 It's saying there is a dependency, and the package that requires it is
 cryptsetup. Read it like this::

OK, I think I've got it now.  What was confusing me is that in ordinary
English, a dependency is a relationship, but in emerge it's a thing.
Thanks for the help, it's appreciated.

 (dependency, required by . )

 -- 
 alan dot mckinnon at gmail dot com

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] Howzat!

2011-04-19 Thread Neil Bothwick
On Tue, 19 Apr 2011 08:57:07 +0200, Joost Roeleveld wrote:

   Incidentally, my cron script that runs emerge --sync follows it with
   emerge-uDNf world, so the files are already in $DISTDIR when I want
   to update.  
  
  Can you post the script?  
 
 My guess is that the script would be something like the following:
 =
 #!/bin/sh
 #
 emerge --sync
 emerge -uDNf world
 =

That's the gist of it, although it also emails the output from emerge
-pvDN world, so I can see what needs to be done. It runs a few other
bits, like glsa-check.


-- 
Neil Bothwick

Windows Error #05: Nonexisent error. This cannot really be happening


signature.asc
Description: PGP signature


Re: [gentoo-user] Gentoo on Cygwin

2011-04-19 Thread Alex Schuster
Nils Andresen writes:

 I kind of stumbled across http://gentoocygwin.sourceforge.net/ -
 sounds interesting...
 Since there is no News after 2003 I did not try to install... (need
 a vm first...)
 Does anyone know about the project? Is it dead?

Probably. But have a look at:
http://en.gentoo-wiki.com/wiki/Prefix/Cygwin

Wonko



Re: [gentoo-user] [OT router advice] a router capable of detailed logs

2011-04-19 Thread Peter Humphrey
On Tuesday 19 April 2011 04:31:38 Harry Putnam wrote:

 I'm not interested in running an old linux or openbsd, machine as router. 
 Having a silent cool router the size and weight of a medium book is too
 appealing.

I'm gazing at an Atom box sitting on my window-sill that would be ideal. It's 
silent and it has gigabit LAN connections. It's 8 square by 1 3/8. Have a 
look 
at www.aleutia.com.

-- 
Rgds
Peter



Re: [gentoo-user] emerge error with glib-perl-1.223. PkgConfig and Depends not installed

2011-04-19 Thread Stroller

On 19/4/2011, at 8:23am, Alan Mackenzie wrote:
 ...
 I'm trying # emerge --update --deep xfce4-meta.

If you're installing this for the first time then there's no need for the 
--update. I don't know that --deep is good practice, either. What are you 
trying to achieve?

 It fails at glib-perl-1.223, since it can't find ExtUtils::Depends and
 ExtUtils::PkgConfig.  Here is the relevant section from the build log:
 
 ...
 Checking if your kit is complete...
 Looks good
 MakeMaker FATAL: prerequisites not found.
ExtUtils::Depends not installed
ExtUtils::PkgConfig not installed


Google search for this error message:
  http://tinyurl.com/6b5hbp7

3rd hit:
  http://bugs.gentoo.org/show_bug.cgi?id=344557

Stroller.




Re: [gentoo-user] [OT router advice] a router capable of detailed logs

2011-04-19 Thread Pandu Poluan
On Tue, Apr 19, 2011 at 10:31, Harry Putnam rea...@newsguy.com wrote:
 This is way OT, but this list is such a great resource I suspect the
 advice gotten here will be more to the point. ( I have posted to a
 network hardware group as well)

 I've bumped my home lan router to a gigabit from the old 10/100
 (NETGEAR FVS318).

 I made the move for the gigabit lan ports mainly.  That is, I was
 happy with other aspects of the old router.  I ended up with a cisco
 RVS4000 v2.

 The cisco solved the gigabit problem with 4 lan ports and even a
 gigabit on the Internet port... (which is probably not really doing
 any thing on a cable connection).  And it wasn't hideously
 expensive ($112.91).

 I could have solved the problem with gigabit switches behind the
 router for lan usage, just as well, and may go to that yet, and move
 back to the old NETGEAR router.  But somehow I expected the cisco to
 be something that was `excitingly' new and fun to play with.

 I'm disappointed in the cisco so far as logging is concerned.

 The logs give only bare information like this:

 Mar 10 10:24:21  - [Firewall Log-PORT SCAN] TCP Packet - 60.173.11.56 -- 
 98.217.231.32
 Mar 10 10:24:21  - [Firewall Log-PORT SCAN] TCP Packet - 60.173.11.56 -- 
 98.217.231.32
 [...]

 No mention of which port is involved.  Not only on port scans but
 ports are never reported.  And of course if you wanted to pursue any
 of it by way of google, you'd need the port number.

 The Old Netgear sent logs like this (wrapped for mail):

  Sat, 2007-07-28 12:00:11 - TCP packet - Source: 161.170.244.20 -
  Destination: 70.131.83.195 - [Invalid sequence number received with
   Reset, dropping packet Src 443 Dst 1385 from WAN]

 ---        -       ---=---       -      

 I went for the cisco instead of a newer `gigabit' NETGEAR after seeing
 several bad reviews about them.  And I just assumed the cisco would
 have as good or better other features.

 Another little problem is that the Cicso had reached its end of life
 and was reported as such by cisco, well before I bought it.  But of
 course, retailers (not cisco) don't bother to give that kind of info,
 but the result is that a kind of blackball list that was part of the
 deal is no longer kept up to date.

 So, cutting to the chase; can anyone recommend from actual use, a home
 lan router that has gigabit lan ports and very configurable/
 informative logging options?

 ps - I'm not interested in running an old linux or openbsd, machine as
 router.  Having a silent cool router the size and weight of a medium
 book is too appealing.


Have you checked out Mikrotik's RB750G? 5 GbE ports:

http://routerboard.com/pricelist/download_file.php?file_id=256

Mikrotik OS is Linux-based, the firewall is Netfilter-based, and it's
Lua-scriptable.

Rgds,
--
Pandu E Poluan
~ IT Optimizer ~
Visit my Blog: http://pepoluan.posterous.com



Re: [gentoo-user] [OT router advice] a router capable of detailed logs

2011-04-19 Thread Stroller

On 19/4/2011, at 4:31am, Harry Putnam wrote:
 ...
 So, cutting to the chase; can anyone recommend from actual use, a home
 lan router that has gigabit lan ports and very configurable/
 informative logging options?
 
 ps - I'm not interested in running an old linux or openbsd, machine as
 router.  Having a silent cool router the size and weight of a medium
 book is too appealing.

Consider OpenWRT. You can run it on something like the Netgear WNR2000, the 
Buffalo WZR-HP-G300NH, or something even cheaper if you don't need wifi.

Stroller.






Re: [gentoo-user] Howzat!

2011-04-19 Thread Thanasis
on 04/19/2011 11:04 AM Neil Bothwick wrote the following:
 On Tue, 19 Apr 2011 08:57:07 +0200, Joost Roeleveld wrote:

 Incidentally, my cron script that runs emerge --sync follows it with
 emerge-uDNf world, so the files are already in $DISTDIR when I want
 to update.  
 Can you post the script?  
 My guess is that the script would be something like the following:
 =
 #!/bin/sh
 #
 emerge --sync
 emerge -uDNf world
 =
 That's the gist of it, although it also emails the output from emerge
 -pvDN world, so I can see what needs to be done. It runs a few other
 bits, like glsa-check.


Neil, do you mind posting it (after changing any private bits to generic)?



Re: [gentoo-user] Howzat!

2011-04-19 Thread Joost Roeleveld
On Tuesday 19 April 2011 09:04:18 Neil Bothwick wrote:
 On Tue, 19 Apr 2011 08:57:07 +0200, Joost Roeleveld wrote:
Incidentally, my cron script that runs emerge --sync follows it
with
emerge-uDNf world, so the files are already in $DISTDIR when I
want
to update.
   
   Can you post the script?
  
  My guess is that the script would be something like the following:
  =
  #!/bin/sh
  #
  emerge --sync
  emerge -uDNf world
  =
 
 That's the gist of it, although it also emails the output from emerge
 -pvDN world, so I can see what needs to be done. It runs a few other
 bits, like glsa-check.

Like the following?
=
#!/bin/sh
#
/bin/mkdir /tmp/ABBAABBA_portage_sync

/usr/bin/layman -S

/usr/bin/eix-sync

/usr/bin/glsa-check -d $(/usr/bin/glsa-check -t all)  
/tmp/ABBAABBA_portage_sync/portage_sync_glsa.log

/bin/mail -e -s Portage Sync [GLSA-log] memyselfa...@example.org  
/tmp/ABBAABBA_portage_sync/portage_sync_glsa.log

/bin/rm /tmp/ABBAABBA_portage_sync/portage_sync_glsa.log

/usr/bin/emerge -pvauD --newuse world  
/tmp/ABBAABBA_portage_sync/portage_sync_emerge.log

/bin/mail -e -s Portage Sync [EMERGE-list] memyselfa...@example.org  
/tmp/ABBAABBA_portage_sync/portage_sync_emerge.log

/bin/rm /tmp/ABBAABBA_portage_sync/portage_sync_emerge.log

/bin/rmdir /tmp/ABBAABBA_portage_sync
=
In the above script, I put an empty line between each command for readability.

This is what I run on my system.

--
Joost



Re: [gentoo-user] emerge error with glib-perl-1.223. PkgConfig and Depends not installed

2011-04-19 Thread Alan Mackenzie
Hi, Stroller.

On Tue, Apr 19, 2011 at 11:11:52AM +0100, Stroller wrote:

 On 19/4/2011, at 8:23am, Alan Mackenzie wrote:
  ...
  I'm trying # emerge --update --deep xfce4-meta.

 If you're installing this for the first time then there's no need for
 the --update. I don't know that --deep is good practice, either.
 What are you trying to achieve?
 
To update my first installation of xfce from ~February 2010.  Maybe it
would have been better to omit the --deep to begin with.

  It fails at glib-perl-1.223, since it can't find ExtUtils::Depends
  and ExtUtils::PkgConfig.  Here is the relevant section from the
  build log:

  ...
  Checking if your kit is complete...
  Looks good
  MakeMaker FATAL: prerequisites not found.
 ExtUtils::Depends not installed
 ExtUtils::PkgConfig not installed
 
 
 Google search for this error message:
   http://tinyurl.com/6b5hbp7

 3rd hit:
   http://bugs.gentoo.org/show_bug.cgi?id=344557

Thanks. perl-cleaner did the job on this bug.  :-)

 Stroller.

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] [OT router advice] a router capable of detailed logs

2011-04-19 Thread Paul Hartman
On Tue, Apr 19, 2011 at 5:18 AM, Stroller
strol...@stellar.eclipse.co.uk wrote:

 On 19/4/2011, at 4:31am, Harry Putnam wrote:
 ...
 So, cutting to the chase; can anyone recommend from actual use, a home
 lan router that has gigabit lan ports and very configurable/
 informative logging options?

 ps - I'm not interested in running an old linux or openbsd, machine as
 router.  Having a silent cool router the size and weight of a medium
 book is too appealing.

 Consider OpenWRT. You can run it on something like the Netgear WNR2000, the 
 Buffalo WZR-HP-G300NH, or something even cheaper if you don't need wifi.

I have WZR-HP-G300NH (running DD-WRT), if you don't plan on using wifi
it would be great. The wifi is really unstable and I couldn't
recommend this device if you're a heavy wifi user, but the wired
portion works great, the device itself is by far the fastest I've ever
owned, and it has a USB port so you can attach external storage in
case you want to use it as a server, too.

If your wifi users are limited to web browsing/email it would probably
be okay for that, but if you do anything with persistent open
connections (ssh, gaming, streaming movies) then you'll quickly pull
your hair out in frustration at the constant wifi stalls and
disconnects.

The good news about the bad wifi is that the constant negative reviews
and dissatisfied customers have forced the price down really low, I
got mine for about $50. :)



Re: [gentoo-user] I can't understand an emerge error. Help, please!

2011-04-19 Thread Dale

Neil Bothwick wrote:

On Mon, 18 Apr 2011 19:47:59 -0500, Dale wrote:

   

I hadn't noticed the -p, but what will it show? It certainly won't
show whether setting that USE flag globally will correct the error
message, as the pretend emerge is for one package, and not the one
causing the problem. You'd need to emerge -p world for that, and
setting USE flags on the command line for that is even worse.
   
   

I agree that setting about anything on the command line is a bad idea.
However, it is just to test it to see what, if anything, it changes.
 

But it doesn't tell you if setting the flag solves the problem, because
it doesn't attempt to emerge the package that failed. As a test it fails.


   


Then I guess your mileage may vary then.

Dale

:-)  :-)



Re: [gentoo-user] Gentoo on Cygwin

2011-04-19 Thread Mick
On Tuesday 19 April 2011 09:06:29 Alex Schuster wrote:
 Nils Andresen writes:
  I kind of stumbled across http://gentoocygwin.sourceforge.net/ -
  sounds interesting...
  Since there is no News after 2003 I did not try to install... (need
  a vm first...)
  Does anyone know about the project? Is it dead?
 
 Probably. But have a look at:
 http://en.gentoo-wiki.com/wiki/Prefix/Cygwin
 
   Wonko

I also recall this thread: 
http://article.gmane.org/gmane.linux.gentoo.user/234159

Not sure how far that guy got with it.
-- 
Regards,
Mick


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


Re: [gentoo-user] Gentoo on Cygwin

2011-04-19 Thread Alex Schuster
Mick writes:

 On Tuesday 19 April 2011 09:06:29 Alex Schuster wrote:
  Nils Andresen writes:
   I kind of stumbled across http://gentoocygwin.sourceforge.net/ -
   sounds interesting...
   Since there is no News after 2003 I did not try to install... (need
   a vm first...)
   Does anyone know about the project? Is it dead?
  
  Probably. But have a look at:
  http://en.gentoo-wiki.com/wiki/Prefix/Cygwin

 I also recall this thread:
 http://article.gmane.org/gmane.linux.gentoo.user/234159
 
 Not sure how far that guy got with it.

He was somewhat successful in emerging @system, then he wrote the wiki 
article :)

Wonko



[gentoo-user] Re: LibreOffice + GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed

2011-04-19 Thread walt

On 04/17/2011 05:32 PM, Carlos Sura wrote:



On 17 April 2011 16:14, walt w41...@gmail.com mailto:w41...@gmail.com wrote:

On 04/17/2011 11:38 AM, Carlos Sura wrote:


But, trying as a normal user, isn't working and I dont have any clue
about what is making this problem, there is no log or error to
trace.

So, I've unistalled libreoffice, and installed again, but... Isn't
working yet... I'm not really sure what's this problem, since I don't
have any clue or any idea to trace this error.


Try strace this way (as normal user):

$strace -f -o outputfile /usr/bin/libreoffice

The -f flag allows strace to follow as the shell-script starts the real
binary executable.  Look through 'outputfile' for messages that look
fatal :)





Hello Walt, thank you for your answer

This is the paste: http://tinypaste.com/dde0e1


The trace clearly shows a segfault, which is what you would expect given how
the program behaves -- but I can't tell what's causing it.  Maybe someone else
can tell us.

I can suggest a few things to check, though.  I'd try moving or deleting your
~/.libreoffice directory to see if something in there is corrupted.  If LO
wants to import old settings from OO try saying no.

I notice you're using iced-tea for java.  Have you used java-config-2 to
make sure it's all set up correctly?  Note that the java settings in LO
need to be edited by hand if you change java versions :(Dumb, but doesn't
cause a segfault for me.)

Are you running python-3 instead of python-2?

Do you get the same segfault by running 
/usr/lib64/libreoffice/program/soffice.bin
directly?

Good idea to create a new (ordinary) user account so you can try failing 
programs
with a completely fresh environment -- not at all the same as running something
as root, of course, and very safe if you use a strong password for the new user.

Out of ideas for the moment.





Re: [gentoo-user] I can't understand an emerge error. Help, please!

2011-04-19 Thread Neil Bothwick
On Tue, 19 Apr 2011 10:25:23 -0500, Dale wrote:

  I agree that setting about anything on the command line is a bad
  idea. However, it is just to test it to see what, if anything, it
  changes. 
  But it doesn't tell you if setting the flag solves the problem,
  because it doesn't attempt to emerge the package that failed. As a
  test it fails.

 Then I guess your mileage may vary then.

Oh no. Emerging one package to see how another package emerges will give
exactly the same result every time, not an inch of variation :(


-- 
Neil Bothwick

He who laughs last thinks slowest!


signature.asc
Description: PGP signature


Re: [gentoo-user] I can't understand an emerge error. Help, please!

2011-04-19 Thread Alan McKinnon
Apparently, though unproven, at 21:59 on Tuesday 19 April 2011, Neil Bothwick 
did opine thusly:

 On Tue, 19 Apr 2011 10:25:23 -0500, Dale wrote:
   I agree that setting about anything on the command line is a bad
   idea. However, it is just to test it to see what, if anything, it
   changes.
   
   But it doesn't tell you if setting the flag solves the problem,
   because it doesn't attempt to emerge the package that failed. As a
   test it fails.
  
  Then I guess your mileage may vary then.
 
 Oh no. Emerging one package to see how another package emerges will give
 exactly the same result every time, not an inch of variation :(


You're forgetting about what the cosmic rays, solar flares and quarks clear 
across the universe can do 


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] I can't understand an emerge error. Help, please!

2011-04-19 Thread Neil Bothwick
On Tue, 19 Apr 2011 22:15:34 +0200, Alan McKinnon wrote:

  Oh no. Emerging one package to see how another package emerges will
  give exactly the same result every time, not an inch of variation :(  
 
 You're forgetting about what the cosmic rays, solar flares and quarks
 clear across the universe can do 

I'm not that daft, those are all in package.mask!


-- 
Neil Bothwick

Approx. 1 in 36000 people will break a leg within 3 weeks of reading this
post


signature.asc
Description: PGP signature


Re: [gentoo-user] I can't understand an emerge error. Help, please!

2011-04-19 Thread Dale

Alan McKinnon wrote:

Apparently, though unproven, at 21:59 on Tuesday 19 April 2011, Neil Bothwick
did opine thusly:

   

On Tue, 19 Apr 2011 10:25:23 -0500, Dale wrote:
 

I agree that setting about anything on the command line is a bad
idea. However, it is just to test it to see what, if anything, it
changes.
   

But it doesn't tell you if setting the flag solves the problem,
because it doesn't attempt to emerge the package that failed. As a
test it fails.
 

Then I guess your mileage may vary then.
   

Oh no. Emerging one package to see how another package emerges will give
exactly the same result every time, not an inch of variation :(
 


You're forgetting about what the cosmic rays, solar flares and quarks clear
across the universe can do

   


Yep.  It's not like we haven't seen portage do some odd things before 
either.


Dale

:-)  :-)



[gentoo-user] Auto-Rebuild md RAID Arrays?

2011-04-19 Thread Andrew Wilkinson
Hello All,

I am in the research phase of building a Gentoo-based backup/NAS target
using md software RAID or (maybe) btrfs or zfs.  One thing that I am not
finding much info about is any facility for automatically rebuilding an
array when a new, matching drive is inserted.  At this stage, the plan is to
use four identical drives in a RAID10-style setup.

Is any here aware of the right way to configure this?

Thanks,

-Andy


Re: [gentoo-user] win key takes me from X to VT

2011-04-19 Thread Kfir Lavi
2011/4/18 Jesús J. Guerrero Botella jesus.guerrero.bote...@gmail.com

 El día 18 de abril de 2011 00:01, Jesús J. Guerrero Botella
 jesus.guerrero.bote...@gmail.com escribió:
  Try to reset all shortcuts with:
  setxkbmap -option
 
  It doesn't change anything. The problem starts in kdm, before loging
  in, so it's nothing specific to a given user account.

 Oh, I forgot, it is nothing specific to kdm either. What I meant above
 is that it happens since I enter X. Or rather, since this is the
 default behavior in the console, we could more correctly say that it
 *continues* happening when I enter X, where it should not happen.

 I tested the lxde login manager and it has the same problem.


 --
 Jesús Guerrero Botella


What X drivers you have in your make.conf?

Kfir


Re: [gentoo-user] I'm up, at long last!

2011-04-19 Thread Kfir Lavi
 things like that.  I also need to find a decent PDF viewer, and a decent
 jpeg viewer.


I use evince for PDFs and Gqview for photos.

Kfir


Re: [gentoo-user] gentoo guest vm - vlan support kills eth0

2011-04-19 Thread Kfir Lavi
On Tue, Apr 19, 2011 at 9:18 AM, Adam Carter adamcart...@gmail.com wrote:

 If i enable 802.1q kernel support in a gentoo vmware guest and reboot (even
 as a module which is not loaded), eth0 is no longer available. (ifconfig -a
 shows nothing). Is this expected?


What is the driver you use for eth0?

Kfir


Re: [gentoo-user] Howzat!

2011-04-19 Thread Kfir Lavi
On Mon, Apr 18, 2011 at 7:53 AM, Joshua Murphy poiso...@gmail.com wrote:

 On Sun, Apr 17, 2011 at 9:44 PM, Dale rdalek1...@gmail.com wrote:
  Peter Humphrey wrote:
 
  Hello list,
 
  How's this for sheer persistence and grit?
 
  $ genlop -c
 
   Currently merging 321 out of 368
 
   * www-client/chromium-10.0.648.204
 
 current merge time: 11 hours, 41 minutes and 9 seconds.
 ETA: any time now.
 
  This is my Atom N270 LAN server box.
 
 

I remember compiling LFS on P100. It took a week to compile X ;) at the end
I had Xinerama working ;-P


  
  I got a very old Compaq rig with quad 200Mhz CPUs and 128Mbs of ram.  I
 have
  always wondered how long it would take to compile OOo on that thing.  12
  hours to compile a browser does take patience.  I hope you don't have a
  power failure right at the end.  o_O
 
  How long does it take to open it when it gets done?  Seconds?  Minutes?
 
  Dale
 
  :-)  :-)
 
 

 Assuming a reasonable 1GB ram on the box (pretty well standard to low
 with an Atom), and considering what my netbook does (the same single
 core 1.6GHz with HT turned on for responsiveness in my case), about
 2-3 seconds... but then I'm on a little SSD too. I should admit my
 netbook's running Debian at the moment, though. Didn't want to abuse
 the SSD too much with writes, and it's tedious to install things
 through an intermediary system all the time. The fullsize laptop, when
 it gets its rebuild over the next week (it's been a windows 2k3 server
 development system lately)

 I do a lot of compiling on my laptop using Catalyst for embedded.
I upgraded my RAM to 8GB (2x4GB = 90$ ebay).
I mount /var/tmp as tmpfs.
Thats how I keep my SSD ;)

Kfir

 --
 Poison [BLX]
 Joshua M. Murphy




Re: [gentoo-user] Howzat!

2011-04-19 Thread Dale

Kfir Lavi wrote:


I do a lot of compiling on my laptop using Catalyst for embedded.
I upgraded my RAM to 8GB (2x4GB = 90$ ebay).
I mount /var/tmp as tmpfs.
Thats how I keep my SSD ;)

Kfir

--
Poison [BLX]
Joshua M. Murphy




I got 16Gbs in my rig and I mounted portages work directory on tmpfs, it 
was actually slower.  That is likely a good idea to keep from wearing 
out the SSD but it doesn't seem to make anything compile faster.


Dale

:-)  :-)


Re: [gentoo-user] I'm up, at long last!

2011-04-19 Thread Neil Bothwick
On Wed, 20 Apr 2011 01:30:00 +0300, Kfir Lavi wrote:

 I use evince for PDFs and Gqview for photos.

Gqview is no longer in development. Try Geeqie, an active fork of Gqview.


-- 
Neil Bothwick

The word 'Windows' is a word out of an old dialect of the Apaches.
It means: 'White man staring through glass-screen onto an hourglass...')


signature.asc
Description: PGP signature


Re: [gentoo-user] [OT router advice] a router capable of detailed logs

2011-04-19 Thread W.Kenworthy


On Tue, 2011-04-19 at 09:50 -0500, Paul Hartman wrote:
 On Tue, Apr 19, 2011 at 5:18 AM, Stroller
 strol...@stellar.eclipse.co.uk wrote:
 
  On 19/4/2011, at 4:31am, Harry Putnam wrote:
  ...
  So, cutting to the chase; can anyone recommend from actual use, a home
  lan router that has gigabit lan ports and very configurable/
  informative logging options?
 
  ps - I'm not interested in running an old linux or openbsd, machine as
  router.  Having a silent cool router the size and weight of a medium
  book is too appealing.
 
  Consider OpenWRT. You can run it on something like the Netgear WNR2000, the 
  Buffalo WZR-HP-G300NH, or something even cheaper if you don't need wifi.
 
 I have WZR-HP-G300NH (running DD-WRT), if you don't plan on using wifi
 it would be great. The wifi is really unstable and I couldn't
 recommend this device if you're a heavy wifi user, but the wired
 portion works great, the device itself is by far the fastest I've ever
 owned, and it has a USB port so you can attach external storage in
 case you want to use it as a server, too.
 
 If your wifi users are limited to web browsing/email it would probably
 be okay for that, but if you do anything with persistent open
 connections (ssh, gaming, streaming movies) then you'll quickly pull
 your hair out in frustration at the constant wifi stalls and
 disconnects.
 
 The good news about the bad wifi is that the constant negative reviews
 and dissatisfied customers have forced the price down really low, I
 got mine for about $50. :)
 

I have this device and am using Firmware: DD-WRT v24-sp2 (08/07/10) std
- its been totally stable since I dumped the buffalo firmware.  My son
plays windoze online games and I often move large files around as well
as stream mythtv across it - no problems at all.  Until I started
powering the systems down at night (power charges went up :) it would
stay up for over a month at a time and it was never a crash as to why it
was restarted - usually power, or reconfiguration.

BillK





Re: [gentoo-user] Auto-Rebuild md RAID Arrays?

2011-04-19 Thread Michael Orlitzky
On 04/19/11 17:05, Andrew Wilkinson wrote:
 Hello All,
 
 I am in the research phase of building a Gentoo-based backup/NAS target
 using md software RAID or (maybe) btrfs or zfs.  One thing that I am not
 finding much info about is any facility for automatically rebuilding an
 array when a new, matching drive is inserted.  At this stage, the plan
 is to use four identical drives in a RAID10-style setup.
 
 Is any here aware of the right way to configure this?

mdadm expects you to know the drive name (e.g. /dev/sdX) of the drive
you'd like to operate on. If you are real confident,

a) in your scripting abilities
b) that the new drive will have the same name as the replaced drive

then you could write a script that removes all failed drives on startup
(there's an mdadm --manage command that does that) and adds the new ones
in their place.

I probably wouldn't risk it unless you're going to mail the box to
Alaska and it would be a great inconvenience to do manually. If someone
accidentally switches two SATA cables your script could wind up doing
some damage.

Btrfs and ZFS I can't speak to.



[gentoo-user] kde-base/pykde4-4.4.5-r1 fails to install

2011-04-19 Thread Mick
I just installed python 7 on an x86 box.  I switched to it and now
running revdep-rebuild which is asking for a number of packages to be
reinstalled.  It fails on kde-base/pykde4-4.4.5-r1:

===
--  Gentoo configuration 
Build type  Gentoo
Install path/usr
Compiler flags:
C   -O2 -march=pentium3 -fomit-frame-pointer -msse -mmmx
-pipe  -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align
-Werror-implicit-function-declaration -Wchar-subscripts -Wall -W
-Wpointer-arith -Wwrite-strings -Wformat-security
-Wmissing-format-attribute -fno-common
C++ -O2 -march=pentium3 -fomit-frame-pointer -msse -mmmx
-pipe  -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align
-Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security
-fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common
-Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden
-fvisibility-inlines-hidden
Linker flags:
Executable  -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed
Module  -Wl,--enable-new-dtags -Wl,--fatal-warnings
-Wl,--no-undefined -lc -Wl,-O1 -Wl,--as-needed
Shared  -Wl,--enable-new-dtags -Wl,--fatal-warnings
-Wl,--no-undefined -lc -Wl,-O1 -Wl,--as-needed

-- Configuring done
-- Generating done
-- Build files have been written to:
/var/tmp/portage/kde-base/pykde4-4.4.5-r1/work/pykde4-4.4.5_build
 Source configured.
 Compiling source in 
 /var/tmp/portage/kde-base/pykde4-4.4.5-r1/work/pykde4-4.4.5 ...
 Working in BUILD_DIR: 
 /var/tmp/portage/kde-base/pykde4-4.4.5-r1/work/pykde4-4.4.5_build
make -j1
 Source compiled.
 Test phase [not enabled]: kde-base/pykde4-4.4.5-r1

 Install pykde4-4.4.5-r1 into 
 /var/tmp/portage/kde-base/pykde4-4.4.5-r1/image/ category kde-base
 Working in BUILD_DIR: 
 /var/tmp/portage/kde-base/pykde4-4.4.5-r1/work/pykde4-4.4.5_build
make -j1 DESTDIR=/var/tmp/portage/kde-base/pykde4-4.4.5-r1/image/ install
make: *** No rule to make target `install'.  Stop.
emake failed
 * ERROR: kde-base/pykde4-4.4.5-r1 failed (install phase):
 *   died running make install, base_src_install
 *
 * Call stack:
 * ebuild.sh, line   56:  Called src_install
 *   environment, line 6807:  Called kde4-meta_src_install
 *   environment, line 4240:  Called kde4-base_src_install
 *   environment, line 3845:  Called cmake-utils_src_install
 *   environment, line 1912:  Called _execute_optionaly 'src_install'
 *   environment, line  861:  Called enable_cmake-utils_src_install
 *   environment, line 2236:  Called base_src_install
 *   environment, line 1563:  Called die
 * The specific snippet of code:
 *   emake DESTDIR=${D} $@ install || die died running make
install, $FUNCNAME;
===

Why is this happening?
-- 
Regards,
Mick