[gentoo-user] netstat command

2008-07-30 Thread Kaushal Shriyan
Hi

is there a way to find out the time when the port was connected in netstat
command

For example

netstat -anp | grep 12001

Thanks and Regards

Kaushal


Re: [gentoo-user] Waiting for uevents to be processed...

2008-07-30 Thread ionut cucu
On Mon, 28 Jul 2008 22:11:49 -0400
Budd, Tracy [EMAIL PROTECTED] wrote:

 
 
 
 -Original Message-
 From: Eric Martin [mailto:[EMAIL PROTECTED]
 Sent: Mon 7/28/2008 8:12 AM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Waiting for uevents to be processed...
  
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Budd, Tracy wrote:
   
  
  -Original Message-
  From: Eric Martin [mailto:[EMAIL PROTECTED] 
  Sent: Monday, July 28, 2008 6:42 AM
  To: gentoo-user@lists.gentoo.org
  Subject: Re: [gentoo-user] Waiting for uevents to be processed...
  
  Budd, Tracy wrote:
  This step in the bootup seems to take a very long time.
  Any suggestions on how to speed this up or where to look if there 
  might be some problem?
  Thanks,
  -Tracy
  
  I too had that problem.  I deleted 70-persistent-rules for another
  reason and rebooted which regenerated it.  Problem gone.  Just make
  sure you make a backup of it before you reboot.
  
 
 I don't understand what you did you fix it. How would I delete
 70-persistent-rules?
 
 
 Make a backup of /etc/udev/rules.d/70-persistent*.rules (I moved them
 to my home drive)
 delete 70-persistent*.rules (accomplished by move)
 reboot
 
 If they don't regenerate you can copy them back.  then I'd re-emerge
 udev.
 
 - --
 Eric Martin
 Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.9 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iEYEARECAAYFAkiNt54ACgkQdheOldgSlQjYzQCffvYhidkrr014xFaIo3ih7DrA
 p20AoPgl3A33M/2PgQ1HLNdTKPdWTiHR
 =fWuQ
 -END PGP SIGNATURE-
 
 
 Thank you for the input. Unfortunately, it didn't work.

Are you perhaps using openrc-0.25 and have rc_parallel=YES  if so
this is a known bug and just set it to NO or use a ~ version of
openrc and everything will be ok. 



Re: [gentoo-user] media-video/totem-2.20.3 Access violation

2008-07-30 Thread Zhu Sha Zang

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ivan Alden escreveu:
| Hi,
|
| When I run a revdep-rebuild or emerge totem I get an access violation
| error when the system tries to compile totem.
|
| Anyone knows what could be wrong?
|
| Thanks
|
| Source compiled.
| --- ACCESS VIOLATION SUMMARY
| ---
| LOG FILE = /var/log/sandbox/sandbox-16382.log
|
| unlink:/usr/share/xml2po/docbook.pyc
| unlink:/usr/share/xml2po/docbook.pyc
| unlink:/usr/share/xml2po/docbook.pyc
| unlink:/usr/share/xml2po/docbook.pyc
| unlink:/usr/share/xml2po/docbook.pyc
| unlink:/usr/share/xml2po/docbook.pyc
| unlink:/usr/share/xml2po/docbook.pyc
| unlink:/usr/share/xml2po/docbook.pyc
| 

I haved this problem when i'm trying to install ardour, but the problem 
was this:

unlink:/usr/lib/scons-0.97/SCons/__init__.pyc
unlink:/usr/lib/scons-0.97/SCons/Script/__init__.pyc
unlink:/usr/lib/scons-0.97/SCons/Action.pyc
unlink:/usr/lib/scons-0.97/SCons/Debug.pyc
unlink:/usr/lib/scons-0.97/SCons/Errors.pyc
unlink:/usr/lib/scons-0.97/SCons/Executor.pyc
unlink:/usr/lib/scons-0.97/SCons/Memoize.pyc
unlink:/usr/lib/scons-0.97/SCons/Util.pyc
unlink:/usr/lib/scons-0.97/SCons/compat/__init__.pyc
unlink:/usr/lib/scons-0.97/SCons/compat/builtins.pyc

The only solution for this, was deinstalling scons and reinstalling 
again. NOTE, i'm tried only reinstalling and won't worked. Only erasing 
scons have worked fine.


Bye.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiQC1cACgkQbLyL8mxGP9TOwQCghBKE1SNP3dD2q6GofOMPgWtd
WsgAoLENo52X5k4afm8dxvwGxk4qY5bi
=Te+L
-END PGP SIGNATURE-



[gentoo-user] strangeness with emerge -uD world

2008-07-30 Thread »Q«
I'm using portage-2.1.4.4.

$ emerge -pqu world
[ebuild U ] www-client/mozilla-firefox-3.0.1 [2.0.0.16]

but 

$ emerge -pqu --deep world

gives no output.  I've never seen --deep cause fewer updates.  What am
I missing?  I have EMERGE_DEFAULT_OPTS=--with-bdeps y in make.conf,
and I don't know what more info to post.

-- 
»Q«
 Kleeneness is next to Gödelness.





[gentoo-user] Problem to erase some temp directory

2008-07-30 Thread Zhu Sha Zang

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi everybody,

I have some disaster in my desktop system because i'm erased my /lib.
Well, i've solved this problem unpacking stage-3 over my system, and 
emerge -e world.

My system working very well now, but a weak problem appear.

In boot, when tmpdir tried to be cleaned, some messages appear that the 
some directories don't be erased., this:


drwxrwxrwx 2 root1003 4.0K Jul 13 08:24 ashura
drwxrwxrwx 2  505 101 4.0K Jul 15 11:41 dasusr1
drwxrwxrwx 2  507 102 4.0K Jul 15 11:41 db2inst1
drwxrwx--T 7 root rodolfo 4.0K Jul 30 03:34 rodolfo
drwx-T 2 root root4.0K Jul 30 00:06 root

I've tried to remove this directories usimg root after boot, and receive 
this message:


sakurazukamori .private # rm -rf *
rm: cannot remove directory `ashura': Operation not permitted
rm: cannot remove directory `dasusr1': Operation not permitted
rm: cannot remove directory `db2inst1': Operation not permitted
rm: cannot remove directory `rodolfo': Operation not permitted
rm: cannot remove directory `root': Operation not permitted

Thinking in some service using this directories, i've tried boot a 
gentoo livecd and erase archies but the same problem appear.
I used too fsck on this ext3 file system, none errors on fylesystem are 
detected.


Some tricks?
thnks for now
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiQDuEACgkQbLyL8mxGP9RowgCg0OcYfZL6zPCUyCfgPuUcsF5T
6MUAoIvbWgnkl7QOJoWZRPgOnnCe+7y/
=QE6S
-END PGP SIGNATURE-






___ 
Yahoo! Mail - Sempre a melhor opção para você! 
Experimente já e veja as novidades. 
http://br.yahoo.com/mailbeta/tudonovo/




RE: [gentoo-user] netstat command

2008-07-30 Thread Adam Carter

is there a way to find out the time when the port was connected in netstat 
command

For example

netstat -anp | grep 12001

Dont think so. If its a server opening the port, look for syslog messages from 
the daemon.




Re: [gentoo-user] strangeness with emerge -uD world

2008-07-30 Thread Andrey Falko
On Tue, Jul 29, 2008 at 11:42 PM, »Q« [EMAIL PROTECTED] wrote:
 I'm using portage-2.1.4.4.

 $ emerge -pqu world
 [ebuild U ] www-client/mozilla-firefox-3.0.1 [2.0.0.16]

 but

 $ emerge -pqu --deep world

 gives no output.  I've never seen --deep cause fewer updates.  What am
 I missing?  I have EMERGE_DEFAULT_OPTS=--with-bdeps y in make.conf,
 and I don't know what more info to post.

 --
 »Q«
 Kleeneness is next to Gödelness.





Is Firefox in /var/lib/portage/world? If not, do you intend Firefox to
be a dependency? The only legitimate behavior I see is that Firefox
is a dependency for a package that is not part of your world.


Re: [gentoo-user] Problem to erase some temp directory

2008-07-30 Thread Andrey Falko
On Tue, Jul 29, 2008 at 11:49 PM, Zhu Sha Zang [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi everybody,

 I have some disaster in my desktop system because i'm erased my /lib.
 Well, i've solved this problem unpacking stage-3 over my system, and emerge
 -e world.
 My system working very well now, but a weak problem appear.

 In boot, when tmpdir tried to be cleaned, some messages appear that the some
 directories don't be erased., this:

 drwxrwxrwx 2 root1003 4.0K Jul 13 08:24 ashura
 drwxrwxrwx 2  505 101 4.0K Jul 15 11:41 dasusr1
 drwxrwxrwx 2  507 102 4.0K Jul 15 11:41 db2inst1
 drwxrwx--T 7 root rodolfo 4.0K Jul 30 03:34 rodolfo
 drwx-T 2 root root4.0K Jul 30 00:06 root

 I've tried to remove this directories usimg root after boot, and receive
 this message:

 sakurazukamori .private # rm -rf *
 rm: cannot remove directory `ashura': Operation not permitted
 rm: cannot remove directory `dasusr1': Operation not permitted
 rm: cannot remove directory `db2inst1': Operation not permitted
 rm: cannot remove directory `rodolfo': Operation not permitted
 rm: cannot remove directory `root': Operation not permitted

 Thinking in some service using this directories, i've tried boot a gentoo
 livecd and erase archies but the same problem appear.
 I used too fsck on this ext3 file system, none errors on fylesystem are
 detected.

 Some tricks?
 thnks for now
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.9 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iEYEARECAAYFAkiQDuEACgkQbLyL8mxGP9RowgCg0OcYfZL6zPCUyCfgPuUcsF5T
 6MUAoIvbWgnkl7QOJoWZRPgOnnCe+7y/
 =QE6S
 -END PGP SIGNATURE-






 ___ Yahoo! Mail - Sempre
 a melhor opção para você! Experimente já e veja as novidades.
 http://br.yahoo.com/mailbeta/tudonovo/



You might have extended attributes enabled. What happens when you run
lsattr on that directory? If you don't have lsattr, emerge e2fsprogs.


Re: [gentoo-user] Switching back to console

2008-07-30 Thread Andrey Falko
On Wed, Jul 30, 2008 at 1:48 AM, ionut cucu [EMAIL PROTECTED] wrote:
 Hi list!
 For some time now (I seem to recall this not working a few weeks back )
 I can't seem to be able to switch back to console from X with
 Ctr+Alt+Fn. Xev sees Ctr+Alt+Fn keycode as Fn keycode(don't know if
 this is expected behaivor or not). I can't the console to work neither
 from kde-svn nor from fluxbox. I have not defined no particular
 keyboard layout, I'm just using the default one. I have defined some
 key mappings for other keys, none of them involves F keys, and the
 behaivor is the same weather I use the mappings or not. Could you
 perhaps give me a hand with this?



When you press CTRL+ALT+F1 for instance, do you get a black screen? Or
do you remain in the fluxbox/kde X session? There is no freeze up
either right? I don't know how much it will help, but can you post all
of the xorg files you edited? Maybe someone will spot something
unusual...



Re: [gentoo-user] sdl-perl

2008-07-30 Thread Andrey Falko
On Tue, Jul 29, 2008 at 3:42 PM, Daniel D Jones
[EMAIL PROTECTED] wrote:
 Anyone have a clue as to what would cause the following error:

 Install sdl-perl-2.1.3-r3
 into /var/tmp/portage/dev-perl/sdl-perl-2.1.3-r3/image/ category dev-perl
 WARNING: Can't figure out install path for types: arch lib
 Files will not be installed.

 The package is already installed, so it succeeded at one time, but
 revdep-rebuild wants to reinstall it and it keeps failing.  I believe the
 above is the issue, but I'll paste the full output from the installation
 attempt below.  There is also this error:

 Error: 'GLint' not in typemap in OpenGL.xs, line 2099

 but the process appears to continue after that and I don't _think_ that's
 causing the ultimate failure.

 Thanks in advance for any assistance.

 -

 # emerge sdl-perl
 Calculating dependencies... done!
 Verifying ebuild Manifests...

 Emerging (1 of 1) dev-perl/sdl-perl-2.1.3-r3 to /
  * SDL_Perl-2.1.3.tar.gz RMD160 SHA1 SHA256 size ;-) ...
 [ ok ]
  * checking ebuild checksums ;-) ...
 [ ok ]
  * checking auxfile checksums ;-) ...
 [ ok ]
  * checking miscfile checksums ;-) ...
 [ ok ]
  * checking SDL_Perl-2.1.3.tar.gz ;-) ...
 [ ok ]
 Unpacking source...
 Unpacking SDL_Perl-2.1.3.tar.gz
 to /var/tmp/portage/dev-perl/sdl-perl-2.1.3-r3/work
  * Applying sdl-2.1.3.build.patch ...
 [ ok ]
  * Applying sdl-perl-2.1.3-gfxPie.patch ...
 [ ok ]
 Source unpacked.
 Compiling source
 in /var/tmp/portage/dev-perl/sdl-perl-2.1.3-r3/work/SDL_Perl-2.1.3 ...
  * Using Module::Build
 Checking whether your kit is complete...
 Looks good

 Checking prerequisites...
 Looks good

 Creating new 'Build' script for 'SDL_Perl' version '2.1.3'
 Copying lib/SDL/Tutorial/Animation.pm - blib/lib/SDL/Tutorial/Animation.pm
 Copying lib/SDL/Surface.pm - blib/lib/SDL/Surface.pm
 Copying lib/SDL/Rect.pm - blib/lib/SDL/Rect.pm
 Copying lib/SDL/Palette.pm - blib/lib/SDL/Palette.pm
 Copying lib/SDL/MPEG.pm - blib/lib/SDL/MPEG.pm
 Copying lib/SDL/SFont.pm - blib/lib/SDL/SFont.pm
 Copying lib/SDL/Tool/Graphic.pm - blib/lib/SDL/Tool/Graphic.pm
 Copying lib/SDL/Tutorial/Drawing.pm - blib/lib/SDL/Tutorial/Drawing.pm
 Copying lib/SDL/Cursor.pm - blib/lib/SDL/Cursor.pm
 Copying lib/SDL/Video.pm - blib/lib/SDL/Video.pm
 Copying lib/SDL/Event.pm - blib/lib/SDL/Event.pm
 Copying lib/SDL/Tutorial.pm - blib/lib/SDL/Tutorial.pm
 Copying lib/SDL/Mixer.pm - blib/lib/SDL/Mixer.pm
 Copying lib/SDL/Sound.pm - blib/lib/SDL/Sound.pm
 Copying lib/SDL/OpenGL.pm - blib/lib/SDL/OpenGL.pm
 Copying lib/SDL.pm - blib/lib/SDL.pm
 Copying lib/SDL/Font.pm - blib/lib/SDL/Font.pm
 Copying lib/SDL/Timer.pm - blib/lib/SDL/Timer.pm
 Copying lib/SDL/Music.pm - blib/lib/SDL/Music.pm
 Copying lib/SDL/OpenGL/Constants.pm - blib/lib/SDL/OpenGL/Constants.pm
 Copying lib/SDL/Color.pm - blib/lib/SDL/Color.pm
 Copying lib/SDL/Config.pm - blib/lib/SDL/Config.pm
 Copying lib/SDL/Tool/Font.pm - blib/lib/SDL/Tool/Font.pm
 Copying lib/SDL_perl.pm - blib/lib/SDL_perl.pm
 Copying lib/SDL/Cdrom.pm - blib/lib/SDL/Cdrom.pm
 Copying lib/SDL/Tutorial/Images.pm - blib/lib/SDL/Tutorial/Images.pm
 Copying lib/SDL/App.pm - blib/lib/SDL/App.pm
 Copying lib/SDL/TTFont.pm - blib/lib/SDL/TTFont.pm
 Copying lib/SDL/Constants.pm - blib/lib/SDL/Constants.pm
 Copying src/SDL.xs - ./SDL_perl.xs
 ./SDL_perl.xs - ./SDL_perl.c
 cc -I/usr/local/lib/perl5/5.10.0/x86_64-linux/CORE -DXS_VERSION=2.1.3 
 -DVERSION=2.1.3 -fPIC -I/usr/X11R6/include -I/usr/include/smpeg 
 -I/usr/include/SDL -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_PNG 
 -DHAVE_SDL -DHAVE_SDL_TTF -DHAVE_SDL_NET -DHAVE_SDL_IMAGE -DHAVE_SDL_GFX 
 -DHAVE_JPEG -DHAVE_SMPEG -DHAVE_SDL_MIXER -fPIC -c -fno-strict-aliasing -pipe 
 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -o 
 ./SDL_perl.o ./SDL_perl.c
 ./SDL_perl.xs: In function 'XS_SDL_NetResolveIP':
 ./SDL_perl.xs:2449: warning: assignment discards qualifiers from pointer
 target type
 ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/SDL_perl/SDL_perl.bs')
 cc -shared -O2 -L/usr/local/lib -o
 blib/arch/auto/SDL_perl/SDL_perl.so ./SDL_perl.o -L/usr/lib -L/usr/X11R6/lib 
 -lSDL -lpthread -lpng -lSDL -lSDL_ttf -lSDL_net -lSDL_image -lSDL_gfx -ljpeg 
 -lsmpeg -lSDL_mixer
 Copying src/SFont.xs - SDL/SFont.xs
 SDL/SFont.xs - SDL/SFont.c
 cc -I/usr/local/lib/perl5/5.10.0/x86_64-linux/CORE -DXS_VERSION=2.1.3 
 -DVERSION=2.1.3 -fPIC -I/usr/include/SDL -I/usr/include/SDL -D_GNU_SOURCE=1 
 -D_REENTRANT -DHAVE_SDL_IMAGE -DHAVE_SDL -fPIC -c -fno-strict-aliasing -pipe 
 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -o
 SDL/SFont.o SDL/SFont.c
 ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/SDL/SFont/SFont.bs')
 cc -shared -O2 -L/usr/local/lib -o blib/arch/auto/SDL/SFont/SFont.so
 SDL/SFont.o -L/usr/lib -lSDL -lpthread -lSDL_image -lSDL
 Copying src/OpenGL.xs - SDL/OpenGL.xs
 SDL/OpenGL.xs - SDL/OpenGL.c
 Use of uninitialized value 

