Re: [gentoo-user] Re: Advice for 64-bit n00b?

2010-03-04 Thread Volker Armin Hemmann
On Donnerstag 04 März 2010, Nikos Chantziaras wrote:
 On 03/04/2010 08:44 AM, Graham Murray wrote:
  Volker Armin Hemmannvolkerar...@googlemail.com  writes:
  no, it is not safe to have a 64bit only system. Just choose the multilib
  profile and start installing. If something needs the 32bit emul libs, it
  will pull the stuff in. There is nothing you need to care about.
  
  What is unsafe about a 64bit only system? Surely if it were unsafe then
  Gentoo would not offer no-multilib profiles? I have recently built 2
  systems using a no-multilib profile and have not found any problems, and
  expect to start building a third one today.
 
 You didn't understand the question Volker was replying to.  The question
 was not about safe as in security, but rather safe as in I can
 rest assured that a no-multilib system can run every software I could
 install, which is clearly not the case since some applications need
 32-bit support.

exactly. As Alan explained, there might be a point where you need to run a 
32bit app.
Maybe some legacy game (Civilization Call To Power comes to mind) or some new-
but-the-vendor-sucks software.
Without multilib you can either choose not to use that software (which isn't a 
choice if you really need it) or you can reinstall everything.

And all that for a couple of megabytes on a tens, maybe hundreds of gigabytes 
harddisk.

du -h /usr/lib32
362M/usr/lib32

but:
rootfs 57G   23G   34G  41% /

yeah, shocking. Almost a 114th of the harddisk used for multilib stuff ;)



[gentoo-user] Logitech WebCam Pro 9000 and sound card

2010-03-04 Thread Dmitry S. Makovey
Hi everybody,

I have just bought Logitech WebCam Pro 9000 and much to my suprise
things pretty much worked out of the box... almost. As I have discovered
- even though video is working flawlessly, my audio has gone AWOL. No
matter how many goats and virgins I have sacrificed to the gods of
Google - can not find an answer. Am I missing something obvious? As a
stop-gap measure I'm trying to rebuild my kernel without USB sound
support, but it would be nice to not resort to such drastic measures.




Re: [gentoo-user] No more mythtv for Gentoo users?

2010-03-04 Thread Roy Wright

On Mar 4, 2010, at 1:35 AM, Alan McKinnon wrote:
 
 This notebook is nazgul, not because I'm a LOTR fan (which I am) but because 
 it ties in nicely with the BOFH image I've been cultivating for years
 

Thanks for bringing back old memories, it's been almost two decades since I 
read BOFH.  ;)




Re: [gentoo-user] Re: Advice for 64-bit n00b?

2010-03-04 Thread Stroller


On 4 Mar 2010, at 07:19, Nikos Chantziaras wrote:


On 03/04/2010 08:44 AM, Graham Murray wrote:

Volker Armin Hemmannvolkerar...@googlemail.com  writes:

no, it is not safe to have a 64bit only system. Just choose the  
multilib
profile and start installing. If something needs the 32bit emul  
libs, it will

pull the stuff in. There is nothing you need to care about.


What is unsafe about a 64bit only system? Surely if it were unsafe  
then

Gentoo would not offer no-multilib profiles? I have recently built 2
systems using a no-multilib profile and have not found any  
problems, and

expect to start building a third one today.


You didn't understand the question Volker was replying to.  The  
question was not about safe as in security, but rather safe as  
in I can rest assured that a no-multilib system can run every  
software I could install, which is clearly not the case since some  
applications need 32-bit support.


I could imagine that web-browsers might need 32-bit support in order  
to play Flash, but can you suggest other applications which might?


This is a headless server, and I was kinda reassured by Alan's  
response (Wed, 3 Mar 2010 22:04:17 +0200) [1] that seemed to assure me  
that a statically linked 32-bit binary would work fine if I selected  
the no-multilib profile.


I'd be really quite happy if I knew that this decision was revocable -  
if I could choose no-multilib now and change my mind using eselect  
later. Presumably  I can choose to keep these 32-bit libs for the  
moment  blow them away if I find I don't need them - this lib32 is,  
after all, in the stage3-amd64-*tar.bz2, so what is the point in  
offering me no-multilib if I can't do that?


Stroller.



[1] 
http://archives.gentoo.org/gentoo-user/msg_64a30b77742cf5846705952e6129367d.xml
http://tinyurl.com/ykvx5co



Re: [gentoo-user] nepomuk 4.4 is emerged with kde 4.3

2010-03-04 Thread Neil Bothwick
On Thu, 4 Mar 2010 10:02:56 +0800, Xi Shen wrote:

 how should i roll back those miss updated packages back to 4.3? or can
 someone tell me if kde 4.4 is pretty stable to use for desktop?

I've found 4.4, even the betas, to be far more stable than 4.3. It's the
first version that I consider properly usable.


-- 
Neil Bothwick

It's the year 2000. Where are all the flying cars? I was promised flying
cars!


signature.asc
Description: PGP signature


Re: [gentoo-user] how to add custom compilation options?

2010-03-04 Thread Neil Bothwick
On Thu, 4 Mar 2010 10:08:46 +0800, Xi Shen wrote:

 i want to emerge the crypto++ package with the
 -DCRYPTOPP_DISABLE_ASM option. i tried to add it into the CFLAGS
 variable, but it did not work. please tell me how to do this.

This is C++ software, you need to add it to CXXFLAGS.


-- 
Neil Bothwick

You can't teach a new mouse old clicks.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Advice for 64-bit n00b?

2010-03-04 Thread Volker Armin Hemmann
On Donnerstag 04 März 2010, Stroller wrote:

 
 I'd be really quite happy if I knew that this decision was revocable -
 if I could choose no-multilib now and change my mind using eselect
 later. Presumably  I can choose to keep these 32-bit libs for the
 moment  blow them away if I find I don't need them - this lib32 is,
 after all, in the stage3-amd64-*tar.bz2, so what is the point in
 offering me no-multilib if I can't do that?

you can not change on the fly. going from no-multilib to multilib means re-
installation.
no-multilib is meant for the very brave or people who know exactly that they 
never need 32bit apps on that box.

Your manpages will take up more space then those few 32bit emul libs that 
might or not be installed. So there is no downside going multilib.



Re: [gentoo-user] Filesystem corruption - reiserfs? - won't boot, filesystem couldn't be fixed :(

2010-03-04 Thread Stroller


On 3 Mar 2010, at 17:14, Willie Wong wrote:


On Wed, Mar 03, 2010 at 04:16:50PM +, Stroller wrote:


Many thanks for your help, Willie!

About 13 items. Is this unlucky?

http://linux.stroller.uk.eu.org/fs-corruption-dev.png



Okay, something is screwed up with udev. Is udev started?


Ah!

Ok... this is shown as an error when before the failed to open the  
device message.


http://linux.stroller.uk.eu.org/fs-corruption.png

Startin udevd... error getting signalfd



Is it upgraded recently?


chroot # genlop udev | tail -n 4
 Tue May 26 17:26:46 2009  sys-fs/udev-124-r2
 Thu Jun 25 06:05:37 2009  sys-fs/udev-141
 Mon Dec 21 04:57:20 2009  sys-fs/udev-146-r1
chroot #

The system last booted ok in October and, until yesterday, has been up  
since then. So this December update may well be to blame.



Any config files in /etc that needs updating?


Nope.

chroot # etc-update
Scanning Configuration files...
Exiting: Nothing left to do; exiting. :)
chroot #


Is udev directory in /etc okay?


All looks ok to me:

chroot # ls -l /etc/udev/*
-rw-r--r-- 1 root root 277 2009-12-21 04:56 /etc/udev/udev.conf

