Re: [gentoo-user] Bash 3.2/3.1 compatibility?

2007-11-11 Thread Eric Martin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Willie Wong wrote:
 On Sat, Nov 10, 2007 at 11:13:10AM +0200, Penguin Lover Etaoin
 Shrdlu squawked:
 The question:

 Is there a switch that I can use to make bash run in some sort
  of compatibility mode for the string comparison? I.e, can I
 somehow force bash (in the script) to behave like before?
 Low-tech solution: can't you just install bash 3.1 manually
 somewhere, create a symlink /bin/bash31 to it, and put
 #!/bin/bash31 at the beginning of your scripts?

 Yes I could.. but the amount of work it takes for me to do that and
  remember that I did it is probably comparable to going back and
 updating all my shell scripts.

sed 's$!#/bin/bash$!#/bin/bash31' *.sh
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHNzMzaiVxdKlBO58RAgojAJ4qA0U9GL4UZKXqhfgjq//2MS4udwCeNPOM
Yk614rjHgq6gCpNVxUI+06g=
=8weZ
-END PGP SIGNATURE-

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] python-2.4 is it safe to unmerge it ?

2007-11-11 Thread Helmut Jarausch
I'm using a Python-2.5 based system since a year now.
(currently python-2.5.1-r3)

I've run python-updater and revdep-rebuild.

Is it safe to unmerge python-2.4.3-r1 (in my case)?

Many thanks for your comment,

Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] python-2.4 is it safe to unmerge it ?

2007-11-11 Thread Bo Ørsted Andresen
On Sunday 11 November 2007 18:28:15 Helmut Jarausch wrote:
 I'm using a Python-2.5 based system since a year now.
 (currently python-2.5.1-r3)

 I've run python-updater and revdep-rebuild.

 Is it safe to unmerge python-2.4.3-r1 (in my case)?

Yes.

-- 
Bo Andresen


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


Re: [gentoo-user] OT: Is EVMS dead?

2007-11-11 Thread Adam Hamsik


On Nov,Tuesday 6 2007, at 3:07 AM, Albert Hopkins wrote:



On Mon, 2007-11-05 at 18:01 -0500, Eric S. Johansson wrote:



given that I frequently play the role of the heretic (complete with  
burn scars
all over my body and various bits of damage from the weapons of  
true believers)
I think it's a good thing that EVMS is slated for the trash heap.   
It's a
classic example of second system syndrome as defined by the  
mythical Man
month.  It's overly complicated, poorly documented, and has a  
terrible user

interface that only a geek would even consider using.

Having said that, I also think LVMS suffers from many if not all of  
the same
problems that plagued EVMS.  it is been around for years and still  
the
documentation on how to perform common operations is lacking.  It's  
a chicken
and egg problem.  You need to understand LVMS in order to  
understand the
documentation and then you can't explain it to anyone else.  Every  
time I've
used LVMS, it takes me the same number of hours to relearn the same  
old pieces
of obscure command syntax and become comfortable that I'm not going  
to trash my

disk.  As a result, I don't use LVMS either.


I've never used EVMS so I can't comment at all on it.  However I have
been using LVM for years and one of the few good things I can say  
about

it is that its pretty small, easy, and predictable. In fact one of the
negative things I'd have to say about it is that it's *too* simple  
(a LV

defrag tool would be nice).  I really don't understand the complexity
you speak of.  It's pretty well documented, and has a fairly high
user-base.

I do agree though that, based on this ML and IRC discussions, many  
times
I'll see a person who wants to use LVM and perhaps maybe they don't  
need
it, and they get frustrated because they're using the wrong tool for  
the
job.  Myself: I have a 8 2-disk RAID volumes with LVM on top.  If I  
need
to expand my VG, I just pop in a couple of new drives, to an  
lvextend on

a volume and then mount -o remount,resize and voila!

On another machine I have xen and I have 2 VGs: a set of disks for the
Host and a set for the VMs.  I have some VMs in a DMZ, and I can't  
reach
them from the host, but I use LVM to create snapshots of their disks  
and
make backup of them.  LVM makes it damn easy. In some ways LVM is  
like a
poor-man's SAN for Xen VMs.  You can carve out a LV, assign it to a  
VM,

and resize, hot-add or hot-remove them as you please.

But again, the average person with a single disk running on a laptop
computer probably has no use for LVM.

Pretty much every major server OS has volume management (including
Windows) because a lot of users at that level need it.  Linu LVM, I
think, is very similar to HP-UX LVM at the command level.

AFAIK an who has written linux LVM worked for HP.

Regards

Adam.

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Installation problem

2007-11-11 Thread Fabio
I want to install gentoo from a minimal cd. I download the minimal AMD64 
iso for my pc..

During the installation i arrived at this point:

eth1: PHY reset until link up..
and there is no way to continue..i always obtain this error..

what shoul i do?
Bye from Italy
Fabio
--
[EMAIL PROTECTED] mailing list



