Re: [gentoo-user] libssl.so.0.9.7 undefined symbol.

2007-01-29 Thread Bo Ørsted Andresen
On Tuesday 30 January 2007 05:42:44 Andrew MacKenzie wrote:
> Ever since I installed the latest version of
> app-emulation/emul-linux-x86-compat I get the following error when running
> x86 apps under amd64:
>
> symbol lookup error: /emul/linux/x86/usr/lib/libssl.so.0.9.7: undefined
> symbol: HMAC_CTX_set_flags
>
> I've not been able to find this on the web or anywhere.
>
> Anybody have any ideas?

What is the output of (install app-portage/gentoolkit if you don't have 
equery):

# equery list emul-linux

?

-- 
Bo Andresen


pgp1adMexFe5K.pgp
Description: PGP signature


Re: [gentoo-user] Uninstalling KDE packages

2007-01-29 Thread Vlad Dogaru

On 1/30/07, Uwe Thiem <[EMAIL PROTECTED]> wrote:

On 29 January 2007 22:46, Vlad Dogaru wrote:

> after some suggestions from the list I finally emerged KDE to give it
> another try. Even with 256 MiB of RAM, it works quite acceptably, save
> for the startup time.

Two things to improve startup:

Prelink your whole system. "prelink -avmRf" should do. It will run for quite
some time but applications will start faster afterwards. You have to repeat
it after each major emerge session.

Make sure that
Preloader=/usr/kde/3.5/bin/preloadkde
is set in /usr/kde/3.5/share/config/kdm/kdmrc


> However, I notice it has installed all sorts of
> marginally useful and ultimately resource consuming software such as
> KWallet.

You can as well simply switch it of:
Control Center->Security & Privacy->KDE Wallet

> Now, I realise the risks of keeping passwords scattered all
> around (sometimes even unencrypted), but in my environment it's not
> that great a priority.
>
> I would like to know if unmerging KWallet (also the eduitainment suite
> and possibly even Kopette and Konqueror) is safe. How can I tell for
> other packages? Is emerge --unmerge enough or do other measures have
> to be taken? Also, in the case of a fresh install, how can I choose
> what KDE installs? Do I have to run emerge kde, or would kdelibs,
> kdebase, etc (along with their dependencies of course) suffice?

You need to emerge kdelibs and kdebase. Afterwards you can emerge single
applications.


Hi everyone,

I did a monolithic KDE install and that is why uninstalling individual
components is not easy. However, the install has served its purpose --
I only wanted to see common pitfalls in installing KDE, for when I do
a complete system reinstall (possibly even changing hardware). Next
time I will do a split ebuild install and carefully select what I
need.

Thanks for the tips,
Vlad
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Symlinking /usr/portage/distfiles

2007-01-29 Thread Bo Ørsted Andresen
On Monday 29 January 2007 08:38:08 Alan McKinnon wrote:
> If memory serves, the FHS defines /tmp as a temporary
> place to store files, and the continued existence of the file after a
> process has finished is not guaranteed.

Gentoo does not and never did follow FHS. Really /var/tmp is just a default 
value.

> In other words, if there are no 
> existing locks on a file, it's up for summary deletion.

Plenty of things break if you just delete arbitrary files in /tmp while 
programs using it are running. I don't know what kind of locks you expect are 
being used all over /tmp..

-- 
Bo Andresen


pgpX47UPkUf7Q.pgp
Description: PGP signature


Re: [gentoo-user] Symlinking /usr/portage/distfiles

2007-01-29 Thread Alan McKinnon
On Monday 29 January 2007 15:20, Albert Hopkins wrote:
> On Mon, 2007-01-29 at 09:38 +0200, Alan McKinnon wrote:

> > The real nature of /tmp isn't adequate for portage, that's why it
> > uses a different one. If memory serves, the FHS defines /tmp as a
> > temporary place to store files, and the continued existence of the
> > file after a process has finished is not guaranteed. In other
> > words, if there are no existing locks on a file, it's up for
> > summary deletion. This could be fatal in a big compile - imagine if
> > some cleaner process nuked a binary compiled 4 hours ago in an
> > openoffice compile
>
> I'm not sure if your memory is correct, but I've always been told
> "never put anything in /tmp that you want to survive a reboot".  But
> still using your def I suppose that process would be 'emerge' which,
> on the default config, deletes the files before it finishes anyway.

I don't trust my memory either so I looked it up. The most recent copy 
of FHS I have is 2.2:

"The /tmp directory must be made available for programs that require 
temporary files. 
"Programs must not assume that any files or directories in /tmp are 
preserved between invocations of the program."

It says nothing about reboots, that is a common mis-interpretation of 
the standard. It usually works just fine, but it's technically wrong. 
To be extreme, a daemon could be running that deletes every file 
in /tmp as soon as all locks on it are released. This would of course 
break every emerge and such a daemon would be insane, but it *is* per 
the standard and thus *not* broken. If $PORTAGE_TMPDIR was /tmp and 
this did happen, then it is portage's config that is broken, and 
nothing else. Weird, huh?

[snip]

> Not that that's ever been a problem for me but you can always
> temporarily divert it when compiling "HUGE" jobs.
>
> # PORTAGE_TMPDIR=/var/scratch/portage emerge openoffice
>
> IMO it's more than worth the convenience/performance of running it
> in /tmp than not.  As I've said I've been doing it for a long while
> and I'd don't remember ever having files "disappear" or running out
> of space on /tmp.

Why not just keep it as /var/tmp? Defined as:

"The /var/tmp directory is made available for programs that require 
temporary files or directories that are preserved between system 
reboots. Therefore, data stored in /var/tmp is more persistent than 
data in /tmp. 
"Files and directories located in /var/tmp must not be deleted when the 
system is booted. Although data stored in /var/tmp is typically deleted 
in a site-specific manner, it is recommended that deletions occur at a 
less frequent interval than /tmp."

Strictly per the standard, /var/tmp is the correct place for emerge temp 
files and /tmp is incorrect. Not that it matters on your box with your 
symlink (which is totally standard-compliant btw)

> But if you want to discuss FHS let's talk about how /usr/portage
> doesn't belong in /usr ;-)

Portage shouldn't even begin to start thinking about belonging 
in /usr :-). That's why I have:

nazgul ~ # cat /etc/make.conf | grep PORTDIR
PORTDIR="/var/portage"
PORTDIR_OVERLAY="$PORTDIR_OVERLAY /var/local/portage"
DISTDIR="${PORTDIR}/distfiles"

/usr/portage is probably one of those mistakes from way back when that 
has become amazingly difficult to fix. Have you noticed that paludis 
keeps the portage tree in /var? 

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



Re: [gentoo-user] Traffic volumes for distfiles mirror

2007-01-29 Thread Alan McKinnon
On Monday 29 January 2007 14:11, Neil Bothwick wrote:
> On Mon, 29 Jan 2007 11:50:34 +0200, Alan McKinnon wrote:
> > I already use a fairly complicate solution with emerge -pvf and
> > wget in a cron on one of the fileservers, but it's getting
> > cumbersome. And I'd rather not maintain an entire gentoo install on
> > a server simply to act as a proxy. Would I be right in saying that
> > I'd have to keep the "proxy" machine up to date to avoid the
> > inevitable blockers that will happen in short order if I don't?
> >
> > I've been looking into kashani's suggestion of http-replicator,
> > this might be a good interim solution till I can come up with
> > something better suited to our needs.
>
> I was suggesting the emerge -uDNf world in combination in
> http-replicator. The first request forces http-replicator to download
> the files, all other request for those files are then handled
> locally. 

OK, that does make more sense. It's what I first thought you meant but 
then I (stupidly) thought I'd assumed wrongly...

> So if you run this on a suitable cross-section of machines 
> overnight, http-replicator's cache will be primed by the time you
> stumble bleary-eyed into the office.

That has to be the most accurate description of my typical mornings I've 
ever read anywhere... :-)

> If all your machines run a similar mix of software, say KDE desktops,
> you only need to run the cron task on one of them.

Um, that's the hard part. Here's KDE, Gnome, Fluxbox, e17 - just for 
WMs. All machines are ~x86 but that's where the similarities end. I 
suppose I could set up a master machine whose world is a combination of 
all the clients. But whatever I chose, the solution doe not appear to 
be simple :-(


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



Re: [gentoo-user] why forbids making hard link for directory?

2007-01-29 Thread Dan Farrell
On Tue, 30 Jan 2007 14:18:26 +0800
Shaochun Wang <[EMAIL PROTECTED]> wrote:

> 
> I know it forbids making hardlink for directory in current filesystem,
> but i don't know why? Can you tell me why?
> 
from `man ln`

   On  existing  implementations,  if it is at all possible to make
a hard link to a directory, this may be done by the superuser only.
POSIX for- bids  the  system call link(2) and the utility ln to make
hard links to directories (but does not forbid hard links to cross
filesystem  bound- aries).
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] why forbids making hard link for directory?

2007-01-29 Thread Shaochun Wang

I know it forbids making hardlink for directory in current filesystem,
but i don't know why? Can you tell me why?

-- 
Shaochun Wang <[EMAIL PROTECTED]>

GPG Fingerprint: 70C2 6945 0E46 E08B 419A  007C AC5C F21F 358A 0833
You can get my publickey from the following url:
http://lcs.ios.ac.cn/~scwang/docs/scwangpublickey.gpg
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] libssl.so.0.9.7 undefined symbol.

2007-01-29 Thread kashani

Andrew MacKenzie wrote:

Ever since I installed the latest version of
app-emulation/emul-linux-x86-compat I get the following error when running
x86 apps under amd64:

symbol lookup error: /emul/linux/x86/usr/lib/libssl.so.0.9.7: undefined
symbol: HMAC_CTX_set_flags

I've not been able to find this on the web or anywhere.  


Anybody have any ideas?



I suspect that you're being bitten by some lib problems with the update 
or openssl from 0.9.7 to 0.9.8. IIRC you need to revdep-rebuild around 
libssl and libcrypto to fix everything. This thread has most of the 
details if this is your problem.


http://forums.gentoo.org/viewtopic-t-499331.html

kashani

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Having a problem booting a vanilla kernel

2007-01-29 Thread Dan Farrell
On Mon, 29 Jan 2007 20:43:45 -0600
Michael Sullivan <[EMAIL PROTECTED]> wrote:

> I wanted to try installing my Win4Lin 9x 5.0 software, so I unzipped
> my vanilla kernel source (2.6.11.12 - the newest patch they have for
> SMP kernels) into /usr/src and changed the symlink.  I applied the
> Win4Lin patches.  I wanted the config of my currently running kernel,
> so I said "make oldconfig" (make oldconfig does do that, right?)  I
> didn't turn on the Win4Lin support yet because I wanted to see if I
> could get the old kernel to work without it first.  I set up the
> kernel in my /boot/grub/grub.conf file, just like my other kernels.
> Pretty routine.  When I tried to boot with 2.6.11.12, I got this:
> 
> Booting 'Linux 2.6.11.12'
> root (hd0,1)
> Filesystem type is ext2fs, partition type is 0x83
> kernel /kernel-2.6.11.12 real_root=/dev/sda udev
> Error 13: Invalid or unsupported execution format
> 

> title=Linux 2.6.11.12
> root (hd0,1)
> kernel /kernel-2.6.11.12 real_root=/dev/sda6 udev
> initrd /initrd-2.6.11.12.img

> 
> I checked against /boot and all the file names are correct.  I booted
> with the top kernel, so I know those settings are correct, with the
> only changes in the filenames.  What am I missing here?
> -Michael Sullivan-
> 

Should I be appending 'udev' to my kernel boot params?  I've never done
that.  

I think the problem may be the configuration of your kernel.  Im sure
you know what you're doing, as evidenced by the wealth of kernels here,
but still I wonder whether a stray keypress maybe set the architecture
or subarchitecture incorrectly...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] kernel panic from hell!

2007-01-29 Thread Randy Barlow
On Monday 29 January 2007 23:07, maxim wexler wrote:
> Is there something I haven't tried?

Have you enabled support for your disk controller?

-- 
Randy Barlow
http://www.electronsweatshop.com
"Oh me of little faith..."
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xorg -configure fails

2007-01-29 Thread Dan Farrell
On Tue, 30 Jan 2007 00:34:00 +0100
Peter Alfredsen <[EMAIL PROTECTED]> wrote:

> The moon has entered a cycle unfortuitous for xorg --configure.
> Please use xorgcfg instead to get a working X11, then tune from the
> many xorg.confs floating around.

Xorg has to be some of the most unpredictable software... I really
liked -configure.  But it obviously wasn't being maintained (still
putting in /dev/mouse instead of /dev/input/mice).  
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] kernel panic from hell!

2007-01-29 Thread Dan Farrell
On Mon, 29 Jan 2007 20:07:22 -0800 (PST)
maxim wexler <[EMAIL PROTECTED]> wrote:

> Hi group,
> 
> I've been working and reading and tweaking and editing
> all day and gentoo will not boot. Typical kernel
> panic:
...
> Very simple. No dual boot. No extended partitions.
> 
> e2fsck checks out for hda1 and hda3. No errors are
> noted for the drive in dmesg or fdisk. 
> 
> Is there something I haven't tried?
> 
> Maxim
> 

Have you tried ensuring that you have the driver for IDE support in
your kernel?  You should see something about an ide device or two up
above the kernel panic...
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Uninstalling KDE packages

2007-01-29 Thread Andrey Gerasimenko

On Mon, 29 Jan 2007 23:46:56 +0300, Vlad Dogaru <[EMAIL PROTECTED]> wrote:


Hello,

after some suggestions from the list I finally emerged KDE to give it
another try. Even with 256 MiB of RAM, it works quite acceptably, save
for the startup time. However, I notice it has installed all sorts of
marginally useful and ultimately resource consuming software such as
KWallet. Now, I realise the risks of keeping passwords scattered all
around (sometimes even unencrypted), but in my environment it's not
that great a priority.

I would like to know if unmerging KWallet (also the eduitainment suite
and possibly even Kopette and Konqueror) is safe. How can I tell for
other packages? Is emerge --unmerge enough or do other measures have
to be taken? Also, in the case of a fresh install, how can I choose
what KDE installs? Do I have to run emerge kde, or would kdelibs,
kdebase, etc (along with their dependencies of course) suffice?

Thanks in advance and sorry if I am being ambiguous (it's late)
Vlad



It looks like the problem is that you used some package like kdebase-meta  
and it installed all of the KDE. If so, now you have only kdebase-meta in  
/var/lib/portage/world and next time you upgrade world portage will  
install what you unmerge manually.


I did not test it, but the first thing that comes to mind is to edit the  
world manually: remove -meta packages and add packages that are  
actually installed. You can find them in /var/db/pkg/kde-base/ and  
/var/db/pkg/kde-misc.



--
Andrei Gerasimenko
--
gentoo-user@gentoo.org mailing list



[gentoo-user] libssl.so.0.9.7 undefined symbol.

2007-01-29 Thread Andrew MacKenzie
Ever since I installed the latest version of
app-emulation/emul-linux-x86-compat I get the following error when running
x86 apps under amd64:

symbol lookup error: /emul/linux/x86/usr/lib/libssl.so.0.9.7: undefined
symbol: HMAC_CTX_set_flags

I've not been able to find this on the web or anywhere.  

Anybody have any ideas?

-- 
// Andrew MacKenzie  |  http://www.edespot.com
// GPG public key: http://www.edespot.com/~amackenz/public.key
// There will always be things we wish to say in our programs that in all
// known languages can only be said poorly.
// - Alan Perlis


pgpm4iOTezBqr.pgp
Description: PGP signature


[gentoo-user] OT - Having a problem booting a vanilla kernel

2007-01-29 Thread Michael Sullivan
I wanted to try installing my Win4Lin 9x 5.0 software, so I unzipped my
vanilla kernel source (2.6.11.12 - the newest patch they have for SMP
kernels) into /usr/src and changed the symlink.  I applied the Win4Lin
patches.  I wanted the config of my currently running kernel, so I said
"make oldconfig" (make oldconfig does do that, right?)  I didn't turn on
the Win4Lin support yet because I wanted to see if I could get the old
kernel to work without it first.  I set up the kernel in
my /boot/grub/grub.conf file, just like my other kernels.  Pretty
routine.  When I tried to boot with 2.6.11.12, I got this:

Booting 'Linux 2.6.11.12'
root (hd0,1)
Filesystem type is ext2fs, partition type is 0x83
kernel /kernel-2.6.11.12 real_root=/dev/sda udev
Error 13: Invalid or unsupported execution format


Here's my grub.conf:

default 0
timeout 30
splashimage=(hd0,1)/grub/splash.xpm.gz

title=Gentoo 2.6.18-r6
root (hd0,1)
kernel /kernel-genkernel-x86-2.6.18-gentoo-r6 real_root=/dev/sda6 udev
initrd /initramfs-genkernel-x86-2.6.18-gentoo-r6

title=Gentoo 2.6.18-r4
root (hd0,1)
kernel /kernel-genkernel-x86-2.6.18-gentoo-r4 real_root=/dev/sda6 udev
initrd /initramfs-genkernel-x86-2.6.18-gentoo-r4

title=Linux 2.6.11.12
root (hd0,1)
kernel /kernel-2.6.11.12 real_root=/dev/sda6 udev
initrd /initrd-2.6.11.12.img

title=Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1


I checked against /boot and all the file names are correct.  I booted
with the top kernel, so I know those settings are correct, with the only
changes in the filenames.  What am I missing here?
-Michael Sullivan-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] kernel panic from hell!

2007-01-29 Thread Dale
maxim wexler wrote:
> Hi group,
>
> I've been working and reading and tweaking and editing
> all day and gentoo will not boot. Typical kernel
> panic:
>
> grub> root (hd0,0)
>  Filesystem type is ext2fs, partition type 0x83
>  
> grub> kernel /vmlinuz root=/dev/hda3 ro
>   [Linux-bzImage, setup=0x1200, size=0x13d208]
>
> grub>boot
>
> ,,,VFS: Cannot open root device "hda3" or
> unknown-block(0,0)
> Please append a correct "root=" boot option
> Kernel panic-not syncing...unknown-block(0,0)
>
> Panics for hda1 and hda3. Whether I use the device
> names or grub (hd0,x) terminology. Whether or not I
> declare a root dev after /vmlinuz
>
> Yes, ext2fs support was compiled *into* the kernel.
>
> There are 4 primary partitions: 
> hda1(boot-ext2), 
> 2(swap), 
> 3(root-ext2) and 
> 4(home-ext2). 
>
> Very simple. No dual boot. No extended partitions.
>
> e2fsck checks out for hda1 and hda3. No errors are
> noted for the drive in dmesg or fdisk. 
>
> Is there something I haven't tried?
>
> Maxim
>
>
>
>
>
>
>  
> 
> Food fight? Enjoy some healthy debate 
> in the Yahoo! Answers Food & Drink Q&A.
> http://answers.yahoo.com/dir/?link=list&sid=396545367
>   

Did a bit of googling for ya.  You did compile in support for your IDE
controller right?  If not, it can't see your drives.  Just a thought.

Hope that helps.

Dale

:-)  :-)  :-)

-- 
www.myspace.com/dalek1967

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] kernel panic from hell!

2007-01-29 Thread maxim wexler
Hi group,

I've been working and reading and tweaking and editing
all day and gentoo will not boot. Typical kernel
panic:

grub> root (hd0,0)
 Filesystem type is ext2fs, partition type 0x83
 
grub> kernel /vmlinuz root=/dev/hda3 ro
  [Linux-bzImage, setup=0x1200, size=0x13d208]

grub>boot

,,,VFS: Cannot open root device "hda3" or
unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic-not syncing...unknown-block(0,0)

Panics for hda1 and hda3. Whether I use the device
names or grub (hd0,x) terminology. Whether or not I
declare a root dev after /vmlinuz

Yes, ext2fs support was compiled *into* the kernel.

There are 4 primary partitions: 
hda1(boot-ext2), 
2(swap), 
3(root-ext2) and 
4(home-ext2). 

Very simple. No dual boot. No extended partitions.

e2fsck checks out for hda1 and hda3. No errors are
noted for the drive in dmesg or fdisk. 

Is there something I haven't tried?

Maxim






 

Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xorg -configure fails

