Re: [gentoo-user] interconnecting speeds

2006-07-25 Thread Richard Fish

On 7/24/06, Paul Stear [EMAIL PROTECTED] wrote:

Yes it is just very slow, the mesage stalled keeps coming up and then starts
again.


Double check what the connection speed is for XP.  You can do the same
using ethtool under Linux.  You should see 100mbit, full duplex on
both.

One problem could be if you have flaky cables, the switch or the NICs
could attempt to re-negotiate the link speed frequently, and kill your
bandwidth.

So I would try different cables, or maybe even pick up an inexpensive
ethernet switch (not hub!), and see if that makes a difference.
Maybe it is a problem with the switch in the router...

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Network is not starting

2006-07-25 Thread Richard Fish

On 7/24/06, Adrian Vraciu [EMAIL PROTECTED] wrote:

On Monday 24 July 2006 19:39, Richard Fish wrote:
 # strace -f ifconfig -a


Ok, thanks.

I've looked through the sources for ifconfig (net-tools-1.60), and
based on the strace output you provided, I don't see how it can be
getting to the No usable address families found message.That the
socket() calls work should be sufficient to bypass this branch in the
code.  Unless the ifconfig binary is corrupted

I suggest posting the outputs of:

1. emerge -pv net-tools
2. emerge --info
3. cat /var/db/pkg/sys-apps/net-tools-*/CFLAGS

I also would try rebuilding net-tools: emerge --oneshot net-tools.

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't recompile vmware modules

2006-07-25 Thread Richard Fish

On 7/24/06, Vladimir G. Ivanovic [EMAIL PROTECTED] wrote:

 What is the output of:

 1. cat /proc/version
 2. gcc -v
 3. gcc-config -l

To me everything looks OK, but I'd love another set of eyes to look at
my setup.


Yeah, it looks sane to me too.

The only thing I can think of is a problem in perl.  The
vmware-config.pl script passes some variables into the Makefile, and
it looks like maybe some of those are not being set correctly.

Which version of perl are you using (I have 5.8.8-r2 here)?  Have you
run perl-cleaner recently?

-Richard
--
gentoo-user@gentoo.org mailing list