[gentoo-user] oggenc ogg flac files

2007-11-11 Thread Florian Philipp
Hi!

Can anyone confirm that it is not possible to transcode ogg-flac files
to ogg-vorbis although the necessary use flags are set (vorbis-tools
+flac; flac +ogg) and the man page says it's possible?

There seems to have been a bug about this in 2004 [1] but the patch is
long applied and I want to rule out every other possibility before
opening a new one.

Test Case:
1. emerge media-libs/flac with +ogg and media/sound/vorbis-tools with
+flac:
 USE=ogg,flac emerge -av1 flac vorbis-tools 

2. Encode something to flac in an ogg container, for
example /usr/share/sounds/alsa/Noise.wav to /tmp/Noise.oga:
 flac --ogg /usr/share/sounds/alsa/Noise.wav -o /tmp/Noise.oga 

3. Try to transcode the oga-file to ogg-vorbis:
 oggenc /tmp/Noise.oga 

Transcoding normal flac-files is still possible.

Thanks in advance!

Florian Philipp


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


[gentoo-user] oggenc ogg flac files

2007-11-11 Thread Florian Philipp
Hi!

Can anyone confirm that it is not possible to transcode ogg-flac files
to ogg-vorbis although the necessary use flags are set (vorbis-tools
+flac; flac +ogg) and the man page says it's possible?

There seems to have been a bug about this in 2004 [1] but the patch is
long applied and I want to rule out every other possibility before
opening a new one.

Test Case:
1. emerge media-libs/flac with +ogg and media/sound/vorbis-tools with
+flac:
 USE=ogg,flac emerge -av1 flac vorbis-tools 

2. Encode something to flac in an ogg container, for
example /usr/share/sounds/alsa/Noise.wav to /tmp/Noise.oga:
 flac --ogg /usr/share/sounds/alsa/Noise.wav -o /tmp/Noise.oga 

3. Try to transcode the oga-file to ogg-vorbis:
 oggenc /tmp/Noise.oga 

Transcoding normal flac-files is still possible.

Thanks in advance!

Florian Philipp


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


[gentoo-user] grub hell

2007-11-11 Thread maxim wexler
Hi group,

Previously I had a problem with hard drive that turned
out was a faulty IDE controller, not the drive, not
the cable. 

Now I can't use /dev/hdb but /dev/hdc is OK. So my set
up is /dev/hda(WinXP) and /dev/hdc(gentoo), ie, WinXP
is on the first IDE as master and gentoo is on the sec
IDE also as master. hdd is the CDROM(sec IDE,slave),
to complete the setup.

So far I've tried every possible permutation of root,
rootnoverify and map. I've tried installing the boot
loader on /dev/hda and /dev/hdc. On hda nothing
works(error 21). On hdc the boot menu appears and I
can boot gentoo but not WinXP

Error messages: selected disk does not exist, not
found or not a block device, could not find device
for boot. Sorry, I can't recall the exact context for
these messages but this will give a flavor hopefully.

I've tried changing the boot order in the BIOS.

I can get gentoo to boot if I tell grub it's on
(hd0,0)(?!?!) but WinXP won't boot unless I remove the
HD w/gentoo on it and bypass grub altogether.

fdisk can see both drives OK. Both drives appear in
dmesg w/o errors. Both drives appear in the POST
screen -- first drive as '0', second drive as '1'

I've scoured the web for an answer and now must turn
to the authorities on this list as a last resort.

Maxim

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Is gentoo-wiki.com down?

2007-11-11 Thread Dan Farrell
On Sat, 10 Nov 2007 22:51:09 +0100
Herbert Laubner [EMAIL PROTECTED] wrote:

 Am Freitag, 9. November 2007 01:21:28 schrieb Dan Farrell:
 
  Gentoo-wiki goes down a lot.  That's why I keep my documentation
  elsewhere...
 
 How and where? 
 
With vim, on my webserver, so I have access to my notes 
configurations even if I break my router.  
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] vixie cron

2007-11-11 Thread Dan Farrell
On Sat, 10 Nov 2007 02:15:44 -0600
Teng Wang [EMAIL PROTECTED] wrote:

 I see, thank you!
 Do I need add news to /etc/cron.allow?

possibly.  
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT - Need help enabling iptables support in kernel

2007-11-11 Thread Dan Farrell
On Sat, 10 Nov 2007 14:50:56 +0100
Benno Schulenberg [EMAIL PROTECTED] wrote:

 And if you use IPv6, then this one too.  But if you don't absolutely 
 need IPv6, better switch all support for it off, just because it is 
 less confusing that way.

Does anybody actually _use_ ipv6 ?
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] grub hell