2007-01-29 Thread david
James Colby wrote:
> List members -
>
> I am trying to install gentoo on an older HP pc.  I am at the point in
> the handbook when I'm trying to configure X.  When I run the command
> Xorg -configure it is failing with the following error message:
>
> (II) Bus 1 non-prefetchable memory range:
>[0] -1  0   0xe100 - 0xe27f (0x180) MX[B]
> (II) Bus 1 prefetchable memory range:
>[0] -1  0   0xe3f0 - 0xe7ff (0x410) MX[B]
> (II) PCI-to-ISA bridge:
> (II) Bus -1: bridge is at (0:31:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN
> is set)
> (--) PCI: (0:2:0) Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset
> Integrated Graphics Device rev 1, Mem @ 0xe800/27, 0xe300/19
> (--) PCI:*(1:9:0) ATI Technologies Inc Rage 128 PP/PRO TMDS [Xpert
> 128] rev 0, Mem @ 0xe400/26, 0xe200/14, I/O @ 0xb800/8, BIOS @
> 0xe3fe/17
>
> Backtrace:
> 0: Xorg(xf86SigHandler+0x85) [0x80bfdf5]
> 1: Xorg(InitOutput+0x650) [0x809df85]
>
> Fatal server error:
> Caught signal 11.  Server aborting
>
> Does anyone have any ideas as to what may be causing it?
>
> Below are the contents of my make.conf file:
> CFLAGS="-O2 -mtune=pentium4 -pipe -fomit-frame-pointer"
> CHOST="i386-pc-linux-gnu"
> CXXFLAGS="${CFLAGS}"
> MAKEOPTS="-j2"
> GENTOO_MIRRORS=http://mirrors.tds.net/gentoo
> INPUT_DEVICES="keyboard mouse"
> VIDEO_CARDS="fglrx"
> USE="-gtk -gnome qt3 qt4 kde dvd alsa cdr -ipv6 kdeenablefinal"
>
> Thanks for any suggestions you may have in helping me resolve the
> problem,
> James
Try the r128
VIDEO_CARDS="vesa r128"

-- 
Powered by Gentoo/Linux

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Uninstalling KDE packages

2007-01-29 Thread Bo Ørsted Andresen
On Monday 29 January 2007 21:46:56 Vlad Dogaru wrote:
> I would like to know if unmerging KWallet (also the eduitainment suite
> and possibly even Kopette and Konqueror) is safe. How can I tell for
> other packages? Is emerge --unmerge enough or do other measures have
> to be taken?

What's the output of:

# grep kde /var/lib/portage/world

?

-- 
Bo Andresen


pgpSyIOsN4XrL.pgp
Description: PGP signature


Re: [gentoo-user] Uninstalling KDE packages

2007-01-29 Thread Dorin Scutarasu
On Monday 29 January 2007 22:46:56 Vlad Dogaru wrote:
> I would like to know if unmerging KWallet (also the eduitainment suite
> and possibly even Kopette and Konqueror) is safe. How can I tell for
> other packages? Is emerge --unmerge enough or do other measures have 
> to be taken?

If you have installed monolithic KDE than you can't unmerge only KWallet. You 
would have to unmerge kdeutils which also contains programs you might need.


If you're using the KDE split ebuilds you can use 'equery d ' 
(app-portage/gentoolkit) to see what installed packages depend on 
. For example, Konqueror is needed by Kdesktop  and Amarok 
among other things, so you probably don't want to unmerge it if you need 
either of them.

Simply unmerging a package that is needed by some other package is not 
sufficient as it would be pulled back in when you next run 'emerge -D world'.

KWallet only depends on kdeutils-meta. If you want to get rid of it unmerge 
kdeutils-meta and add the packages pulled in by kdeutils-meta to the world 
file (/var/lib/portage/world). You can find the names of these packages in the 
kdeutils-meta ebuild:

RDEPEND="
$(deprange $PV $MAXKDEVER kde-base/ark) 

$(deprange $PV $MAXKDEVER kde-base/kcalc)
$(deprange $PV $MAXKDEVER kde-base/kcharselect) 

lirc? ( $(deprange $PV $MAXKDEVER kde-base/kdelirc) )
 [...]

So you would add lines such as these:
kde-base/ark
kde-base/kcalc
... in the world file for each package you need and unmerge the ones you don't 
need. Be carefull with those useflag conditioned dependencies as in the case 
of kde-base/kdelirc which only gets installed if lirc useflag is activated.


>  Also, in the case of a fresh install, how can I choose
> what KDE installs? Do I have to run emerge kde, or would kdelibs,
> kdebase, etc (along with their dependencies of course) suffice?

Take a look at http://www.gentoo.org/doc/en/kde-config.xml#doc_chap2_sect3 .

-- 
The world is a tragedy to those who feel, but a comedy to those who
think.(Horace Walpole)
*
Dorin Scutarasu,
www.info.UAIC.ro


pgpcZbvvfv9ES.pgp
Description: PGP signature


Re: [gentoo-user] Xorg -configure fails

2007-01-29 Thread Peter Alfredsen
On Monday 29 January 2007, James Colby wrote:
> List members -
>
> I am trying to install gentoo on an older HP pc.  I am at the point in
> the handbook when I'm trying to configure X.  When I run the command
> Xorg -configure it is failing with the following error message:

The moon has entered a cycle unfortuitous for xorg --configure. Please use 
xorgcfg instead to get a working X11, then tune from the many xorg.confs 
floating around.
Caveat: Depending on how old your video card is, ati-drivers may not support 
it. Use radeon DRI/mesa instead.



-- 
/PA
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Ati-Drivers, no DRI

2007-01-29 Thread Peter Alfredsen
On Monday 29 January 2007, Timothy Roberts wrote:
> I have a working X environment with these three packages,
> Ati-drivers-8.32.5, Xorg-7.2, and Gentoo-sources-2.6.19-r4, but I cannot
> seem to get Direct Rendering.
See this:
http://bugs.gentoo.org/161378

Ati-drivers 8.32.5 is not compatible with xorg 7.2. Use the ebuild in that bug 
or wait for it to trickle into the tree.

-- 
/PA
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Recommend a program for line art and text

2007-01-29 Thread Kevin O'Gorman

I've tried creating diagrams in xfig.  It works fine for my LaTeX
documents, but does not export well to PNG for use in web pages.

Should I export to something else?  Are there options on PNG I'm not
aware of (would not surprise me in the least).

Should I use something else to author my diagrams?

Example:

http://www.csc.calpoly.edu/~kogorman/453/projects/2/06f453-A2-stack.png
Which is a bit blurry, even though I've tried to keep the pixels aligned.

--
Kevin O'Gorman, PhD
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] broken python howto [SOLVED][OT]

2007-01-29 Thread Daniel Iliev
Statux wrote:
>> No, I don't have it in my CFLAGS:
>> grep CFLA /etc/make.conf
>> CFLAGS="-march=pentium2 -mmmx -pipe -O3 -fomit-frame-pointer"
>> CXXFLAGS="${CFLAGS}"
>> 
>
> shouldn't -mmmx be -mmx or have I been looking at too many switches and
> use flags and going cross-eyed?
>
>   



When used as a CFLAG it should be "-mmmx" (according to "man gcc").
When used as an USE flag it should be "mmx" (according to "euse -i mmx").


-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] WiFi adaptor playing up

2007-01-29 Thread James Ausmus

On 1/29/07, Mick <[EMAIL PROTECTED]> wrote:

My only consolation is that this fault is not intermittent.  :-(

Here's what happened.  I emerged a different (to my tried & tested rt2x00-
wireless driver).  Then I uninstalled rt2x00-, but I couldn't get the new
driver to work.  So, I unmerged it, remerged rt2x00- (this is a CVS
package)


Bingo. :)
Since this is a CVS package, the version that you just now installed
is different than the one that you did have installed - CVS packages
go out to the live development tree, pull the latest and greatest
version of the development source code (never, ever, ever guaranteed
to work), and use that.

So - possible solutions:
1. Figure out the date/time of the emerge of the *successful*
rt2x00- package using genlop, then check out the CVS source tree
as of that date, and build/install by hand
2. Work with the rt2x00 developers to figure out the problem and get
it corrected in the current version
3. Try what I'm currently doing with my rt2500 card (using the
rt2x00-999 package compiled from CVS on Wed Jan  3 20:39:53 2007,
according to genlop) - manually set the ESSID, AP, and encryption
settings on the card, then issue a /etc/init.d/net.ra0 start/restart
command.

BTW - If you do figure out the date/time of the successful CVS
package, let me know, and I'll try that one on my laptop, see if it
fixes my problems. :)

HTH

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



Re: [gentoo-user] Traffic volumes for distfiles mirror

2007-01-29 Thread Mick
On Monday 29 January 2007 17:45, Daniel da Veiga wrote:
> On 1/29/07, Alan McKinnon <[EMAIL PROTECTED]> wrote:
> > On Monday 29 January 2007 11:15, Neil Bothwick wrote:
> > > On Mon, 29 Jan 2007 00:47:47 -0800, kashani wrote:
> > > > I wouldn't bother with a full mirror. Set a local rsync server that
> > > > updates once a day and use http-replicator. That would be far less
> > > > bandwidth than trying to keep a local dist server current.
> > >
> > > If daytime bandwidth is a particular issue, you can set up a cron
> > > task on one of more machines (depending on the variety of packages in
> > > use) to do
> > >
> > > emerge --sync && emerge -uDNf world
> > >
> > > to prime the cache during the night. That should reduce your daytime
> > > downloads to almost zero.
> >
> > The daytime bandwidth is indeed the issue. This is South Africa, where
> > technologically everything is top-notch first-world. Except for
> > bandwidth. By local standards our pipe is quite big - a whopping 512k.
> > Shared amongst two offices and 140 users. At least I get to do whatever
> > I want with the bandwidth after hours - no real users to compete with,
> > just their torrents :-)
> >
> > I already use a fairly complicate solution with emerge -pvf and wget in
> > a cron on one of the fileservers, but it's getting cumbersome. And I'd
> > rather not maintain an entire gentoo install on a server simply to act
> > as a proxy. Would I be right in saying that I'd have to keep
> > the "proxy" machine up to date to avoid the inevitable blockers that
> > will happen in short order if I don't?
> >
> > I've been looking into kashani's suggestion of http-replicator, this
> > might be a good interim solution till I can come up with something
> > better suited to our needs.
>
> I'm using a different setup, of course its a small number of machines
> (like 5 or 6), but it works great. I use NFS to mount
> /usr/portage/distfiles on a server sharing this dir. Each time someone
> request a file, it goes directly to the shared dir, being available
> for all machines. This way, its only 1 request per new file, and only
> files that are needed for update of the particular software most
> machines have in common.

I've set up rsyncd and Boa on the server machine (laptop) which has its 
portage and distfiles updated daily at the office.  Then once a week or so I 
rsync the portage of the home machines with the laptop and they fetch any 
needed distfiles from the Boa server.  For details regarding the set up of 
Boa there was a thread a year or so ago on this list.

Of course there's the odd package that only exists on the LAN machines - they 
pull this off the Internet.  They also insist downloading afresh certain 
binaries (e.g. Opera browser) and some CVS packages.  I guess this is ebuild 
related, was thinking of looking into it with the thought of modifying it one 
day so that all available distfiles are pulled in from the Boa server.