Re: [gentoo-user] sdl-perl

2008-07-30 Thread Andrey Falko
On Wed, Jul 30, 2008 at 12:32 AM, Andrey Falko [EMAIL PROTECTED] wrote:
 On Tue, Jul 29, 2008 at 3:42 PM, Daniel D Jones
 [EMAIL PROTECTED] wrote:
 Anyone have a clue as to what would cause the following error:

 Install sdl-perl-2.1.3-r3
 into /var/tmp/portage/dev-perl/sdl-perl-2.1.3-r3/image/ category dev-perl
 WARNING: Can't figure out install path for types: arch lib
 Files will not be installed.

 The package is already installed, so it succeeded at one time, but
 revdep-rebuild wants to reinstall it and it keeps failing.  I believe the
 above is the issue, but I'll paste the full output from the installation
 attempt below.  There is also this error:

 Error: 'GLint' not in typemap in OpenGL.xs, line 2099

 but the process appears to continue after that and I don't _think_ that's
 causing the ultimate failure.

 Thanks in advance for any assistance.

 -

 # emerge sdl-perl
 Calculating dependencies... done!
 Verifying ebuild Manifests...

 Emerging (1 of 1) dev-perl/sdl-perl-2.1.3-r3 to /
  * SDL_Perl-2.1.3.tar.gz RMD160 SHA1 SHA256 size ;-) ...
 [ ok ]
  * checking ebuild checksums ;-) ...
 [ ok ]
  * checking auxfile checksums ;-) ...
 [ ok ]
  * checking miscfile checksums ;-) ...
 [ ok ]
  * checking SDL_Perl-2.1.3.tar.gz ;-) ...
 [ ok ]
 Unpacking source...
 Unpacking SDL_Perl-2.1.3.tar.gz
 to /var/tmp/portage/dev-perl/sdl-perl-2.1.3-r3/work
  * Applying sdl-2.1.3.build.patch ...
 [ ok ]
  * Applying sdl-perl-2.1.3-gfxPie.patch ...
 [ ok ]
 Source unpacked.
 Compiling source
 in /var/tmp/portage/dev-perl/sdl-perl-2.1.3-r3/work/SDL_Perl-2.1.3 ...
  * Using Module::Build
 Checking whether your kit is complete...
 Looks good

 Checking prerequisites...
 Looks good

 Creating new 'Build' script for 'SDL_Perl' version '2.1.3'
 Copying lib/SDL/Tutorial/Animation.pm - blib/lib/SDL/Tutorial/Animation.pm
 Copying lib/SDL/Surface.pm - blib/lib/SDL/Surface.pm
 Copying lib/SDL/Rect.pm - blib/lib/SDL/Rect.pm
 Copying lib/SDL/Palette.pm - blib/lib/SDL/Palette.pm
 Copying lib/SDL/MPEG.pm - blib/lib/SDL/MPEG.pm
 Copying lib/SDL/SFont.pm - blib/lib/SDL/SFont.pm
 Copying lib/SDL/Tool/Graphic.pm - blib/lib/SDL/Tool/Graphic.pm
 Copying lib/SDL/Tutorial/Drawing.pm - blib/lib/SDL/Tutorial/Drawing.pm
 Copying lib/SDL/Cursor.pm - blib/lib/SDL/Cursor.pm
 Copying lib/SDL/Video.pm - blib/lib/SDL/Video.pm
 Copying lib/SDL/Event.pm - blib/lib/SDL/Event.pm
 Copying lib/SDL/Tutorial.pm - blib/lib/SDL/Tutorial.pm
 Copying lib/SDL/Mixer.pm - blib/lib/SDL/Mixer.pm
 Copying lib/SDL/Sound.pm - blib/lib/SDL/Sound.pm
 Copying lib/SDL/OpenGL.pm - blib/lib/SDL/OpenGL.pm
 Copying lib/SDL.pm - blib/lib/SDL.pm
 Copying lib/SDL/Font.pm - blib/lib/SDL/Font.pm
 Copying lib/SDL/Timer.pm - blib/lib/SDL/Timer.pm
 Copying lib/SDL/Music.pm - blib/lib/SDL/Music.pm
 Copying lib/SDL/OpenGL/Constants.pm - blib/lib/SDL/OpenGL/Constants.pm
 Copying lib/SDL/Color.pm - blib/lib/SDL/Color.pm
 Copying lib/SDL/Config.pm - blib/lib/SDL/Config.pm
 Copying lib/SDL/Tool/Font.pm - blib/lib/SDL/Tool/Font.pm
 Copying lib/SDL_perl.pm - blib/lib/SDL_perl.pm
 Copying lib/SDL/Cdrom.pm - blib/lib/SDL/Cdrom.pm
 Copying lib/SDL/Tutorial/Images.pm - blib/lib/SDL/Tutorial/Images.pm
 Copying lib/SDL/App.pm - blib/lib/SDL/App.pm
 Copying lib/SDL/TTFont.pm - blib/lib/SDL/TTFont.pm
 Copying lib/SDL/Constants.pm - blib/lib/SDL/Constants.pm
 Copying src/SDL.xs - ./SDL_perl.xs
 ./SDL_perl.xs - ./SDL_perl.c
 cc -I/usr/local/lib/perl5/5.10.0/x86_64-linux/CORE -DXS_VERSION=2.1.3 
 -DVERSION=2.1.3 -fPIC -I/usr/X11R6/include -I/usr/include/smpeg 
 -I/usr/include/SDL -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT 
 -DHAVE_PNG -DHAVE_SDL -DHAVE_SDL_TTF -DHAVE_SDL_NET -DHAVE_SDL_IMAGE 
 -DHAVE_SDL_GFX -DHAVE_JPEG -DHAVE_SMPEG -DHAVE_SDL_MIXER -fPIC -c 
 -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
 -I/usr/include/gdbm -O2 -o ./SDL_perl.o ./SDL_perl.c
 ./SDL_perl.xs: In function 'XS_SDL_NetResolveIP':
 ./SDL_perl.xs:2449: warning: assignment discards qualifiers from pointer
 target type
 ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/SDL_perl/SDL_perl.bs')
 cc -shared -O2 -L/usr/local/lib -o
 blib/arch/auto/SDL_perl/SDL_perl.so ./SDL_perl.o -L/usr/lib -L/usr/X11R6/lib 
 -lSDL -lpthread -lpng -lSDL -lSDL_ttf -lSDL_net -lSDL_image -lSDL_gfx -ljpeg 
 -lsmpeg -lSDL_mixer
 Copying src/SFont.xs - SDL/SFont.xs
 SDL/SFont.xs - SDL/SFont.c
 cc -I/usr/local/lib/perl5/5.10.0/x86_64-linux/CORE -DXS_VERSION=2.1.3 
 -DVERSION=2.1.3 -fPIC -I/usr/include/SDL -I/usr/include/SDL 
 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL_IMAGE -DHAVE_SDL -fPIC -c 
 -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
 -I/usr/include/gdbm -O2 -o
 SDL/SFont.o SDL/SFont.c
 ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/SDL/SFont/SFont.bs')
 cc -shared -O2 -L/usr/local/lib -o blib/arch/auto/SDL/SFont/SFont.so
 SDL/SFont.o -L/usr/lib -lSDL -lpthread -lSDL_image -lSDL
 Copying src/OpenGL.xs - 