2007-11-11 Thread Dan Farrell
On Sun, 11 Nov 2007 14:01:24 -0800 (PST)
maxim wexler [EMAIL PROTECTED] wrote:

 Hi group,
 
 Previously I had a problem with hard drive that turned
 out was a faulty IDE controller, not the drive, not
 the cable. 
 
 Now I can't use /dev/hdb but /dev/hdc is OK. So my set
 up is /dev/hda(WinXP) and /dev/hdc(gentoo), ie, WinXP
 is on the first IDE as master and gentoo is on the sec
 IDE also as master. hdd is the CDROM(sec IDE,slave),
 to complete the setup.
 
 So far I've tried every possible permutation of root,
 rootnoverify and map. I've tried installing the boot
 loader on /dev/hda and /dev/hdc. On hda nothing
 works(error 21). On hdc the boot menu appears and I
 can boot gentoo but not WinXP
 
 Error messages: selected disk does not exist, not
 found or not a block device, could not find device
 for boot. Sorry, I can't recall the exact context for
 these messages but this will give a flavor hopefully.
 
 I've tried changing the boot order in the BIOS.
 
 I can get gentoo to boot if I tell grub it's on
 (hd0,0)(?!?!) but WinXP won't boot unless I remove the
 HD w/gentoo on it and bypass grub altogether.
 
 fdisk can see both drives OK. Both drives appear in
 dmesg w/o errors. Both drives appear in the POST
 screen -- first drive as '0', second drive as '1'
 
 I've scoured the web for an answer and now must turn
 to the authorities on this list as a last resort.
 
 Maxim
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com 


notice how I use the grub 'map' command here to make the windows hard
drive 'first' for Windows's sake.  

Here, the boot priority has probably been set in the kernel.  

http://spore.ath.cx/~dan/config/grub.conf.pascal

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Installation problem

2007-11-11 Thread Dan Farrell
On Sun, 11 Nov 2007 19:27:25 +0100
Fabio [EMAIL PROTECTED] wrote:

 I want to install gentoo from a minimal cd. I download the minimal
 AMD64 iso for my pc..
 During the installation i arrived at this point:
 
 eth1: PHY reset until link up..
 and there is no way to continue..i always obtain this error..
 
 what shoul i do?
 Bye from Italy
 Fabio

take out eth1 if possible.  you can put it back in later when you can
deal with it better.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT - cvsd

2007-11-11 Thread Dan Farrell
On Sat, 10 Nov 2007 14:09:41 -0600
Michael Sullivan [EMAIL PROTECTED] wrote:

 cvs import: cannot make path to /root/ourrpg: Permission denied

you should change the permissions of your directories so that they are
accessible to cvsd, which might run as some user.

and you should put the file somewhere other than /root, as that's
root's user space and shouldn't contain data for user services.  but
that's just my point of view.  
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] genkernel problems

2007-11-11 Thread David Relson
Are the genkernel messages below caused by bash 3.2's new improved
conditional expression processing?  If so, anybody have a fix?

Thanks.

David

 genkernel --menuconfig all /usr/share/genkernel/gen_funcs.sh: line 96:
[: : integer expression expected 

/usr/share/genkernel/gen_funcs.sh: line 96: [: : integer expression expected 

/usr/share/genkernel/gen_funcs.sh: line 96: [: : integer expression expected

/usr/share/genkernel/gen_funcs.sh: line 46: ${LOGFILE}: ambiguous redirect 

/usr/share/genkernel/gen_funcs.sh: line 96: [: : integer expression expected 

/usr/share/genkernel/gen_funcs.sh: line 96: [: : integer expression expected

...
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: The setup program seems to have failed.

2007-11-11 Thread Miernik
Dan Farrell [EMAIL PROTECTED] wrote:
 I _highly_ recommend using a the manual install method from the gentoo
 handbook.  It's valuable for many reasons, not the least of which
 being its flexibility.

OK, now I know, I've done it with the manual install, and I like it. But
when the liveCD booted and told me to run installer that was
misleading. It should say something like You can make a manual install
now using Gentoo handbook, or you may try an automated installer by
running installer now, but beware its experimental, and doesn't always
work. Such message on the liveCD welcome screen, would have saved me
quite some time.

-- 
Miernik
http://miernik.name/

-- 
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] ERROR: net-misc/iputils-20070202 failed

2007-11-11 Thread Adam Carter
 This is happening when emerging iputils with +doc USE. If I remove doc
 from the USE flags list, then it does emerge completely.
 
 Any thoughts?
 
 Thanks,
 
 --
 Valmor de Almeida
 
 
 
 jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../co
 mmon/../co
 mmon/dbl1sr.dsl:2:66:W: cannot generate system identifier for public
snip

IIRC you need to re-emerge one/some of the sgml packages; maybe try
sgml-common first, and if that doesnt work, run 'equery list | grep -i
sgml' to see what else may need to be re-emerged. Google will help with
a more definative answer.
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT - Need help enabling iptables support in kernel

2007-11-11 Thread Graham Murray
Dan Farrell [EMAIL PROTECTED] writes:

 Does anybody actually _use_ ipv6 ?

Yes!
-- 
[EMAIL PROTECTED] mailing list