HTH.
-- 
Regards,
Mick


pgpifdbAMyOpB.pgp
Description: PGP signature


[gentoo-user] Xorg -configure fails

2007-01-29 Thread James Colby

List members -

I am trying to install gentoo on an older HP pc.  I am at the point in
the handbook when I'm trying to configure X.  When I run the command
Xorg -configure it is failing with the following error message:

(II) Bus 1 non-prefetchable memory range:
   [0] -1  0   0xe100 - 0xe27f (0x180) MX[B]
(II) Bus 1 prefetchable memory range:
   [0] -1  0   0xe3f0 - 0xe7ff (0x410) MX[B]
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:31:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(--) PCI: (0:2:0) Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset
Integrated Graphics Device rev 1, Mem @ 0xe800/27, 0xe300/19
(--) PCI:*(1:9:0) ATI Technologies Inc Rage 128 PP/PRO TMDS [Xpert
128] rev 0, Mem @ 0xe400/26, 0xe200/14, I/O @ 0xb800/8, BIOS @
0xe3fe/17

Backtrace:
0: Xorg(xf86SigHandler+0x85) [0x80bfdf5]
1: Xorg(InitOutput+0x650) [0x809df85]

Fatal server error:
Caught signal 11.  Server aborting

Does anyone have any ideas as to what may be causing it?

Below are the contents of my make.conf file:
CFLAGS="-O2 -mtune=pentium4 -pipe -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
GENTOO_MIRRORS=http://mirrors.tds.net/gentoo
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="fglrx"
USE="-gtk -gnome qt3 qt4 kde dvd alsa cdr -ipv6 kdeenablefinal"

Thanks for any suggestions you may have in helping me resolve the problem,
James
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] broken python howto [SOLVED][OT]

2007-01-29 Thread Statux
> No, I don't have it in my CFLAGS:
> grep CFLA /etc/make.conf
> CFLAGS="-march=pentium2 -mmmx -pipe -O3 -fomit-frame-pointer"
> CXXFLAGS="${CFLAGS}"

shouldn't -mmmx be -mmx or have I been looking at too many switches and
use flags and going cross-eyed?



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


Re: [gentoo-user] broken python howto [SOLVED][OT]

2007-01-29 Thread Daniel Iliev
Albert Hopkins wrote:
> You didn't do something crazy like put "-static" in your CFLAGS did you?
>
>   


No, I don't have it in my CFLAGS:
grep CFLA /etc/make.conf
CFLAGS="-march=pentium2 -mmmx -pipe -O3 -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"

(yes it's an old Compaq Pentium II @400MHz with 128MB RAM serving it's
last days as a gateway)

...but I do have "static" in mu USE flags. Forgotten there for may be a
year or so when I wanted a static busybox for init-fs. Until now I never
had problems with that system - every day it gets synced and almost
everyday I do "emerge -DuN world". I don't see "static" USE flag showing
up in python and I guess its disabled by the ebuild:

emerge -pv python
Calculating dependencies ... done!
[ebuild   R   ] dev-lang/python-2.4.3-r4  USE="gdbm ncurses readline ssl
-berkdb -bootstrap -build -doc -ipv6 -nocxx -tk -ucs2" 0 kB

Is this USE flag a problem?

-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] broken python howto [SOLVED]

2007-01-29 Thread Albert Hopkins
You didn't do something crazy like put "-static" in your CFLAGS did you?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Uninstalling KDE packages

2007-01-29 Thread Albert Hopkins
On Mon, 2007-01-29 at 22:46 +0200, Vlad Dogaru wrote:
> Hello,
> 
> after some suggestions from the list I finally emerged KDE to give it
> another try. Even with 256 MiB of RAM, it works quite acceptably, save
> for the startup time. However, I notice it has installed all sorts of
> marginally useful and ultimately resource consuming software such as
> KWallet. Now, I realise the risks of keeping passwords scattered all
> around (sometimes even unencrypted), but in my environment it's not
> that great a priority.
> 
> I would like to know if unmerging KWallet (also the eduitainment suite
> and possibly even Kopette and Konqueror) is safe. How can I tell for
> other packages? Is emerge --unmerge enough or do other measures have
> to be taken? Also, in the case of a fresh install, how can I choose
> what KDE installs? Do I have to run emerge kde, or would kdelibs,
> kdebase, etc (along with their dependencies of course) suffice?

Here's my opinion about the whole thing (note that I don't use KDE so
this is an opinion in general).  If you don't like something, don't use
it.  If you don't like the edutainment stuff, don't run any of those
programs and you don't be using any resources.  If you don't want to use
KWallet then don't run it.  If it's running in the background or
something then that means that something that you *are* using depends on
KWallet and that's probably something you don't want to unmerge.

Yeah, you could go around experimenting with unmerging packages, but you
will likely find that a) these packages will get re-merged on the next
install/update, b) you will break some program that depends on that
package which the end result is c) you will waste way too much
time/energy debugging a. & b.

You can also manipulate USE flags to disable various (optional) features
of packages.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Uninstalling KDE packages

2007-01-29 Thread Jürgen Geuter
On Mon, 2007-01-29 at 22:46 +0200, Vlad Dogaru wrote:

> I would like to know if unmerging KWallet (also the eduitainment suite
> and possibly even Kopette and Konqueror) is safe. 

When you install "kde" or "kde-meta" it pulls the whole K Desktop
Environment, including the IM program (kopete) and Kwallet and all that
as dependencies (some will be left out depending on your useflags of
course).

If you unmerge kopete for example, the next merge of kde will pull it
back in cause it is a dependency. 

Konqueror is needed by most KDE programs, it's a really integral part of
kde, so unmerging it will break stuff.

> How can I tell for
> other packages? Is emerge --unmerge enough or do other measures have
> to be taken? Also, in the case of a fresh install, how can I choose
> what KDE installs? Do I have to run emerge kde, or would kdelibs,
> kdebase, etc (along with their dependencies of course) suffice?

You either have to live with installed applications you don't wanna use
or you have to get rid of "kde" and just select the k-applications you
actually want (they'll install what they need). Another way might be to
build your own kde-light package that depends on fewer stuff.

Jürgen

-- 
ICQ #81510866 - http://the-gay-bar.com - MSN [EMAIL PROTECTED]
"Entia non sunt multiplicanda praeter necessitatem"


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


[gentoo-user] Re: Uninstalling KDE packages

2007-01-29 Thread »Q«
In ,
"Vlad Dogaru" <[EMAIL PROTECTED]> wrote:

> after some suggestions from the list I finally emerged KDE to give it
> another try. Even with 256 MiB of RAM, it works quite acceptably, save
> for the startup time. However, I notice it has installed all sorts of
> marginally useful and ultimately resource consuming software such as
> KWallet.

I think you have done this:


But what you really wanted was this:


I expect others can give you a better strategy than I could for
getting from where you are to where you want to be, but it will help
to read that documentation so you'll understand the answers you get. 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE does not auto-mount my USB devices anymore

2007-01-29 Thread Mick
On Sunday 28 January 2007 23:23, Marc Redmann wrote:
> > After finding http://gentoo-wiki.com/TIP_D-BUS_Session_Bus_with_KDM and
> > following it automounting in KDE works again.
>
> Nice to know that there are other ways round that problem ...

What's the difference between system D-BUS (rc-update thingy) and session 
D_BUS (script in .kde/env)?  I'm afraid the wiki doesn't explain it 
adequately for my humble needs.
-- 
Regards,
Mick


pgptvkLK4fh4c.pgp
Description: PGP signature


[gentoo-user] Uninstalling KDE packages

2007-01-29 Thread Vlad Dogaru

Hello,

after some suggestions from the list I finally emerged KDE to give it
another try. Even with 256 MiB of RAM, it works quite acceptably, save
for the startup time. However, I notice it has installed all sorts of
marginally useful and ultimately resource consuming software such as
KWallet. Now, I realise the risks of keeping passwords scattered all
around (sometimes even unencrypted), but in my environment it's not
that great a priority.

I would like to know if unmerging KWallet (also the eduitainment suite
and possibly even Kopette and Konqueror) is safe. How can I tell for
other packages? Is emerge --unmerge enough or do other measures have
to be taken? Also, in the case of a fresh install, how can I choose
what KDE installs? Do I have to run emerge kde, or would kdelibs,
kdebase, etc (along with their dependencies of course) suffice?

Thanks in advance and sorry if I am being ambiguous (it's late)
Vlad

--
How's my English? How about my Netiquette?
Do mail me if something is wrong with my behaviour. Thank you.
--
gentoo-user@gentoo.org mailing list



[gentoo-user] WiFi adaptor playing up

2007-01-29 Thread Mick
My only consolation is that this fault is not intermittent.  :-(

Here's what happened.  I emerged a different (to my tried & tested rt2x00- 
wireless driver).  Then I uninstalled rt2x00-, but I couldn't get the new 
driver to work.  So, I unmerged it, remerged rt2x00- (this is a CVS 
package) and I have not been able to make it work ever since.  I even 
recompiled the kernel in hope of getting it to work, but I can't get it to 
detect any Access Points:
=
# /etc/init.d/net.wlan0 restart
 * Starting wlan0
 *   Loading networking modules for wlan0
 * modules: apipa arping ccwgroup macchanger macnet rename ifplugd 
iwconfig essidnet iptunnel iproute2 pppd system dhcpcd ip6to4
 *   ifplugd provides plug
 *   iwconfig provides wireless
 *   iproute2 provides interface
 *   pppd provides ppp
 *   dhcpcd provides dhcp
 *   Configuring wlan0 for MAC address 00:11:50:18:55:3F ...   [ ok ]
 *   ifplugd does not work on wireless interfaces
 *   Configuring wireless network for wlan0
 *   Scanning for access points
 * no access points found
 *   Couldn't find any access points on wlan0
 *   Failed to configure wireless for wlan0[ !! ]
=

Here's some additional relevant info:
=
# iwlist wlan0 scanning
wlan0 Interface doesn't support scanning : Network is down

# iwconfig wlan0
wlan0 IEEE 802.11g  ESSID:""  
  Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
  RTS thr:off   Fragment thr=2346 B   
  Encryption key:off
  Link Quality:0  Signal level:0  Noise level:0
  Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
  Tx excessive retries:0  Invalid misc:0   Missed beacon:0
=

The device and its modules are loaded:
=
# lsusb
Bus 003 Device 001: ID :  
Bus 002 Device 007: ID 050d:7050 Belkin Components F5D7050 ver 1000 WiFi

# lsmod | grep -i 2500
rt2500usb  31168  0 
80211 157644  2 rt2500usb,rc80211_simple

# lsmod | grep -i  80211
ieee80211softmac   26880  0 
ieee80211_crypt_ccmp 6720  0 
ieee80211_crypt_wep 4032  0 
rc80211_simple  4416  0 
80211 157644  2 rt2500usb,rc80211_simple
=

tcpdump doesn't show much when run immediately after I insert the adaptor:
=
# tcpdump -vv -i wlan0
tcpdump: WARNING: wlan0: no IPv4 address assigned
tcpdump: listening on wlan0, link-type EN10MB (Ethernet), capture size 68 
bytes
tcpdump: pcap_loop: recvfrom: Network is down
0 packets captured
0 packets received by filter
0 packets dropped by kernel
=

Would you perhaps know how I may be able to troubleshoot this thing before I 
lose my temper and throw it out of the window?

PS. I might have un/plugged it during probing/scanning - could that have 
caused some physical damage?
-- 
Regards,
Mick


pgpnLO4qhPijj.pgp
Description: PGP signature


Re: [gentoo-user] broken python howto [SOLVED]

2007-01-29 Thread Daniel Iliev
Albert Hopkins wrote:
>
> First question: what did you do?
>
> # python
> Python 2.4.4 (#1, Jan  2 2007, 19:55:21) 
> [GCC 4.1.1 (Gentoo 4.1.1-r3)] on linux2
> Type "help", "copyright", "credits" or "license" for more
> information.
> >>> import time
> >>> time.__file__
> '/usr/lib/python2.4/lib-dynload/time.so'
>
> Make sure that file exists and that the files that it links to exist.
>
>
>   


First of all thank you very much! :))

Actually I don't know what happened yet. I have another system with the
same hardware, the same software configuration and almost the same world
file. The first thing I checked after your message was:

 "ls -la /usr/lib/python2.4/lib-dynload/"

on the broken system and it showed an empty dir. Next I made the same
check on the healthy system and it was full of files including
"time.so". So, I transfered the whole directory to the broken system and
now "emerge" works fine (at least at first glance).

Thanks again!



[OT]
Strange.
I did

 "qfile time.so"

on the healthy system and it gave no results. Also I did

 "qlist python | grep time.so"

and it gave no results either. I suspect something went wrong on both
systems but I'm not sure what and how to fix it.

Even more strange.
Before sending my question here I tried

 "quickpkg python portage"

and extracted the contents of the archives in the root ("/") dir of the
broken system. This action didn't help. After your answer I checked the
contents of the packages made by "quickpkg":

localhost / # tar jtf python-2.4.3-r4.tbz2  | grep lib-dyn
./usr/lib/python2.4/lib-dynload/

bzip2: (stdin): trailing garbage after EOF ignored

localhost / # tar jtf portage-2.1.1-r2.tbz2  | grep lib-dyn

bzip2: (stdin): trailing garbage after EOF ignored


It appears that python only creates this directory, but I can't figure
out which packages put files in it.

Is it normal?

-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] broken python howto