Re: [gentoo-user] Problem to erase some temp directory

2008-07-30 Thread Zhu Sha Zang

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andrey Falko escreveu:
| On Tue, Jul 29, 2008 at 11:49 PM, Zhu Sha Zang 
[EMAIL PROTECTED] wrote:

| Hi everybody,
|
| I have some disaster in my desktop system because i'm erased my /lib.
| Well, i've solved this problem unpacking stage-3 over my system, and 
emerge

| -e world.
| My system working very well now, but a weak problem appear.
|
| In boot, when tmpdir tried to be cleaned, some messages appear that 
the some

| directories don't be erased., this:
|
| drwxrwxrwx 2 root1003 4.0K Jul 13 08:24 ashura
| drwxrwxrwx 2  505 101 4.0K Jul 15 11:41 dasusr1
| drwxrwxrwx 2  507 102 4.0K Jul 15 11:41 db2inst1
| drwxrwx--T 7 root rodolfo 4.0K Jul 30 03:34 rodolfo
| drwx-T 2 root root4.0K Jul 30 00:06 root
|
| I've tried to remove this directories usimg root after boot, and receive
| this message:
|
| sakurazukamori .private # rm -rf *
| rm: cannot remove directory `ashura': Operation not permitted
| rm: cannot remove directory `dasusr1': Operation not permitted
| rm: cannot remove directory `db2inst1': Operation not permitted
| rm: cannot remove directory `rodolfo': Operation not permitted
| rm: cannot remove directory `root': Operation not permitted
|
| Thinking in some service using this directories, i've tried boot a gentoo
| livecd and erase archies but the same problem appear.
| I used too fsck on this ext3 file system, none errors on fylesystem are
| detected.
|
| Some tricks?
| thnks for now
|
|
|
|
|
|
___ Yahoo! Mail - Sempre
a melhor opção para você! Experimente já e veja as novidades.
http://br.yahoo.com/mailbeta/tudonovo/
|
|

| You might have extended attributes enabled. What happens when you run
| lsattr on that directory? If you don't have lsattr, emerge e2fsprogs.

Using lsattr -Ra in /tmp:

sakurazukamori tmp # lsattr -Ra
- --I--- ./.
- -- ./..
- -- ./.X0-lock
- -- ./.ICE-unix

./.ICE-unix:
lsattr: Operation not supported While reading flags on 
./.ICE-unix/dcop4790-1217369151

- --I--- ./.ICE-unix/..
- -- ./.ICE-unix/.

- -a ./.private

./.private:
- -- ./.private/ashura

./.private/ashura:
- -a ./.private/ashura/..
- -- ./.private/ashura/.

- -- ./.private/db2inst1

./.private/db2inst1:
- -a ./.private/db2inst1/..
- -- ./.private/db2inst1/.

- -- ./.private/rodolfo

./.private/rodolfo:
- -a ./.private/rodolfo/..
- -- ./.private/rodolfo/.

- --I--- ./.private/..
- -- ./.private/dasusr1

./.private/dasusr1:
- -a ./.private/dasusr1/..
- -- ./.private/dasusr1/.

- -a ./.private/.
- -- ./.private/root

./.private/root:
- -a ./.private/root/..
- -- ./.private/root/.


- -- ./gpg-j3M7SQ

./gpg-j3M7SQ:
lsattr: Operation not supported While reading flags on 
./gpg-j3M7SQ/S.gpg-agent

- --I--- ./gpg-j3M7SQ/..
- -- ./gpg-j3M7SQ/.

- -- ./.X11-unix

./.X11-unix:
lsattr: Operation not supported While reading flags on ./.X11-unix/X0
- --I--- ./.X11-unix/..
- -- ./.X11-unix/.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiQGZ8ACgkQbLyL8mxGP9S2KgCgrPxc21Mu0zo1YRbwz7Hedm/i
FtsAoLnsn8jBJDv0Ui8CXlfDwVrP1N2F
=RTbE
-END PGP SIGNATURE-



Re: [gentoo-user] ath0 startup problem

2008-07-30 Thread Andrey Falko
On Tue, Jul 29, 2008 at 1:19 PM,  [EMAIL PROTECTED] wrote:
 That was me trying to set this up last week :-)

 [EMAIL PROTECTED] wrote:
 Greetings,

 I am following this guide...

 http://gentoo-wiki.com/Madwifi_Wireless_Access_Point

 ...to setup my gentoo system as a wireless access point. I have it all
 setup and everthing is working, however, when I boot up my gentoo system
 it says...



 Bringing up interface ath0
 starting wpa_supplicant on ath0
 ioctl[SIOCSIWMODE]: invalid argument
 Could not configure driver to use managed mode

 Starting wpa_cli on ath0...
 Backgrounding
 WARNING:net.ath0 has started, but is inactive



 I think something must be configured the wrong way. How do I fix this? I
 think I want master mode not managed mode

 I think this problem may have to do with the fact I am using baselayout
 2.0.0 but am not totally sure.

 What does ioctl[SIOCSIWMODE]: invalid argument mean?

 What does inactive mean?

 Again, everything is working so this isn't a major problem but I would
 still like to fix it.

 Thanks

 Jason





 I'm not sure if this will help but I did a little googleing for ya.
 Look at the last post on this one.

 http://www.gossamer-threads.com/lists/gentoo/user/169035

 Hope that helps or some guru will come help.

 Dale

 :-)  :-)







Jason,
You should probably respond to Stroller's comments in that email thread :).



Re: [gentoo-user] media-video/totem-2.20.3 Access violation

2008-07-30 Thread Daniel Pielmeier
All the problems above are related to python byte code, and the way it
is handled in gentoo. It would be to exhaustive to explain the
problems here but maybe this bug [1] helps to understand the problem.
Also if you want to learn more about python in gentoo you can read
this [2].

In the case of scons and docbook the problem is the same as mentoned
in the bug where python bytecode is installed into the wrong
filesystem location.

Other problems can occur when the python eclasses which handle the
python byte code are not used at all or improperly used with python
applications. For instance when python byte code is not handled by the
eclasses the py{c,o} files are created at runtime when using the
program as root. At deinstallation this files are not removed from the
filesystem because the package manager is not aware of them.

[1] http://bugs.gentoo.org/show_bug.cgi?id=194343
[2] http://www.gentoo.org/proj/en/Python/developersguide.xml



Re: [gentoo-user] Sync'ing and compiling pkgs for multiple PCs

2008-07-30 Thread Stroller


On 30 Jul 2008, at 00:09, Simon wrote:

...
  I have 3 computers and they are all setup the same with the  
exception of the kernel that has different options for the youngest  
of my pcs.  I'm looking for a simple, easy and efficient way to  
keep them all up2date.


  I want to avoid 3 --sync to the gentoo servers.  I have tried to  
setup one of my pc as central server and sync the others on it, but  
has the main disadvantage that the other PCs are dependant on it  
(ok, it's not so difficult to change make.conf).


Hi Simon,

Your email is very long, so I'm not sure if I've taken it all in, but  
what I'd suggest is a shared /usr/portage directory (easily done by  
NFS) and distcc.


The shared portage reduces the need to --sync and ensures that all  
computers share access to the binary packages once their built.


distcc is, IMO, a bit more elegant than (for instance) trying to  
manually emerge binary packages for machine A on PC B. You can tell  
it to share the work or just unload it to the most powerful machine.  
There may be concerns about using a binary package if USE flags are  
different between the two machines, but distcc ensures that the  
package is built using those defined in make.conf of the machine on  
which you're running emerge.


http://gentoo-wiki.com/HOWTO_Using_a_shared_portage_via_NFS

http://www.gentoo.org/doc/en/distcc.xml

Stroller.




[gentoo-user] move instalation from one system to another one.

2008-07-30 Thread Platoali
Hi,

My old laptop  is dying. I'm going to move my gentoo installation to a new 
one.  The old one was an old Pentium-M and the new one is core due. I want to 
to tar the root and boot and ..  files from the old one to untar it to the 
new one. I want to know,  What packages needs to rebuild  (with What flags?) 
in the old one so that I would have a basic runable system  in the new that I 
can rebuild all the packages on the new system with the new FLAGS?

Did anyone do this in the past? Have anyone any experiences regarding this 
issue? Any comments? suggestions?

This is my old laptop make.conf

CHOST=i686-pc-linux-gnu
CFLAGS=-march=pentium-m -O2 -pipe
CXXFLAGS=${CFLAGS}
MAKEOPTS=-j2

Best regards
Ali Yazdi 



Re: [gentoo-user] move instalation from one system to another one.

2008-07-30 Thread Sebastian Günther
* Platoali ([EMAIL PROTECTED]) [30.07.08 10:57]:
 Hi,
 
 My old laptop  is dying. I'm going to move my gentoo installation to a new 
 one.  The old one was an old Pentium-M and the new one is core due. I want to 
 to tar the root and boot and ..  files from the old one to untar it to the 
 new one. I want to know,  What packages needs to rebuild  (with What flags?) 
 in the old one so that I would have a basic runable system  in the new that I 
 can rebuild all the packages on the new system with the new FLAGS?
 
 Did anyone do this in the past? Have anyone any experiences regarding this 
 issue? Any comments? suggestions?
 
 This is my old laptop make.conf
 
 CHOST=i686-pc-linux-gnu
 CFLAGS=-march=pentium-m -O2 -pipe
 CXXFLAGS=${CFLAGS}
 MAKEOPTS=-j2
 

Don't do it.

I think your kernel will only support the pentium-m and most of the 
software also. So a emerge -e world would bee necessary.

Normal Gentoo Installations are highly optemized for the specific 
hardware. That is the whole point about using gentoo.

so save your world file and then setup up gentoo fresh and new. Won't be 
that long, as you now own a core 2 duo...

 Best regards
 Ali Yazdi 
 

If you want such functionality, use Debian or Ubuntu.

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpwfyJkrrjJR.pgp
Description: PGP signature


Re: [gentoo-user] [OT] updatedb/locate - reasons to use

2008-07-30 Thread Alex Schuster
Beau Henderson writes:

 On Tue, Jul 29, 2008 at 8:38 AM, Andrey Falko [EMAIL PROTECTED] wrote:
  On Mon, Jul 28, 2008 at 2:29 PM, Andrew Gaydenko [EMAIL PROTECTED] wrote:
  
   Are there (emerge/revdep-rebuild/other portage tools related)
   situations when fs db creating is useful?
 
  I believe there are. I used to use slocate when I had tens of
  thousands of mp3s and other media files. Its a lot of times its faster
  to use slocate or locate than a find to find a certain file.

 I believe the OP's intentions are to determine if slocate would have any
 benefit specifically for portage related utilities.

 And with that, there would not be any benefit to the average user IMHO,
 as slocate is updated usually nightly ( when installed ) and as such if
 the utilities were using the results obtained from that utility, it might
 apply changes which would be detrimental to the system, assuming changes
 have been made to portage or installed apps since the updatedb run.

Right. Still, I like having the locate command. About those nightly 
updates they suck, updatedb creates much load on my systems, and the 
updatedb cronjob always just kicks in when I don't want it. But I think I 
just found a solution to this:

emerge -C slocate  emerge mlocate  time updatedb  time updatedb

mlocate is supposed to be compatible with slocate, but the updatedb command 
runs much faster. Well, the first time it takes a little longer, but after 
this it's fast. The website says:

  mlocate is a locate/updatedb implementation. The 'm' stands for merging:
  updatedb reuses the existing database to avoid rereading most of the file
  system, which makes updatedb faster and does not trash the system caches
  as much.

I don't know why it is faster to scan a directory hierarchy for its files 
than to verify which of the files in la list are still there and which new 
ones are there, but I saw the difference.

Wonko



RE: [gentoo-user] Waiting for uevents to be processed...

2008-07-30 Thread Budd, Tracy
 

-Original Message-
From: ionut cucu [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 30, 2008 2:32 AM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Waiting for uevents to be processed...

On Mon, 28 Jul 2008 22:11:49 -0400
Budd, Tracy [EMAIL PROTECTED] wrote:

 
 
 
 -Original Message-
 From: Eric Martin [mailto:[EMAIL PROTECTED]
 Sent: Mon 7/28/2008 8:12 AM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Waiting for uevents to be processed...
  
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Budd, Tracy wrote:
   
  
  -Original Message-
  From: Eric Martin [mailto:[EMAIL PROTECTED]
  Sent: Monday, July 28, 2008 6:42 AM
  To: gentoo-user@lists.gentoo.org
  Subject: Re: [gentoo-user] Waiting for uevents to be processed...
  
  Budd, Tracy wrote:
  This step in the bootup seems to take a very long time.
  Any suggestions on how to speed this up or where to look if there 
  might be some problem?
  Thanks,
  -Tracy
  
  I too had that problem.  I deleted 70-persistent-rules for another 
  reason and rebooted which regenerated it.  Problem gone.  Just make 
  sure you make a backup of it before you reboot.
  
 
 I don't understand what you did you fix it. How would I delete 
 70-persistent-rules?
 
 
 Make a backup of /etc/udev/rules.d/70-persistent*.rules (I moved them 
 to my home drive) delete 70-persistent*.rules (accomplished by move) 
 reboot
 
 If they don't regenerate you can copy them back.  then I'd re-emerge 
 udev.
 
 - --
 Eric Martin
 Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.9 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iEYEARECAAYFAkiNt54ACgkQdheOldgSlQjYzQCffvYhidkrr014xFaIo3ih7DrA
 p20AoPgl3A33M/2PgQ1HLNdTKPdWTiHR
 =fWuQ
 -END PGP SIGNATURE-
 
 
 Thank you for the input. Unfortunately, it didn't work.

Are you perhaps using openrc-0.25 and have rc_parallel=YES  if so this
is a known bug and just set it to NO or use a ~ version of openrc
and everything will be ok. 

--

Thanks. I will check that when I get back the machine.
-Tracy




[gentoo-user] skencil svn ebuild - help neede

2008-07-30 Thread Helmut Jarausch
Hi,

(on the road to switching to tcl/tk-8.5.3) 
I'd like to install the svn-version of media-gfx/skencil

Since I have next to no experience in writing ebuilds,
I need some help.

This is my current attempt:

file skencil-.ebuild
---
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/media-gfx/skencil/skencil-0.6.18_pre20080519.ebuild,v 
1.7 2008/07/18 01:59:46 jer Exp $

inherit python multilib eutils subversion flag-o-matic

IUSE=nls
ESVN_REPO_URI=https://scm.wald.intevation.org/svn/skencil/skencil/trunk;
ESVN_PROJECT=Skencil

S=${WORKDIR}/${PN}

DESCRIPTION=Interactive X11 vector drawing program
HOMEPAGE=http://www.skencil.org/;
DEPEND==dev-python/imaging-1.1.2-r1
dev-python/reportlab
dev-lang/tk
nls? ( sys-devel/gettext )
RDEPEND=!elibc_glibc? ( nls? ( sys-devel/gettext ) )
dev-python/pyxml
SLOT=0
LICENSE=GPL-2
KEYWORDS=amd64 hppa ppc ppc64 sparc x86

pkg_setup() {
python_tkinter_exists
}

src_unpack() {
subversion_src_unpack
cd ${S}

# Fix hardcoded libdir
sed -i -e s:lib/:$(get_libdir)/: \
-e s:lib':$(get_libdir)': \
${S}/{Filter,Sketch/Modules}/Makefile.pre.in \
${S}/w32setup.py \
${S}/setup.py || die sed failed
}

src_compile() {
cd ${S}
python setup.py build

}

src_install () {
python setup.py install --prefix=/usr --root=${D}  || die setup 
failed

newdoc Tools/README README.tools
newdoc Filter/README README.filter
dodoc Examples Doc
dodoc README INSTALL CREDITS TODO NEWS
}

---

It builds fine but installs partially into /usr/lib/skencil-cvs
and /usr/share/skencil-.

I need to do a symlink  
ln -s /usr/lib/skencil-cvs/skencil.py  /usr/bin/skencil

More seriously it fails when invoked with

Traceback (most recent call last):
  File /usr/bin/skencil, line 55, in module
import Sketch.UI
  File /usr/lib/python2.5/site-packages/PIL/__init__.py, line 22, in module

IOError: [Errno 2] No such file or directory: 
'/usr/lib/skencil-cvs/Sketch/VERSION'


Many thanks for a hint,

Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] Problem to erase some temp directory

2008-07-30 Thread Andrey Falko
On Wed, Jul 30, 2008 at 12:34 AM, Zhu Sha Zang [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Andrey Falko escreveu:
 | On Tue, Jul 29, 2008 at 11:49 PM, Zhu Sha Zang [EMAIL PROTECTED]
 wrote:
 | Hi everybody,
 |
 | I have some disaster in my desktop system because i'm erased my /lib.
 | Well, i've solved this problem unpacking stage-3 over my system, and
 emerge
 | -e world.
 | My system working very well now, but a weak problem appear.
 |
 | In boot, when tmpdir tried to be cleaned, some messages appear that the
 some
 | directories don't be erased., this:
 |
 | drwxrwxrwx 2 root1003 4.0K Jul 13 08:24 ashura
 | drwxrwxrwx 2  505 101 4.0K Jul 15 11:41 dasusr1
 | drwxrwxrwx 2  507 102 4.0K Jul 15 11:41 db2inst1
 | drwxrwx--T 7 root rodolfo 4.0K Jul 30 03:34 rodolfo
 | drwx-T 2 root root4.0K Jul 30 00:06 root
 |
 | I've tried to remove this directories usimg root after boot, and receive
 | this message:
 |
 | sakurazukamori .private # rm -rf *
 | rm: cannot remove directory `ashura': Operation not permitted
 | rm: cannot remove directory `dasusr1': Operation not permitted
 | rm: cannot remove directory `db2inst1': Operation not permitted
 | rm: cannot remove directory `rodolfo': Operation not permitted
 | rm: cannot remove directory `root': Operation not permitted
 |
 | Thinking in some service using this directories, i've tried boot a gentoo
 | livecd and erase archies but the same problem appear.
 | I used too fsck on this ext3 file system, none errors on fylesystem are
 | detected.
 |
 | Some tricks?
 | thnks for now
 |
 |
 |
 |
 |
 |
 ___ Yahoo! Mail - Sempre
 a melhor opção para você! Experimente já e veja as novidades.
 http://br.yahoo.com/mailbeta/tudonovo/
 |
 |

 | You might have extended attributes enabled. What happens when you run
 | lsattr on that directory? If you don't have lsattr, emerge e2fsprogs.

 Using lsattr -Ra in /tmp:

 sakurazukamori tmp # lsattr -Ra
 - --I--- ./.
 - -- ./..
 - -- ./.X0-lock
 - -- ./.ICE-unix

 ./.ICE-unix:
 lsattr: Operation not supported While reading flags on
 ./.ICE-unix/dcop4790-1217369151
 - --I--- ./.ICE-unix/..
 - -- ./.ICE-unix/.

 - -a ./.private

 ./.private:
 - -- ./.private/ashura

 ./.private/ashura:
 - -a ./.private/ashura/..
 - -- ./.private/ashura/.

 - -- ./.private/db2inst1

 ./.private/db2inst1:
 - -a ./.private/db2inst1/..
 - -- ./.private/db2inst1/.

 - -- ./.private/rodolfo

 ./.private/rodolfo:
 - -a ./.private/rodolfo/..
 - -- ./.private/rodolfo/.

 - --I--- ./.private/..
 - -- ./.private/dasusr1

 ./.private/dasusr1:
 - -a ./.private/dasusr1/..
 - -- ./.private/dasusr1/.

 - -a ./.private/.
 - -- ./.private/root

 ./.private/root:
 - -a ./.private/root/..
 - -- ./.private/root/.


 - -- ./gpg-j3M7SQ

 ./gpg-j3M7SQ:
 lsattr: Operation not supported While reading flags on
 ./gpg-j3M7SQ/S.gpg-agent
 - --I--- ./gpg-j3M7SQ/..
 - -- ./gpg-j3M7SQ/.

 - -- ./.X11-unix

 ./.X11-unix:
 lsattr: Operation not supported While reading flags on ./.X11-unix/X0
 - --I--- ./.X11-unix/..
 - -- ./.X11-unix/.

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.9 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iEYEARECAAYFAkiQGZ8ACgkQbLyL8mxGP9S2KgCgrPxc21Mu0zo1YRbwz7Hedm/i
 FtsAoLnsn8jBJDv0Ui8CXlfDwVrP1N2F
 =RTbE
 -END PGP SIGNATURE-