/etc/udev/rules.d:
total 24
-rw-r--r-- 1 root root   55 2009-10-11 09:38 30-svgalib.rules
-rw-r--r-- 1 root root 4311 2009-09-11 23:02 70-nut-usbups.rules
-rw-r--r-- 1 root root 1606 2008-12-22 12:33 70-persistent-cd.rules
-rw-r--r-- 1 root root  440 2009-12-21 04:57 70-persistent-net.rules
-rw-r--r-- 1 root root   28 2009-07-22 03:04 99-fuse.rules
chroot #



At this point I don't think your problem is necessarily with the
harddrive itself: I think we now know why fsck cannot open file or
device.

Check /var/log/emerge.log or the portage elogs. Did you upgrade
baselayout recently?



Yes, upgraded to baselayout-1.12.13 at the same time I udev was  
upgraded:


chroot # genlop baselayout | tail -n 3
 Thu Feb 12 09:36:25 2009  sys-apps/baselayout-1.12.11.1
 Mon Dec 21 01:25:32 2009  sys-apps/baselayout-1.12.13
chroot #

What I'm inclined to do now, having taken an image of the drive (I  
used ddrescue, which showed no errors) is try `reiserfsck --rebuild- 
tree` on the partition, just to be sure. I get the impression this  
is probably quite safe, but I have a backup anyway.


I, too, suspect that won't fix the problem, so after that I guess I'll  
try remerging udev  baselayout. I suspect remerging --empty may be  
necessary, but any other suggestions welcome.


Stroller.




Re: [gentoo-user] Filesystem corruption - reiserfs? - won't boot, filesystem couldn't be fixed :(

2010-03-04 Thread Willie Wong
On Thu, Mar 04, 2010 at 09:55:44AM +, Stroller wrote:
 
 On 3 Mar 2010, at 17:14, Willie Wong wrote:
 
 On Wed, Mar 03, 2010 at 04:16:50PM +, Stroller wrote:
 
 Many thanks for your help, Willie!
 
 About 13 items. Is this unlucky?
 
 http://linux.stroller.uk.eu.org/fs-corruption-dev.png
 
 
 Okay, something is screwed up with udev. Is udev started?
 
 Ah!
 
 Ok... this is shown as an error when before the failed to open the  
 device message.
 
 http://linux.stroller.uk.eu.org/fs-corruption.png
 
 Startin udevd... error getting signalfd

What kernel are you running?

You need at least 2.6.22 to have signalfd support, and at least 2.6.27
to have reliable signalfd support. If this is not satisfied, please
either downgrade udev or upgrade your kernel.

Cheers, 

W 
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] No more mythtv for Gentoo users?

2010-03-04 Thread Alex Schuster
Neil Bothwick writes:

  Wasn't Agrajag the toothless wonder that kept getting accidentally
  killed by Arthur Dent?
 
 Yes, all my hostnames are HHGTTG characters. Agrajag never crashes and
 has only died once... so far.

Uh, makes me wonder if I am along your hosts, too?

Wonko



Re: [gentoo-user] Filesystem corruption - reiserfs? - won't boot, filesystem couldn't be fixed :(

2010-03-04 Thread Stroller


On 4 Mar 2010, at 10:23, Willie Wong wrote:


On Thu, Mar 04, 2010 at 09:55:44AM +, Stroller wrote:


On 3 Mar 2010, at 17:14, Willie Wong wrote:


On Wed, Mar 03, 2010 at 04:16:50PM +, Stroller wrote:


Many thanks for your help, Willie!

About 13 items. Is this unlucky?

http://linux.stroller.uk.eu.org/fs-corruption-dev.png



Okay, something is screwed up with udev. Is udev started?


Ah!

Ok... this is shown as an error when before the failed to open the
device message.

http://linux.stroller.uk.eu.org/fs-corruption.png

Startin udevd... error getting signalfd


What kernel are you running?

You need at least 2.6.22 to have signalfd support, and at least 2.6.27
to have reliable signalfd support. If this is not satisfied, please
either downgrade udev or upgrade your kernel.


I'm surprised to find this system is still running 2.6.25. I'll  
upgrade now.


Many thanks for your patient help,

Stroller.



Re: [gentoo-user] Re: Advice for 64-bit n00b?

2010-03-04 Thread Mick
On 4 March 2010 09:15, Volker Armin Hemmann volkerar...@googlemail.com wrote:
 On Donnerstag 04 März 2010, Stroller wrote:


 I'd be really quite happy if I knew that this decision was revocable -
 if I could choose no-multilib now and change my mind using eselect
 later. Presumably  I can choose to keep these 32-bit libs for the
 moment  blow them away if I find I don't need them - this lib32 is,
 after all, in the stage3-amd64-*tar.bz2, so what is the point in
 offering me no-multilib if I can't do that?

 you can not change on the fly. going from no-multilib to multilib means re-
 installation.
 no-multilib is meant for the very brave or people who know exactly that they
 never need 32bit apps on that box.

 Your manpages will take up more space then those few 32bit emul libs that
 might or not be installed. So there is no downside going multilib.

Yep, that was my decision too for a desktop installation.  If I were
building a slim server and checked that all apps required are
available as 64bit I might have chosen a no-multilib profile.  For
anything else I probably wouldn't.
-- 
Regards,
Mick



Re: [gentoo-user] Advice/best practices for a new Gentoo installation

2010-03-04 Thread Walter Dnes
On Wed, Mar 03, 2010 at 05:34:34PM +0100, Alex Schuster wrote

 I had this once on a smaller machine, but now I'd prefer it the other way 
 around, there's plenty of space available. I have 15G for distfiles and 
 pkgdir, so I don't worry about some 100MB for the portage tree.


  I managed to pull off a cute stunt that...
a) minimizes wasted disk space
b) retains the ability to wipe and re-install the OS, without wiping
   user data

  The example below uses /dev/sda and a 500 megabyte / partition.  I
think I could get away with 300.  Substitute as appropriate for your
system (hda or wharever)

Step 1) Partition a blank hard drive.

- partition the entire hard drive (500 gigabytes in my case) as one
  gigantic extended partition (partition 1)

- create a 500 megabyte logical linux (type 83) partition of at the
  beginning of the extended partition (partition 5).  This will be the
  / partition

- next, create a logical linux swap (type 82) partition approx twice
  the size of your ram (partition 6).

- next, create a logical linux (type 83) partition using the remainder
  of the drive (partition 7).  This will be mounted as /home.  Here's
  what my drive looks like, according to fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   1   60801   4883840015  Extended
/dev/sda5   1  62  497952   83  Linux
/dev/sda6  63 549 3911796   82  Linux swap / Solaris
/dev/sda7 550   60801   483974158+  83  Linux

  Step 2) File system creation... *WARNING* the following script wipes
all data on partitions 5, 6, and 7.  Use this only when you want to wipe
everything, *INCLUDING ALL YOUR DATA*, and start fresh.  For mounting
the drive after a reboot during install (or booting off the install CD
for rescue work) use the script in step 3.