2007-01-29 Thread Daniel Iliev
Kent Fredric wrote:
>
> The Last time i had one of those problems I cracked out an old binpkg
> I had lying around ( a lesson I learned a while back on freebsd when i
> had make,gcc and tar ALL break due to a common lib dying : moral of
> the story: always have static copies of tar/make/bz2 in binpkgs :| )
>
> I know its a nasty solution, but in times of desperation, a manual
> untarring of a binpkg into the right place will save you much anguish.
>
> I've not read of any other way to save that problem, other than
> hacking up a recent "snapshot" and copying the files into place.
>
> I'm sure theres a better answer than this, but I've yet to see it.


Thanks for the reply.

Yes, I keep this solutions as my last resort before full reinstall. I
just didn't want to take rash course of action before asking for advice
here.


-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] did anything major change in acpi?

2007-01-29 Thread Gabriel Rossetti



Gabriel Rossetti wrote:


Hans-Werner Hilse wrote:

Hi,

On Mon, 29 Jan 2007 14:34:51 + Gabriel Rossetti
<[EMAIL PROTECTED]> wrote:

 
I reinstalled and there for upgraded my kernel form 2.6.18 to 
2.6.19, and also upgraded all the acpi related stuff like acpid. My 
laptop overheats a lot now, it is around 90-96 degrees celcius when

compiling, and before it was a lot cooler (75 max). Has anything
major changed when dealing with acpi?
My acpid is running and my fans are on, but maybe they are not on as 
strong? Is there something new to do now?



acpid probably isn't related to that anyway. Or did you configure some
thermal triggers there? Does your new kernel have proper support for
ACPI (and its thermal module) and (although not important during
compile run) CPUfreq? MCE support? All relevant modules loaded?

I guess it's not the (speed of the) fans, but rather speed throttling
what's not working as desired here.

-hwh
  
The throttling is almost always off, except when I not connected to 
the AC. I did turn off the acpi compat. api, I trying to see if that 
was it. Other than that, I just copied my old config file to the new 
kernel directory and added the new stuff and turned off that I stated 
above. I'll keep you up to date, thanks for sparking the idea.


Cheers,
Gabriel



Well that didn't change anything.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] broken python howto

2007-01-29 Thread Albert Hopkins
On Mon, 2007-01-29 at 20:06 +0200, Daniel Iliev wrote:
> Hi, everyone
> 
> I'm facing the following problem:
> 
> emerge ""
> 
> 
> !!! Failed to complete python imports. These are internal modules for
> !!! python and failure here indicates that you have a problem with
> python
> !!! itself and thus portage is not able to continue processing.
> 
> !!! You might consider starting python with verbose flags to see what
> has
> !!! gone wrong. Here is the information we got for this exception:
> No module named time
> 
> Traceback (most recent call last):
>   File "/usr/bin/emerge", line 28, in ?
> import portage
>   File "/usr/lib/portage/pym/portage.py", line 20, in ?
> import copy, errno, os, re, shutil, string, time, types
> ImportError: No module named time
> 
> 
> How could I fix this? I found an official "howto" on recovering broken
> portage but the problem here is with python, isn't it? I have no
> experience with python other than using the python based tools of
> Gentoo
> (such as portage itself) therefore I'm helpless.
> 
> Any ideas and/or suggestions will be much appreciated. 

First question: what did you do?

# python
Python 2.4.4 (#1, Jan  2 2007, 19:55:21) 
[GCC 4.1.1 (Gentoo 4.1.1-r3)] on linux2
Type "help", "copyright", "credits" or "license" for more
information.
>>> import time
>>> time.__file__
'/usr/lib/python2.4/lib-dynload/time.so'

Make sure that file exists and that the files that it links to exist.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] broken python howto

2007-01-29 Thread Kent Fredric

On 1/30/07, Daniel Iliev <[EMAIL PROTECTED]> wrote:


Any ideas and/or suggestions will be much appreciated.

--


The Last time i had one of those problems I cracked out an old binpkg
I had lying around ( a lesson I learned a while back on freebsd when i
had make,gcc and tar ALL break due to a common lib dying : moral of
the story: always have static copies of tar/make/bz2 in binpkgs :| )

I know its a nasty solution, but in times of desperation, a manual
untarring of a binpkg into the right place will save you much anguish.

I've not read of any other way to save that problem, other than
hacking up a recent "snapshot" and copying the files into place.

I'm sure theres a better answer than this, but I've yet to see it.
--
Kent
ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x| print
"enNOSPicAMreil [EMAIL PROTECTED]"[(2*x)..(2*x+1)]}'
--
gentoo-user@gentoo.org mailing list



[gentoo-user] broken python howto

2007-01-29 Thread Daniel Iliev
Hi, everyone

I'm facing the following problem:

emerge ""


!!! Failed to complete python imports. These are internal modules for
!!! python and failure here indicates that you have a problem with python
!!! itself and thus portage is not able to continue processing.

!!! You might consider starting python with verbose flags to see what has
!!! gone wrong. Here is the information we got for this exception:
No module named time

Traceback (most recent call last):
  File "/usr/bin/emerge", line 28, in ?
import portage
  File "/usr/lib/portage/pym/portage.py", line 20, in ?
import copy, errno, os, re, shutil, string, time, types
ImportError: No module named time


How could I fix this? I found an official "howto" on recovering broken
portage but the problem here is with python, isn't it? I have no
experience with python other than using the python based tools of Gentoo
(such as portage itself) therefore I'm helpless.

Any ideas and/or suggestions will be much appreciated.

-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] [Gentoo-user] Ati-drivers, no DRI

2007-01-29 Thread Timothy Roberts
Timothy Roberts napisał(a):
>> I have a working X environment with these three packages,
>> Ati-drivers-8.32.5, Xorg-7.2, and Gentoo-sources-2.6.19-r4, but I
cannot
>> seem to get Direct Rendering. Here is Xorg.0.log relating to fglrx:

>Did you use eselect?

># eselect opengl set ati

>This might be helpful - try it and reboot your machine. If you already
>did it, please attach your /etc/X11/xorg.conf

Yes, I did do eselect opengl set ati.
This still didn't work, so I just used Primozic's overlay for drm and
video drivers, and I built r300_dri.so from scratch. Seems to work okay,
~1600 FPS on a Radeon 9550. 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Traffic volumes for distfiles mirror

2007-01-29 Thread Daniel da Veiga

On 1/29/07, Alan McKinnon <[EMAIL PROTECTED]> wrote:

On Monday 29 January 2007 11:15, Neil Bothwick wrote:
> On Mon, 29 Jan 2007 00:47:47 -0800, kashani wrote:
> > I wouldn't bother with a full mirror. Set a local rsync server that
> > updates once a day and use http-replicator. That would be far less
> > bandwidth than trying to keep a local dist server current.
>
> If daytime bandwidth is a particular issue, you can set up a cron
> task on one of more machines (depending on the variety of packages in
> use) to do
>
> emerge --sync && emerge -uDNf world
>
> to prime the cache during the night. That should reduce your daytime
> downloads to almost zero.

The daytime bandwidth is indeed the issue. This is South Africa, where
technologically everything is top-notch first-world. Except for
bandwidth. By local standards our pipe is quite big - a whopping 512k.
Shared amongst two offices and 140 users. At least I get to do whatever
I want with the bandwidth after hours - no real users to compete with,
just their torrents :-)

I already use a fairly complicate solution with emerge -pvf and wget in
a cron on one of the fileservers, but it's getting cumbersome. And I'd
rather not maintain an entire gentoo install on a server simply to act
as a proxy. Would I be right in saying that I'd have to keep
the "proxy" machine up to date to avoid the inevitable blockers that
will happen in short order if I don't?