As I suspected, you have some extended attributes set. Do you know how
this could have happen? You willl have to unset them. How I don't
know. When this happen to me with JFS, I trashed the filesystem and
never looked back. This however is happening to ext3!, so I am very
surprised.


[gentoo-user] Re: [OT] updatedb/locate - reasons to use

2008-07-30 Thread Francesco Talamona
On Wednesday 30 July 2008, Alex Schuster wrote:
 emerge -C slocate  emerge mlocate  time updatedb  time updatedb

 mlocate is supposed to be compatible with slocate, but the updatedb
 command runs much faster.

Your test doesn't proof anything!! Many information are cached and 
available for some time, this is a desirable feature and a good use of 
the system memory. Your conclusion may be wrong, or right, or ... who 
knows?

This is what I have with slocate:

aemaeth ~ # time updatedb ; time updatedb

real3m1.687s
user0m2.209s
sys 0m7.339s

real0m7.005s
user0m2.054s
sys 0m3.005s

Cheers
Francesco

-- 
Linux Version 2.6.26-gentoo, Compiled #1 PREEMPT Sat Jul 19 09:00:16 
CEST 2008
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2004.08 Bogomips Total
aemaeth



[gentoo-user] xsane only works as root

2008-07-30 Thread Grant
xsane fully works with my old USB scanner (Epson Perfection 636U) as
long as I'm root.  Does anyone know how to make it work as a normal
user?