#!/bin/bash
mke2fs /dev/sda5
mkswap /dev/sda6
mkreiserfs /dev/sda7
swapon /dev/sda6
mount /dev/sda5 /mnt/gentoo -o noatime
mkdir /mnt/gentoo/home
mount /dev/sda7 /mnt/gentoo/home -o noatime,notail
mkdir /mnt/gentoo/opt
chmod 1777 /mnt/gentoo/opt
mkdir /mnt/gentoo/tmp
chmod 1777 /mnt/gentoo/tmp
mkdir /mnt/gentoo/usr
chmod 755 /mnt/gentoo/usr
mkdir /mnt/gentoo/var
chmod 755 /mnt/gentoo/var
mkdir /mnt/gentoo/home/bindmounts
mkdir /mnt/gentoo/home/bindmounts/opt
chmod 755 /mnt/gentoo/home/bindmounts/opt
mkdir /mnt/gentoo/home/bindmounts/tmp
chmod 1777 /mnt/gentoo/home/bindmounts/tmp
mkdir /mnt/gentoo/home/bindmounts/usr
chmod 755 /mnt/gentoo/home/bindmounts/usr
mkdir /mnt/gentoo/home/bindmounts/var
chmod 755 /mnt/gentoo/home/bindmounts/var
mount --bind /mnt/gentoo/home/bindmounts/opt /mnt/gentoo/opt
mount --bind /mnt/gentoo/home/bindmounts/tmp /mnt/gentoo/tmp
mount --bind /mnt/gentoo/home/bindmounts/usr /mnt/gentoo/usr
mount --bind /mnt/gentoo/home/bindmounts/var /mnt/gentoo/var

  Again, substitute as appropriate if your harddrive is not /dev/sda.
Let's examine the script in detail...

mke2fs /dev/sda5
mkswap /dev/sda6
mkreiserfs /dev/sda7
swapon /dev/sda6

  The first 4 commands format the partitions and activate the swapdrive.
Partition 5 really should be ext2fs for a few reasons...

  - Partition 5 will rarely be written to during normal operation; only
when you are installing/updating programs/scripts that reside in
/bin or /sbin so journalling isn't that important.

  - Journalling requires disk space, which we're trying to conserve.

  - Given the small size of the / partition, ext2fs is sufficient

  - ext2fs is the easiest filesystem to shrink/grow.  If you ever need
to grow the / partition in future, you can take space from the swap
partition.  Unless you're doing a suspend-to-swap, you can screw
around with the swap partition with impunity.

  - partition 7 will require a (preferably journalling) filesystem that
can handle a large partition.  I currently use reiserfs.  There are
several competent filesystems.  The choice is yours.

mount /dev/sda5 /mnt/gentoo -o noatime
mkdir /mnt/gentoo/home
mount /dev/sda7 /mnt/gentoo/home -o noatime,notail

  The next 3 statements

  - mount partition 5 as /

  - create directory /home on partition 5

  - mount partition 7 as /home.  All physical partitions are now mounted.

mkdir /mnt/gentoo/opt
chmod 1777 /mnt/gentoo/opt
mkdir /mnt/gentoo/tmp
chmod 1777 /mnt/gentoo/tmp
mkdir /mnt/gentoo/usr
chmod 755 /mnt/gentoo/usr
mkdir /mnt/gentoo/var
chmod 755 /mnt/gentoo/var

  The next 6 statements create /opt, /tmp, /usr, and /var, and set permissions.

mkdir /mnt/gentoo/home/bindmounts
mkdir /mnt/gentoo/home/bindmounts/opt
chmod 755 /mnt/gentoo/home/bindmounts/opt
mkdir /mnt/gentoo/home/bindmounts/tmp
chmod 1777 /mnt/gentoo/home/bindmounts/tmp
mkdir /mnt/gentoo/home/bindmounts/usr
chmod 755 /mnt/gentoo/home/bindmounts/usr
mkdir /mnt/gentoo/home/bindmounts/var
chmod 755 

Re: [gentoo-user] No more mythtv for Gentoo users?

2010-03-04 Thread Neil Bothwick
On Thu, 4 Mar 2010 11:44:49 +0100, Alex Schuster wrote:

  Yes, all my hostnames are HHGTTG characters. Agrajag never crashes and
  has only died once... so far.  
 
 Uh, makes me wonder if I am along your hosts, too?
 
   Wonko

Surely you'd know if you were :)


-- 
Neil Bothwick

We've all heard that a million monkeys banging on a million
typewriters will eventually reproduce the works of Shakespeare.
Now, thanks to the Internet, we know this is not true.


signature.asc
Description: PGP signature


Re: [gentoo-user] KDE? Get me out of here!

2010-03-04 Thread Alex Schuster
Alex Schuster writes:

 Now I'm going to emerge KDE-4.4.1, let's see what this will change.

Nothing I notice. At least things have not gone worse:)

Wonko



Re: [gentoo-user] Advice/best practices for a new Gentoo installation

2010-03-04 Thread Alex Schuster
Alex Schuster writes:
 Neil Bothwick writes:
  On Wed, 3 Mar 2010 12:52:55 +0100, Alex Schuster wrote:
The data I've seen indicates that ext2 is fastest, that's what I
use.
   
   I thought the small files of the portage tree especially profit
   from the notail option in reiserfs?
  
  They benefit compared with using reiser with tail-packing.
 
 Oh my. I have it the other way around, and never even thought much
 about what this does.
 
   Did you change the block size?
  
  I had to change both the block size and blocks per inode, otherwise I
  would run out of inodes on a 1GB filesystem. You have to admire the
  user-friendliness of ext!
 
 I only wished I could add more inodes after all are out, because this
 happens quite frequently to me. But yes, it's nice I can specify this
 at all.
 
There's no need for journalling on the portage tree, it's small
enough to fsck quickly and if it does get broken, reformat and
resync.
   
   Would the journaling overhead be noticeable?
   I also had used ext2 for my portage tree first, then I read
   somewhere that reiserfs would be the best. BTW, I have distfiles
   and pkgdir somewhere else, if not the fsck would not be so fast.
  
  It's certainly noticeable compared with ext3. Many benchmarks do show
  ext2 to be the fastest filesystem, probably because of the lack of
  journalling overhead.
 
 When I saw some, it was maybe 15% difference, and that probably due to
 writes I assume. The portage tree is written during sync only, and then
 I do not care about speed. But would accessing lots and lots of small
 files be slowed down by journaling?
 
  Like you, I have $DISTDIR and $PKGDIR elsewhere, those files really
  should not be mixed in with the portage tree.
  
   Just for fun, I just copied my $PORTDIR into my tmpfs, emerge -DpN
   @system @world takes between 81 and 53 seconds. With reiserfs, I
   get 130 seconds first ($PORTDIR was unmounted first and mounted
   again to clear the caches), and 57 seconds in the second attempt.
   
   I had expected that tmpfs would be even faster. I think I just keep
   it the way it is now.
  
  The exact same thought occurred to me. With a local tree to sync
  from, tmpfs seemed a good choice (you could sync it from
  /etc/conf.d/local) but it seems like it is not worth bothering with.
 
 I would need more memory for that, I'm not at amd64 yet. But I probably
 should migrate anyway, and get another 4GB of memory.
 
  I'll try a reiser3
  filesystem without tail packing to see if it beats ext2.
 
 I backed up my portage tree, re-created the reiserfs partition, and
 mounted without notail option. The same emerge command now takes about
 three minutes... no, on 2nd try it's five. Hmm... ah, clementine is
 indexing files. Why does it do this, I did not change files. Oh, and it
 has indexed all of my /data/mp3, while I only gave it four subfolders
 to index. Why does no audio player just accept my choices for what the
 collection is, and add other stuff?
 
 The next test gives 93 seconds, that's nice.
 
   Wonko



Re: [gentoo-user] Advice/best practices for a new Gentoo installation

2010-03-04 Thread Alex Schuster
Alex Schuster writes:
 Neil Bothwick writes:
  On Wed, 3 Mar 2010 12:52:55 +0100, Alex Schuster wrote:
The data I've seen indicates that ext2 is fastest, that's what I
use.
   
   I thought the small files of the portage tree especially profit
   from the notail option in reiserfs?
  
  They benefit compared with using reiser with tail-packing.
 
 Oh my. I have it the other way around, and never even thought much
 about what this does.
 
   Did you change the block size?
  
  I had to change both the block size and blocks per inode, otherwise I
  would run out of inodes on a 1GB filesystem. You have to admire the
  user-friendliness of ext!
 
 I only wished I could add more inodes after all are out, because this
 happens quite frequently to me. But yes, it's nice I can specify this
 at all.
 
There's no need for journalling on the portage tree, it's small
enough to fsck quickly and if it does get broken, reformat and
resync.
   
   Would the journaling overhead be noticeable?
   I also had used ext2 for my portage tree first, then I read
   somewhere that reiserfs would be the best. BTW, I have distfiles
   and pkgdir somewhere else, if not the fsck would not be so fast.
  
  It's certainly noticeable compared with ext3. Many benchmarks do show
  ext2 to be the fastest filesystem, probably because of the lack of
  journalling overhead.
 
 When I saw some, it was maybe 15% difference, and that probably due to
 writes I assume. The portage tree is written during sync only, and then
 I do not care about speed. But would accessing lots and lots of small
 files be slowed down by journaling?
 
  Like you, I have $DISTDIR and $PKGDIR elsewhere, those files really
  should not be mixed in with the portage tree.
  
   Just for fun, I just copied my $PORTDIR into my tmpfs, emerge -DpN
   @system @world takes between 81 and 53 seconds. With reiserfs, I
   get 130 seconds first ($PORTDIR was unmounted first and mounted
   again to clear the caches), and 57 seconds in the second attempt.
   
   I had expected that tmpfs would be even faster. I think I just keep
   it the way it is now.
  
  The exact same thought occurred to me. With a local tree to sync
  from, tmpfs seemed a good choice (you could sync it from
  /etc/conf.d/local) but it seems like it is not worth bothering with.
 
 I would need more memory for that, I'm not at amd64 yet. But I probably
 should migrate anyway, and get another 4GB of memory.
 
  I'll try a reiser3
  filesystem without tail packing to see if it beats ext2.
 
 I backed up my portage tree, re-created the reiserfs partition, and
 mounted without notail option. The same emerge command now takes about
 three minutes... no, on 2nd try it's five. Hmm... ah, clementine is
 indexing files. Why does it do this, I did not change files. Oh, and it
 has indexed all of my /data/mp3, while I only gave it four subfolders
 to index. Why does no audio player just accept my choices for what the
 collection is, and add other stuff?
 
 The next test gives 93 seconds, that's nice.
 
   Wonko




Re: [gentoo-user] Advice/best practices for a new Gentoo installation

2010-03-04 Thread Alex Schuster
Argh, sorry for the previous posts. I had some sort of Ctrl-lock, that is, 
the keyboard acted as if Ctrl was pressed all the time. Now I know that 
Ctrl+Enter is a shortcut to send an email. I accidentally closed some 
shells by pressing the D key.

I was able to get rid off it by switching to a text console with Alt-F1 
(the additional Ctrl key was also not needed) and back.


Alex Schuster writes:

 The next test gives 93 seconds, that's nice.

What is not so nice is that emerge -a --depclean took over half an hour of 
CPU time, needing half a gigabyte of memory. WOW.

Wonko



Re: [gentoo-user] how to add custom compilation options?

2010-03-04 Thread Xi Shen
On Thu, Mar 4, 2010 at 5:14 PM, Neil Bothwick n...@digimed.co.uk wrote:
 This is C++ software, you need to add it to CXXFLAGS.


 --
 Neil Bothwick

 You can't teach a new mouse old clicks.


yes, i figured it out. thanks.


-- 
Best Regards,
David Shen

http://twitter.com/davidshen84/



Re: [gentoo-user] power management cannot change LCD brightness

2010-03-04 Thread Xi Shen
On Tue, Mar 2, 2010 at 5:58 PM, Xi Shen davidshe...@googlemail.com wrote:
 On Sun, Feb 28, 2010 at 9:32 PM,  roun...@hotmail.ru wrote:
 Hi,
 fisrt see if proc and your kernel has it right, do:
  cat  /proc/acpi/video/GFX0/DD02/brightness

echo 20 /proc/acpi/video/VID1/LCD0/brightness can change the
brightness of my lcd. but dragging the power management tool still
cannot work.


-- 
Best Regards,
David Shen

http://twitter.com/davidshen84/



[gentoo-user] mysql is being pulled in again!

2010-03-04 Thread Mick
I am trying to understand what is pulling in mysql again.  This
morning a load of qt packages were being updated and I noticed a bunch
of perl and virtual packages in there too.  Rest assured dev-db/mysql
was in there, again.  This is despite the fact that the mysql use flag
seem to be not active as far as portage is concerned:

# euse -i mysql
global use flags (searching: mysql)

[-] mysql - Adds mySQL Database support

local use flags (searching: mysql)

[-] mysql (app-admin/ulogd):
Build MYSQL output plugin to save packets in a mysql database.

[-] mysql (net-misc/mediatomb):
Use dev-db/mysql as backend rather than SQLite3. If this USE flag is
disabled, dev-db/sqlite is used in its stead.

Looking into it further I see that the virtual package is pulling the
database in:

# equery depends dev-db/mysql
[ Searching for packages depending on dev-db/mysql... ]
virtual/mysql-5.0 (=dev-db/mysql-5.0*)

# equery depends virtual/mysql
[ Searching for packages depending on virtual/mysql... ]
dev-db/mysql-5.0.84-r1 (=virtual/mysql-5.0)
dev-libs/cyrus-sasl-2.1.23-r1 (mysql? virtual/mysql)
dev-libs/redland-1.0.10-r1 (mysql? virtual/mysql)
dev-perl/DBD-mysql-4.00.5 (virtual/mysql)
x11-libs/qt-sql-4.6.2 (mysql? virtual/mysql)

So, is this telling me the virtual mysql package depends of the real
mysql and vice versa?  Should I give up and accept that just like a
LAMP build, from now on a Linux desktop *must* run mysql and nothing
else will do?  I've read that sqlite is borked and won't do what
semantic-desktop wants, but what about people who for arguments sake
want to run postgress or some other database?
-- 
Regards,
Mick



Re: [gentoo-user] Logitech WebCam Pro 9000 and sound card

2010-03-04 Thread Paul Hartman
2010/3/4 Dmitry S. Makovey di...@makovey.net:
 Hi everybody,

 I have just bought Logitech WebCam Pro 9000 and much to my suprise
 things pretty much worked out of the box... almost. As I have discovered
 - even though video is working flawlessly, my audio has gone AWOL. No
 matter how many goats and virgins I have sacrificed to the gods of
 Google - can not find an answer. Am I missing something obvious? As a
 stop-gap measure I'm trying to rebuild my kernel without USB sound
 support, but it would be nice to not resort to such drastic measures.

I have the same webcam. My work-around is to unplug the webcam before
you reboot. Real fix would be set up alsa so it knows the proper order
of soundcards... I've never been able to get it to do that, though, so
I just unplug webcam until I want to use it. If someone else has
figured out how, I'd be happy to hear it too.



Re: [gentoo-user] mysql is being pulled in again!