I've been looking into kashani's suggestion of http-replicator, this
might be a good interim solution till I can come up with something
better suited to our needs.



I'm using a different setup, of course its a small number of machines
(like 5 or 6), but it works great. I use NFS to mount
/usr/portage/distfiles on a server sharing this dir. Each time someone
request a file, it goes directly to the shared dir, being available
for all machines. This way, its only 1 request per new file, and only
files that are needed for update of the particular software most
machines have in common.

--
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] Traffic volumes for distfiles mirror

2007-01-29 Thread Neil Bothwick
On Mon, 29 Jan 2007 17:38:07 +0100, Harm Geerts wrote:

> > I use a slightly different approach here, with an NFS mounted $DISTDIR
> > for all machines and one of them doing emerge -f world each morning.
> > it's simpler to set up that http-replicator but is less scalable
> > since you'll get problems if one machines tries to download a file
> > while another is partway through downloading it.  
> 
> portage uses locking for distfiles so if your share is writeable you
> wouldn't have any need for http-replicator. The locks are kept in
> $DISTDIR/.locks/
> 
> I'm sharing my distfiles over nfs myself and I haven't had any problems.
> portage also takes care of stale lockfiles, the masterclient truncates
> the lockfile and the other clients fill the lockfile with data. If a
> threshold is met the lock is discarded.

You're absolutely right. I set things up like this a long time ago, when
portage's lockfiles didn't work over NFS. I've been avoiding the
"problem" for so long I'd forgotten it was fixed :(


-- 
Neil Bothwick

Computer apathy error: don't bother striking any key.


signature.asc
Description: PGP signature


Re: [gentoo-user] Ati-Drivers, no DRI

2007-01-29 Thread Jan Stępień
Timothy Roberts napisał(a):
> I have a working X environment with these three packages,
> Ati-drivers-8.32.5, Xorg-7.2, and Gentoo-sources-2.6.19-r4, but I cannot
> seem to get Direct Rendering. Here is Xorg.0.log relating to fglrx:

Did you use eselect?

# eselect opengl set ati

This might be helpful - try it and reboot your machine. If you already
did it, please attach your /etc/X11/xorg.conf

Regards,
Jan Stępień

-- 
Mailjan at stepien com pl
Jabber  jano at jabber aster pl
GG  1894343
Web http://stepien.com.pl



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Traffic volumes for distfiles mirror

2007-01-29 Thread Harm Geerts
On Mon, January 29, 2007 13:11, Neil Bothwick wrote:
> On Mon, 29 Jan 2007 11:50:34 +0200, Alan McKinnon wrote:
>
>> I already use a fairly complicate solution with emerge -pvf and wget in
>> a cron on one of the fileservers, but it's getting cumbersome. And I'd
>> rather not maintain an entire gentoo install on a server simply to act
>> as a proxy. Would I be right in saying that I'd have to keep
>> the "proxy" machine up to date to avoid the inevitable blockers that
>> will happen in short order if I don't?
>>
>> I've been looking into kashani's suggestion of http-replicator, this
>> might be a good interim solution till I can come up with something
>> better suited to our needs.
>
> I was suggesting the emerge -uDNf world in combination in
> http-replicator. The first request forces http-replicator to download the
> files, all other request for those files are then handled locally. So if
> you run this on a suitable cross-section of machines overnight,
> http-replicator's cache will be primed by the time you stumble
> bleary-eyed into the office.
>
> If all your machines run a similar mix of software, say KDE desktops, you
> only need to run the cron task on one of them.
>
> I use a slightly different approach here, with an NFS mounted $DISTDIR
> for all machines and one of them doing emerge -f world each morning. it's
> simpler to set up that http-replicator but is less scalable since you'll
> get problems if one machines tries to download a file while another is
> partway through downloading it.

portage uses locking for distfiles so if your share is writeable you
wouldn't have any need for http-replicator. The locks are kept in
$DISTDIR/.locks/

I'm sharing my distfiles over nfs myself and I haven't had any problems.
portage also takes care of stale lockfiles, the masterclient truncates the
lockfile and the other clients fill the lockfile with data. If a threshold
is met the lock is discarded.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] did anything major change in acpi?

2007-01-29 Thread Gabriel Rossetti


Hans-Werner Hilse wrote:

Hi,

On Mon, 29 Jan 2007 14:34:51 + Gabriel Rossetti
<[EMAIL PROTECTED]> wrote:

  
I reinstalled and there for upgraded my kernel form 2.6.18 to 2.6.19, 
and also upgraded all the acpi related stuff like acpid. My laptop 
overheats a lot now, it is around 90-96 degrees celcius when

compiling, and before it was a lot cooler (75 max). Has anything
major changed when dealing with acpi?
My acpid is running and my fans are on, but maybe they are not on as 
strong? Is there something new to do now?



acpid probably isn't related to that anyway. Or did you configure some
thermal triggers there? Does your new kernel have proper support for
ACPI (and its thermal module) and (although not important during
compile run) CPUfreq? MCE support? All relevant modules loaded?

I guess it's not the (speed of the) fans, but rather speed throttling
what's not working as desired here.

-hwh
  
The throttling is almost always off, except when I not connected to the 
AC. I did turn off the acpi compat. api, I trying to see if that was it. 
Other than that, I just copied my old config file to the new kernel 
directory and added the new stuff and turned off that I stated above. 
I'll keep you up to date, thanks for sparking the idea.


Cheers,
Gabriel


--
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] net-wireless/hostapd package maintainer