- Grant



Re: [gentoo-user] xsane only works as root

2008-07-30 Thread Justin Findlay
On AD 2008 July 30 Wednesday 03:09:13 PM -0700, Grant wrote:
 xsane fully works with my old USB scanner (Epson Perfection 636U) as
 long as I'm root.  Does anyone know how to make it work as a normal
 user?

Check the permissions on the appropriate usb device.  You may end up
adding your user to the scanner or usb group.  sane-find-scanner and
scanimage -L might also be helpful.


Justin



Re: [gentoo-user] Switching back to console

2008-07-30 Thread Conway S. Smith
On Wed, 30 Jul 2008 00:27:20 -0700
Andrey Falko [EMAIL PROTECTED] wrote:
 On Wed, Jul 30, 2008 at 1:48 AM, ionut cucu [EMAIL PROTECTED]
 wrote:
  Hi list!
  For some time now (I seem to recall this not working a few weeks
  back ) I can't seem to be able to switch back to console from X
  with Ctr+Alt+Fn. Xev sees Ctr+Alt+Fn keycode as Fn keycode(don't
  know if this is expected behaivor or not). I can't the console to
  work neither from kde-svn nor from fluxbox. I have not defined no
  particular keyboard layout, I'm just using the default one. I
  have defined some key mappings for other keys, none of them
  involves F keys, and the behaivor is the same weather I use the
  mappings or not. Could you perhaps give me a hand with this?
 
 
 
 When you press CTRL+ALT+F1 for instance, do you get a black screen?
 Or do you remain in the fluxbox/kde X session? There is no freeze up
 either right? I don't know how much it will help, but can you post
 all of the xorg files you edited? Maybe someone will spot something
 unusual...
 