2010-03-04 Thread Alan McKinnon
On Thursday 04 March 2010 17:37:23 Mick wrote:
 I am trying to understand what is pulling in mysql again.  This
 morning a load of qt packages were being updated and I noticed a bunch
 of perl and virtual packages in there too.  Rest assured dev-db/mysql
 was in there, again.  This is despite the fact that the mysql use flag
 seem to be not active as far as portage is concerned:
 
 # euse -i mysql
 global use flags (searching: mysql)
 
 [-] mysql - Adds mySQL Database support
 
 local use flags (searching: mysql)
 
 [-] mysql (app-admin/ulogd):
 Build MYSQL output plugin to save packets in a mysql database.
 
 [-] mysql (net-misc/mediatomb):
 Use dev-db/mysql as backend rather than SQLite3. If this USE flag is
 disabled, dev-db/sqlite is used in its stead.
 
 Looking into it further I see that the virtual package is pulling the
 database in:
 
 # equery depends dev-db/mysql
 [ Searching for packages depending on dev-db/mysql... ]
 virtual/mysql-5.0 (=dev-db/mysql-5.0*)
 
 # equery depends virtual/mysql
 [ Searching for packages depending on virtual/mysql... ]
 dev-db/mysql-5.0.84-r1 (=virtual/mysql-5.0)
 dev-libs/cyrus-sasl-2.1.23-r1 (mysql? virtual/mysql)
 dev-libs/redland-1.0.10-r1 (mysql? virtual/mysql)
 dev-perl/DBD-mysql-4.00.5 (virtual/mysql)
 x11-libs/qt-sql-4.6.2 (mysql? virtual/mysql)
 
 So, is this telling me the virtual mysql package depends of the real
 mysql and vice versa?  Should I give up and accept that just like a
 LAMP build, from now on a Linux desktop *must* run mysql and nothing
 else will do?  I've read that sqlite is borked and won't do what
 semantic-desktop wants, but what about people who for arguments sake
 want to run postgress or some other database?

The tool you want to answer this question is

emerge -t

There will be a reason why mysql is being pulled in, most likely a package 
that must have it. 

If a user wants postgres, he should install and run postgres. How would this 
affect the presence or absence of mysql?
 
-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] mysql is being pulled in again!

2010-03-04 Thread Neil Bothwick
On Thu, 4 Mar 2010 17:57:15 +0200, Alan McKinnon wrote:

 The tool you want to answer this question is
 
 emerge -t
 
 There will be a reason why mysql is being pulled in, most likely a
 package that must have it. 

I notice qt-sql is in the list, does that have the mysql flag forced on?


-- 
Neil Bothwick

In the begining, there was nothing.


signature.asc
Description: PGP signature


Re: [gentoo-user] mysql is being pulled in again!

2010-03-04 Thread Mick
On 4 March 2010 15:57, Alan McKinnon alan.mckin...@gmail.com wrote:
 On Thursday 04 March 2010 17:37:23 Mick wrote:
 I am trying to understand what is pulling in mysql again.  This
 morning a load of qt packages were being updated and I noticed a bunch
 of perl and virtual packages in there too.  Rest assured dev-db/mysql
 was in there, again.  This is despite the fact that the mysql use flag
 seem to be not active as far as portage is concerned:

 # euse -i mysql
 global use flags (searching: mysql)
 
 [-    ] mysql - Adds mySQL Database support

 local use flags (searching: mysql)
 
 [-    ] mysql (app-admin/ulogd):
 Build MYSQL output plugin to save packets in a mysql database.

 [-    ] mysql (net-misc/mediatomb):
 Use dev-db/mysql as backend rather than SQLite3. If this USE flag is
 disabled, dev-db/sqlite is used in its stead.

 Looking into it further I see that the virtual package is pulling the
 database in:

 # equery depends dev-db/mysql
 [ Searching for packages depending on dev-db/mysql... ]
 virtual/mysql-5.0 (=dev-db/mysql-5.0*)

 # equery depends virtual/mysql
 [ Searching for packages depending on virtual/mysql... ]
 dev-db/mysql-5.0.84-r1 (=virtual/mysql-5.0)
 dev-libs/cyrus-sasl-2.1.23-r1 (mysql? virtual/mysql)
 dev-libs/redland-1.0.10-r1 (mysql? virtual/mysql)
 dev-perl/DBD-mysql-4.00.5 (virtual/mysql)
 x11-libs/qt-sql-4.6.2 (mysql? virtual/mysql)

 So, is this telling me the virtual mysql package depends of the real
 mysql and vice versa?  Should I give up and accept that just like a
 LAMP build, from now on a Linux desktop *must* run mysql and nothing
 else will do?  I've read that sqlite is borked and won't do what
 semantic-desktop wants, but what about people who for arguments sake
 want to run postgress or some other database?

 The tool you want to answer this question is

 emerge -t

Right, but I started this mammoth emerge before I spent enough time
looking at its contents I'm afraid.  :-(  I could of course uninstall
them and try again, but there's steam coming out the back of this old
box and I would rather not have to rinse and repeat.

This is what was pulled in today and most of the perl stuff seemed
like new installs:

 Thu Mar  4 09:20:24 2010  dev-libs/libffi-3.0.9
 Thu Mar  4 09:20:49 2010  dev-db/mysql-init-scripts-1.2
 Thu Mar  4 09:26:49 2010  net-dns/bind-tools-9.4.3_p5
 Thu Mar  4 09:33:38 2010  dev-perl/Net-Daemon-0.43
 Thu Mar  4 09:34:57 2010  perl-core/Storable-2.20
 Thu Mar  4 09:35:22 2010  dev-perl/yaml-0.68
 Thu Mar  4 09:35:56 2010  perl-core/Test-Harness-3.17
 Thu Mar  4 09:36:32 2010  perl-core/Package-Constants-0.02
 Thu Mar  4 09:37:07 2010  perl-core/Sys-Syslog-0.27
 Thu Mar  4 09:37:26 2010  virtual/perl-Storable-2.20
 Thu Mar  4 09:37:41 2010  virtual/perl-Test-Harness-3.17
 Thu Mar  4 09:37:57 2010  virtual/perl-Package-Constants-0.02
 Thu Mar  4 09:38:15 2010  virtual/perl-Sys-Syslog-0.27
 Thu Mar  4 09:38:46 2010  dev-perl/PlRPC-0.2020-r1
 Thu Mar  4 09:39:19 2010  perl-core/IO-Zlib-1.09
 Thu Mar  4 09:39:35 2010  virtual/perl-IO-Zlib-1.09
 Thu Mar  4 09:40:09 2010  perl-core/Archive-Tar-1.54
 Thu Mar  4 09:40:27 2010  virtual/perl-Archive-Tar-1.54
 Thu Mar  4 09:41:03 2010  perl-core/Module-Build-0.34.0201
 Thu Mar  4 09:41:19 2010  virtual/perl-Module-Build-0.34.0201
 Thu Mar  4 09:41:52 2010  perl-core/ExtUtils-CBuilder-0.26.03
 Thu Mar  4 09:42:08 2010  virtual/perl-ExtUtils-CBuilder-0.26.03
 Thu Mar  4 09:42:48 2010  perl-core/File-Spec-3.30
 Thu Mar  4 09:43:21 2010  perl-core/ExtUtils-ParseXS-2.20.0401
 Thu Mar  4 09:43:37 2010  virtual/perl-ExtUtils-ParseXS-2.20.0401
 Thu Mar  4 09:43:53 2010  virtual/perl-File-Spec-3.30
 Thu Mar  4 09:44:48 2010  dev-perl/DBI-1.609
 Thu Mar  4 09:47:31 2010  dev-util/boost-build-1.41.0
 Thu Mar  4 09:55:19 2010  media-gfx/exiv2-0.19
 Thu Mar  4 11:49:55 2010  dev-libs/boost-1.41.0-r3
 Thu Mar  4 12:29:27 2010  dev-db/mysql-5.0.84-r1
 Thu Mar  4 12:29:44 2010  virtual/mysql-5.0
 Thu Mar  4 12:30:32 2010  dev-perl/DBD-mysql-4.00.5
 Thu Mar  4 13:08:28 2010  x11-libs/qt-core-4.6.2-r1
 Thu Mar  4 13:12:49 2010  x11-libs/qt-dbus-4.6.2
 Thu Mar  4 13:28:44 2010  x11-libs/qt-script-4.6.2
 Thu Mar  4 13:32:06 2010  x11-libs/qt-sql-4.6.2
 Thu Mar  4 13:33:58 2010  x11-libs/qt-test-4.6.2
 Thu Mar  4 14:01:18 2010  x11-libs/qt-xmlpatterns-4.6.2
 Thu Mar  4 15:45:26 2010  x11-libs/qt-gui-4.6.2
 Thu Mar  4 16:11:12 2010  x11-libs/qt-qt3support-4.6.2
 Thu Mar  4 16:17:31 2010  x11-libs/qt-opengl-4.6.2
 Thu Mar  4 16:21:11 2010  x11-libs/qt-svg-4.6.2


 There will be a reason why mysql is being pulled in, most likely a package
 that must have it.