[gentoo-user] strange [ file

2006-07-25 Thread Arnau Bria
Hi,

I've seen a file named [ in my /usr/bin ...

#file [
[: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
GNU/Linux 2.4.1, dynamically linked (uses shared libs), for GNU/Linux
2.4.1, stripped

in I can find things like:
[...]
-ot does not accept -l
%s: unary operator expected
%s: binary operator expected
')' expected, found %s
')' expected
test and/or [
Report bugs to %s.
bug-coreutils at gnu.org/usr/share/localeMatthew BradburnKevin
Braunsdorf5.94GNU coreutilsmissing `]' Try `%s --help' for more
information. Usage: test EXPRESSION
  or:  test
  or:  [ EXPRESSION ]
  or:  [ ]
  or:  [ OPTION
Exit with the status determined by EXPRESSION.
[...]

does any one know what could it be?¿
thanks in advance.
-- 
Arnau Bria
http://blog.emergetux.net
La vida es una aplastante derrota tras otra hasta que 
acabas deseando que se muera Flanders.
~Homer J. Simpson~
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] strange [ file

2006-07-25 Thread Dale
Arnau Bria wrote:
 Hi,

 I've seen a file named [ in my /usr/bin ...

 #file [
 [: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
 GNU/Linux 2.4.1, dynamically linked (uses shared libs), for GNU/Linux
 2.4.1, stripped

 in I can find things like:
 [...]
 -ot does not accept -l
 %s: unary operator expected
 %s: binary operator expected
 ')' expected, found %s
 ')' expected
 test and/or [
 Report bugs to %s.
 bug-coreutils at gnu.org/usr/share/localeMatthew BradburnKevin
 Braunsdorf5.94GNU coreutilsmissing `]' Try `%s --help' for more
 information. Usage: test EXPRESSION
   or:  test
   or:  [ EXPRESSION ]
   or:  [ ]
   or:  [ OPTION
 Exit with the status determined by EXPRESSION.
 [...]

 does any one know what could it be?¿
 thanks in advance.
   

This may help a little:

 [EMAIL PROTECTED] / # equery belongs [
 [ Searching for file(s) [ in *... ]
 sys-apps/coreutils-5.94-r1 (/usr/bin/[)
 [EMAIL PROTECTED] / #

It's part of coreutils.  At least someone isn't putting something on
your system you don't know about.

It is weird that they named it that though.

Dale
:-)  :-)

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] strange [ file

2006-07-25 Thread Richard Fish

On 7/25/06, Arnau Bria [EMAIL PROTECTED] wrote:

Hi,

I've seen a file named [ in my /usr/bin ...


Perfectly normal.  It is a program that implements bash style tests
for script environments that don't normally do them.  For example:

if [ -f /etc/passwd ] ; then
 echo /etc/passwd exists and is a regular file
fi

Notice the [ after the if

man test will give you the user manual for it.

More generally, merge gentoolkit, and you can use equery to find out
where things come from.  Ex:

~  equery belongs /usr/bin/[
[ Searching for file(s) /usr/bin/[ in *... ]
sys-apps/coreutils-5.97 (/usr/bin/[)
~  equery check coreutils
[ Checking sys-apps/coreutils-5.97 ]
* 318 out of 318 files good

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] strange [ file

2006-07-25 Thread Dirk Heinrichs
Am Dienstag, 25. Juli 2006 11:00 schrieb ext Arnau Bria:

 I've seen a file named [ in my /usr/bin ...
 [...]

 does any one know what could it be?¿

It's the [ from if [ condition ]; then ..., a shortcut for /usr/bin/test.

HTH...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstraße 55  | Web:  http://www.capgemini.com
D-40472 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


pgpoZAiy2byWW.pgp
Description: PGP signature


Re: [gentoo-user] strange [ file

2006-07-25 Thread Arnau Bria
On Tue, 25 Jul 2006 02:14:02 -0700
Richard Fish wrote:

 On 7/25/06, Arnau Bria [EMAIL PROTECTED] wrote:
  Hi,
 
  I've seen a file named [ in my /usr/bin ...
 
 Perfectly normal.  It is a program that implements bash style tests
 for script environments that don't normally do them.  For example:
 
 if [ -f /etc/passwd ] ; then
   echo /etc/passwd exists and is a regular file
 fi
 
 Notice the [ after the if
 
 man test will give you the user manual for it.

Thanks, I'll take a look right now.
 
 More generally, merge gentoolkit, and you can use equery to find out
 where things come from.  Ex:

 ~  equery belongs /usr/bin/[
[...]
sure, but I supposed that if it was a strange file, it could come from
a corrupt source from coreutils. (I already looked for it with
equery, but its strange name make me confused).

I have a periodically rkhunter runnig in my system, but I was afraid I
got a corrupted source package...

 -Richard

even though answering only to Richard, thanks to all who answered my
question!

Cheers!

-- 
Arnau Bria
http://blog.emergetux.net
La vida es una aplastante derrota tras otra hasta que 
acabas deseando que se muera Flanders.
~Homer J. Simpson~
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] strange [ file

2006-07-25 Thread Christoph Eckert

 does any one know what could it be?¿

AFAIK it's a synonym to »test«.


Best regards


ce

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] interconnecting speeds

2006-07-25 Thread Paul Stear
On Tuesday 25 July 2006 09:07, Richard Fish wrote:
 On 7/24/06, Paul Stear [EMAIL PROTECTED] wrote:
  Yes it is just very slow, the mesage stalled keeps coming up and then
  starts again.

 Double check what the connection speed is for XP.  You can do the same
 using ethtool under Linux.  You should see 100mbit, full duplex on
 both.

 One problem could be if you have flaky cables, the switch or the NICs
 could attempt to re-negotiate the link speed frequently, and kill your
 bandwidth.

 So I would try different cables, or maybe even pick up an inexpensive
 ethernet switch (not hub!), and see if that makes a difference.
 Maybe it is a problem with the switch in the router...

Thanks Richard,
My gentoo box is set ok using ethtool. How do I check the setting on the 
windows xp box?
Downloading files from the internet on windows is as fast as my gentoo box, 
the problem seems to be when they are talking to each other.
Paul

-- 
This message has been sent using kmail with gentoo linux
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] strange [ file

2006-07-25 Thread Neil Bothwick
On Tue, 25 Jul 2006 11:36:55 +0200, Arnau Bria wrote:

 I have a periodically rkhunter runnig in my system, but I was afraid I
 got a corrupted source package...

Portage would refuse to install from a corrupted source package, because
it verifies the checksums of all files it uses.


-- 
Neil Bothwick

Bother!. said Pooh, trying to uninstall freeserve from his PeeCee for
the umpteenth time.


signature.asc
Description: PGP signature


[gentoo-user] Re: strange [ file

2006-07-25 Thread Marco Costa
Arnau Bria wrote:
 I've seen a file named [ in my /usr/bin ...
 ...
 does any one know what could it be?¿
 thanks in advance.

It is the test application/tool. Try 'info test'.

Regards,

Marco

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: audio with TV crd [solved]

2006-07-25 Thread Uwe Thiem
On 25 July 2006 01:37, Nick Rout wrote:

Audio is now working with PVR-150. Thanks, Nick, for all your input.

Problem is, I don't know why and I hate it when magic is part of IT. ;-)

The whole difference between yesterday and today is that I tried to compile 
the new kernel 2.6.17-gentoo-r4 (as compared to r3). That compilation failed. 
Since I hadn't time to investigate, I just left it like that. Nothing 
installed, no reboot, noting. All of a sudden audio is coming out of that 
bugger at a decent volume. :-(

Audio quality is still poor, high noise level and it doesn't sound like 50Hz 
noise. So maybe, it's that VCR - have to check that by plugging the VCR 
directly into a TV.

Anyway, forward to the next step of creating a video DVD from that MPEG2 
stream!

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] strange [ file

2006-07-25 Thread Alexander Skwar
Richard Fish wrote:
 On 7/25/06, Arnau Bria [EMAIL PROTECTED] wrote:
 Hi,

 I've seen a file named [ in my /usr/bin ...
 
 Perfectly normal.  It is a program that implements bash style tests

Not *bash* style tests. bash doesn't have much to do with this.

 for script environments that don't normally do them.  For example:
 
 if [ -f /etc/passwd ] ; then
   echo /etc/passwd exists and is a regular file
 fi
 
 Notice the [ after the if

However, [ is normally a shell builtin and thus /usr/bin/[ isn't
executed.

Alexander Skwar
-- 
Give a man a fish, and you feed him for a day.
Teach a man to fish, and he'll invite himself over for dinner.
- Calvin Keegan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] strange [ file

2006-07-25 Thread Alexander Skwar
Dirk Heinrichs wrote:
 Am Dienstag, 25. Juli 2006 11:00 schrieb ext Arnau Bria:
 
 I've seen a file named [ in my /usr/bin ...
 [...]

 does any one know what could it be?¿
 
 It's the [ from if [ condition ]; then ..., a shortcut for /usr/bin/test.

Nope, not correct.

[09:39:58 [EMAIL PROTECTED]:~] $ type [
[ is a shell builtin
[13:01:25 [EMAIL PROTECTED]:~] $ type test
test is a shell builtin

And actually /usr/bin/[ and /usr/bin/test aren't even the same:

[13:01:56 [EMAIL PROTECTED]:~] $ ls -la /usr/bin/{[,test}
-rwxr-xr-x 1 root root 24852 27. Jun 09:34 /usr/bin/[
-rwxr-xr-x 1 root root 22784 27. Jun 09:34 /usr/bin/test

I wonder where the differences are. I would've expected that test and [
were hardlinks.

Alexander Skwar
-- 
Is it 1974?  What's for SUPPER?  Can I spend my COLLEGE FUND in one
wild afternoon??
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] apache/php: chroot?

2006-07-25 Thread Hans-Werner Hilse
Hi,

On Mon, 24 Jul 2006 21:42:46 +0200 Alex [EMAIL PROTECTED] wrote:

  Now my question is: does apache/php support chrooting too?
  And are there some other services, which can be chrooted
  like bind?
 
 should work without any problems, like the most of the other
 standard internet services.
 try and have a look ;-)

This won't work. Apache doesn't have inbuilt chroot facilities, AFAIK.
Like most of the other standard internet services. You would have to
setup a chroot env (all dependant libraries and stuff) for that. But
there's nothing similar to a chroot automatic in apache. BTW, such a
thing would probably break all CGIs.

-hwh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] strange [ file

2006-07-25 Thread Hagen Soengen
On Tue, 25 Jul 2006 13:02:48 +0200
Alexander Skwar [EMAIL PROTECTED] wrote:

 Dirk Heinrichs wrote:
  Am Dienstag, 25. Juli 2006 11:00 schrieb ext Arnau Bria:
  
  I've seen a file named [ in my /usr/bin ...
  [...]
 
  does any one know what could it be?¿
  
  It's the [ from if [ condition ]; then ..., a shortcut for /usr/bin/test.
 
 Nope, not correct.
 
 [09:39:58 [EMAIL PROTECTED]:~] $ type [
 [ is a shell builtin
 [13:01:25 [EMAIL PROTECTED]:~] $ type test
 test is a shell builtin
 
 And actually /usr/bin/[ and /usr/bin/test aren't even the same:
 
 [13:01:56 [EMAIL PROTECTED]:~] $ ls -la /usr/bin/{[,test}
 -rwxr-xr-x 1 root root 24852 27. Jun 09:34 /usr/bin/[
 -rwxr-xr-x 1 root root 22784 27. Jun 09:34 /usr/bin/test
 
 I wonder where the differences are. I would've expected that test and [
 were hardlinks.

# /usr/bin/[
/usr/bin/[: missing ']'
# /usr/bin/test
no output
#

You see? They cant be the same, because the closing ] is needed by /usr/bin[ 
and not by /usr/bin/test

Hagen

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] strange [ file

2006-07-25 Thread Dirk Heinrichs
Am Dienstag, 25. Juli 2006 13:02 schrieb ext Alexander Skwar:
 Dirk Heinrichs wrote:
  Am Dienstag, 25. Juli 2006 11:00 schrieb ext Arnau Bria:
  I've seen a file named [ in my /usr/bin ...
  [...]
 
  does any one know what could it be?¿
 
  It's the [ from if [ condition ]; then ..., a shortcut for
  /usr/bin/test.

 Nope, not correct.

OK: ... another form of /usr/bin/test. :-)

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstraße 55  | Web:  http://www.capgemini.com
D-40472 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


pgpzWjxldo7tB.pgp
Description: PGP signature


Re: [gentoo-user] strange [ file

2006-07-25 Thread Neil Bothwick
On Tue, 25 Jul 2006 11:00:38 +0200, Arnau Bria wrote:

 I've seen a file named [ in my /usr/bin ...

[ is a synonym for the test command, see man test for details.

This file isn't normally used, because [ and test are builtins in Bash.


-- 
Neil Bothwick

Some day my ship will come in, but with my luck, I'll be at the airport.


signature.asc
Description: PGP signature


Re: [gentoo-user] strange [ file

2006-07-25 Thread Neil Bothwick
On Tue, 25 Jul 2006 12:26:53 +, Hagen Soengen wrote:

  I wonder where the differences are. I would've expected that test and
  [ were hardlinks.
 
 # /usr/bin/[
   /usr/bin/[: missing ']'
 # /usr/bin/test
   no output
 #
 
 You see? They cant be the same, because the closing ] is needed
 by /usr/bin[ and not by /usr/bin/test

It's quite common for a program to change its behaviour according to the
name used to run it. For example, zcat and gunzip are links to gzip, yet
the three programs behave differently.


-- 
Neil Bothwick

Stupid user error. Terminate user (Y/n) ?


signature.asc
Description: PGP signature


Re: [gentoo-user] strange [ file

2006-07-25 Thread Mauro Faccenda
On Tuesday 25 July 2006 09:20, Neil Bothwick wrote:
 On Tue, 25 Jul 2006 12:26:53 +, Hagen Soengen wrote:
   I wonder where the differences are. I would've expected that test and
   [ were hardlinks.
 
  # /usr/bin/[
  /usr/bin/[: missing ']'
  # /usr/bin/test
  no output
  #
 
  You see? They cant be the same, because the closing ] is needed
  by /usr/bin[ and not by /usr/bin/test

 It's quite common for a program to change its behaviour according to the
 name used to run it. For example, zcat and gunzip are links to gzip, yet
 the three programs behave differently.

but this isn't the case:

$ sha1sum /usr/bin/\[ /usr/bin/test
2d3a938b84db7107e323ac85a9bf4f351721da7b  /usr/bin/[
1b126dd3e41a2a9d4554879647f73fdf49d29479  /usr/bin/test

$ sha1sum /bin/zcat /bin/gzip /bin/gunzip
708011af43a41f6e3120e96eacb6ac4bba8717ee  /bin/zcat
708011af43a41f6e3120e96eacb6ac4bba8717ee  /bin/gzip
708011af43a41f6e3120e96eacb6ac4bba8717ee  /bin/gunzip

[]'s
.m
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] strange [ file

2006-07-25 Thread Neil Bothwick
On Tue, 25 Jul 2006 09:26:52 -0300, Mauro Faccenda wrote:

   You see? They cant be the same, because the closing ] is needed
   by /usr/bin[ and not by /usr/bin/test
 
  It's quite common for a program to change its behaviour according to
  the name used to run it. For example, zcat and gunzip are links to
  gzip, yet the three programs behave differently.
 
 but this isn't the case:

I was disagreeing with the cant be the same comment. I know they are
different files, but the slightly different behaviour is insufficient
reason for that. Alexander asked why one was not a link to the other, I'd
like to know too, but this isn't the reason.


-- 
Neil Bothwick

Top Oxymorons Number 47: Act naturally


signature.asc
Description: PGP signature


Re: [gentoo-user] strange [ file

2006-07-25 Thread Alan McKinnon
On Tue, 2006-07-25 at 14:16 +0100, Neil Bothwick wrote:
 On Tue, 25 Jul 2006 09:26:52 -0300, Mauro Faccenda wrote:
 
You see? They cant be the same, because the closing ] is needed
by /usr/bin[ and not by /usr/bin/test
  
   It's quite common for a program to change its behaviour according to
   the name used to run it. For example, zcat and gunzip are links to
   gzip, yet the three programs behave differently.
  
  but this isn't the case:
 
 I was disagreeing with the cant be the same comment. I know they are
 different files, but the slightly different behaviour is insufficient
 reason for that. Alexander asked why one was not a link to the other, I'd
 like to know too, but this isn't the reason.

For such a simple question, this sure is generating a lot of traffic :-)

The answer is simple:

'test' is a bash builtin. When a bash script executes 'test', it is
not /usr/bin/test that runs, but a function internal to bash.

/usr/bin/test/ is provided for environments that want to run bash
scripts that use test but bash is not the shell in use.

test and [ are not links to each other as they have different syntax
(the closing ]), so they cannot be the same command. If they were
linked, one of them would fail on execution with invalid syntax errors

alan


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] strange [ file

2006-07-25 Thread Etaoin Shrdlu
On Tuesday 25 July 2006 15:41, Alan McKinnon wrote:

 The answer is simple:

 'test' is a bash builtin. When a bash script executes 'test', it is
 not /usr/bin/test that runs, but a function internal to bash.

 /usr/bin/test/ is provided for environments that want to run bash
 scripts that use test but bash is not the shell in use.

This makes sense.

 test and [ are not links to each other as they have different syntax
 (the closing ]), so they cannot be the same command. If they were
 linked, one of them would fail on execution with invalid syntax errors

This is not 100% true. As Neil Bothwick said, *the same program* can 
behave differently based on the name it was invoked with, so [ could 
very well have been implemented as a link to test (or viceversa), but 
this is not the case, as you can see with a 
ls -l /usr/bin/test /usr/bin/[

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] strange [ file

2006-07-25 Thread Alexander Skwar
Alan McKinnon wrote:
 On Tue, 2006-07-25 at 14:16 +0100, Neil Bothwick wrote:
 On Tue, 25 Jul 2006 09:26:52 -0300, Mauro Faccenda wrote:
 
You see? They cant be the same, because the closing ] is needed
by /usr/bin[ and not by /usr/bin/test
  
   It's quite common for a program to change its behaviour according to
   the name used to run it. For example, zcat and gunzip are links to
   gzip, yet the three programs behave differently.
  
  but this isn't the case:
 
 I was disagreeing with the cant be the same comment. I know they are
 different files, but the slightly different behaviour is insufficient
 reason for that. Alexander asked why one was not a link to the other, I'd
 like to know too, but this isn't the reason.
 
 For such a simple question, this sure is generating a lot of traffic :-)
 
 The answer is simple:
 
 'test' is a bash builtin. When a bash script executes 'test', it is
 not /usr/bin/test that runs, but a function internal to bash.

True. Same for [.

 /usr/bin/test/ is provided for environments that want to run bash
 scripts that use test but bash is not the shell in use.

Nothing to argue here.

 test and [ are not links to each other as they have different syntax
 (the closing ]), so they cannot be the same command.

That's not true. /usr/bin/[ and /usr/bin/test *COULD* be the
same commands. If a program is invoked, it gets in $0 the name
the user has used to call the program. Depending on this name/value,
the program could behave differntly.

 If they were
 linked, one of them would fail on execution with invalid syntax errors

Wrong.

Alexander Skwar
-- 
The politician is someone who deals in man's problems of adjustment.
To ask a politician to lead us is to ask the tail of a dog to lead the dog.
-- Buckminster Fuller
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] strange [ file

2006-07-25 Thread Alexander Skwar
Neil Bothwick wrote:
 On Tue, 25 Jul 2006 09:26:52 -0300, Mauro Faccenda wrote:
 
   You see? They cant be the same, because the closing ] is needed
   by /usr/bin[ and not by /usr/bin/test
 
  It's quite common for a program to change its behaviour according to
  the name used to run it. For example, zcat and gunzip are links to
  gzip, yet the three programs behave differently.
 
 but this isn't the case:
 
 I was disagreeing with the cant be the same comment. I know they are
 different files, but the slightly different behaviour is insufficient
 reason for that. Alexander asked why one was not a link to the other, I'd
 like to know too, but this isn't the reason.

Yes, you're right, [ and test *COULD* be the same command, just like
gzip and gunzip are the same command, but the coreutils makers seem
to have decided otherwise. It's not that important to me, if it were,
I'd ask the coreutils makers and not some 3rd party. :)

Anyway, on other systems (HP-UX, Solaris 8), there isn't even a
/usr/bin/[ - there's just /usr/bin/test.

Alexander Skwar
-- 
May those that love us love us; and those that don't love us, may
God turn their hearts; and if he doesn't turn their hearts, may
he turn their ankles so we'll know them by their limping.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] strange [ file

2006-07-25 Thread Etaoin Shrdlu
On Tuesday 25 July 2006 15:16, Neil Bothwick wrote:

 I was disagreeing with the cant be the same comment. I know they are
 different files, but the slightly different behaviour is insufficient
 reason for that. Alexander asked why one was not a link to the other,
 I'd like to know too, but this isn't the reason.

[slowly getting OT...]

Looking at coreutils sources, it turns out that there are two files: 
test.c and lbracket.c.
test.c is the actual program, and lbracket.c is as follows:

$ cat lbracket.c
#define LBRACKET 1
#include test.c

so, test.c does all the work.

After taking a quick look at the code, seems that the only times LBRACKET 
is checked are in the following fragments:


...
/* The official name of this program (e.g., no `g' prefix).  */
#if LBRACKET
# define PROGRAM_NAME [
#else
# define PROGRAM_NAME test
#endif

...

if (LBRACKET)
{
  /* Recognize --help or --version, but only when invoked in the
   [ form, and when the last argument is not ].  POSIX
   allows [ --help and [ --version to have the usual GNU
   behavior, but it requires test --help and test --version
   to exit silently with status 1.  */
  if (margc  2 || !STREQ (margv[margc - 1], ]))
  {
parse_long_options (margc, margv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
usage, AUTHORS, (char const *) NULL);
test_syntax_error (_(missing `]'\n), NULL);
  }

  --margc;
}

  argc = margc;
  pos = 1;
...

Again, the above could have been implemented by looking at argv[0].
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] strange [ file

2006-07-25 Thread Neil Bothwick
On Tue, 25 Jul 2006 15:41:56 +0200, Alan McKinnon wrote:

 The answer is simple:

Maye, but this isn't it.

 'test' is a bash builtin. When a bash script executes 'test', it is
 not /usr/bin/test that runs, but a function internal to bash.

test and [ are both Bash builtins, but there are also [ and test commands
in /usr/bin. This has nothing to do with the builtins.


 /usr/bin/test/ is provided for environments that want to run bash
 scripts that use test but bash is not the shell in use.

Those scripts can also use /usr/bin/[

 test and [ are not links to each other as they have different syntax
 (the closing ]), so they cannot be the same command. If they were
 linked, one of them would fail on execution with invalid syntax errors

That's wrong, as explained in my previous response that you quoted. A
command receives the name it was invoked with as one of its arguments. So
it is possible for a command to operate differently according to the name
used to run it, such as the gzip/gunzip/zcat example I gave earlier, or
the hundreds of commends in netpbm that are mainly symlinks to a few core
commands.

It's possible to do this with scripts too, I have a number of scripts
that act differently according to the name used to run them.


-- 
Neil Bothwick

Plagarism prohibited. Derive carefully.


signature.asc
Description: PGP signature


Re: [gentoo-user] strange [ file

2006-07-25 Thread Alan McKinnon
On Tue, 2006-07-25 at 16:18 +0200, Etaoin Shrdlu wrote:
  test and [ are not links to each other as they have different syntax
  (the closing ]), so they cannot be the same command. If they were
  linked, one of them would fail on execution with invalid syntax
 errors
 
 This is not 100% true. As Neil Bothwick said, *the same program* can 
 behave differently based on the name it was invoked with, so [ could 
 very well have been implemented as a link to test (or viceversa), but 
 this is not the case, as you can see with a 
 ls -l /usr/bin/test /usr/bin/[ 

Um, no. Read my post again. The command 'test' and the command '[' have
*different* syntax so cannot possible be links to each other and still
have it work. The command does behave differently depending on the name
it is called with, but this does not change the syntax used on the
command line that invokes it.

alan


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Power failure in the middle of emerge --emptytree world

2006-07-25 Thread Mark Knecht

On 7/24/06, Zac Medico [EMAIL PROTECTED] wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mark Knecht wrote:
   What is my best course of action at this point? The machine booted
 fine so I could start over. I also saved an old email from Zac Medico
 that suggested a command

 FEATURES=keepwork emerge --resume

 Would this be a good thing to do?

I wouldn't recommend the FEATURES=keepwork anymore because there's no guarantee 
that the build will resume properly.  It's safest to simply use --resume as 
suggested by Dale.

Zac


Thanks you guys. I did the emerge --resume and things seem to have
completed correctly.

Now if I could just get the machine to work properly I'd be in heaven! ;-)

Cheers all,
Mark
--
gentoo-user@gentoo.org mailing list



[gentoo-user] ethereal moved to wireshark

2006-07-25 Thread Daniel Black

As you probably read yesterday in GWN[1], Ethereal is being removed due to 
security vulnerabilities[2] and replaced with its successor, Wireshark.

Ethereal, as far as anyone can tell, is no longer being developed[3] as all 
the core developers have moved to Wireshark[4].

To make this transition as painless as possible, a package move has been setup 
so Ethereal users should automatically upgrade to Wireshark.

To keep the saved configuration from Ethereal and reuse it with Wireshark do 
the following for each user that has a saved Ethereal configuration:

cd $HOME
mv .ethereal .wireshark

[1] http://www.gentoo.org/news/en/gwn/20060724-newsletter.xml#doc_chap1_sect2
[2] http://security.gentoo.org/glsa/glsa-200607-09.xml
[3] http://www.ethereal.com/lists/ethereal-cvs/200605
[4] http://www.wireshark.org/faq.html#q1.2

-- 
Daniel Black [EMAIL PROTECTED]
Gentoo Crypto/dev-embedded/Forensics/NetMon


pgpVKgd6OJ1BU.pgp
Description: PGP signature


Re: [gentoo-user] strange [ file

2006-07-25 Thread Etaoin Shrdlu
On Tuesday 25 July 2006 16:33, Alan McKinnon wrote:

 Um, no. Read my post again. The command 'test' and the command '['
 have *different* syntax so cannot possible be links to each other and
 still have it work. The command does behave differently depending on
 the name it is called with, but this does not change the syntax used
 on the command line that invokes it.

There are two cases:

[1] syntax checking is done by the shell, or
[2] syntax checking is done by the program.

The interesting case is [2]. Let's make an oversimplified example. 
Suppose you want the commands commandA and commandB.
The syntax for commandA is 

commandA arg1 arg2

but commandB takes a third argument, so you invoke it with

commandB arg1 arg2 arg3

This, to me, qualifies as *different* syntax.

Here is how those checks can be implemented _using the same program_.


#include stdio.h
#include stdlib.h
#include string.h

int main(int argc, char *argv[]) {

  char *progname;

  /* the following should actually extract the basename of
 the program from argv[0], but to keep things simple 
 let's assume that the shell does this for us */
  progname = argv[0];

  if (strcmp(progname, commandA) == 0) {

/* check that we have TWO arguments */
if (argc == 3) {
  printf(Ok, running as commandA with two arguments\n);
  exit(0);
} else {
  printf(Running as commandA, but with the wrong number of 
arguments\n);
  exit(1);
}

  } else if (strcmp(progname, commandB) == 0) {
/* check that we have THREE arguments */
if (argc == 4) {
  printf(Ok, running as commandB with three arguments\n);
  exit(0);
} else {
  printf(Running as commandB, but with the wrong number of 
arguments\n);
  exit(1);
}
  } else {
printf(Bad program name!\n);
exit(1);
  }
}

In fact, as I said in a previous post, [ and test are built from the same 
source file, and the [ vs. test difference is used only to check for 
proper syntax.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] strange [ file

2006-07-25 Thread Neil Bothwick
On Tue, 25 Jul 2006 16:33:19 +0200, Alan McKinnon wrote:

 Um, no. Read my post again. The command 'test' and the command '[' have
 *different* syntax so cannot possible be links to each other and still
 have it work.

if [ $(basename $0) == [ ]
then
#parse for trailing ]
else
#parse to end of line
fi


-- 
Neil Bothwick

Help! I've fallen and I can't get down! - James Brown


signature.asc
Description: PGP signature


[gentoo-user] Weird dependencies

2006-07-25 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

I'm trying to run a routine `emerge -DuatvN world' and am getting some
funky dependency errors.  Here's the error I get:

emerge: there are no ebuilds to satisfy =dev-java/kaffe-1.4.
(dependency required by net-dns/libidn-0.5.15 [ebuild])



!!! Problem resolving dependencies for kde-base/kdeutils
!!! Depgraph creation failed.

If I run a `eix kaffe' this is what I get:

* dev-java/kaffe
 Available versions:  1.1.4 1.1.4-r1 ~1.1.5-r1 ~1.1.6-r2
~1.1.7_rc1 ~1.1.7
 Installed:   1.1.4-r1
 Homepage:http://www.kaffe.org/
 Description: A cleanroom, open source Java VM and class
libraries

version 1.4 isn't even an option!  I'm *guessing* that this is a
bug with the ebuild, but I wanted to see if anyone else might have
seen the same thing before I went filing a new bug.

Any ideas?  Am I totally insane?  Or is the ebuild?

- --
gentux
echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239  D840 4CF0 39E2
18D3 4A9E
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFExjawTPA54hjTSp4RAvUrAJ0W7+dEsUuu++NW9wo6D1YnlhZvxACeIOdY
0LDrwDP7oEMcNirjD03c/Zo=
=ntBQ
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Install CD sees 2 ethernet ports

2006-07-25 Thread louis brazeau

On 7/25/06, Walter Dnes [EMAIL PROTECTED] wrote:

  For some reason, the X86 minimal install CD sees ethernet ports
according to the startup message.  When I ifconfig after booting the
install CD, it shows only eth1.  I entered values into both eth0 and
eth1 via net-setup.  It looks like eth1 is for real (and it works),
while eth0 is unreal, and unworking.  I end up taking down eth0
ifconfig eth0 down and running eth1 only.  However, when it boots up
manually modify my network settings... PITA. The machine is an AMD
Athlon64 with an ASUS A8N-VM/CSM Ge6150+MP430 motherboard.  Here's what
I see when I try to setup and run both eth0 and eth1...



snip



  Any ideas about what's going on?

--
Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
My musings on technology and security at http://tech_sec.blog.ca
--
gentoo-user@gentoo.org mailing list




I think eth0 is your FireWire port (IEEE 1394).

You did the right thing already (taking eth0 down). Now you can
install Gentoo and unless you configure support for Ethernet over
FireWire (or something similar) in your kernel you shouldn't have any
problem.

That was my experience anyway (with a different Asus board, but the
same behavior).

--
Louis Brazeau
Informaticien
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Corrupted files in xorg?

2006-07-25 Thread Mick
On Monday 24 July 2006 23:04, Mike wrote:
 On Tue, 25 Jul 2006 00:00:11 +0200

 Mick [EMAIL PROTECTED] wrote:
  Could someone please post the contents of your /usr/lib/X11/ dir for
  comparison purposes?

 [EMAIL PROTECTED] ~ $ ls -la /usr/lib/X11/
 total 164
 drwxr-xr-x   5 root root  4096 Jul 23 21:50 .
 drwxr-xr-x 102 root root 61440 Jul 24 17:20 ..
 -rw-r--r--   1 root root 58840 Jul 23 19:31 Cards
 -rw-r--r--   1 root root 12991 Jul 23 19:31 Options
 -rw-r--r--   1 root root  1736 Jul 17 18:31 Xcms.txt
 drwxr-xr-x   2 root root  4096 Apr  4 15:35 config
 drwxr-xr-x   2 root root  4096 Jul 16 20:03 getconfig
 drwxr-xr-x   3 root root  4096 Jul 23 21:50 xdm

Thanks!  :)

There are some differences with mine there, besides the two corrupt files.  
I'm none the wiser with this problem.  :-(
-- 
Regards,
Mick


pgpg6Kl5fL4yo.pgp
Description: PGP signature


Re: [gentoo-user] Install CD sees 2 ethernet ports

2006-07-25 Thread Daniel da Veiga

On 7/25/06, louis brazeau [EMAIL PROTECTED] wrote:

On 7/25/06, Walter Dnes [EMAIL PROTECTED] wrote:
   For some reason, the X86 minimal install CD sees ethernet ports
 according to the startup message.  When I ifconfig after booting the
 install CD, it shows only eth1.  I entered values into both eth0 and
 eth1 via net-setup.  It looks like eth1 is for real (and it works),
 while eth0 is unreal, and unworking.  I end up taking down eth0
 ifconfig eth0 down and running eth1 only.  However, when it boots up
 manually modify my network settings... PITA. The machine is an AMD
 Athlon64 with an ASUS A8N-VM/CSM Ge6150+MP430 motherboard.  Here's what
 I see when I try to setup and run both eth0 and eth1...


snip


   Any ideas about what's going on?

 --
 Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
 My musings on technology and security at http://tech_sec.blog.ca
 --
 gentoo-user@gentoo.org mailing list



I think eth0 is your FireWire port (IEEE 1394).

You did the right thing already (taking eth0 down). Now you can
install Gentoo and unless you configure support for Ethernet over
FireWire (or something similar) in your kernel you shouldn't have any
problem.

That was my experience anyway (with a different Asus board, but the
same behavior).



Louis is right, you can also disable this behavior by adding
nofirewire at the bootloader line that calls the kernel.

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] PORTAGE_ELOG error

2006-07-25 Thread Grant

 So, the correct entry for your make.conf is:

 PORTAGE_ELOG_MAILURI=[EMAIL PROTECTED] /usr/sbin/sendmail

 I've tried that and it doesn't seem to be working.

How is it not working? What's in the logs?


There is nothing in /var/log/mail/ and I can't find anything in
/var/log/everything/.


 I have ssmtp
 installed with +mailwrapper.

mailwrapper or not shouldn't matter.


Ok, for some reason I thought mailwrapper provided the sendmail binary.


  Do I need to set up any other kind of
 configuration?

You need to configure ssmtp. Did you do so?


Looking over /etc/ssmtp/ssmtp.conf, it seems like I need to configure
the mailhub variable?  I want to make sure I'm setting up as simple a
system for getting this elog mail out as possible.  Do I need to
specify some kind of an SMTP server to get it sent?  I thought this
thread was saying using SMTP was optional.  I'm pretty confused.

- Grant
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] interconnecting speeds

2006-07-25 Thread Matthias Bethke
Hi Paul,
on Tuesday, 2006-07-25 at 10:45:31, you wrote:
 My gentoo box is set ok using ethtool. How do I check the setting on the 
 windows xp box?

If the connection has a tray icon, double-clicking that should bring up
an info dialog that has the link speed somewhere. Otherwise you'll have
to click you way through control panel-network-blah, I don't know
exactly...Windoze config is a maze of twisty little passages, all alike.
Another thing: check the Linux side with ifconfig, it gives some
statistics on errors, dropped packets and overruns next to RX and TX
packet counts. Those should be zero, or at most pretty small numbers. If
they are not, your cables and/or switch are flaky.

HTH
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpOQDccvVphk.pgp
Description: PGP signature


Re: [gentoo-user] [OT] Backup schemes involving Win XP stored to linux

2006-07-25 Thread Matthias Bethke
Hi reader,
on Tuesday, 2006-07-25 at 00:03:45, you wrote:
 Three or more windows XP boxes that are devoted primarily to editing
 video or graphics in one way or another.  The stuff needing backup can
 be in really big files but also lots of normal sized still images etc.
 
 I'm planning to use rsnapshot/rsync to back up the NTFS windows disks
 to a gentoo box with internal discs with the needed capacity.

If the copying is only for backup, you could use amanda and Samba for
the job. I've only done it with a single XP crate but it worked
flawlessly and has the advantage of allowing backups to devices smaller
than the backupee's disks, or even smaller than individual files, in
case they should be \LARGE.

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgp23RPUj4VTA.pgp
Description: PGP signature


Re: [gentoo-user] Network is not starting

2006-07-25 Thread Adrian Vraciu
On Tuesday 25 July 2006 11:37, Richard Fish wrote:
man, you are awesome thank you very much. i've re-emerged net-tools and 
all is perfect nowthank you again!!!
 Ok, thanks.

 I've looked through the sources for ifconfig (net-tools-1.60), and
 based on the strace output you provided, I don't see how it can be
 getting to the No usable address families found message.That the
 socket() calls work should be sufficient to bypass this branch in the
 code.  Unless the ifconfig binary is corrupted

 I suggest posting the outputs of:

 1. emerge -pv net-tools
 2. emerge --info
 3. cat /var/db/pkg/sys-apps/net-tools-*/CFLAGS

 I also would try rebuilding net-tools: emerge --oneshot net-tools.

 -Richard

-- 
Best Regards,
Adrian Vraciu
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] apache/php: chroot?

2006-07-25 Thread Jarry

Hans-Werner Hilse wrote:


This won't work. Apache doesn't have inbuilt chroot facilities, AFAIK.
Like most of the other standard internet services. You would have to
setup a chroot env (all dependant libraries and stuff) for that. But
there's nothing similar to a chroot automatic in apache. BTW, such a
thing would probably break all CGIs.


I got this idea reading Securing  Optimizing Linux 3.0, where
apache and php is running in chroot (+ a few more services like
ssh, snort, ntp, bind, dhcp, ldap, mod_perl).

Unfortunatelly, the book is a little out-of-date, and it is not
easy to apply it to gentoo. But I think running apache+php+mod_perl
in chroot would be definitelly nice feature...

Jarry
--
gentoo-user@gentoo.org mailing list



[gentoo-user] can't install ati-drivers

2006-07-25 Thread Stefán István
Hello!
I have a big problem installing ati driver. Please somebody help.

When I try to install it I get a huge error message:

localhost fglrx # emerge -v ati-drivers
Calculating dependencies... done!
 Emerging (1 of 1) x11-drivers/ati-drivers-8.21.7-r1 to /
 checking ebuild checksums ;-)
 checking auxfile checksums ;-)
 checking miscfile checksums ;-)
 checking ati-driver-installer-8.21.7-i386.run ;-)
 * Determining the location of the kernel source code
 * Found kernel source directory:
 * /usr/src/linux
 * Found sources for kernel version:
 * 2.6.17-gentoo-r4
 * Checking for MTRR support enabled ...
 
[ ok ]
 * Checking for AGP support enabled ... 
 
[ !! ]
 * Checking for PCI Express support enabled ... 
 
[ ok ]
 * Checking for DRM support disabled ...
 
[ ok ]
 * X11 implementation is xorg-x11.
 Unpacking source...
 * Unpacking Ati drivers ...
 
[ ok ]
 Source unpacked.
 Compiling source in /var/tmp/portage/ati-drivers-8.21.7-r1 ...
 * Building the DRM module...
make: Entering directory `/usr/src/linux-2.6.17-gentoo-r4'
  CC 
[M]  
/var/tmp/portage/ati-drivers-8.21.7-r1/work/common/lib/modules/fglrx/build_mod/agp3.o
  CC 
[M]  
/var/tmp/portage/ati-drivers-8.21.7-r1/work/common/lib/modules/fglrx/build_mod/nvidia-agp.o
  CC 
[M]  
/var/tmp/portage/ati-drivers-8.21.7-r1/work/common/lib/modules/fglrx/build_mod/agpgart_be.o
/var/tmp/portage/ati-drivers-8.21.7-r1/work/common/lib/modules/fglrx/build_mod/agpgart_be.c:
 
In function `__fgl_agp_init':
/var/tmp/portage/ati-drivers-8.21.7-r1/work/common/lib/modules/fglrx/build_mod/agpgart_be.c:8173:
 
warning: implicit declaration of function `pm_register'
/var/tmp/portage/ati-drivers-8.21.7-r1/work/common/lib/modules/fglrx/build_mod/agpgart_be.c:
 
In function `__fgl_agp_cleanup':
/var/tmp/portage/ati-drivers-8.21.7-r1/work/common/lib/modules/fglrx/build_mod/agpgart_be.c:8183:
 
warning: implicit declaration of function `pm_unregister_all'
/var/tmp/portage/ati-drivers-8.21.7-r1/work/common/lib/modules/fglrx/build_mod/agpgart_be.c:
 
At top level:
/var/tmp/portage/ati-drivers-8.21.7-r1/work/common/lib/modules/fglrx/build_mod/agpgart_be.c:6077:
 
warning: 'ati_gart_base' defined but not used
  CC 
[M]  
/var/tmp/portage/ati-drivers-8.21.7-r1/work/common/lib/modules/fglrx/build_mod/i7505-agp.o
  CC 
[M]  
/var/tmp/portage/ati-drivers-8.21.7-r1/work/common/lib/modules/fglrx/build_mod/firegl_public.o
In file included 
from 
/var/tmp/portage/ati-drivers-8.21.7-r1/work/common/lib/modules/fglrx/build_mod/firegl_public.c:162:
/var/tmp/portage/ati-drivers-8.21.7-r1/work/common/lib/modules/fglrx/build_mod/firegl_public.h:267:5:
 
warning: FIREGL_VMA_INFO is not defined
/var/tmp/portage/ati-drivers-8.21.7-r1/work/common/lib/modules/fglrx/build_mod/firegl_public.c:228:
 
error: parse error before string constant
/var/tmp/portage/ati-drivers-8.21.7-r1/work/common/lib/modules/fglrx/build_mod/firegl_public.c:228:
 
warning: type defaults to `int' in declaration of `MODULE_PARM'
/var/tmp/portage/ati-drivers-8.21.7-r1/work/common/lib/modules/fglrx/build_mod/firegl_public.c:228:
 
warning: function declaration isn't a prototype
/var/tmp/portage/ati-drivers-8.21.7-r1/work/common/lib/modules/fglrx/build_mod/firegl_public.c:228:
 
warning: data definition has no type or storage class
In file included 
from 
/var/tmp/portage/ati-drivers-8.21.7-r1/work/common/lib/modules/fglrx/build_mod/drm_proc.h:41,
 
from 
/var/tmp/portage/ati-drivers-8.21.7-r1/work/common/lib/modules/fglrx/build_mod/firegl_public.c:333:
/var/tmp/portage/ati-drivers-8.21.7-r1/work/common/lib/modules/fglrx/build_mod/drmP.h:561:5:
 
warning: __HAVE_VBL_IRQ is not defined
/var/tmp/portage/ati-drivers-8.21.7-r1/work/common/lib/modules/fglrx/build_mod/drmP.h:664:5:
 
warning: __HAVE_VBL_IRQ is not defined
/var/tmp/portage/ati-drivers-8.21.7-r1/work/common/lib/modules/fglrx/build_mod/drmP.h:936:5:
 
warning: __HAVE_SG is not defined
/var/tmp/portage/ati-drivers-8.21.7-r1/work/common/lib/modules/fglrx/build_mod/firegl_public.c:407:5:
 
warning: FIREGL_VMA_INFO is not defined
/var/tmp/portage/ati-drivers-8.21.7-r1/work/common/lib/modules/fglrx/build_mod/firegl_public.c:425:5:
 
warning: FIREGL_VMA_INFO is not defined
/var/tmp/portage/ati-drivers-8.21.7-r1/work/common/lib/modules/fglrx/build_mod/firegl_public.c:
 
In function `firegl_stub_open':

Re: [gentoo-user] PORTAGE_ELOG error

2006-07-25 Thread Neil Bothwick
On Tue, 25 Jul 2006 09:52:04 -0700, Grant wrote:

  You need to configure ssmtp. Did you do so?
 
 Looking over /etc/ssmtp/ssmtp.conf, it seems like I need to configure
 the mailhub variable?  I want to make sure I'm setting up as simple a
 system for getting this elog mail out as possible.  Do I need to
 specify some kind of an SMTP server to get it sent?  I thought this
 thread was saying using SMTP was optional.  I'm pretty confused.

It will always use SMTP, the only difference is whether portage handles
the SMTP itself or passes the work over to sendmail.

ssmtp is only a gateway, not a true MTA. All it does is pass the mail
onto a real MTA for processing, this is the mailhub specified in the
config file. The alternative is to specify your ISP's mail server
directory in make.conf, but, as Alexander argued, this means you have to
configure SMTP separately for each program that uses it, although it is
slightly simpler.


-- 
Neil Bothwick

Q. How does Batman's wife call him for dinner?
A. Dinner dinner dinner dinner dinner dinner dinner dinner - Batman!


signature.asc
Description: PGP signature


Re: [gentoo-user] strange [ file

2006-07-25 Thread Alexander Skwar

Alan McKinnon schrieb:

On Tue, 2006-07-25 at 16:18 +0200, Etaoin Shrdlu wrote:

 test and [ are not links to each other as they have different syntax
 (the closing ]), so they cannot be the same command. If they were
 linked, one of them would fail on execution with invalid syntax
errors

This is not 100% true. As Neil Bothwick said, *the same program* can 
behave differently based on the name it was invoked with, so [ could 
very well have been implemented as a link to test (or viceversa), but 
this is not the case, as you can see with a 
ls -l /usr/bin/test /usr/bin/[ 


Um, no.


Uhm, *YES*.


Read my post again.


You better do so.


The command 'test' and the command '[' have
*different* syntax 


Yes.

so cannot possible be links to each other 


Why not?


The command does behave differently depending on the name
it is called with, but this does not change the syntax used on the
command line that invokes it.


What are you talking about?

Of course the program could have a different syntax.

For example, compare the syntax that zipinfo and unzip have.

Alexander Skwar
--
Delta: The kids will love our inflatable slides.-- David Letterman
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] PORTAGE_ELOG error

2006-07-25 Thread Alexander Skwar

Grant schrieb:

 So, the correct entry for your make.conf is:

 PORTAGE_ELOG_MAILURI=[EMAIL PROTECTED] /usr/sbin/sendmail

 I've tried that and it doesn't seem to be working.

How is it not working? What's in the logs?


There is nothing in /var/log/mail/ and I can't find anything in
/var/log/everything/.


Hm, I would've checked /var/log/syslog and /var/log/debug.

What happens when you try to send a mail with mutt/mail/mailx?

mail -s test mail [EMAIL PROTECTED]  /dev/null

There have to be some messages somewhere.


 I have ssmtp
 installed with +mailwrapper.

mailwrapper or not shouldn't matter.


Ok, for some reason I thought mailwrapper provided the sendmail binary.


No, it doesn't. Check out the description of mailwrapper.




  Do I need to set up any other kind of
 configuration?

You need to configure ssmtp. Did you do so?


Looking over /etc/ssmtp/ssmtp.conf, it seems like I need to configure
the mailhub variable?


Yep.


 I want to make sure I'm setting up as simple a
system for getting this elog mail out as possible.  Do I need to
specify some kind of an SMTP server to get it sent?


Yes. Some mailhub, as the documentation likes to call it. And
if you need to authenticate yourself to the SMTP server, set
AuthUser and AuthPass. Also

# Use SSL/TLS to send secure messages to server.
UseTLS=YES

is quite useful.


 I thought this
thread was saying using SMTP was optional.


You misunderstood. This thread was about, *WHERE* SMTP is used.
IMO, it's wrong that portage even CAN use SMTP. But nearly always,
you'll need to use some SMTP server to get your mail out. But
with the /usr/sbin/sendmail interface, it's conceivable to send
out the mail WITHOUT the use of SMTP (eg. if the mail is sent from
the host with UUCP).


Alexander Skwar
--
Is a wedding successful if it comes off without a hitch?
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] can't install ati-drivers

2006-07-25 Thread Andrew Frink
Hello,is that the newest version in portage? if not i would sujest upgrading as each version of ati-drivers is only good for certian kernelsCynyrOn 7/25/06, 
Stefán István [EMAIL PROTECTED] wrote:
Hello!I have a big problem installing ati driver. Please somebody help.When I try to install it I get a huge error message:localhost fglrx # emerge -v ati-driversCalculating dependencies... done!
 Emerging (1 of 1) x11-drivers/ati-drivers-8.21.7-r1 to /make: Leaving directory `/usr/src/linux-2.6.17-gentoo-r4' * DRM module not built Source compiled. Test phase [not enabled]: x11-drivers/ati-
drivers-8.21.7-r1 Install ati-drivers-8.21.7-r1into /var/tmp/portage/ati-drivers-8.21.7-r1/image/ category x11-drivers * Installing fglrx moduleinstall: cannot stat `fglrx.ko': No such file or directory
!!! ERROR: x11-drivers/ati-drivers-8.21.7-r1 failed.Call stack:ebuild.sh, line 1539: Called dyn_installebuild.sh, line 1013: Called src_installati-drivers-8.21.7-r1.ebuild, line 182: Called linux-mod_src_install
linux-mod.eclass, line 497: Called die!!! doins fglrx.ko failed!!! If you need support, post the topmost build error, and the call stack ifrelevant.--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] strange [ file

2006-07-25 Thread Daniel da Veiga

On 7/25/06, Alan McKinnon [EMAIL PROTECTED] wrote:

On Tue, 2006-07-25 at 16:18 +0200, Etaoin Shrdlu wrote:
  test and [ are not links to each other as they have different syntax
  (the closing ]), so they cannot be the same command. If they were
  linked, one of them would fail on execution with invalid syntax
 errors

 This is not 100% true. As Neil Bothwick said, *the same program* can
 behave differently based on the name it was invoked with, so [ could
 very well have been implemented as a link to test (or viceversa), but
 this is not the case, as you can see with a
 ls -l /usr/bin/test /usr/bin/[

Um, no. Read my post again. The command 'test' and the command '[' have
*different* syntax so cannot possible be links to each other and still
have it work. The command does behave differently depending on the name
it is called with, but this does not change the syntax used on the
command line that invokes it.



Why not? The syntax is simply based on tests performed over the
arguments received, the name of the program is one of those arguments,
what stop the programmer to test the name and change the syntax
accourding with that name? Many of my scripts behave differently
accourding with the name it was called. That allows me to write simple
tests, symlink the same program to different names and have different
behavior/syntax, much better than copy the same file and edit it.

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] PORTAGE_ELOG error

2006-07-25 Thread Grant

  I thought this
 thread was saying using SMTP was optional.

You misunderstood. This thread was about, *WHERE* SMTP is used.
IMO, it's wrong that portage even CAN use SMTP. But nearly always,
you'll need to use some SMTP server to get your mail out. But
with the /usr/sbin/sendmail interface, it's conceivable to send
out the mail WITHOUT the use of SMTP (eg. if the mail is sent from
the host with UUCP).


Can I set my portage elog mail to be sent with UUCP?  Is it not
recommended for any reason?  I have postfix set up on my remote
server, but I like keeping personal and business stuff separate.

- Grant
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] can't install ati-drivers

2006-07-25 Thread Stefán István
Meanwhile I was able to install the ati-drivers by adding 
ACCEPT_KEYWORDS=~x86 to emerge and install the latest version in portage.
But now X doesn't start, and I find the following in the log file:
Required symbol drmUnmap from module /usr/lib/modules/drivers/fglrx_drv.o is 
unresolved!
Symbol drmUnmap from module /usr/lib/modules/drivers/fglrx_drv.o is 
unresolved!
Required symbol drmMap from module /usr/lib/modules/drivers/fglrx_drv.o is 
unresolved!
Symbol drmMap from module /usr/lib/modules/drivers/fglrx_drv.o is unresolved!
Required symbol drmUnmap from module /usr/lib/modules/drivers/fglrx_drv.o is 
unresolved!
Symbol drmUnmap from module /usr/lib/modules/drivers/fglrx_drv.o is 
unresolved!
Symbol vgaHWGetIndex from module /usr/lib/modules/drivers/fglrx_drv.o is 
unresolved!
Required symbol vgaHWUnlock from module /usr/lib/modules/drivers/fglrx_drv.o 
is unresolved!
Required symbol vgaHWSave from module /usr/lib/modules/drivers/fglrx_drv.o is 
unresolved!
Required symbol vgaHWLock from module /usr/lib/modules/drivers/fglrx_drv.o is 
unresolved!
Symbol vgaHWGetIndex from module /usr/lib/modules/drivers/fglrx_drv.o is 
unresolved!
Required symbol vgaHWUnlock from module /usr/lib/modules/drivers/fglrx_drv.o 
is unresolved!
Required symbol vgaHWRestore from module /usr/lib/modules/drivers/fglrx_drv.o 
is unresolved!
Required symbol vgaHWFreeHWRec from 
module /usr/lib/modules/drivers/fglrx_drv.o is unresolved!
Symbol xf86FreeInt10 from module /usr/lib/modules/drivers/fglrx_drv.o is 
unresolved!
Required symbol vgaHWGetHWRec from module /usr/lib/modules/drivers/fglrx_drv.o 
is unresolved!
Symbol xf86InitInt10 from module /usr/lib/modules/drivers/fglrx_drv.o is 
unresolved!
Required symbol drmMap from module /usr/lib/modules/drivers/fglrx_drv.o is 
unresolved!

snip

Fatal server error:
Some required symbols were unresolved

Anyway, it is the newest portage, I installed Gentoo today on this laptop.
How can I find out which ati-drivers good for which kernel?

Thanks:
Istvan

kedd 25 július 2006 20.25 dátummal Andrew Frink ezt írta:
 Hello,
 
 is that the newest version in portage? if not i would sujest upgrading as
 each version of ati-drivers is only good for certian kernels
 
 Cynyr
 
 On 7/25/06, Stefán István [EMAIL PROTECTED] wrote:
 
  Hello!
  I have a big problem installing ati driver. Please somebody help.
 
  When I try to install it I get a huge error message:
 
  localhost fglrx # emerge -v ati-drivers
  Calculating dependencies... done!
   Emerging (1 of 1) x11-drivers/ati-drivers-8.21.7-r1 to /
 
  make: Leaving directory `/usr/src/linux-2.6.17-gentoo-r4'
  * DRM module not built
   Source compiled.
   Test phase [not enabled]: x11-drivers/ati-drivers-8.21.7-r1
 
   Install ati-drivers-8.21.7-r1
  into /var/tmp/portage/ati-drivers-8.21.7-r1/image/ category x11-drivers
  * Installing fglrx module
  install: cannot stat `fglrx.ko': No such file or directory
 
  !!! ERROR: x11-drivers/ati-drivers-8.21.7-r1 failed.
  Call stack:
ebuild.sh, line 1539:   Called dyn_install
ebuild.sh, line 1013:   Called src_install
ati-drivers-8.21.7-r1.ebuild, line 182:   Called linux-mod_src_install
linux-mod.eclass, line 497:   Called die
 
  !!! doins fglrx.ko failed
  !!! If you need support, post the topmost build error, and the call stack
  if
  relevant.
  --
  gentoo-user@gentoo.org mailing list
 
 
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Power failure in the middle of emerge --emptytree world

2006-07-25 Thread Dale
Mark Knecht wrote:
 On 7/24/06, Zac Medico [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Mark Knecht wrote:
What is my best course of action at this point? The machine booted
  fine so I could start over. I also saved an old email from Zac Medico
  that suggested a command
 
  FEATURES=keepwork emerge --resume
 
  Would this be a good thing to do?

 I wouldn't recommend the FEATURES=keepwork anymore because there's no
 guarantee that the build will resume properly.  It's safest to simply
 use --resume as suggested by Dale.

 Zac

 Thanks you guys. I did the emerge --resume and things seem to have
 completed correctly.

 Now if I could just get the machine to work properly I'd be in heaven!
 ;-)

 Cheers all,
 Mark

Keep in mind that when it is compiling that it is done in a temporary
location.  After the compile is done, then it copies it over.  Now if it
dies while it was copying to it's place to actually run, usually /, then
there could be problems.  Unless it was changed, compiling takes place
in /var/tmp/portage.

Someone correct me if I am wrong.

Dale

:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] can't install ati-drivers

2006-07-25 Thread Ptitjack
Stefán István a gentiment tapote:
 !!! ERROR: x11-drivers/ati-drivers-8.21.7-r1 failed.
 Call stack:
   ebuild.sh, line 1539:   Called dyn_install
   ebuild.sh, line 1013:   Called src_install
   ati-drivers-8.21.7-r1.ebuild, line 182:   Called linux-mod_src_install
   linux-mod.eclass, line 497:   Called die

 !!! doins fglrx.ko failed
 !!! If you need support, post the topmost build error, and the call stack if 
 relevant.
   

Hi,

ati-drivers-8.25.18 works fine with gentoo-sources-2.6.17-r4

Regards,


--- Ptitjack --

   
^
   ^^^
  ^
( 0   0 )
\/
  ----
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] can't install ati-drivers

2006-07-25 Thread Stefán István
kedd 25 július 2006 20.58 dátummal Ptitjack ezt írta:
 Stefán István a gentiment tapote:
  !!! ERROR: x11-drivers/ati-drivers-8.21.7-r1 failed.
  Call stack:
ebuild.sh, line 1539:   Called dyn_install
ebuild.sh, line 1013:   Called src_install
ati-drivers-8.21.7-r1.ebuild, line 182:   Called linux-mod_src_install
linux-mod.eclass, line 497:   Called die
 
  !!! doins fglrx.ko failed
  !!! If you need support, post the topmost build error, and the call stack 
if 
  relevant.

 
 Hi,
 
 ati-drivers-8.25.18 works fine with gentoo-sources-2.6.17-r4
 

Hello!
I tried the version above, and it installs perfectly, but when I try to start 
X, I get the unresolved symbols error I worte in my previous mail.

Maybe my xorg has a wrong version? I installed 6.8.2-r8.

István

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] can't install ati-drivers

2006-07-25 Thread Stefán István
kedd 25 július 2006 21.28 dátummal Mick ezt írta:
 On Tuesday 25 July 2006 19:32, Richard Fish wrote:
 
  8.21.7 seems quite old to me, especially to try and use with a new
  kerrnel.  Can you try something more recent, like 8.26.18-r1?  You'll
  have to accept the ~arch keyword for this:
 
  echo x11-drivers/ati-drivers ~x86 /etc/portage/package.keywords
 
  -Richard
 
 Also, if you have userpriv in your FEATURES= in /etc/make.conf remove it 
and 
 then emerge -resume.  It may work . . . after that you can re-instate it.

Thanks, but I don't have anything like that in /etc/make.conf :(


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Corrupted files in xorg?

2006-07-25 Thread Mick
On Tuesday 25 July 2006 21:10, Randy Barlow wrote:
 Mick wrote:
  There are some differences with mine there, besides the two corrupt
  files. I'm none the wiser with this problem.  :-(

 Mine is different too:

 [EMAIL PROTECTED] ~ $ ls -la /usr/lib/X11/
 total 135
 drwxr-xr-x  4 root root   200 Jul  3 11:25 .
 drwxr-xr-x 77 root root 54984 Jul 23 12:56 ..
 -rw-r--r--  1 root root 58840 Jul  3 11:25 Cards
 -rw-r--r--  1 root root 12991 Jul  3 11:25 Options
 -rw-r--r--  1 root root  1736 Jul  2 19:52 Xcms.txt
 drwxr-xr-x  2 root root   104 Jul  3 11:25 getconfig
 drwxr-xr-x 59 root root  1856 Jul  2 19:52 locale
 lrwxrwxrwx  1 root root12 Jul  3 09:34 mwm - /etc/X11/mwm

This needs someone with more modular xorg knowledge than I (not difficult).  
Is Donnie please watching us?
-- 
Regards,
Mick


pgpDW1UdTZdBN.pgp
Description: PGP signature


Re: [gentoo-user] Power failure in the middle of emerge --emptytree world

2006-07-25 Thread Mark Knecht

On 7/25/06, Dale [EMAIL PROTECTED] wrote:

Mark Knecht wrote:

SNIP

 Now if I could just get the machine to work properly I'd be in heaven!
 ;-)

 Cheers all,
 Mark

Keep in mind that when it is compiling that it is done in a temporary
location.  After the compile is done, then it copies it over.  Now if it
dies while it was copying to it's place to actually run, usually /, then
there could be problems.  Unless it was changed, compiling takes place
in /var/tmp/portage.

Someone correct me if I am wrong.

Dale


Dale,
  Sorry. My bad for making such an off-hand comment. The emerge
process worked completely correctly and everything was moved to the
right place. None of that is a problem.

  The problem I'm having is that I have two machines with identical
hardware. (Pundit-R's). They were both running as MythTV frontend only
boxes using an old kernel, old ati-driver and old MythTV. One I
rebuilt from scratch instead of updating. It works perfectly. The
second I updated because it also serves as an NFS file server and I
didn't want to take it off line for very long. For some reason on the
second machine ati-drivers won't load. That's the problem I was
alluding to earlier.

Cheers,
Mark
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Weird dependencies

2006-07-25 Thread Zac Medico
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

gentuxx wrote:
 Hi all,
 
 I'm trying to run a routine `emerge -DuatvN world' and am getting some
 funky dependency errors.  Here's the error I get:
 
 emerge: there are no ebuilds to satisfy =dev-java/kaffe-1.4.
 (dependency required by net-dns/libidn-0.5.15 [ebuild])

Portage is confused by old-style virtual/jdk and virtual/jre providers.  The 
latest version of java-check-environment should help you correct this.  Please 
refer to the Java upgrade guide:

http://www.gentoo.org/proj/en/java/java-upgrade.xml

Zac
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFExmru/ejvha5XGaMRAgjaAKDkoszQB+CkN/sFR4Ai0JsubPHZAQCfe30i
vtm8aaE7jUSMmGHLC5/UC0A=
=rLmG
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] can't install ati-drivers

2006-07-25 Thread Mick
On Tuesday 25 July 2006 20:35, Stefán István wrote:
 kedd 25 július 2006 21.28 dátummal Mick ezt írta:

  Also, if you have userpriv in your FEATURES= in /etc/make.conf remove
  it

 and

  then emerge -resume.  It may work . . . after that you can re-instate it.

 Thanks, but I don't have anything like that in /etc/make.conf :(

Just ignore me then, it was a long shot anyway but the error was similar to 
one that I had before and thought that it might help.
-- 
Regards,
Mick


pgpSmkboneSGk.pgp
Description: PGP signature


Re: [gentoo-user] PORTAGE_ELOG error

2006-07-25 Thread Mick
On Tuesday 25 July 2006 19:42, Alexander Skwar wrote:
 Grant schrieb:
I thought this
   thread was saying using SMTP was optional.
 
  You misunderstood. This thread was about, *WHERE* SMTP is used.
  IMO, it's wrong that portage even CAN use SMTP. But nearly always,
  you'll need to use some SMTP server to get your mail out. But
  with the /usr/sbin/sendmail interface, it's conceivable to send
  out the mail WITHOUT the use of SMTP (eg. if the mail is sent from
  the host with UUCP).
 
  Can I set my portage elog mail to be sent with UUCP?

 Yes, by employing a sending program, which can do UUCP. /usr/sbin/sendmail
 could be such a programm.

Is there some way of sending such messages to a local MUA without them leaving 
the box?  If I understand this correctly in all options discussed here the 
messages will leave the box via SMTP/UUCP, reach the ISP servers, then the 
relevant (e.g. mail.yahoo.com) mailserver and finally back to the local box 
as incoming mail on the user MUA.
-- 
Regards,
Mick


pgpzaECTmpCAi.pgp
Description: PGP signature


Re: [gentoo-user] Power failure in the middle of emerge --emptytree world

2006-07-25 Thread Dale
Mark Knecht wrote:
 On 7/25/06, Dale [EMAIL PROTECTED] wrote:
 Mark Knecht wrote:
 SNIP
  Now if I could just get the machine to work properly I'd be in heaven!
  ;-)
 
  Cheers all,
  Mark

 Keep in mind that when it is compiling that it is done in a temporary
 location.  After the compile is done, then it copies it over.  Now if it
 dies while it was copying to it's place to actually run, usually /, then
 there could be problems.  Unless it was changed, compiling takes place
 in /var/tmp/portage.

 Someone correct me if I am wrong.

 Dale

 Dale,
   Sorry. My bad for making such an off-hand comment. The emerge
 process worked completely correctly and everything was moved to the
 right place. None of that is a problem.

  snip 
 Cheers,
 Mark

That was for future reference.  If in the future you are seeing it copy
the install over and power fails, then you may need to re-emerge it and
be ready for issues.  I'm not really sure what those would be though. 
It may work just fine, it may not.

I'm bad at looking to far ahead.  My wife has noticed that too.  :\

Dale

:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] can't install ati-drivers

2006-07-25 Thread Richard Fish

On 7/25/06, Stefán István [EMAIL PROTECTED] wrote:

Meanwhile I was able to install the ati-drivers by adding
ACCEPT_KEYWORDS=~x86 to emerge and install the latest version in portage.
But now X doesn't start, and I find the following in the log file:


Do you have the dri use flag set for xorg-server?  (emerge -pv xorg-server)

Are you loading the dri module in /etc/X11/xorg.conf?

It might help to gzip and attach your full /var/log/Xorg.0.log file.

-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How packages becomes stable?

2006-07-25 Thread Richard Fish

On 7/25/06, Robert Cernansky [EMAIL PROTECTED] wrote:

How the developers are informed about packages that should go to
stable? Is there posibility for developers to easily find these
packages or get some notification about it?


Developers are generally expected to keep track of the packages they
are maintaining and decide when and if to move them to stable.  It is
possible you are looking at packages that have been orphaned.

Regardless, if there are packages you feel are ready to go to stable,
you can file bugs on bugs.gentoo.org to request stabilization.  Search
the database for stabilize to get examples.

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] PORTAGE_ELOG error

2006-07-25 Thread Alexander Skwar

Mick schrieb:

On Tuesday 25 July 2006 19:42, Alexander Skwar wrote:

Grant schrieb:
   I thought this
  thread was saying using SMTP was optional.

 You misunderstood. This thread was about, *WHERE* SMTP is used.
 IMO, it's wrong that portage even CAN use SMTP. But nearly always,
 you'll need to use some SMTP server to get your mail out. But
 with the /usr/sbin/sendmail interface, it's conceivable to send
 out the mail WITHOUT the use of SMTP (eg. if the mail is sent from
 the host with UUCP).

 Can I set my portage elog mail to be sent with UUCP?

Yes, by employing a sending program, which can do UUCP. /usr/sbin/sendmail
could be such a programm.


Is there some way of sending such messages to a local MUA without them leaving 
the box?


How's the MUA accessing the mailbox? Is it /var/spool/mail/$username?

Anyway, the answer is: Yes. Use /usr/sbin/sendmail as the mailserver
in you MAILURI.

You cannot use SSMTP as your MTA (/usr/sbin/sendmail), though. You might
want to check out esmtp, as it can do local delivery by using an MDA like
procmail. With esmtp, such a scenario would be possible.

 If I understand this correctly in all options discussed here the 
messages will leave the box via SMTP/UUCP, reach the ISP servers, then the 
relevant (e.g. mail.yahoo.com) mailserver and finally back to the local box 
as incoming mail on the user MUA.


That's probably the flow which can be found most often, yes. But it's
not necessary to be that way.

Alexander Skwar
--
Have an adequate day.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Power failure in the middle of emerge --emptytree world

2006-07-25 Thread Zac Medico
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dale wrote:
 That was for future reference.  If in the future you are seeing it copy
 the install over and power fails, then you may need to re-emerge it and
 be ready for issues.  I'm not really sure what those would be though. 
 It may work just fine, it may not.
 
 I'm bad at looking to far ahead.  My wife has noticed that too.  :\

This is an important detail and you're right to be concerned about it.  
However, AFAIK, portage handles this pretty well.  You should receive some type 
of notice about an incomplete merge if a merge has been interrupted.

Zac
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFExpbh/ejvha5XGaMRAn/UAJ0R3bD2iI0ugYobM7HD8HGG1GmslgCg57mB
XpLiecgbcVrK5ZFD79slMpI=
=mMqZ
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: audio with TV crd [solved]

2006-07-25 Thread Nick Rout

On Tue, 25 Jul 2006 11:11:50 +0100
Uwe Thiem wrote:

 On 25 July 2006 01:37, Nick Rout wrote:
 
 Audio is now working with PVR-150. Thanks, Nick, for all your input.
 
 Problem is, I don't know why and I hate it when magic is part of IT. ;-)
 
 The whole difference between yesterday and today is that I tried to compile 
 the new kernel 2.6.17-gentoo-r4 (as compared to r3). That compilation failed. 
 Since I hadn't time to investigate, I just left it like that. Nothing 
 installed, no reboot, noting. All of a sudden audio is coming out of that 
 bugger at a decent volume. :-(
 
 Audio quality is still poor, high noise level and it doesn't sound like 50Hz 
 noise. So maybe, it's that VCR - have to check that by plugging the VCR 
 directly into a TV.
 
 Anyway, forward to the next step of creating a video DVD from that MPEG2 
 stream!
 
 Uwe

There is a current scratchy noise problem with PVR-150 drivers.

AFTER you have started playing/recording the stream execute 

ivtvctl -qX 

where X is the audio input you are using. This fixes it for me and a
number of other mythtv users. Some have even set up a cron script to
execute that command every 10 seconds.

To get as close as possible to a DVD compatible stream use 

ivtvctl -c stream_type=X where X is the stream type you want from :

/* Stream types */
#define IVTV_STREAM_PS  0
#define IVTV_STREAM_TS  1
#define IVTV_STREAM_MPEG1   2
#define IVTV_STREAM_PES_AV  3
#define IVTV_STREAM_PES_V   5
#define IVTV_STREAM_PES_A   7
#define IVTV_STREAM_DVD 10
#define IVTV_STREAM_VCD 11
#define IVTV_STREAM_SVCD12
#define IVTV_STREAM_DVD_S1  13
#define IVTV_STREAM_DVD_S2  14

I cannot for the life of me remember whether you want 10,13 or 14.



-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] trouble with bcm43xx

2006-07-25 Thread Allan Gottlieb
I followed the instructions from the forum (listed below)
I built the driver and networking code as modules as specified.
(I also tried building them into the kernel with essentially the same
bad results).

I would appreciate any help.  Details follow.
allan

The guide recommended wl_apsta.o for firmware, but that failed the
bcm43xx-fwcutter command so I then tried wl.o, which bcm43xx was happy
with.

The modprobe of bcm43xx worked and lsmod showed the driver, the
network code and the cryptographic code.  I then added bcm43xx to the
appropriate modules.autoload.

In either case (manual modprobe or modules.autoload)
/etc/init.d/net.eth1 failed as follows

ajglap gottlieb # /etc/init.d/net.eth1 start
 * Starting eth1
 *   Configuring wireless network for eth1
 *   Failed to configure wireless for eth1 [ !! ]

I ran dmesg both before and after the /etc/init.d/net.eth1 start

The new material from dmesg was

bcm43xx: PHY connected
bcm43xx: PHY disconnected
bcm43xx: PHY connected
bcm43xx: Radio turned on
bcm43xx: Chip initialized
bcm43xx: DMA initialized
bcm43xx: PHY disconnected
bcm43xx: Radio turned off
bcm43xx: TODO: Incomplete code in bcm43xx_radio_selectchannel() at 
drivers/net/wireless/bcm43xx/bcm43xx_radio.c:1608
bcm43xx: TODO: Incomplete code in bcm43xx_radio_selectchannel() at 
drivers/net/wireless/bcm43xx/bcm43xx_radio.c:1611
bcm43xx: TODO: Incomplete code in bcm43xx_radio_selectchannel() at 
drivers/net/wireless/bcm43xx/bcm43xx_radio.c:1651
bcm43xx: Radio turned on
bcm43xx: TODO: Incomplete code in bcm43xx_phy_inita() at 
drivers/net/wireless/bcm43xx/bcm43xx_phy.c:577
bcm43xx: TODO: Incomplete code in bcm43xx_radio_selectchannel() at 
drivers/net/wireless/bcm43xx/bcm43xx_radio.c:1608
bcm43xx: TODO: Incomplete code in bcm43xx_radio_selectchannel() at 
drivers/net/wireless/bcm43xx/bcm43xx_radio.c:1611
bcm43xx: TODO: Incomplete code in bcm43xx_radio_selectchannel() at 
drivers/net/wireless/bcm43xx/bcm43xx_radio.c:1651
bcm43xx: TODO: Incomplete code in bcm43xx_radio_set_txpower_a() at 
drivers/net/wireless/bcm43xx/bcm43xx_radio.c:1802
bcm43xx: Chip initialized
bcm43xx: DMA initialized
bcm43xx: Radio turned off
bcm43xx: 80211 cores initialized
bcm43xx: TODO: Incomplete code in keymac_write() at 
drivers/net/wireless/bcm43xx/bcm43xx_main.c:1130
bcm43xx: TODO: Incomplete code in keymac_write() at 
drivers/net/wireless/bcm43xx/bcm43xx_main.c:1130
bcm43xx: TODO: Incomplete code in keymac_write() at 
drivers/net/wireless/bcm43xx/bcm43xx_main.c:1130
bcm43xx: TODO: Incomplete code in keymac_write() at 
drivers/net/wireless/bcm43xx/bcm43xx_main.c:1130
bcm43xx: TODO: Incomplete code in keymac_write() at 
drivers/net/wireless/bcm43xx/bcm43xx_main.c:1130
bcm43xx: TODO: Incomplete code in keymac_write() at 
drivers/net/wireless/bcm43xx/bcm43xx_main.c:1130
bcm43xx: TODO: Incomplete code in keymac_write() at 
drivers/net/wireless/bcm43xx/bcm43xx_main.c:1130
bcm43xx: TODO: Incomplete code in keymac_write() at 
drivers/net/wireless/bcm43xx/bcm43xx_main.c:1130
bcm43xx: TODO: Incomplete code in keymac_write() at 
drivers/net/wireless/bcm43xx/bcm43xx_main.c:1132
bcm43xx: TODO: Incomplete code in keymac_write() at 
drivers/net/wireless/bcm43xx/bcm43xx_main.c:1132
bcm43xx: TODO: Incomplete code in keymac_write() at 
drivers/net/wireless/bcm43xx/bcm43xx_main.c:1132
bcm43xx: TODO: Incomplete code in keymac_write() at 
drivers/net/wireless/bcm43xx/bcm43xx_main.c:1132
bcm43xx: Keys cleared
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Associate: failed to initiate scan. Is device up?
bcm43xx: set security called
bcm43xx:.level = 0
bcm43xx:.enabled = 0
bcm43xx:.encrypt = 0
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
bcm43xx: set security called
bcm43xx:.level = 0
bcm43xx:.enabled = 0
bcm43xx:.encrypt = 0
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Associate: failed to initiate scan. Is device up?
SoftMAC: Scanning finished
SoftMAC: Unable to find matching network after scan!
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Associate: failed to initiate scan. Is device up?
SoftMAC: Scanning finished
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Unable to find matching network after scan!
SoftMAC: Scanning finished
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Scanning finished
SoftMAC: Associate: Scanning for networks first.

Re: [gentoo-user] Can not start xorg 7.0 after upgrade from ver 6.8

2006-07-25 Thread Nadav Horesh
 How about ~/.xsession-errors?It is empty (0 bytes)Nadav

Re: [gentoo-user] Install CD sees 2 ethernet ports

2006-07-25 Thread Walter Dnes
On Tue, Jul 25, 2006 at 01:08:19PM -0300, Daniel da Veiga wrote

 I think eth0 is your FireWire port (IEEE 1394).
 
 You did the right thing already (taking eth0 down). Now you can
 install Gentoo and unless you configure support for Ethernet over
 FireWire (or something similar) in your kernel you shouldn't have any
 problem.
 
 That was my experience anyway (with a different Asus board, but the
 same behavior).
 
 
 Louis is right, you can also disable this behavior by adding
 nofirewire at the bootloader line that calls the kernel.

  Thanks Daniel and Louis.  With nofirewire the boot messages showed 2
eth devices, but the real ethernet chip now comes up as eth0, which is
what I wanted.

-- 
Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



Re[2]: [gentoo-user] How packages becomes stable?

2006-07-25 Thread Robert Cernansky
On Tue, 25 Jul 2006 13:48:17 -0700 Richard Fish [EMAIL PROTECTED] wrote:

RF On 7/25/06, Robert Cernansky [EMAIL PROTECTED] wrote:
RF  How the developers are informed about packages that should go to
RF  stable? Is there posibility for developers to easily find these
RF  packages or get some notification about it?
RF 
RF Developers are generally expected to keep track of the packages they
RF are maintaining and decide when and if to move them to stable.  It is
RF possible you are looking at packages that have been orphaned.

Is the list of such packages available somewhere?

RF Regardless, if there are packages you feel are ready to go to stable,
RF you can file bugs on bugs.gentoo.org to request stabilization.

Of course I can but I want to point out that this should happen
occasionally. I reported several packages to be keyworded for amd64
year ago and none of them is stable yet. So it seems to me that
this is not bug, this is a rule.

PS: Richard, how do you read this mailing list? I have suspicion
that my mails do not arriving to mailing list. I see only your
reply, not my original post (this happened also with my previous
mail from 23. 7.).

Robert


-- 
Robert Cernansky
E-mail: [EMAIL PROTECTED]
Jabber: [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Weird dependencies

2006-07-25 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Zac Medico wrote:
 gentuxx wrote:
  Hi all,
 
  I'm trying to run a routine `emerge -DuatvN world' and am getting
 some
  funky dependency errors.  Here's the error I get:
 
  emerge: there are no ebuilds to satisfy =dev-java/kaffe-1.4.
  (dependency required by net-dns/libidn-0.5.15 [ebuild])

 Portage is confused by old-style virtual/jdk and virtual/jre
 providers.  The latest version of java-check-environment should help
 you correct this.  Please refer to the Java upgrade guide:

 http://www.gentoo.org/proj/en/java/java-upgrade.xml

 Zac

I meant to post more info.I must have gotten distracted or something.

Thanks for the link, I'll take a look at it and see if it solves the
problem.  If not, I'll post the rest of the info that I had orginally
planned.  ;-)

Thanks.

 --
 gentux
 echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge'

 gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239  D840 4CF0
 39E2 18D3 4A9E
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFExwBwTPA54hjTSp4RAjn1AKCiaMzTh95uJDLsHurDJtoiK8NDrQCggKKs
Oje576oK7RA16eQK6wd4V2s=
=4mXf
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list