Re: [gentoo-user] Synchronizing my music collection

2008-08-13 Thread Sebastian Günther
* Grant ([EMAIL PROTECTED]) [13.08.08 03:31]:
 
 Man, rsync is easy to use.  I imagined something else. 

Try Bakula with a robotarm tape changer to keep the two things in 
sync... ;-)

 Would rsnapshot be useful in this case?

Defacto rsnapshot is just an elaborate wrapper around rsync...

 What are the advantages of using a daemon instead of remote-shell?

What daemon? Did I miss something? Be kind: rewind...

 
 - Grant
 

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

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


pgpG578Ewlnzw.pgp
Description: PGP signature


Re: [gentoo-user] Server migration

2008-08-13 Thread Fernando Antunes
On Mon, Aug 11, 2008 at 12:31 PM, Matthew Daubenspeck
[EMAIL PROTECTED]wrote:

 In short, I am working on a server migration going from a physical box
 to a virtual system. I pretty much need everything (software-wise)
 identical. What is the best way to do that? I was looking at outputting
 the data from equery to a file, then emerging everything in that file.
 Is there an easier way to do this?
 --


Check this article to get some ideas:
http://howtoforge.com/how-to-virtualize-a-physical-linux-machine

If you are using vmware, look for vmware converter.


  Matthew Daubenspeck
  http://oddprocess.org

 Gentoo Linux x86_64 Dual Core AMD Opteron(tm) Processor 165
 11:30:21 up 273 days, 2:18, 4 users, load average: 0.00, 0.00, 0.00




[gentoo-user] the problem of /usr/bin/gnome-about

2008-08-13 Thread liu shukui
how to fix this?

[EMAIL PROTECTED] ~ $ gnome-about
Traceback (most recent call last):
  File /usr/bin/gnome-about, line 37, in module
import gnome
ImportError: No module named gnome
[EMAIL PROTECTED] ~ $



Re: [SOLVED] Re: [gentoo-user] python2.4-python2.5-import gtk error

2008-08-13 Thread liu shukui
I have found the similar problem:

[EMAIL PROTECTED] ~ $ gnome-about
Traceback (most recent call last):
  File /usr/bin/gnome-about, line 37, in module
import gnome
ImportError: No module named gnome
[EMAIL PROTECTED] ~ $


On Wed, Aug 13, 2008 at 11:41 AM, Ow Mun Heng [EMAIL PROTECTED] wrote:
 Turns out I was pulling my hair out because of USE flags between 2.4 and
 2.5

 in 2.4, threads are enabled by default.
 2.5, it is a USE flag setting



 On Tue, 2008-08-12 at 17:31 +0800, Ow Mun Heng wrote:
 On Tue, 2008-08-12 at 16:52 +0800, Jan Schneiders wrote:
  After updating python you always have to run the python updater
  script:
 
  # python-updater
 
  (or did you do that already?)

 I did and it updated a bunch of stuffs and I've also um-merged 2.4 and
 then now trying to retrace steps (by giving 2.5 the boot as i'm lost as
 to what to do)


 
  On Aug 12, 2008, at 10:43 AM, Ow Mun Heng wrote:
 
   Just upgraded from 2.4 to 2.5 of python and I'm finding that I have
   issues with importing gtk.
  
   I have no idea what is happening and I've tried various methods of
   upgrading/re-compiling/downgrading pygobject  pygtk and python and
   glib
   and pycairo and cairo and a whole host of other packages and still
   this
   error.
  
   Google is not my friend unfortunately. I saw something like this
   from a
   debian bug report
  
  http://www.mail-archive.com/[EMAIL PROTECTED]/msg186144.html
  
  
  
   Python 2.5.2 (r252:60911, Aug  7 2008, 23:56:43)
   [GCC 4.1.2 (Gentoo 4.1.2 p1.0.1)] on linux2
   Type help, copyright, credits or license for more
  information.
   import gtk
   Traceback (most recent call last):
File stdin, line 1, in module
File /usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py,
   line 38, in module
  import gobject as _gobject
File /usr/lib/python2.5/site-packages/gtk-2.0/gobject/
   __init__.py, line 30, in module
  from gobject.constants import *