2007-01-29 Thread
> -Original Message-
> From: Alexis Lahouze [mailto:[EMAIL PROTECTED]
> Sent: 29 January 2007 15:43
> To: gentoo-user@lists.gentoo.org
> Subject: [gentoo-user] net-wireless/hostapd package maintainer
> 
> 
> Hi!
> 
> Is there anyone who maintains this package?
> Last version in portage is 0.5.4 but last release is 0.5.7
> 
> There is an opened bug into bugzilla:
> http://bugs.gentoo.org/show_bug.cgi?id=150769
> -- 
> gentoo-user@gentoo.org mailing list
> 
> 

I'm not sure of this but maybe the folks on the gentoo-dev mailing list would 
know better who maintains this package?

--
djn

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Hard Drive Crash - Please Help

2007-01-29 Thread Grant

> > > The thing I'm confused about is how I can get anything back to the
> > > laptop when it won't even have an OS on it.  I could boot a LiveCD but
> > > I don't think I'll be able to connect to the wireless network.
> >
> > Hum...that's pretty much a show stopper. In that case, setting up a
> > wired network (if they have wlan, these machines would have wired lan as
> > well, no?) or buying that 2.5" IDE adapter is probably the least hassle.
>
> Do you think it's a lost cause anyway since after a format/reinstall
> the system still detects errors on the disk?
>
> - Grant

Grant,
   At this point if you cannot get a clean bill of health for this
drive from 2 or 3 different tools then it seems the drive is shot and
needs to be replaced. I cannot imagine that it is a good use of your
time installing Gentoo only to have it fail in the middle of the
install or worse yet a day or two after you finish and start using the
machine again.

   Are laptop hard drives really that expensive or hard to replace? I
should think that you could get a small computer shop to drop
something in for under $100, depending on your needs of course.

   Anyway, don't fight the trend. It seems this drive, or possibly
this laptop but probably the drive, needs to be fixed. Without a solid
laptop foundation your Gentoo building will soon come crashing down.


Thanks to everyone for helping me out here.  I do think the drive is damaged.

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



[gentoo-user] net-wireless/hostapd package maintainer

2007-01-29 Thread Alexis Lahouze

Hi!

Is there anyone who maintains this package?
Last version in portage is 0.5.4 but last release is 0.5.7

There is an opened bug into bugzilla:
http://bugs.gentoo.org/show_bug.cgi?id=150769
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Ati-Drivers, no DRI

2007-01-29 Thread Timothy Roberts
I have a working X environment with these three packages,
Ati-drivers-8.32.5, Xorg-7.2, and Gentoo-sources-2.6.19-r4, but I cannot
seem to get Direct Rendering. Here is Xorg.0.log relating to fglrx:


(II) LoadModule: "fglrx"
(II) Loading /usr/lib/xorg/modules/drivers//fglrx_drv.so
(II) Module fglrx: vendor="FireGL - ATI Technologies Inc."
(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1)
found
(II) fglrx(0): pEnt->device->identifier=0x81f7e90
(II) fglrx(0): === [atiddxPreInit] === begin, [x]
(II) fglrx(0): PCI bus 1 card 0 func 0
(**) fglrx(0): Depth 24, (--) framebuffer bpp 32
(II) fglrx(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
(==) fglrx(0): Default visual is TrueColor
(**) fglrx(0): Option "DPMS" "true"
(==) fglrx(0): RGB weight 888
(II) fglrx(0): Using 8 bits per RGB (8 bit DAC)
(==) fglrx(0): Gamma Correction for I is 0x06419064
(==) fglrx(0): Gamma Correction for II is 0x06419064
(==) fglrx(0): Buffer Tiling is ON
(II) fglrx(0): Primary V_BIOS segment is: 0xc000
(--) fglrx(0): Chipset: "ATI RADEON 9550 (RV350 LX 4153)" (Chipset =
0x4153)
(--) fglrx(0): (PciSubVendor = 0x1002, PciSubDevice = 0x0402)
(--) fglrx(0): board vendor info: original ATI graphics adapter
(--) fglrx(0): Linear framebuffer (phys) at 0xc000
(--) fglrx(0): MMIO registers at 0xe500
(==) fglrx(0): ROM-BIOS at 0x000c
(II) fglrx(0): VESA BIOS detected
(II) fglrx(0): VESA VBE Version 2.0
(II) fglrx(0): VESA VBE Total Mem: 16384 kB
(II) fglrx(0): VESA VBE OEM: ATI RADEON 9600 PRO
(II) fglrx(0): VESA VBE OEM Software Rev: 1.0
(II) fglrx(0): VESA VBE OEM Vendor: ATI Technologies Inc.
(II) fglrx(0): VESA VBE OEM Product: V350
(II) fglrx(0): VESA VBE OEM Product Rev: 01.00
(EE) fglrx: Failed to load module "drm" (module does not exist, 0)
(--) fglrx(0): VideoRAM: 131072 kByte, Type: DDR SGRAM / SDRAM
(II) fglrx(0): AGP card detected
(II) fglrx(0): board/chipset is supported by this driver (original ATI
board)
(II) fglrx(0): Connected Display1: CRT on primary DAC [crt1]
(II) fglrx(0): Display1 EDID data ---
(II) fglrx(0): Manufacturer: ADI  Model: 1130  Serial#: 1
(II) fglrx(0): Year: 2004  Week: 28
(II) fglrx(0): EDID Version: 1.2
(II) fglrx(0): Analog Display Input,  Input Voltage Level: 0.700/0.700 V
(II) fglrx(0): Sync:  Separate
(II) fglrx(0): Max H-Image Size [cm]: horiz.: 32  vert.: 24
(II) fglrx(0): Gamma: 2.26
(II) fglrx(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display
(II) fglrx(0): First detailed timing is preferred mode
(II) fglrx(0): redX: 0.639 redY: 0.323   greenX: 0.275 greenY: 0.597
(II) fglrx(0): blueX: 0.143 blueY: 0.062   whiteX: 0.283 whiteY: 0.296
(II) fglrx(0): Supported VESA Video Modes:
(II) fglrx(0): [EMAIL PROTECTED]
(II) fglrx(0): [EMAIL PROTECTED]
(II) fglrx(0): [EMAIL PROTECTED]
(II) fglrx(0): [EMAIL PROTECTED]
(II) fglrx(0): [EMAIL PROTECTED]
(II) fglrx(0): [EMAIL PROTECTED]
(II) fglrx(0): [EMAIL PROTECTED]
(II) fglrx(0): [EMAIL PROTECTED]
(II) fglrx(0): [EMAIL PROTECTED]
(II) fglrx(0): [EMAIL PROTECTED] (interlaced)
(II) fglrx(0): [EMAIL PROTECTED]
(II) fglrx(0): [EMAIL PROTECTED]
(II) fglrx(0): [EMAIL PROTECTED]
(II) fglrx(0): Manufacturer's mask: 0
(II) fglrx(0): Supported Future Video Modes:
(II) fglrx(0): #0: hsize: 640  vsize 480  refresh: 85  vid: 22833
(II) fglrx(0): #1: hsize: 800  vsize 600  refresh: 85  vid: 22853
(II) fglrx(0): #2: hsize: 1024  vsize 768  refresh: 85  vid: 22881
(II) fglrx(0): #3: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
(II) fglrx(0): Supported additional Video Mode:
(II) fglrx(0): clock: 94.5 MHz   Image Size:  310 x 230 mm
(II) fglrx(0): h_active: 1024  h_sync: 1072  h_sync_end 1168 h_blank_end
1376 h_border: 0
(II) fglrx(0): v_active: 768  v_sync: 769  v_sync_end 772 v_blanking:
808 v_border: 0
(II) fglrx(0): Monitor name: ADI MicroScan
(II) fglrx(0): Monitor name:  V77
(II) fglrx(0): Serial No: 01
(II) fglrx(0): EDID (in hex):
(II) fglrx(0):  0000048930110100
(II) fglrx(0):  1c0e01026820187eeaa352469824
(II) fglrx(0):  0f484bbfde0031594559615981800101
(II) fglrx(0):  010101010101ea240060410028303060
(II) fglrx(0):  130036e6101e00fc00414449
(II) fglrx(0):  204d6963726f5363616e00fc0020
(II) fglrx(0):  5637370a202020202020202000ff
(II) fglrx(0):  00303030303030303030310a202000fa
(II) fglrx(0): End of Display1 EDID data 
(II) fglrx(0): Primary Controller - CRT on primary DAC
(II) fglrx(0): Internal Desktop Setting: 0x0008
(II) fglrx(0): POWERplay version 3.  1 power state available:
(II) fglrx(0):   1. 250/196MHz @ 50Hz [enable load balancing]
(==) fglrx(0): Qbs disabled
(==) fglrx(0): FAST_SWAP disabled
(==) fglrx(0):  PseudoColor visuals disabled
(==) fglrx(0): Using gamma correction (1.0, 1.0, 1.0)
(==) fglrx(0): Center Mode is disabled 
(==) fglrx(0): TMDS coherent mode is enabled 
(II) fglrx(0): Total of 35 modes found for primary display.
(--) fglrx(0): Virtual size is 1280x1024 (pitch 0)
(**) fglrx(0): *Mode "12

Re: [gentoo-user] did anything major change in acpi?

2007-01-29 Thread Hans-Werner Hilse
Hi,

On Mon, 29 Jan 2007 14:34:51 + Gabriel Rossetti
<[EMAIL PROTECTED]> wrote:

> I reinstalled and there for upgraded my kernel form 2.6.18 to 2.6.19, 
> and also upgraded all the acpi related stuff like acpid. My laptop 
> overheats a lot now, it is around 90-96 degrees celcius when
> compiling, and before it was a lot cooler (75 max). Has anything
> major changed when dealing with acpi?
> My acpid is running and my fans are on, but maybe they are not on as 
> strong? Is there something new to do now?

acpid probably isn't related to that anyway. Or did you configure some
thermal triggers there? Does your new kernel have proper support for
ACPI (and its thermal module) and (although not important during
compile run) CPUfreq? MCE support? All relevant modules loaded?

I guess it's not the (speed of the) fans, but rather speed throttling
what's not working as desired here.

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



[gentoo-user] did anything major change in acpi?

2007-01-29 Thread Gabriel Rossetti

Hello,

I reinstalled and there for upgraded my kernel form 2.6.18 to 2.6.19, 
and also upgraded all the acpi related stuff like acpid. My laptop 
overheats a lot now, it is around 90-96 degrees celcius when compiling, 
and before it was a lot cooler (75 max). Has anything major changed when 
dealing with acpi?
My acpid is running and my fans are on, but maybe they are not on as 
strong? Is there something new to do now?


Thanks,
Gabriel
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Symlinking /usr/portage/distfiles

2007-01-29 Thread Albert Hopkins
On Mon, 2007-01-29 at 09:38 +0200, Alan McKinnon wrote:
> On Saturday 27 January 2007 18:40, Vlad Dogaru wrote:
> > One question though: is there a reason why PORTAGE_TMPDIR does not
> > default to /tmp?

I've been running PORTAGE_TMPDIR in /tmp for at least a couple of years
without any issues (actually /var/tmp/portage, but /var/tmp symlinks
to /tmp on most of my systems).

> The real nature of /tmp isn't adequate for portage, that's why it uses a 
> different one. If memory serves, the FHS defines /tmp as a temporary 
> place to store files, and the continued existence of the file after a 
> process has finished is not guaranteed. In other words, if there are no 
> existing locks on a file, it's up for summary deletion. This could be 
> fatal in a big compile - imagine if some cleaner process nuked a binary 
> compiled 4 hours ago in an openoffice compile

I'm not sure if your memory is correct, but I've always been told
"never put anything in /tmp that you want to survive a reboot".  But
still using your def I suppose that process would be 'emerge' which, on
the default config, deletes the files before it finishes anyway.

Most cleaners have sane mtime/atime parameters that they don't interfere
with merges.  The the default Gentoo tmpwatch config for /tmp is 168
(336 hrs for /var/tmp/portage). I've never had an emerge take 168 hours.
If you do, you can adjust that parameter. I do also have DISTDIR
pointing to /var/portage/distfiles and I have a different policy for
tmpwatch for that.

> But the best reason is that some compiles are HUGE. Openoffice can take 
> up all of 5G with everything enabled, and as /tmp is often a tmpfs, 
> it's highly unlikely most users will have enough space on /tmp to 
> emerge it. 

Not that that's ever been a problem for me but you can always
temporarily divert it when compiling "HUGE" jobs.

# PORTAGE_TMPDIR=/var/scratch/portage emerge openoffice

IMO it's more than worth the convenience/performance of running it
in /tmp than not.  As I've said I've been doing it for a long while and
I'd don't remember ever having files "disappear" or running out of space
on /tmp.  

But if you want to discuss FHS let's talk about how /usr/portage doesn't
belong in /usr ;-)

-m

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] package.mask syntax

2007-01-29 Thread Bo Ørsted Andresen
On Monday 29 January 2007 13:04:08 Martins wrote:
> Could you hint me on this, i want to mask whole tree on overlay sabayon
> like this:
>
> kde-base/*
> kde-misc/*
>
> to get every package masked there, even those who probaly will be added
> later. OK, i know i can remove that overlay but I think i still need it.

As explained in bug #140002 wildcards are not supported in package.mask. What 
is the purpose anyway? Why not just remove the overlay entirely? Or make a 
partial checkout of the overlay (really that is the best solution if you want 
only a few packages from a big overlay)? What do you use to sync it?

-- 
Bo Andresen


pgpzJsuPudo0c.pgp
Description: PGP signature


Re: [gentoo-user] Traffic volumes for distfiles mirror

2007-01-29 Thread Neil Bothwick
On Mon, 29 Jan 2007 11:50:34 +0200, Alan McKinnon wrote:

> I already use a fairly complicate solution with emerge -pvf and wget in 
> a cron on one of the fileservers, but it's getting cumbersome. And I'd 
> rather not maintain an entire gentoo install on a server simply to act 
> as a proxy. Would I be right in saying that I'd have to keep 
> the "proxy" machine up to date to avoid the inevitable blockers that 
> will happen in short order if I don't?
> 
> I've been looking into kashani's suggestion of http-replicator, this 
> might be a good interim solution till I can come up with something 
> better suited to our needs.

I was suggesting the emerge -uDNf world in combination in
http-replicator. The first request forces http-replicator to download the
files, all other request for those files are then handled locally. So if
you run this on a suitable cross-section of machines overnight,
http-replicator's cache will be primed by the time you stumble
bleary-eyed into the office.

If all your machines run a similar mix of software, say KDE desktops, you
only need to run the cron task on one of them.

I use a slightly different approach here, with an NFS mounted $DISTDIR
for all machines and one of them doing emerge -f world each morning. it's
simpler to set up that http-replicator but is less scalable since you'll
get problems if one machines tries to download a file while another is
partway through downloading it.


-- 
Neil Bothwick

Most software is about as user-friendly as a cornered rat!


signature.asc
Description: PGP signature


[gentoo-user] package.mask syntax

2007-01-29 Thread Martins
Hi,

Could you hint me on this, i want to mask whole tree on overlay sabayon like 
this:

kde-base/*
kde-misc/*

to get every package masked there, even those who probaly will be added later. 
OK, i know i can remove that overlay but I think i still need it.

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



Re: [gentoo-user] Problem installing subversion

2007-01-29 Thread Bo Ørsted Andresen
On Monday 29 January 2007 10:51:48 Jeffrey Rollin wrote:
> I'm having the following problem installing subversion:
>
> Traceback (most recent call last):
>   File "/usr/bin/depend-java-query", line 85, in ?
> (options, args) = parser.parse_args()
>   File "/usr/lib/python2.4/optparse.py", line 1275, in parse_args
> stop = self._process_args(largs, rargs, values)
>   File "/usr/lib/python2.4/optparse.py", line 1315, in _process_args
> self._process_long_opt(rargs, values)
>   File "/usr/lib/python2.4/optparse.py", line 1390, in _process_long_opt
> option.process(opt, value, values, self)
>   File "/usr/lib/python2.4/optparse.py", line 707, in process
> return self.take_action(
>   File "/usr/lib/python2.4/optparse.py", line 726, in take_action
> self.callback(self, opt, value, parser, *args, **kwargs)
>   File "/usr/bin/depend-java-query", line 49, in get_vm
> vm = verman.get_vm(value)
>   File "/usr/share/java-config-2/pym/java_config/VersionManager.py", line
> 151, in get_vm
> raise Exception("Couldn't find suitable VM. Possible invalid dependency
> string.")
> Exception: Couldn't find suitable VM. Possible invalid dependency string.
>  * Unable to determine VM for building from dependencies:
[SNIP]
> Please help!

My guess is that this is equivalent to bug #152817 [1]. You probably need to 
install a version 1.4 VM. If that doesn't help you provide the output of 
`java-check-environment`, `java-config -L` and `emerge --info`. If it does 
help you it may be worth filing a bug about this.

[1] https://bugs.gentoo.org/show_bug.cgi?id=152817

-- 
Bo Andresen


pgpHv0hG5P4SE.pgp
Description: PGP signature


Re: [gentoo-user] network scanning with gentoo / hplip / hpaio

2007-01-29 Thread Luigi Pinna
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[...]
> The second problem is that the HP officejet 7310
> at location 192.168.1.50 is not found

I had the same problem with hp-setup, can you print? I can using cups.
It seems that hp-setup use a wrong syntax to contact the device via 
network. Anyone installed successfully this kind of device? On 
linuxprinting.org says almost working...


- -- 
Public key GPG(0xC5CB65CD) on
hkp://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFvdsr5ZpKrsXLZc0RApljAKCfzMJ5pbq62e5wxBEaIFMeFakxOwCfed4A
oCnec0HIB4x+QDan8Ukr9Us=
=Wmjc
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Problem installing subversion

2007-01-29 Thread Jeffrey Rollin
Hi

I'm having the following problem installing subversion:

Traceback (most recent call last):
  File "/usr/bin/depend-java-query", line 85, in ?
(options, args) = parser.parse_args()
  File "/usr/lib/python2.4/optparse.py", line 1275, in parse_args
stop = self._process_args(largs, rargs, values)
  File "/usr/lib/python2.4/optparse.py", line 1315, in _process_args
self._process_long_opt(rargs, values)
  File "/usr/lib/python2.4/optparse.py", line 1390, in _process_long_opt
option.process(opt, value, values, self)
  File "/usr/lib/python2.4/optparse.py", line 707, in process
return self.take_action(
  File "/usr/lib/python2.4/optparse.py", line 726, in take_action
self.callback(self, opt, value, parser, *args, **kwargs)
  File "/usr/bin/depend-java-query", line 49, in get_vm
vm = verman.get_vm(value)
  File "/usr/share/java-config-2/pym/java_config/VersionManager.py", line 151, 
in get_vm
raise Exception("Couldn't find suitable VM. Possible invalid dependency 
string.")
Exception: Couldn't find suitable VM. Possible invalid dependency string.
 * Unable to determine VM for building from dependencies:
NV_DEPEND: apache2? ( =net-www/apache-2* )
>=dev-libs/apr-util-0.9.5
python? ( >=dev-lang/python-2.0 )
perl? ( >=dev-lang/perl-5.8.6-r6
!=dev-lang/perl-5.8.7 )
ruby? ( >=dev-lang/ruby-1.8.2 )
!nowebdav? ( >=net-misc/neon-0.26 )
berkdb? ( =sys-libs/db-4* )
zlib? ( sys-libs/zlib )
java? ( >=virtual/jdk-1.4 )
emacs? ( virtual/emacs )
java? ( >=virtual/jdk-1.4 )
>=sys-devel/autoconf-2.59  java? ( >=dev-java/java-config-2.0.19-r1 
>=sys-apps/portage-2.1_pre1 )
VNEED:

!!! ERROR: dev-util/subversion-1.3.2-r3 failed.
Call stack:
  ebuild.sh, line 1562:   Called dyn_setup
  ebuild.sh, line 664:   Called pre_pkg_setup
  java-pkg-opt-2.eclass, line 51:   Called java-pkg-opt-2_pkg_setup
  java-pkg-opt-2.eclass, line 38:   Called java-pkg_init
  java-utils-2.eclass, line 1723:   Called java-pkg_switch-vm
  java-utils-2.eclass, line 2111:   Called die

!!! Failed to determine VM for building.
!!! If you need support, post the topmost build error, and the call stack if 
relevant.

!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info

Please help!

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



Re: [gentoo-user] Traffic volumes for distfiles mirror

2007-01-29 Thread Alan McKinnon
On Monday 29 January 2007 11:15, Neil Bothwick wrote:
> On Mon, 29 Jan 2007 00:47:47 -0800, kashani wrote:
> > I wouldn't bother with a full mirror. Set a local rsync server that
> > updates once a day and use http-replicator. That would be far less
> > bandwidth than trying to keep a local dist server current.
>
> If daytime bandwidth is a particular issue, you can set up a cron
> task on one of more machines (depending on the variety of packages in
> use) to do
>
> emerge --sync && emerge -uDNf world
>
> to prime the cache during the night. That should reduce your daytime
> downloads to almost zero.

The daytime bandwidth is indeed the issue. This is South Africa, where 
technologically everything is top-notch first-world. Except for 
bandwidth. By local standards our pipe is quite big - a whopping 512k. 
Shared amongst two offices and 140 users. At least I get to do whatever 
I want with the bandwidth after hours - no real users to compete with, 
just their torrents :-)

I already use a fairly complicate solution with emerge -pvf and wget in 
a cron on one of the fileservers, but it's getting cumbersome. And I'd 
rather not maintain an entire gentoo install on a server simply to act 
as a proxy. Would I be right in saying that I'd have to keep 
the "proxy" machine up to date to avoid the inevitable blockers that 
will happen in short order if I don't?

I've been looking into kashani's suggestion of http-replicator, this 
might be a good interim solution till I can come up with something 
better suited to our needs.

Thanks

alan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg-server and ati-drivers 'bussiness'

2007-01-29 Thread Jacques Montier
Alan McKinnon a gentiment tapote:
> On Saturday 27 January 2007 12:30, Martins wrote:
>   
>>> I'm having the same problems. ati-drivers insists on using
>>> X.org-7.1.0.0 or earlier, obviously because the drivers were
>>> compiled against that version.
>>>
>>> I don't have the ati-drivers source code so I can't tell if there
>>> was an ABI change that the driver enforces, or if ATI simply
>>> hardcoded the drivers to fail. I'm betting on the latter
>>>
>>> In either case the solution would appear to be a hard dependency on
>>> <= X.org-7.1.0.0 in the ebuild. Have you submitted a bug to bgo?
>>>
>>> alan
>>>   
>> no, i didnt submit bug due to I dont understand what bug it is
>> related to - xorg or ati-drivers or both ;)
>> 
>
> Here's an update:
>
> I downloaded and emerged xorg-server-1.2.0, xorg-x11-7.2 and 
> ati-drivers-8.32.5 over the weekend and it all went smoothly. So it 
> would seem that ati-drivers does need a hard dependency on 
> 
> alan
>   
Hi,

I upgraded xorg-server, xorg-x11 and all the stuff :
xf86-input-keyboard, etc... to 7.2.
But ati-drivers-8.32.5 doesn't work anymore with ati radeon 9600 graphic
card.
So I unmerged ati-drivers, merged x11-drm and I use now Open Source
radeon driver.
It works fine with 3D.

Cheers

--
Jacques

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Traffic volumes for distfiles mirror

2007-01-29 Thread Neil Bothwick
On Mon, 29 Jan 2007 00:47:47 -0800, kashani wrote:

> I wouldn't bother with a full mirror. Set a local rsync server that 
> updates once a day and use http-replicator. That would be far less 
> bandwidth than trying to keep a local dist server current.

If daytime bandwidth is a particular issue, you can set up a cron task on
one of more machines (depending on the variety of packages in use) to do

emerge --sync && emerge -uDNf world

to prime the cache during the night. That should reduce your daytime
downloads to almost zero.


-- 
Neil Bothwick

Death is proven to be 99.9% fatal to all laboratory rats.


signature.asc
Description: PGP signature


Re: [gentoo-user] Traffic volumes for distfiles mirror

2007-01-29 Thread kashani

Alan McKinnon wrote:

Hi,

I'm considering setting up a local distfiles and portage mirror here in 
the office. Bandwidth volumes from updates during the day are starting 
to make the network admin nervous. But first I need some current 
numbers, does anyone know approximate answers to these questions:


1. How big is a complete the distfiles mirror currently?
2. On average, how much daily bandwidth to keep it up to date?
3. How much daily bandwidth does updating the portage tree use?



I wouldn't bother with a full mirror. Set a local rsync server that 
updates once a day and use http-replicator. That would be far less 
bandwidth than trying to keep a local dist server current.


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



[gentoo-user] Traffic volumes for distfiles mirror

2007-01-29 Thread Alan McKinnon
Hi,

I'm considering setting up a local distfiles and portage mirror here in 
the office. Bandwidth volumes from updates during the day are starting 
to make the network admin nervous. But first I need some current 
numbers, does anyone know approximate answers to these questions:

1. How big is a complete the distfiles mirror currently?
2. On average, how much daily bandwidth to keep it up to date?
3. How much daily bandwidth does updating the portage tree use?

Thanks,

alan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-29 Thread Alan McKinnon
On Saturday 27 January 2007 09:58, Jan Stępień wrote:

> Is it possible to enable some kind of a chooser which would allow me
> to choose whether I'd like to launch Xgl or Xorg? While working on my
> /usr/share/gdm/default.conf I've spotted a server called 'chooser'.
> Could you tell me what is this server doing and could it be a
> solution for my problem?

I use a workaround to accomplish something similar. You'll have to adapt 
it as I use startx not a display manager. I have two ServerLayout 
sections in xorg.conf (RADEON and FGLRX), and xinit takes a -layout 
argument to choose between them. Like this:

startx -- -layout RADEON

The -- is required so that startx won't try and process the following 
arguments, but rather pass them through to xinit.

alan


-- 
gentoo-user@gentoo.org mailing list