If a package must have it, wouldn't the USE flag mysql switch to + ?

 If a user 

[gentoo-user] Re: mysql is being pulled in again!

2010-03-04 Thread Nikos Chantziaras

On 03/04/2010 05:37 PM, Mick wrote:

I am trying to understand what is pulling in mysql again.  This
morning a load of qt packages were being updated and I noticed a bunch
of perl and virtual packages in there too.  Rest assured dev-db/mysql
was in there, again.  This is despite the fact that the mysql use flag
seem to be not active as far as portage is concerned:


That doesn't matter.  USE flags is for optional stuff, not required 
stuff.  It's like having the kde USE flag disabled and wondering why 
emerging a KDE application wants to pull-in kdelibs...





I want my old Myth theme back! [WAS Re: [gentoo-user] Re: No more mythtv for Gentoo users?]

2010-03-04 Thread Michael Sullivan
I upgraded to mythtv-0.22_p23069.  Went through the whole song-and-dance
of repairing the database for the utf8 to latin1 thing, and now it's
finally back up.  Except for one tiny problem.  My G.A.N.T. theme is
gone.  I can't even select it as a theme.  Is there some way to get it
back?  I liked the plain gray background, the fact that I could tell at
a glance what was recording and what I had manually set not to record.
And the fact that a generic episode was easily distinguished from a
specific episode (I usually manually set generic episodes not to record,
but now I have to take extra time to find each episode and check that
it's not generic.  :(  I'm also not happy that they changed the order of
options.
-Michael Sullivan-




[gentoo-user] Re: Is the move perl-5.10 involved here

2010-03-04 Thread Harry Putnam
Willie Wong ww...@math.princeton.edu writes:

 On Wed, Mar 03, 2010 at 11:21:35AM -0600, Harry Putnam wrote:
 snip

  Unpacking source...
  Unpacking DBD-mysql-4.013.tar.gz to 
  /var/tmp/portage/dev-perl/DBD-mysql-4.01.3/work
  Source unpacked in /var/tmp/portage/dev-perl/DBD-mysql-4.01.3/work
  Compiling source in 
  /var/tmp/portage/dev-perl/DBD-mysql-4.01.3/work/DBD-mysql-4.013 ...

  * Using ExtUtils::MakeMaker
 Use of uninitialized value in subroutine entry at 
 /usr/lib/perl5/5.10.1/i686-linux/DynaLoader.pm line 223.
  object version 1.609 does not match $::VERSION %_ at 
 /usr/lib/perl5/5.10.1/i686-linux/DynaLoader.pm line 223.
 BEGIN failed--compilation aborted at 
 /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI.pm line 263.
 Compilation failed in require at 
 /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI/DBD.pm line 3225.
 BEGIN failed--compilation aborted at 
 /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI/DBD.pm line 3226.

 Have you tried perl-cleaner?

 http://www.gentoo.org/proj/en/perl/perl-cleaner.xml

So do you think its related to the update to perl-5.10?

Have you had a similar problem and `perl-cleaner' fixed it?




Re: [gentoo-user] Re: Is the move perl-5.10 involved here

2010-03-04 Thread Neil Bothwick
On Thu, 04 Mar 2010 10:52:30 -0600, Harry Putnam wrote:

 Have you had a similar problem and `perl-cleaner' fixed it?

Any perl has modules problems after updating perl itself, you should run
perl-cleaner. Or don't wait for the problem and just run it after any
major version upgrade of perl.


-- 
Neil Bothwick

Pentium instruction of the day: FLI: Flash Lights Impressively


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: mysql is being pulled in again!

2010-03-04 Thread Mick
On 4 March 2010 16:45, Nikos Chantziaras rea...@arcor.de wrote:
 On 03/04/2010 05:37 PM, Mick wrote:

 I am trying to understand what is pulling in mysql again.  This
 morning a load of qt packages were being updated and I noticed a bunch
 of perl and virtual packages in there too.  Rest assured dev-db/mysql
 was in there, again.  This is despite the fact that the mysql use flag
 seem to be not active as far as portage is concerned:

 That doesn't matter.  USE flags is for optional stuff, not required stuff.
  It's like having the kde USE flag disabled and wondering why emerging a KDE
 application wants to pull-in kdelibs...

OK, I found out that qt-mysql caused it.  Now I better change the USE
flag and start again.

Thank you all.
-- 
Regards,
Mick



[gentoo-user] Re: mysql is being pulled in again!

2010-03-04 Thread Nikos Chantziaras

On 03/04/2010 07:07 PM, Mick wrote:

On 4 March 2010 15:57, Alan McKinnonalan.mckin...@gmail.com  wrote:

There will be a reason why mysql is being pulled in, most likely a package
that must have it.


If a package must have it, wouldn't the USE flag mysql switch to + ?


No.  The USE flag is only for packages where MySQL is optional.  If a 
package can't be used without MySQL, there's no mysql USE flag for it.




I am thinking that x11-libs/qt-sql-4.6.2 may be what started this
emerge of mysql.


No, that one has MySQL as an optional dep and therefore it obeys the 
mysql USE flag.  To see which installed packages pull-in mysql, use:


  equery depends mysql

If the output starts with (mysql? then that package only pulls mysql 
if the USE flag is set.  If it shows a package pulling mysql without the 
(mysql? part, then you've found the culprit.





Re: I want my old Myth theme back! [WAS Re: [gentoo-user] Re: No more mythtv for Gentoo users?]

2010-03-04 Thread Neil Bothwick
On Thu, 04 Mar 2010 11:08:25 -0600, Michael Sullivan wrote:

 I upgraded to mythtv-0.22_p23069.  Went through the whole song-and-dance
 of repairing the database for the utf8 to latin1 thing, and now it's
 finally back up.  Except for one tiny problem.  My G.A.N.T. theme is
 gone.  I can't even select it as a theme.  Is there some way to get it
 back?

Apparently not. The theme engine was completely rewritten for 0.22, to
give more flexibility and options, and G.A.N.T. was not ported. The jos
of free software, if a dev gets bored with something, they just stop.

 I'm also not happy that they changed the order of
 options.

Neither was I at first, but once I got the hang of the new layout, I find
it faster to use. Adding videos is an extreme example that was a real
hassle in older versions but a trivial task now.


-- 
Neil Bothwick

Snacktrek, n.:
 The peculiar habit, when searching for a snack, of constantly
 returning to the refrigerator in hopes that something new will have
 materialized.


signature.asc
Description: PGP signature


Re: [gentoo-user] mysql is being pulled in again!

2010-03-04 Thread Neil Bothwick
On Thu, 4 Mar 2010 17:07:22 +, Mick wrote:

  The tool you want to answer this question is
 
  emerge -t
 
 Right, but I started this mammoth emerge before I spent enough time
 looking at its contents I'm afraid.

The use emerge --depclean -pv dev-db/mysql

  There will be a reason why mysql is being pulled in, most likely a
  package that must have it.
 
 If a package must have it, wouldn't the USE flag mysql switch to + ?

USE flags control optional dependencies. If a package must have it, there
won't be a USE flag.

  If a user wants postgres, he should install and run postgres. How
  would this affect the presence or absence of mysql?
 
 Well, I am assuming that if postgres can do what mysql does, then it
 could work in its place.  Like if syslog-ng will do what metalog does,
 then the virtual/log-thingie will not insist in pulling in metalog.

The difference is that the virtual/logger is satisfied by a number of
loggers, while virtual/mysql is satisfied by different mysql variants.
The other difference is that the various loggers present the same face to
other programs, whereas postgresql has a different API to mysql.

 Anyway, the postgres is just an example of asking why are we locking
 down the choice of a database to a particular package/provider.

WE are not doing anything of the sort. The upstream developers have
decided mysql is the storage system they want to use. Supporting multiple
databases would require time or experience they do not have, unless
someone else is prepared to contribute some of their own.


-- 
Neil Bothwick

God: What one human uses to persecute another.


signature.asc
Description: PGP signature


Re: [gentoo-user] mysql is being pulled in again!

2010-03-04 Thread Roy Wright
Since you already merged it in:

# equery depends mysql

then unmerge or correct USE flags for dependent apps.

To have portage error out instead of merging mysql in the future:

# echo dev-db/mysql /etc/portage/package.mask/I_said_no_mysql

HTH,
Roy



Re: [gentoo-user] Re: Is the move perl-5.10 involved here

2010-03-04 Thread Michael Higgins
On Thu, 04 Mar 2010 10:52:30 -0600
Harry Putnam rea...@newsguy.com wrote:

  Use of uninitialized value in subroutine entry
  at /usr/lib/perl5/5.10.1/i686-linux/DynaLoader.pm line 223. object
  version 1.609 does not match $::VERSION %_
  at /usr/lib/perl5/5.10.1/i686-linux/DynaLoader.pm line 223. BEGIN
  failed--compilation aborted
  at /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI.pm line 263.
  ^
Your perl installation is broken. That is obvious. What you do to fix
it probably should start with perl-cleaner... FWIW my experience with
updating it has been fine. 

Basically, why are you asking... 

 So do you think its related to the update to perl-5.10?

and

 Have you had a similar problem and `perl-cleaner' fixed it?

... because either you ran perl-cleaner or you didn't. It does
something you need to do if portage manages perl, so just let it
work. ;-)

Just have a look a perl-cleaner itself if you are concerned. 

head `which perl-cleaner`
#!/bin/bash


Cheers,

-- 
 |\  /||   |  ~ ~  
 | \/ ||---|  `|` ?
 ||ichael  |   |iggins\^ /
 michael.higgins[at]evolone[dot]org



Re: [gentoo-user] mysql is being pulled in again!

2010-03-04 Thread Alan McKinnon
On Thursday 04 March 2010 19:07:22 Mick wrote:
  There will be a reason why mysql is being pulled in, most likely a
  package that must have it.
 
 If a package must have it, wouldn't the USE flag mysql switch to + ?

Your post seems to indicate a lack of understanding of how these things work.

Often-times things are not optional, that's what must means. USE is 
diametrically opposed to that as it has to imply a meaning of may. If a 
package if hard-coded to use mysql, then it must have it, and putting it in 
USE in pointless.

There's no rule about this. If mysql is a hard dep, then that's the way it is. 

  If a user wants postgres, he should install and run postgres. How would
  this affect the presence or absence of mysql?
 
 Well, I am assuming that if postgres can do what mysql does, then it
 could work in its place.  Like if syslog-ng will do what metalog does,
 then the virtual/log-thingie will not insist in pulling in metalog.
 Anyway, the postgres is just an example of asking why are we locking
 down the choice of a database to a particular package/provider.

Again, you appear to fail to understand. metalog supports a variety of 
database backends. Not all apps are like this, some are hard-coded. If you 
want to use an app like this, you have no choice but to install mysql.

If you don't like this, then your choices number two:

1. Tough, get over it;
2. Use a different app

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] mysql is being pulled in again!

2010-03-04 Thread Neil Bothwick
On Thu, 4 Mar 2010 22:07:14 +0200, Alan McKinnon wrote:

 Again, you appear to fail to understand. metalog supports a variety of 
 database backends. Not all apps are like this, some are hard-coded. If
 you want to use an app like this, you have no choice but to install
 mysql.
 
 If you don't like this, then your choices number two:
 
 1. Tough, get over it;
 2. Use a different app

3. Patch the code to support a different database.


-- 
Neil Bothwick

Better to understand a little than to misunderstand a lot.


signature.asc
Description: PGP signature


[gentoo-user] Need help discovering what's using a port (for cvsd)

2010-03-04 Thread Michael Sullivan
A few years ago I was working on a programming project.  I installed a
cvsd server on our server box and checked in/checked out the project
whenever I felt like working on it (it would have gotten majorly screwed
up if the only copy of the project lived on my personal workstation -
hence using cvsd).  Anyway, I got busy with other things and forgot
about that particular programming project.  At some point over the last
few years, cvsd got unmerged.  I remerged it today and have been trying
to get it to work.  I checked the repository directory and the files I
need are still there.  I can't get the server to start.  I tried
running /etc/init.d/cvsd start and it failed with the [!!] thing.  I
catted the script and saw that the executable for the cvsd server lives
at /usr/sbin/cvsd, so I tried calling it directly:
carter log # /usr/sbin/cvsd --debug
cvsd: debug: reading config file (/etc/cvsd/cvsd.conf)
cvsd: debug: done reading config file
cvsd: debug: cvscmd: /bin/cvs
cvsd: debug: cvsargs[0]: cvs
cvsd: debug: cvsargs[1]: -f
cvsd: debug: cvsargs[2]: --allow-root=/root
cvsd: debug: cvsargs[3]: pserver
cvsd: debug: cvsenv[0]: HOME=/
cvsd: debug: cvsenv[1]: PATH=/bin
cvsd: debug: cvsenv[2]: SHELL=/bin/sh
cvsd: debug: cvsenv[3]: TMPDIR=/tmp
cvsd: debug: cvsenv[4]: CVSUMASK=027
cvsd: version 1.0.7 starting
cvsd: debug: binding 0.0.0.0 2401 family=2 socktype=1 protocol=6
cvsd: listening on 0.0.0.0 2401
cvsd: debug: binding :: 2401 family=10 socktype=1 protocol=6
cvsd: bind() failed: Address already in use
cvsd: version 1.0.7 bailing out
carter log # netstat -anp | grep 2401
carter log # 

Nothing.  I hope I'm using the netstat command correctly.  I wrote in to
a linux list years ago asking how to find out which process is using a
port, and they said to grep `netstat -anp` for whatever port I was
looking for.  Anyway, when I ran netstat -anpv, I got some errors:

netstat: no support for `AF IPX' on this system.
netstat: no support for `AF AX25' on this system.
netstat: no support for `AF X25' on this system.
netstat: no support for `AF NETROM' on this system.


I assume these are kernel options, but without knowing specific symbol
names, I'm not sure how to compile them into the kernel.  Can anyone
give me any advice on this situation?  





Re: [gentoo-user] Need help discovering what's using a port (for cvsd)

2010-03-04 Thread Paul Hartman
On Thu, Mar 4, 2010 at 5:02 PM, Michael Sullivan msulli1...@gmail.com wrote:
 netstat: no support for `AF IPX' on this system.
 netstat: no support for `AF AX25' on this system.
 netstat: no support for `AF X25' on this system.
 netstat: no support for `AF NETROM' on this system.


 I assume these are kernel options, but without knowing specific symbol
 names, I'm not sure how to compile them into the kernel.  Can anyone
 give me any advice on this situation?

I think if you don't have support for those protocols the chances of a
program using them is probably zero. :) FWIW i get the exact same
messages. I don't think it is meaningful.

I use a similar command (omitting all the unix sockets stuff): netstat
-lnp --inet

With regard to your original problem, try to edit the cvsd.conf and
specify an actual IP address to listen on (instead of 0.0.0.0 or * or
however it is defined there) and see if that helps.



OT: CVS [WAS: Re: [gentoo-user] Need help discovering what's using a port (for cvsd)]

2010-03-04 Thread Michael Sullivan
On Thu, 2010-03-04 at 17:30 -0600, Paul Hartman wrote:
 On Thu, Mar 4, 2010 at 5:02 PM, Michael Sullivan msulli1...@gmail.com wrote:
  netstat: no support for `AF IPX' on this system.
  netstat: no support for `AF AX25' on this system.
  netstat: no support for `AF X25' on this system.
  netstat: no support for `AF NETROM' on this system.
 
 
  I assume these are kernel options, but without knowing specific symbol
  names, I'm not sure how to compile them into the kernel.  Can anyone
  give me any advice on this situation?
 
 I think if you don't have support for those protocols the chances of a
 program using them is probably zero. :) FWIW i get the exact same
 messages. I don't think it is meaningful.
 
 I use a similar command (omitting all the unix sockets stuff): netstat
 -lnp --inet
 
 With regard to your original problem, try to edit the cvsd.conf and
 specify an actual IP address to listen on (instead of 0.0.0.0 or * or
 however it is defined there) and see if that helps.
 

Now I've got the server running, but I can't connect to it:

mich...@camille ~ $ cvs login
Logging in to :pserver:mich...@carter.espersunited.com:2401/root
CVS password: 
cvs [login aborted]: connect to
carter.espersunited.com(192.168.1.2):2401 failed: Connection refused

My .cvspass looks kinda weird too:
mich...@camille ~ $ cat .cvspass
/1 :pserver:mich...@carter.espersunited.com:2401/root Ah0 %0]y?

Is this right?





[gentoo-user] Re: Is the move perl-5.10 involved here

2010-03-04 Thread Harry Putnam
Michael Higgins li...@evolone.org writes:

 On Thu, 04 Mar 2010 10:52:30 -0600
 Harry Putnam rea...@newsguy.com wrote:

  Use of uninitialized value in subroutine entry
  at /usr/lib/perl5/5.10.1/i686-linux/DynaLoader.pm line 223. object
  version 1.609 does not match $::VERSION %_
  at /usr/lib/perl5/5.10.1/i686-linux/DynaLoader.pm line 223. BEGIN
  failed--compilation aborted
  at /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI.pm line 263.
   ^
 Your perl installation is broken. That is obvious. What you do to fix
 it probably should start with perl-cleaner... FWIW my experience with
 updating it has been fine. 

 Basically, why are you asking... 

I was unable to install dev-perl/DBD-mysql but now seems to
work after running perl-cleaner

Thanks Willie... and thanks to all posters




Re: [gentoo-user] Re: Advice for 64-bit n00b?

2010-03-04 Thread Walter Dnes
On Thu, Mar 04, 2010 at 08:56:34AM +, Stroller wrote

 I could imagine that web-browsers might need 32-bit support in order  
 to play Flash

  If you're brave, there's an alpha (as in pre-beta, not the CPU) 64-bit
plugin for linux at...
http://labs.adobe.com/downloads/flashplayer10_64bit.html

 but can you suggest other applications which might?

  Realplayer, or any other proprietary plugin.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] mysql is being pulled in again!

2010-03-04 Thread Mick
On 4 March 2010 20:07, Alan McKinnon alan.mckin...@gmail.com wrote:
 On Thursday 04 March 2010 19:07:22 Mick wrote:
  There will be a reason why mysql is being pulled in, most likely a
  package that must have it.

 If a package must have it, wouldn't the USE flag mysql switch to + ?

 Your post seems to indicate a lack of understanding of how these things work.

Yep.  :-(

 Often-times things are not optional, that's what must means. USE is
 diametrically opposed to that as it has to imply a meaning of may. If a
 package if hard-coded to use mysql, then it must have it, and putting it in
 USE in pointless.

I see.  I thought that (some relevant) USE flags reflected
dependencies at some level and that if a dependency changed then this
would reflect those USE flags which would now show up as active.  So I
thought that the mysql USE flag would change from - to +.

 There's no rule about this. If mysql is a hard dep, then that's the way it is.

  If a user wants postgres, he should install and run postgres. How would
  this affect the presence or absence of mysql?

 Well, I am assuming that if postgres can do what mysql does, then it
 could work in its place.  Like if syslog-ng will do what metalog does,
 then the virtual/log-thingie will not insist in pulling in metalog.
 Anyway, the postgres is just an example of asking why are we locking
 down the choice of a database to a particular package/provider.

 Again, you appear to fail to understand. metalog supports a variety of
 database backends. Not all apps are like this, some are hard-coded. If you
 want to use an app like this, you have no choice but to install mysql.

 If you don't like this, then your choices number two:

 1. Tough, get over it;
 2. Use a different app

No I think you fail to understand what I fail to understand!  Ha, ha!  :-))

I was not talking about what db a syslog app will use as a back end.
I was trying to understand why a virtual package like virtual/mysql is
pulling in dev-db/mysql and I used the syslog virtual/real
relationship as an analogy.  Anyway, I now know two things:

a) qt-sql pulled in mysql

b) when the wife shouts at me to get going with chores, I do not start
an emerge without first checking the contents of it!  :-))

Thanks again for your replies.
-- 
Regards,
Mick



Re: [gentoo-user] Logitech WebCam Pro 9000 and sound card

2010-03-04 Thread Dmitry Makovey
On 03/04/2010 08:37 AM, Paul Hartman wrote:
 2010/3/4 Dmitry S. Makovey di...@makovey.net:
   
 Hi everybody,

 I have just bought Logitech WebCam Pro 9000 and much to my suprise
 things pretty much worked out of the box... almost. As I have discovered
 - even though video is working flawlessly, my audio has gone AWOL.
 I have the same webcam. My work-around is to unplug the webcam before
 you reboot. Real fix would be set up alsa so it knows the proper order
 of soundcards... I've never been able to get it to do that, though, so
 I just unplug webcam until I want to use it. If someone else has
 figured out how, I'd be happy to hear it too.
   
well I've figured it out half-way (based on
http://alsa.opensrc.org/index.php/MultipleCards )

alias char-major-116 snd
alias char-major-14 soundcore

options snd major=116 cards_limit=4

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-osshree
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel index=0

alias snd-card-1 snd-usb-audio
alias sound-slot-1 snd-usb-audio
options snd-usb-audio index=1
options snd slots=snd-hda-intel,snd-usb-audio

Now my problem is that the only control ALSA shows for my built-in
hda-intel is Master with no sub-channles available. Anybody
knowledgeable enough to suggest where is the problem?