File /usr/lib/python2.5/site-packages/gtk-2.0/gobject/
   constants.py, line 22, in module
  from _gobject import type_from_name
   ImportError: /usr/lib/python2.5/site-packages/gtk-2.0/gobject/
   _gobject.so: undefined symbol: PyGILState_Release
  
  
   emerge --info
   Portage 2.1.4.4 (default-linux/x86/2007.0/server, gcc-4.1.2,
   glibc-2.5-r4, 2.6.17-gentoo-r8 i686)
   =
   System uname: 2.6.17-gentoo-r8 i686 Pentium II (Deschutes)
   Timestamp of tree: Mon, 11 Aug 2008 14:15:01 +
   distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port
   3632) [disabled]
   ccache version 2.3 [enabled]
   app-shells/bash: 3.2_p33
   dev-lang/python: 2.5.2-r7
   dev-python/pycrypto: 2.0.1-r6
   dev-util/ccache: 2.3
   sys-apps/baselayout: 1.11.14-r6
   sys-apps/sandbox:1.2.18.1-r2
   sys-devel/autoconf:  2.13, 2.61-r2
   sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-
   r1, 1.10.1
   sys-devel/binutils:  2.18-r3
   sys-devel/gcc-config: 1.4.0-r4
   sys-devel/libtool:   1.5.26
   virtual/os-headers:  2.6.23-r3
   ACCEPT_KEYWORDS=x86
   CBUILD=i686-pc-linux-gnu
   CFLAGS=-march=pentium2 -O2 -pipe
   CHOST=i686-pc-linux-gnu
   CONFIG_PROTECT=/etc /var/bind
  
  CONFIG_PROTECT_MASK=/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-
  
  active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /
   etc/terminfo
   CXXFLAGS=-march=pentium2 -O2 -pipe
   DISTDIR=/usr/portage/distfiles
   FEATURES=buildpkg ccache distlocks metadata-transfer
  parallel-fetch
   sandbox sfperms strict unmerge-orphans userfetch
   GENTOO_MIRRORS=http://mirror.averse.net/pub/gentoo/
  http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/
   http://gentoo.kems.net ftp://ftp.twaren.net/Linux/Gentoo/
  http://mirrors1.mirrors.64hosting.com/pub/mirrors/gentoo/
http://mirror.gentoo.gr.jp;
   MAKEOPTS=-j3
   PKGDIR=/usr/portage/packages
   PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms
  --times
   --compress --force --whole-file --delete --stats
   --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/
   packages
   PORTAGE_TMPDIR=/var/tmp
   PORTDIR=/usr/portage
  
  PORTDIR_OVERLAY=/usr/portage/local/layman/webapps-experimental /usr/
   local/portage
   SYNC=rsync://rsync.jp.gentoo.org/gentoo-portage
   USE=apache2 bash-completion berkdb bzip2 cjk crypt hardened
   logrotate memlimit mmx ncurses nls nptl ntpl ntplonly pam perl pic
   python readline samba session
   snmp ssl syslog tcpd unicode userlocales utf8 x86 xml xml2 zlib
   ALSA_CARDS=ali5451
   als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1
   emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0
   intel8x0m
   maestro3 trident usb-audio via82xx via82xx-modem ymfpci
   ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty
   extplug file hooks iec958 ioplug ladspa lfloat linear meter
  mmap_emul
   mulaw multi null plug rate route share shm softvol
   APACHE2_MODULES=actions alias auth_basic auth_digest 

Re: [gentoo-user] Synchronizing my music collection

2008-08-13 Thread Grant
 Man, rsync is easy to use.  I imagined something else.

 Try Bakula with a robotarm tape changer to keep the two things in
 sync... ;-)

 Would rsnapshot be useful in this case?

 Defacto rsnapshot is just an elaborate wrapper around rsync...

 What are the advantages of using a daemon instead of remote-shell?

 What daemon? Did I miss something? Be kind: rewind...

According to man rsync:

There are two different ways for rsync to contact a remote system:
using a remote-shell program as the transport (such as ssh or rsh) or
contacting an rsync daemon directly via TCP.

I'm using remote-shell and I'm wondering what benefit the daemon has.
I probably wouldn't have to enter the username/password?

- Grant



[gentoo-user] Building and Installing with gentoo to non-gentoo Linux