Specifically, look for a:
Option DontVTSwitch  true
line in xorg.conf, and if it's there remove it or change it to
false.  Another option to look for in xorg.conf is
HandleSpecialKeys. Also check your Xorg.log files (maybe after
increasing logging verbosity) for anything relevant, like XKEYBOARD
extension errors.


Good luck,
Conway S. Smith



Re: [gentoo-user] sdl-perl

2008-07-30 Thread Daniel D Jones
On Wednesday 30 July 2008 03:32:26 Andrey Falko wrote:
 On Tue, Jul 29, 2008 at 3:42 PM, Daniel D Jones

 [EMAIL PROTECTED] wrote:
  Anyone have a clue as to what would cause the following error:
  Install sdl-perl-2.1.3-r3
 
  into /var/tmp/portage/dev-perl/sdl-perl-2.1.3-r3/image/ category dev-perl
  WARNING: Can't figure out install path for types: arch lib
  Files will not be installed.
 
  The package is already installed, so it succeeded at one time, but
  revdep-rebuild wants to reinstall it and it keeps failing.  I believe the
  above is the issue, but I'll paste the full output from the installation
  attempt below.  There is also this error:
 
  Error: 'GLint' not in typemap in OpenGL.xs, line 2099
 
  but the process appears to continue after that and I don't _think_ that's
  causing the ultimate failure.
 
  Thanks in advance for any assistance.
 
  -
 
 
  # emerge sdl-perl
...
   * If you need support, post the topmost build error, and the call stack
  if relevant.
   * A complete build log is located
  at '/var/tmp/portage/dev-perl/sdl-perl-2.1.3-r3/temp/build.log'.
   * The ebuild environment file is located
  at '/var/tmp/portage/dev-perl/sdl-perl-2.1.3-r3/temp/environment'.
   *
  #

 Can you give us the output of emerge --debug sdl-perl ? Can you verify
 that you can successfully install other perl apps like perl-tk or
 something else in the dev-perl category?

Actually, this gave me just the clue I needed to solve the problem.  I tried 
to install another package from dev-perl and got complaints that it was 
trying to overwrite a file in perl5.10.0.  I've manually installed perl 5.10 
so that I can use the nifty new features but left perl 5.8.8 as the default 
version on the system.  (When I want to use 5.10, I  put a shebang line in 
the script pointing to that executable.)  Poking about on the system for a 
bit revealed that /usr/bin/perl pointed to 5.8.8 but 
somehow /usr/local/bin/perl was pointing to 5.10.  I don't know why that 
caused the issue, or even why there's a perl executable in both places, but 
fixing that resolved the issue.  Thanks for the assistance.




Re: [gentoo-user] xsane only works as root

2008-07-30 Thread Grant
 xsane fully works with my old USB scanner (Epson Perfection 636U) as
 long as I'm root.  Does anyone know how to make it work as a normal
 user?

 Check the permissions on the appropriate usb device.  You may end up
 adding your user to the scanner or usb group.  sane-find-scanner and
 scanimage -L might also be helpful.


 Justin

Thanks Justin.

I added the user to usb and scanner groups with the same results.

I can't figure out where the device file is.  With the scanner
connected and powered on I did an 'updatedb  locate scanner' and it
didn't come up with anything in /dev, I don't have a /dev/usb/
directory, and the output of 'ls /dev/usb*' is the same with the
scanner on or off.  Any idea where that file might be?   Those two
commands also don't mention it.

- Grant



Re: [gentoo-user] xsane only works as root

2008-07-30 Thread Grant
 xsane fully works with my old USB scanner (Epson Perfection 636U) as
 long as I'm root.  Does anyone know how to make it work as a normal
 user?

 Check the permissions on the appropriate usb device.  You may end up
 adding your user to the scanner or usb group.  sane-find-scanner and
 scanimage -L might also be helpful.


 Justin


Rebooted and it's working.  Thanks again.

- Grant



[gentoo-user] QT versions

2008-07-30 Thread Daniel D Jones
Is it safe to remove QT3 from the system now?  It seems like at one point that 
there were still packages in KDE that needed version 3 installed.

I have both version 3 and 4 on the system.  If I remove the qt3 use flag, 
enable the qt4 use flag and do an emerge --newuse, can I then unmerge version 
3?




Re: [gentoo-user] Sync'ing and compiling pkgs for multiple PCs

2008-07-30 Thread Simon
Hi Stroller, my email was probably as complex as I was confused, but you helped 
a lot...


Your email is very long, so I'm not sure if I've taken it all in, but 
what I'd suggest is a shared /usr/portage directory (easily done by NFS) 
and distcc.


This creates a dependency on the host that contains the portage tree.  It also 
remove some flexibility. For example, taking my laptop away from my 'portage pc' 
would make it impossible for me to modify my current installs while away.  There 
are other consideration and the use of a sync'ed portage tree on each pc vs 
using nfs is a debate that I won't go into now and this part is not much of an 
importance in my problem... compilation is!...


distcc is, IMO, a bit more elegant than (for instance) trying to 
manually emerge binary packages for machine A on PC B. You can tell it 
to share the work or just unload it to the most powerful machine. There 
may be concerns about using a binary package if USE flags are different 
between the two machines, but distcc ensures that the package is built 
using those defined in make.conf of the machine on which you're running 
emerge.


Yes!  I was actually trying distcc today for the first time and got it working 
from the perspective of my fastest computer, I got some trouble though (see 
below).  What you mentioned about running the `emerge -uDN world` on each 
individual machines + sharing built packages is absolutely awesome. Best of all 
worlds if i could say!


However, when using distcc, I first made a trial with a small package 
'xmahjongg' and got a nice x4 speedup on the overall emerge.  I wanted to try 
with a larger package, 'povray' and stumbled on a linker issue, the issue is 
described below and this is the only obstacle on my way now.  As I fear doing a 
`emerge -e system  emerge -e world` would never complete using distcc...


Doing: `time emerge povray` without distcc yields a functionnal package, while 
when distcc was enabled, I would get lots of undefined references to some 
__pthreads functions.  But I just tried and it seems to work fine, not 
reproducible, so I'll drop my distcc issue and go on with the -e recompilation.


Unless you have some more tips on using distcc on such a large compile?

Thanks again,
  Simon



RE: [gentoo-user] Waiting for uevents to be processed...

2008-07-30 Thread Budd, Tracy