2008-08-13 Thread Yoav Luft
Hi,
I have small device running linux. I've set up crossdev and compiled a
few binaries for it and tested that they don't break, including
recompile of the original kernel. I wanted to use emerge to build
binaries for my device, but I don't want portage on it, only to build
the binaries and copy them. I've build python, but I don't know what
files should I copy and to where, exactly. There's nothing about in
the embedded handbook, the handbook assumes I would build and mount a
gentoo like system for my device.



Re: [gentoo-user] Synchronizing my music collection

2008-08-13 Thread Alan McKinnon
On Wednesday 13 August 2008 17:24:57 Grant wrote:

 According to man rsync:

 There are two different ways for rsync to contact a remote system:
 using a remote-shell program as the transport (such as ssh or rsh) or
 contacting an rsync daemon directly via TCP.

 I'm using remote-shell and I'm wondering what benefit the daemon has.
 I probably wouldn't have to enter the username/password?

That's the one. Imagine every gentoo user needing a shell account on 
rsync.gentoo.org to use when they emerge --sync :-)


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Kmail 4.1

2008-08-13 Thread Rev. Ferris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

It worked!
Thanks (I send that email from kmail!)
Luigi


 On Dienstag, 12. August 2008, [EMAIL PROTECTED] wrote:
  Hi,
  I installed same days ago the kde-meta 4.1 (one question: when does
  it come in official portage tree?). I have almost no problem, only
  kmail doesn't work properly.
  I have an ISP that requires login authentication to use its smpt
  server. When I try to send a email, a pop-up compares with the
  warning that kio_smtp is compiled without login support. So, kmail
  3.5.9 works right, and I don't find where kio_smtp is. Someone can
  help me?

 equery belongs /usr/kde/4.1/lib64/kde4/kio_smtp.so
 [ Searching for file(s) /usr/kde/4.1/lib64/kde4/kio_smtp.so in *... ]
 kde-base/kdepimlibs-4.1.0 (/usr/kde/4.1/lib64/kde4/kio_smtp.so)

 locate is your friend.


- -- 
In questo mondo deve essere matto. Se no impazzisci.
 Leopold Fetchner
Tschüss!
Chiave pubblica gpg(0x0936E4EC) disponibile su
hkp://keyserver.linux.it/
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkijPsgACgkQYoDKzgS2pLPcewCfejjhfXn8HNDG/tyPU+oGELBa
UoMAn0ukps0/VIdTImKxkesn6NZS+6u9
=/RmZ
-END PGP SIGNATURE-



Re: [gentoo-user] Building and Installing with gentoo to non-gentoo Linux

2008-08-13 Thread Simon
You can tell portage to build binary packages, and then decompress those 
packages to get all the files you need specifically for that package.  You can 
also build a whole gentoo system and then remove /usr/portage (about 1Gb), this 
will leave you with something very close to a LSF (linux from scratch) system 
but with few minor gentoo files.


In both cases, maintenance will be your main problem (upgrades mostly) and 
unless you don't mind having a system that is hard/impossible to upgrade, I 
would look into that also!


Simon

Yoav Luft wrote:

Hi,
I have small device running linux. I've set up crossdev and compiled a
few binaries for it and tested that they don't break, including
recompile of the original kernel. I wanted to use emerge to build
binaries for my device, but I don't want portage on it, only to build
the binaries and copy them. I've build python, but I don't know what
files should I copy and to where, exactly. There's nothing about in
the embedded handbook, the handbook assumes I would build and mount a
gentoo like system for my device.






Re: [gentoo-user] very wierd gnome-panel behaviour

2008-08-13 Thread Iain Buchanan
On Wed, 2008-08-13 at 10:53 +0930, Iain Buchanan wrote:
 Hi all,
 
 don't quite know how to describe this one, but it's really annoying!
 
 My gnome panels are somehow remembering two sets of settings (by
 settings I mean applet placement, etc).

[snip]

 I do have two displays, using separate X screens, so I don't know if
 that has anything to do with it.  I haven't found anything on google
 about this either...

Just to follow up - turns out this is the problem - when I change from
separate x screens to only one x screen, or even to xinerama, the
problem is not there...
-- 
Iain Buchanan iaindb at netspace dot net dot au

Life is a whim of several billion cells to be you for a while.