-Original Message-
From: ionut cucu [mailto:[EMAIL PROTECTED]
Sent: Wed 7/30/2008 2:31 AM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Waiting for uevents to be processed...
 
On Mon, 28 Jul 2008 22:11:49 -0400
Budd, Tracy [EMAIL PROTECTED] wrote:

 
 
 
 -Original Message-
 From: Eric Martin [mailto:[EMAIL PROTECTED]
 Sent: Mon 7/28/2008 8:12 AM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Waiting for uevents to be processed...
  
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Budd, Tracy wrote:
   
  
  -Original Message-
  From: Eric Martin [mailto:[EMAIL PROTECTED] 
  Sent: Monday, July 28, 2008 6:42 AM
  To: gentoo-user@lists.gentoo.org
  Subject: Re: [gentoo-user] Waiting for uevents to be processed...
  
  Budd, Tracy wrote:
  This step in the bootup seems to take a very long time.
  Any suggestions on how to speed this up or where to look if there 
  might be some problem?
  Thanks,
  -Tracy
  
  I too had that problem.  I deleted 70-persistent-rules for another
  reason and rebooted which regenerated it.  Problem gone.  Just make
  sure you make a backup of it before you reboot.
  
 
 I don't understand what you did you fix it. How would I delete
 70-persistent-rules?
 
 
 Make a backup of /etc/udev/rules.d/70-persistent*.rules (I moved them
 to my home drive)
 delete 70-persistent*.rules (accomplished by move)
 reboot
 
 If they don't regenerate you can copy them back.  then I'd re-emerge
 udev.
 
 - --
 Eric Martin
 Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.9 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iEYEARECAAYFAkiNt54ACgkQdheOldgSlQjYzQCffvYhidkrr014xFaIo3ih7DrA
 p20AoPgl3A33M/2PgQ1HLNdTKPdWTiHR
 =fWuQ
 -END PGP SIGNATURE-
 
 
 Thank you for the input. Unfortunately, it didn't work.

Are you perhaps using openrc-0.25 and have rc_parallel=YES  if so
this is a known bug and just set it to NO or use a ~ version of
openrc and everything will be ok. 



Thank you for the input. Unfortunately, that isn't it either.
I am not running any versions of openrc. Should I be?
winmail.dat

RE: [gentoo-user] move instalation from one system to another one.

2008-07-30 Thread Adam Carter
  My old laptop  is dying. I'm going to move my gentoo
 installation to a new
  one.  The old one was an old Pentium-M and the new one is
 core due. I want to
  to tar the root and boot and ..  files from the old one to
 untar it to the
  new one. I want to know,  What packages needs to rebuild
 (with What flags?)
  in the old one so that I would have a basic runable system
 in the new that I
  can rebuild all the packages on the new system with the new FLAGS?
 
  Did anyone do this in the past? Have anyone any experiences
 regarding this
  issue? Any comments? suggestions?
 
  This is my old laptop make.conf
 
  CHOST=i686-pc-linux-gnu
  CFLAGS=-march=pentium-m -O2 -pipe
  CXXFLAGS=${CFLAGS}
  MAKEOPTS=-j2
 

 Don't do it.

 I think your kernel will only support the pentium-m and most of the
 software also. So a emerge -e world would bee necessary.

 Normal Gentoo Installations are highly optemized for the specific
 hardware. That is the whole point about using gentoo.

Do you need to get the new laptop working asap? Eg. for work?

Is the new laptop 32 or 64 bit?

If you need the new laptop running asap, the sub-optimal but fast way is to 
build all the modules you'll require for your new laptop on the old laptop then 
copy the disk. Since they tend to only add CPU features and not take them away 
as time goes on, its worth a try as it will be a lot faster. You can then worry 
about changing CFLAGs and rebuilding if you like, or just change the CFLAGs and 
let anything new get built with them. No big deal.

If your system is 64 bit and you want to later run 64 bit OS you'll have to 
reinstall.

For CFLAGs http://gentoo-wiki.com/Safe_Cflags, and you'll need to change CHOST 
if you're going 64 bit.






Re: [gentoo-user] xsane only works as root

2008-07-30 Thread Justin Findlay
On AD 2008 July 30 Wednesday 03:49:23 PM -0700, Grant wrote:
 I can't figure out where the device file is.  With the scanner
 connected and powered on I did an 'updatedb  locate scanner' and it
 didn't come up with anything in /dev, I don't have a /dev/usb/
 directory, and the output of 'ls /dev/usb*' is the same with the
 scanner on or off.  Any idea where that file might be?   Those two
 commands also don't mention it.

Another way to get info is to power on the scanner and plug it in, then
`modprobe -r` the appropriate kernel module(s) and then modprobe them
while doing `tail -F /var/log/messages`.  The kernel (udev) will create the
appropriate /dev entries upon successful modprobe.

In order for your user to be registered as a member of a group you have
to log completely out (including your X session) and back in.  You can
verify your group memberships with the groups command.  Judging from
what you've said I bet it was merely an issue of adding your user to the
scanner or usb group.  My experience with usb scanners is they generally
just work whereas when I start up my SCSI scanner I always have to
remodprobe the kernel drivers and then `chown :scanner /dev/sg?  
chmod 0770 /dev/sg?`, but there's probably a better (right) way to do
that. :-)


Justin



Re: [gentoo-user] QT versions

2008-07-30 Thread Justin Findlay
On AD 2008 July 30 Wednesday 07:25:03 PM -0400, Daniel D Jones wrote:
 Is it safe to remove QT3 from the system now?  It seems like at one point 
 that 
 there were still packages in KDE that needed version 3 installed.
 
 I have both version 3 and 4 on the system.  If I remove the qt3 use flag, 
 enable the qt4 use flag and do an emerge --newuse, can I then unmerge version 
 3?

Do all of that first and then check for qt3 dependencies with

equery depends x11-libs/qt-3*

or

qdepends x11-libs/qt-3*

equery is part of app-portage/gentoolkit and qdepends comes from
app-portage/portage-utils.  The qaction commands are usually much
faster than the equery action ones.


Justin



Re: [gentoo-user] QT versions

2008-07-30 Thread Dale

Justin Findlay wrote:

On AD 2008 July 30 Wednesday 07:25:03 PM -0400, Daniel D Jones wrote:
  
Is it safe to remove QT3 from the system now?  It seems like at one point that 
there were still packages in KDE that needed version 3 installed.


I have both version 3 and 4 on the system.  If I remove the qt3 use flag, 
enable the qt4 use flag and do an emerge --newuse, can I then unmerge version 
3?



Do all of that first and then check for qt3 dependencies with

equery depends x11-libs/qt-3*

or

qdepends x11-libs/qt-3*

equery is part of app-portage/gentoolkit and qdepends comes from
app-portage/portage-utils.  The qaction commands are usually much
faster than the equery action ones.


Justin


  


Is the q commands any more accurate?  Just checking.  All for better tools.

Dale

:-)  :-) 



[gentoo-user] Re: strangeness with emerge -uD world

2008-07-30 Thread »Q«
On Wed, 30 Jul 2008 00:15:25 -0700
Andrey Falko [EMAIL PROTECTED] wrote:

 On Tue, Jul 29, 2008 at 11:42 PM, »Q« [EMAIL PROTECTED] wrote:
  I'm using portage-2.1.4.4.
 
  $ emerge -pqu world
  [ebuild U ] www-client/mozilla-firefox-3.0.1 [2.0.0.16]
 
  but
 
  $ emerge -pqu --deep world
 
  gives no output.  I've never seen --deep cause fewer updates.  What
  am I missing?  I have EMERGE_DEFAULT_OPTS=--with-bdeps y in
  make.conf, and I don't know what more info to post.

 Is Firefox in /var/lib/portage/world? If not, do you intend Firefox to
 be a dependency? The only legitimate behavior I see is that Firefox
 is a dependency for a package that is not part of your world.

Yeah, it is in the world file, and it does show up in bold with `emerge
-pu world`.

-- 
»Q«
 Kleeneness is next to Gödelness.





[gentoo-user] Thinkpad T61 HDAPS and sound card support

2008-07-30 Thread Zhou Rui
I have a thinkpad T61 runs gentoo now, I did some google on the HDAPS
support, found that the hdapsd on portage
is out of date now, so I cannot do emerge --config xxx to patch my kernel.
The kernel is gentoo-sources-2.6.25-r7.

My question is, is there a kernel is patched for the hdaps in portage? Or
there are some ways to get the hdapsd work
with gentoo way?

For the sound, the intel HD alsa support is already compiled as a module,
but I cannot find /dev/audio and actually the
device does not work at all, do I miss some options?
-- 
BR,
Zhou Rui


Re: [gentoo-user] Re: strangeness with emerge -uD world

2008-07-30 Thread Andrey Falko
On Wed, Jul 30, 2008 at 6:32 PM, »Q« [EMAIL PROTECTED] wrote:
 On Wed, 30 Jul 2008 00:15:25 -0700
 Andrey Falko [EMAIL PROTECTED] wrote:

 On Tue, Jul 29, 2008 at 11:42 PM, »Q« [EMAIL PROTECTED] wrote:
  I'm using portage-2.1.4.4.
 
  $ emerge -pqu world
  [ebuild U ] www-client/mozilla-firefox-3.0.1 [2.0.0.16]
 
  but
 
  $ emerge -pqu --deep world
 
  gives no output.  I've never seen --deep cause fewer updates.  What
  am I missing?  I have EMERGE_DEFAULT_OPTS=--with-bdeps y in
  make.conf, and I don't know what more info to post.

 Is Firefox in /var/lib/portage/world? If not, do you intend Firefox to
 be a dependency? The only legitimate behavior I see is that Firefox
 is a dependency for a package that is not part of your world.

 Yeah, it is in the world file, and it does show up in bold with `emerge
 -pu world`.

 --
 »Q«
 Kleeneness is next to Gödelness.





If the problem persists after you remove
EMERGE_DEFAULT_OPTS=--with-bdeps y, I'd file a bug.