[gentoo-user] opening movies in the current mplayer window

2007-03-14 Thread Alex Fansky
Hello.
I am using kde-3.5.6 and gmplayer as frontend to mplayer 1.0rc1-4.1.2. When I 
doubleclick on the video file, it is opened in new mplayer window. Is there 
any ways to make it be played in already runned mplayer instead of previously 
opened movie, like it do MS Windows video players?
-- 
Alex "V" Fansky
Minsk, BSU


pgpR7jG4ffuNO.pgp
Description: PGP signature


[gentoo-user] Bad sound card drivers?

2007-03-14 Thread Grant

I recently switched laptops and although the new one is faster, the
sound is much worse.  lspci reports the sound card this way:

ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)

The problem is I need to use a sip phone (sjphone) and I can barely
make out what the other person is saying.  Is there any way I can try
to improve the sound quality/performance?  I am using the in-kernel
alsa drivers.  Is it worth a try to emerge the ones in portage instead
or is that unlikely to help?

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



Re: [gentoo-user] RAID

2007-03-14 Thread kashani

Dan Farrell wrote:


in reality, though, I think the best performance would probaby involve
just using the fast drive.  RAID introduces too much overhead to make
up for itself in this situation I think.  


I'm betting the act of seeking across the platters on the fast drive for 
two separate partitions on the disk makes performance truly awful. The 
idea of separate stripe sizes in the original post makes sense for 
shifting more I/O to drive A, the fast one, without causing weird things 
to happen on the physical disc that the software can't optimize for.


However I think messing with stripe sizes is not something Linux 
software raid (or any hardware raid I've dealt with) supports.


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



Re: [gentoo-user] mounting my digital camera storage... not!

2007-03-14 Thread Dan Farrell
On Wed, 14 Mar 2007 16:10:40 -0700
[EMAIL PROTECTED] wrote:

> Hello, list --
> 
> dmesg sez:
> 
> usb-storage: device found at 7
> usb-storage: waiting for device to settle before scanning
> scsi 5:0:0:0: Direct-Access KM   DiMAGE Z61.00 PQ: 0
> ANSI: 0 CCS usb-storage: device scan complete
> 
> 
> Why can't I get a /dev block device to mount this?
> 
> I know I must be missing something simple and obvious.
> 
> from /proc/config.gz:
> 
> CONFIG_SCSI=y
> CONFIG_SCSI_NETLINK=y
> CONFIG_SCSI_SPI_ATTRS=y
> CONFIG_SCSI_FC_ATTRS=y
> CONFIG_SCSI_AIC7XXX=y
> CONFIG_SCSI_AIC79XX=y
> 
> 
> CONFIG_USB_ARCH_HAS_HCD=y
> CONFIG_USB_ARCH_HAS_OHCI=y
> CONFIG_USB_ARCH_HAS_EHCI=y
> CONFIG_USB=y
> CONFIG_USB_DEVICEFS=y
> CONFIG_USB_EHCI_HCD=y
> CONFIG_USB_OHCI_HCD=y
> CONFIG_USB_OHCI_LITTLE_ENDIAN=y
> CONFIG_USB_UHCI_HCD=y
> CONFIG_USB_PRINTER=y
> CONFIG_USB_STORAGE=y
> CONFIG_USB_HID=y
> CONFIG_USB_HIDINPUT=y
> CONFIG_USB_MON=y
> 
> 
> Any help appreciated.
> 

do you have scsi block disk support? 

CONFIG_BLK_DEV_SD=y
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dhcpcd won't run at certain network points

2007-03-14 Thread Dan Farrell
On Thu, 15 Mar 2007 01:16:28 +0100
Patrice Bouvard <[EMAIL PROTECTED]> wrote:

> Le Wed, 14 Mar 2007 16:57:04 +0200,
> Alan McKinnon <[EMAIL PROTECTED]> a écrit :
> 
> 
> > don't want to have to keep editing resolv.conf
> 
> Then, don't edit it every time you change network. Just keep it with
> a lot of entries. If one doesn't work, the next one will be used.
> Name resolution could be a little bit slow with a lot of entries and
> only the last one working.
> 
> Is there any problem to this kind of configuration ? 
> 
Can you have more than one 'search' or 'domain' line maybe.  Or if you
don't need these lines.  Or maybe if you define LOCALDOMAIN.  
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] RAID

2007-03-14 Thread Dan Farrell
On Tue, 13 Mar 2007 08:14:28 -
"Nelson, David \(ED, PAR&D\)" <[EMAIL PROTECTED]> wrote:

> > -Original Message-
> > From: mwq [mailto:[EMAIL PROTECTED]
> > Sent: 10 March 2007 21:00
> > To: gentoo-user@lists.gentoo.org
> > Subject: [gentoo-user] RAID
> > 
> > 
> > I have one laic question which may not be directly connected 
> > to Gentoo but I think you'll forgive me that.
> > Imagine such a situation: I have two hard drives but drive A 
> > is twice faster when reading and writing then drive B. I want 
> > to make RAID 0 using A and B. Why are the stripes sizes on 
> > both drives excacly the same? (I've googled and didn't find 
> > any information about different spripes sizes) I think that 
> > using twice greater stripe on A gives more speed then using 
> > equal stripes.
> > And my question is: where am I doing a mistake?
> > PS
> > Sorry for my poor English
> > 
> > -- 
> > gentoo-user@gentoo.org mailing list
> > 
> > 
> 
> Forgive me the maths approach here, but if drive A reads/writes at
> speed a, and drive B at speed b.
> 
> a = 2*b from what you have said.
> In raid 0 drive speed is limited by the slower drive (if I recall
> correctly) so the speed your raid array would be limited to is  b
> + b = 2b = a (from above).
> 
> Hence you would be as well not bothering with RAID if drive A is 2x
> as fast as drive B.
> 
> Naturally it's not as clear cut but should be pretty close. RAID 0ing
> these drives would gain you little in terms of speed while any 2
> drive RAID 0 setup increases the chance of failure by 2.
> 
> If you just want them to appear as one drive look at something like
> LVM which can create one volume from both drives, although parts of
> the volume on drive A would be faster than those parts on drive B.
> 
> Just my £0.02, feel free to poke holes in my reasoning ;)
well, I'll try a bit perhaps.  Given my scheme, we should really be
talking about 3 drives -- well, actualy you generally raid
_partitions_.  
A = fast disk, or speed thereof
B = slow disk. or speed thereof
A1 = first partition, size R/3, fast disk
A2 = second partition, size R/3, fast disk
B1 = first partition, size R/3, slow disk
raid-0 is A1 + A2 + B1
now let's say you have a file N to pull from the disk.  Naturally, one
third of it will come from each partition.  that is, two-thirds of it
comes from A, and A being twice as fast as drive B, the one-third
that's on B gets done in about the same amount of time.  so N mb is
copied in max( (2/3*N)/A , (1/3*N)/B ) seconds which should be roughly
the same. 

if N was on A alone obviously the speed would be N/A seconds.  (N/A) >
(2/3*N)/A.  

in reality, though, I think the best performance would probaby involve
just using the fast drive.  RAID introduces too much overhead to make
up for itself in this situation I think.  
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dhcpcd won't run at certain network points

2007-03-14 Thread Patrice Bouvard
Le Wed, 14 Mar 2007 16:57:04 +0200,
Alan McKinnon <[EMAIL PROTECTED]> a écrit :


> don't want to have to keep editing resolv.conf

Then, don't edit it every time you change network. Just keep it with a lot of 
entries.
If one doesn't work, the next one will be used. Name resolution could be a 
little bit slow with a
lot of entries and only the last one working.

Is there any problem to this kind of configuration ? 

-- 
Cordialement,
Patrice BOUVARD, Networks & Systems Engineer
--
gentoo-user@gentoo.org mailing list



[gentoo-user]

2007-03-14 Thread Dan Farrell
On Tue, 13 Mar 2007 21:39:21 -0400
Dave Armstrong <[EMAIL PROTECTED]> wrote:

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mounting my digital camera storage... not!

2007-03-14 Thread James Ausmus

On 3/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Hello, list --

dmesg sez:

usb-storage: device found at 7
usb-storage: waiting for device to settle before scanning
scsi 5:0:0:0: Direct-Access KM   DiMAGE Z61.00 PQ: 0
ANSI: 0 CCS usb-storage: device scan complete


Why can't I get a /dev block device to mount this?


Try enabling this kernel option:

CONFIG_SCSI_MULTI_LUN=y

HTH-

James



I know I must be missing something simple and obvious.

from /proc/config.gz:

CONFIG_SCSI=y
CONFIG_SCSI_NETLINK=y
CONFIG_SCSI_SPI_ATTRS=y
CONFIG_SCSI_FC_ATTRS=y
CONFIG_SCSI_AIC7XXX=y
CONFIG_SCSI_AIC79XX=y


CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_ARCH_HAS_EHCI=y
CONFIG_USB=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_UHCI_HCD=y
CONFIG_USB_PRINTER=y
CONFIG_USB_STORAGE=y
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
CONFIG_USB_MON=y


Any help appreciated.

--
 |\  /||   |  ~ ~
 | \/ ||---|  `|` ?
 ||ichael  |   |iggins\^ /
 michael.higgins[at]evolone[dot]org
--
gentoo-user@gentoo.org mailing list



--
gentoo-user@gentoo.org mailing list



[gentoo-user] mounting my digital camera storage... not!

2007-03-14 Thread linux
Hello, list --

dmesg sez:

usb-storage: device found at 7
usb-storage: waiting for device to settle before scanning
scsi 5:0:0:0: Direct-Access KM   DiMAGE Z61.00 PQ: 0
ANSI: 0 CCS usb-storage: device scan complete


Why can't I get a /dev block device to mount this?

I know I must be missing something simple and obvious.

from /proc/config.gz:

CONFIG_SCSI=y
CONFIG_SCSI_NETLINK=y
CONFIG_SCSI_SPI_ATTRS=y
CONFIG_SCSI_FC_ATTRS=y
CONFIG_SCSI_AIC7XXX=y
CONFIG_SCSI_AIC79XX=y


CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_ARCH_HAS_EHCI=y
CONFIG_USB=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_UHCI_HCD=y
CONFIG_USB_PRINTER=y
CONFIG_USB_STORAGE=y
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
CONFIG_USB_MON=y


Any help appreciated.

-- 
 |\  /||   |  ~ ~  
 | \/ ||---|  `|` ?
 ||ichael  |   |iggins\^ /
 michael.higgins[at]evolone[dot]org
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] python2.4-pyrex not found

2007-03-14 Thread Bo Ørsted Andresen
On Wednesday 14 March 2007 18:20:40 Arnaud FARINE wrote:
> > > I must install the package python2.4-pyrex, I didn't find it.
> > > I found only python-pyrex. Same thing for this : python2.4-xml
> >
> > Some packages happen to have different names, depending on the
> > distribution. The names you mention seem to be debian package names.
> > I don't know python, but I guess that if you have python 2.4 in your
> > system (the latest stable version) you just need to install the gentoo
> > packages called "pyrex" and "pyxml" (python-pyrex is not a gentoo
> > package name).
>
> Thanks for your help but...
> The documentation of my app (synce/opensync) indicates to install
> python-pyrex and python2.4-pyrex...strange.!

Even python has ABI's that differ between major versions. On a source based 
distro like Gentoo that just means packages like pyrex need to be remerged 
when upgrading e.g. from python 2.4 to 2.5. This is why the python-updater 
script exists.

On binary distros like Debian, however, reinstalling the same binary package 
won't fix anything because it doesn't get recompiled. Therefore they create 
multiple versions of the same package where the only thing that differs is 
the ABI...

-- 
Bo Andresen


pgpWD4OwA0hon.pgp
Description: PGP signature


RE: [gentoo-user] non-existing/masked ebuilds during upgrade from 2005.1 to 2006.1

2007-03-14 Thread de Almeida, Valmor F.
> -Original Message-
> From: de Almeida, Valmor F. [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 14, 2007 12:55 PM
> To: gentoo-user@lists.gentoo.org
> Subject: [gentoo-user] non-existing/masked ebuilds during upgrade from
> 2005.1 to 2006.1
> 
> Calculating world dependencies \
> !!! Ebuilds for the following packages are either all
> !!! masked or don't exist:
> media-video/nvidia-glx media-video/nvidia-kernel app-shells/csh
> x11-misc/gtkdiff sci-libs/lapack
> 
> I can't find sci-libs/lapack (emerge --search lapack). Could someone
> tell me how is portage looking for it? I think I had it installed
before
> the upgrade. None of the nvidia stuff is currently installed but were
> installed before the system emerge. I can't find gtkdiff but csh is
> indeed masked:
> 

There was a simple solution to this. Although emerge --search can't find
the packages, emerge --unmerge will unmerge them. So do emerge --search
nvidia-glx nvidia-kernel csh gtkdiff lapack

Then proceed with an emerge -eav world so the whole thing is rebuild
with the new gcc-4.1 compiler... Phew, over 600 packages will be
recompiled.

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



Re: [gentoo-user] g95 ebuild

2007-03-14 Thread Bo Ørsted Andresen
On Wednesday 14 March 2007 15:57:57 Roger Mason wrote:
> I'm trying to get some fortran code to compile using gfortran but
> unfortunately it does not recognise the %val() construct.  There is a
> bug about the issue on b.g.o.
>
> I have looked in vain for a g95 ebuild - does anyone here have one?
>
> Failing that, the code certainly used to compile using g77.  Are there
> known problems to having, say, gcc-3.4.x (provides g77) alongside
> gcc-4.1.1?

https://bugs.gentoo.org/show_bug.cgi?id=102199

-- 
Bo Andresen


pgpOSyLUcJpgf.pgp
Description: PGP signature


Re: [gentoo-user] multiple perl installations

2007-03-14 Thread Michael Galassi
>On Wednesday 14 March 2007 14:41:55 Michael Galassi wrote:
>> Could someone share with me a man page or google search which will help
>> me install multiple versions of perl on an up-to-date gentoo system?  I
>> tried emerge -a =3Ddev-lang/perl-5.8.4-r4 and a few similar commands but
>> to no avail.
>
>Perl has never been slotted. Therefore installing more than one version of
>perl is far from trivial. So while I can tell you how to get perl-5.8.4-r4
>which was removed from the tree 1 1/2 years ago it will not be able to coexist
>with perl-5.8.8-r2. Why would you want to do that?

I wouldn't :-).  I'd personally be quite happy with no perl on my
workstation at all.  Unfortunately one of our developers insists on
doing bizarre perlish things that require the older version (the same one
that ships with MontaVista Linux) so our development boxes are now
straddled with this other perl.  I'll probably end up installing it
outside of the normal portage framework (/opt/perl) and hack paths to
make it work.  Sigh.

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



Re: [gentoo-user] non-existing/masked ebuilds during upgrade from 2005.1 to 2006.1

2007-03-14 Thread Albert Hopkins
On Wed, 2007-03-14 at 17:56 +, Neil Bothwick wrote:
> emerge -e world upgrades too, because it considers that you have
> nothing
> installed, so it tries to install the latest version. However, emerge
> -uDN world is sufficient as it will cover all updates and USE flag
> changes.
> 

Agreed, and I should also tell the OP that 'emaint --check world' will
also help point out any stale packages and other things in your world
file.

--
Albert W. Hopkins

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] multiple perl installations

2007-03-14 Thread Bo Ørsted Andresen
On Wednesday 14 March 2007 14:41:55 Michael Galassi wrote:
> Could someone share with me a man page or google search which will help
> me install multiple versions of perl on an up-to-date gentoo system?  I
> tried emerge -a =dev-lang/perl-5.8.4-r4 and a few similar commands but
> to no avail.

Perl has never been slotted. Therefore installing more than one version of 
perl is far from trivial. So while I can tell you how to get perl-5.8.4-r4 
which was removed from the tree 1½ years ago it will not be able to coexist 
with perl-5.8.8-r2. Why would you want to do that?

-- 
Bo Andresen


pgpjWbwbGY92U.pgp
Description: PGP signature


Re: [gentoo-user] non-existing/masked ebuilds during upgrade from 2005.1 to 2006.1

2007-03-14 Thread Neil Bothwick
On Wed, 14 Mar 2007 17:18:54 +, Albert Hopkins wrote:

> But if you truly want to do an "upgrade", would it not be better to do a
> "emerge -Duva" world as opposed to "emerge -eva".  "-eva" isn't
> upgrading anything, it's just re-building what you already have, but
> since many things you have currently no longer exist in portage, it's
> likely better to -u instead of -e.

emerge -e world upgrades too, because it considers that you have nothing
installed, so it tries to install the latest version. However, emerge
-uDN world is sufficient as it will cover all updates and USE flag
changes.


-- 
Neil Bothwick

The world is a tragedy to those who feel, but a comedy to those who
think.(Horace Walpole)


signature.asc
Description: PGP signature


RE: [gentoo-user] non-existing/masked ebuilds during upgrade from2005.1 to 2006.1

2007-03-14 Thread de Almeida, Valmor F.
> -Original Message-
> From: Albert Hopkins [mailto:[EMAIL PROTECTED]
> 
> On Wed, 2007-03-14 at 12:54 -0400, de Almeida, Valmor F. wrote:
> > emerge -eav world
> >
> > The corresponding system emerge finished okay. At the beginning of
the
> > output of the aforementioned command I get.
> >
> > Calculating world dependencies \
> > !!! Ebuilds for the following packages are either all
> > !!! masked or don't exist:
> > media-video/nvidia-glx media-video/nvidia-kernel app-shells/csh
> > x11-misc/gtkdiff sci-libs/lapack
> >
> > I can't find sci-libs/lapack (emerge --search lapack). Could someone
> > tell me how is portage looking for it? I think I had it installed
> > before
> > the upgrade. None of the nvidia stuff is currently installed but
were
> > installed before the system emerge. I can't find gtkdiff but csh is
> > indeed masked:
> 
> Put simply, your current system is old, but it appears you've updated
> your portage tree.  

Indeed system has been upgraded with gcc 4.1; it was a bit tricky.

> Portage is telling you that you have these packages
> installed but it can't find them in the portage tree. For example,
> nvidia-glx has long been replaced by nvidia-drivers.
> 
> In the Gentoo world, you stand to suffer a bit if you wait a long time
> between updates.  If you truly intend to keep your system "old", I
would

Yup.

> recommend you make a snapshot of the portage tree as well as your
> DISTDIR as those files may no longer be available as well.
> 
> But if you truly want to do an "upgrade", would it not be better to do
a
> "emerge -Duva" world as opposed to "emerge -eva".  "-eva" isn't
> upgrading anything, it's just re-building what you already have, but
> since many things you have currently no longer exist in portage, it's
> likely better to -u instead of -e.

Agreed. I used -e in the last upgrade step of system to rebuild it with
gcc 4.1 and ended up using for world.


> p.s.
> Seems like a few people are just now "upgrading" to 2006.1 when 2007.0
> is soon to be released... why are you a year behind?

There was something weird about 2006; it went by too fast:)

> 
> --
> Albert W. Hopkins
> 
> --
> gentoo-user@gentoo.org mailing list

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] python2.4-pyrex not found

2007-03-14 Thread Etaoin Shrdlu
On Wednesday 14 March 2007 18:20, Arnaud FARINE wrote:

> Thanks for your help but...
> The documentation of my app (synce/opensync) indicates to install
> python-pyrex and python2.4-pyrex...strange.!

Well, that just mean that that documentation assumes a debian 
environment.
What are you trying to do? Do you want to install synce and/or 
libopensync? Then, why don't you just emerge synce and libopensync and 
let portage take care of all the dependencies? (btw, I don't see any of 
the packages you mention listed as dependencies of synce and 
libopensync...)
Or are you trying to do something else? The more info you provide, the 
more accurate answers you are likely to get.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] non-existing/masked ebuilds during upgrade from 2005.1 to 2006.1

2007-03-14 Thread Neil Bothwick
On Wed, 14 Mar 2007 12:54:35 -0400, de Almeida, Valmor F. wrote:

> Calculating world dependencies \
> !!! Ebuilds for the following packages are either all
> !!! masked or don't exist:
> media-video/nvidia-glx media-video/nvidia-kernel app-shells/csh
> x11-misc/gtkdiff sci-libs/lapack
> 
> I can't find sci-libs/lapack (emerge --search lapack). Could someone
> tell me how is portage looking for it? I think I had it installed before
> the upgrade. None of the nvidia stuff is currently installed but were
> installed before the system emerge.

It looks like lapack has been split into a number of packages with an
eselect module to choose the one you want. At least, that's what the
output from "eix lapack" implies to me.

media-video/nvidia-glx and media-video/nvidia-kernel have been replaced
by nvidia-drivers.

If you had a package installed before the upgrade, you still have it,
because changing the profile or running emerge -e world (which isn't
really necessary) don't unmerge anything.


-- 
Neil Bothwick

ISDN: It Still Does Nothing


signature.asc
Description: PGP signature


Re: [gentoo-user] non-existing/masked ebuilds during upgrade from 2005.1 to 2006.1

2007-03-14 Thread Albert Hopkins
On Wed, 2007-03-14 at 12:54 -0400, de Almeida, Valmor F. wrote:
> emerge -eav world
> 
> The corresponding system emerge finished okay. At the beginning of the
> output of the aforementioned command I get.
> 
> Calculating world dependencies \
> !!! Ebuilds for the following packages are either all
> !!! masked or don't exist:
> media-video/nvidia-glx media-video/nvidia-kernel app-shells/csh
> x11-misc/gtkdiff sci-libs/lapack
> 
> I can't find sci-libs/lapack (emerge --search lapack). Could someone
> tell me how is portage looking for it? I think I had it installed
> before
> the upgrade. None of the nvidia stuff is currently installed but were
> installed before the system emerge. I can't find gtkdiff but csh is
> indeed masked:

Put simply, your current system is old, but it appears you've updated
your portage tree.  Portage is telling you that you have these packages
installed but it can't find them in the portage tree. For example,
nvidia-glx has long been replaced by nvidia-drivers.

In the Gentoo world, you stand to suffer a bit if you wait a long time
between updates.  If you truly intend to keep your system "old", I would
recommend you make a snapshot of the portage tree as well as your
DISTDIR as those files may no longer be available as well.

But if you truly want to do an "upgrade", would it not be better to do a
"emerge -Duva" world as opposed to "emerge -eva".  "-eva" isn't
upgrading anything, it's just re-building what you already have, but
since many things you have currently no longer exist in portage, it's
likely better to -u instead of -e.

p.s.
Seems like a few people are just now "upgrading" to 2006.1 when 2007.0
is soon to be released... why are you a year behind? 

--
Albert W. Hopkins

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gentoo on raid install [SOLVED]

2007-03-14 Thread Arnau Bria

I've changed CHOST to i386 and mdadm has compiled.

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



Re: [gentoo-user] gentoo on raid install

2007-03-14 Thread Arnau Bria
On Wed, 14 Mar 2007 11:29:12 -0500
Samir Faci wrote:

Hi,
> Well, wait a second mdadm not emerging has nothing to do with your
> configuration, it should emerge without you even having a config
> setup.  I might be wrong, but isn't the error hinting at an issue
> finding the compiler?
Well, as I was not sure, my first though was relationing conf-merge ...

I've merger some other packages (vixie-cron i.e.) and had no problems...

Anyway, gcc:
livecd / # gcc-config -l
 [1] i386-pc-linux-gnu-4.1.1 *

livecd / # gcc -v
Using built-in specs.
Target: i386-pc-linux-gnu
Configured with: /var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/configure 
--prefix=/usr --bindir=/usr/i386-pc-linux-gnu/gcc-bin/4.1.1 
--includedir=/usr/lib/gcc/i386-pc-linux-gnu/4.1.1/include 
--datadir=/usr/share/gcc-data/i386-pc-linux-gnu/4.1.1 
--mandir=/usr/share/gcc-data/i386-pc-linux-gnu/4.1.1/man 
--infodir=/usr/share/gcc-data/i386-pc-linux-gnu/4.1.1/info 
--with-gxx-include-dir=/usr/lib/gcc/i386-pc-linux-gnu/4.1.1/include/g++-v4 
--host=i386-pc-linux-gnu --build=i386-pc-linux-gnu --disable-altivec 
--enable-nls --without-included-gettext --with-system-zlib --disable-checking 
--disable-werror --disable-libunwind-exceptions --disable-multilib 
--disable-libmudflap --disable-libssp --disable-libgcj 
--enable-languages=c,c++,fortran --enable-shared --enable-threads=posix 
--enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.1 (Gentoo 4.1.1)

cheerrs! 
> --
> Samir
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] non-existing/masked ebuilds during upgrade from 2005.1 to 2006.1

2007-03-14 Thread de Almeida, Valmor F.

Hello list,

I am rebuilding world as part of an upgrade from profile 2005.1 to
2006.1.

emerge -eav world

The corresponding system emerge finished okay. At the beginning of the
output of the aforementioned command I get.

Calculating world dependencies \
!!! Ebuilds for the following packages are either all
!!! masked or don't exist:
media-video/nvidia-glx media-video/nvidia-kernel app-shells/csh
x11-misc/gtkdiff sci-libs/lapack

I can't find sci-libs/lapack (emerge --search lapack). Could someone
tell me how is portage looking for it? I think I had it installed before
the upgrade. None of the nvidia stuff is currently installed but were
installed before the system emerge. I can't find gtkdiff but csh is
indeed masked:

*  app-shells/csh [ Masked ]
  Latest version available: 1.29-r4
  Latest version installed: 1.29-r3
  Size of files: 175 kB
  Homepage:  http://www.netbsd.org/
  Description:   Classic UNIX shell with C like syntax
  License:   BSD 

Thanks,

--
Valmor

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] python2.4-pyrex not found

2007-03-14 Thread Etaoin Shrdlu
On Wednesday 14 March 2007 17:28, Arnaud FARINE wrote:

> Hello,
>
> I must install the package python2.4-pyrex, I didn't find it.
> I found only python-pyrex. Same thing for this : python2.4-xml

Some packages happen to have different names, depending on the 
distribution. The names you mention seem to be debian package names.
I don't know python, but I guess that if you have python 2.4 in your 
system (the latest stable version) you just need to install the gentoo 
packages called "pyrex" and "pyxml" (python-pyrex is not a gentoo 
package name).
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] IPTstate iptables active viewer

2007-03-14 Thread James
Hello,

This ebuild is in the net-analyzer section. It looks very promising.
Has anyone used this software?
If so, do you like it?
Find it useful?


curious,

James



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] python2.4-pyrex not found

2007-03-14 Thread Arnaud FARINE

Hello,

I must install the package python2.4-pyrex, I didn't find it.
I found only python-pyrex. Same thing for this : python2.4-xml

Could you help me ?

--
Arnaud FARINE


Re: [gentoo-user] gentoo on raid install

2007-03-14 Thread Samir Faci

Well, wait a second mdadm not emerging has nothing to do with your
configuration, it should emerge without you even having a config setup.  I
might be wrong, but isn't the error hinting at an issue finding the
compiler?

--
Samir

On 3/14/07, Arnau Bria <[EMAIL PROTECTED]> wrote:


Hi,

I'm doing a fresh 2006.1 install on a RAID 1.
I'm at the end of the install, and I'm having problems merging mdadm:

>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/mdadm-2.6.1/work/mdadm-2.6.1 ...
i686-pc-linux-gnu-gcc -Wall -march=pentium4 -O2 -pipe -fomit-frame-pointer
-DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\"
-DCONFFILE2=\"/etc/mdadm/mdadm.conf\"   -c -o mdadm.o mdadm.c
/bin/sh: i686-pc-linux-gnu-gcc: command not found
make: *** [mdadm.o] Error 127

!!! ERROR: sys-fs/mdadm-2.6.1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  mdadm-2.6.1.ebuild, line 29:   Called die

So, I start checking things, and first one is mdadm.conf:
# cat /etc/mdadm.conf
ARRAY /dev/md1 level=raid1 num-devices=2
UUID=8cee4c4f:4d4c24bd:cc5bee91:c83b42b5
ARRAY /dev/md2 level=raid1 num-devices=2
UUID=8b9f4d0c:69fa806c:2202b13b:91b36928

but when I do a mdadm -detail --scan I get next.
# mdadm --detail --scan
mdadm: Unknown keyword mdadm
mdadm: Unknown keyword mdadm
ARRAY /dev/md1 level=raid1 num-devices=2
UUID=8cee4c4f:4d4c24bd:cc5bee91:c83b42b5
ARRAY /dev/md2 level=raid1 num-devices=2
UUID=8b9f4d0c:69fa806c:2202b13b:91b36928

Which is not very nice...

From the chrrot env I see this:

# cat /proc/mdstat
Personalities : [raid1] [raid0] [raid5] [raid4]
md2 : active raid1 hdb2[1] hda2[0]
  87883456 blocks [2/2] [UU]

md1 : active raid1 hdb1[1] hda1[0]
  29302464 blocks [2/2] [UU]

And I think it's correct, but as I'm newbie with RAIDS, I don't know
what else I can look...

Coul someone help me with this install?

PS: My swap is out of the raid

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




Re: [gentoo-user] dhcpcd won't run at certain network points

2007-03-14 Thread Alan McKinnon
On Wednesday 14 March 2007, Etaoin Shrdlu wrote:
> On Wednesday 14 March 2007 15:57, Alan McKinnon wrote:
> > I would use google, if only I could think of a remotely meaningful
> > search string :-) The hdcpcd docs and kernel module docs are not
> > very enlightening. And the DHCP server is a Windows domain
> > controller.
>
> But do your DHCP requests show up in the server's logs (assuming
> windows is able to log that, which I don't know)?

I don't have access to that server, but the dude who admins it does know 
I have this problem. Next time we meet, it's on my list of things to 
check. Thanks for the reminder.

alan

-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dhcpcd won't run at certain network points

2007-03-14 Thread Uwe Thiem
On 14 March 2007, Alan McKinnon wrote:
> Hi all,
>
> Why am I always the one to get the wierd hardware issues? Here's my
> latest. The powers that be at work made me move my desk, and dhcpcd on
> *this* laptop doesn't work at *this* network point, or any of the other
> four in this row of desks, althought hey work OK on Windows. It's most
> certainly a cabling issue, I can go to the server room and plug a
> flylead into the *same*port* on the switch and it all works right. A
> static ip isn't an easy option as I move between different networks and
> don't want to have to keep editing resolv.conf. I'm not allowed to do
> my first reaction, which is to swap my outlet with a working one...
>
> tcpdump shows me this when I insert the network cable:
> 16:11:06.855229 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP,
> Request [|bootp]
> repeated 6 more times then it times out
>
> With a static ip, I do get full bandwidth, error free, just like it
> should be. So whatever this cabling issue is, it affects only bootp...
>
> hardware: Dell Latitude D810:
> NIC: 02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751
> Gigabit Ethernet PCI Express (rev 01)

Have you tried to force your NIC down to 100Mb/s early in the boot process? 
Assuming your network is FastEthernet, autonegotiation doesn't always work 
properly.

Uwe

-- 
A fast and easy generator of fractals for KDE:
http://www.SysEx.com.na/iwy-1.0.tar.bz2
Proof of concept of a TSP solver for KDE:
http://www.SysEx.com.na/epat-0.1.tar.bz2
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] gentoo on raid install

2007-03-14 Thread Arnau Bria
Hi,

I'm doing a fresh 2006.1 install on a RAID 1.
I'm at the end of the install, and I'm having problems merging mdadm:

>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/mdadm-2.6.1/work/mdadm-2.6.1 ...
i686-pc-linux-gnu-gcc -Wall -march=pentium4 -O2 -pipe -fomit-frame-pointer 
-DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" 
-DCONFFILE2=\"/etc/mdadm/mdadm.conf\"   -c -o mdadm.o mdadm.c
/bin/sh: i686-pc-linux-gnu-gcc: command not found
make: *** [mdadm.o] Error 127

!!! ERROR: sys-fs/mdadm-2.6.1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  mdadm-2.6.1.ebuild, line 29:   Called die

So, I start checking things, and first one is mdadm.conf:
# cat /etc/mdadm.conf
ARRAY /dev/md1 level=raid1 num-devices=2 
UUID=8cee4c4f:4d4c24bd:cc5bee91:c83b42b5
ARRAY /dev/md2 level=raid1 num-devices=2 
UUID=8b9f4d0c:69fa806c:2202b13b:91b36928

but when I do a mdadm -detail --scan I get next.
# mdadm --detail --scan
mdadm: Unknown keyword mdadm
mdadm: Unknown keyword mdadm
ARRAY /dev/md1 level=raid1 num-devices=2 
UUID=8cee4c4f:4d4c24bd:cc5bee91:c83b42b5
ARRAY /dev/md2 level=raid1 num-devices=2 
UUID=8b9f4d0c:69fa806c:2202b13b:91b36928

Which is not very nice...

From the chrrot env I see this:

# cat /proc/mdstat
Personalities : [raid1] [raid0] [raid5] [raid4]
md2 : active raid1 hdb2[1] hda2[0]
  87883456 blocks [2/2] [UU]

md1 : active raid1 hdb1[1] hda1[0]
  29302464 blocks [2/2] [UU]

And I think it's correct, but as I'm newbie with RAIDS, I don't know
what else I can look...

Coul someone help me with this install?

PS: My swap is out of the raid

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



Re: [gentoo-user] Problem using gnomeas non-root user

2007-03-14 Thread John covici
on Wednesday 03/14/2007 Neil Bothwick([EMAIL PROTECTED]) wrote
 > On Wed, 14 Mar 2007 07:25:12 -0400, John covici wrote:
 > 
 > > I checked the .gconf and .gnome2  and even the .gnome2_private, but it
 > > looks OK to me.  I even put a session file  in the users .gnome2
 > > directory changing the current directory to his home directory, but it
 > > will not run.  Very strange.
 > 
 > Anything in ~/.xsession-errors?
 > 

Yep, don't know what it all means, but here it is.

/etc/X11/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/X11/gdm/PreSession/Default: running: /usr/bin/sessreg -a -w /var/log/wtmp 
-u /var/run/utmp -x "/var/gdm/:0.Xservers" -h "" -l ":0" "covici"
/etc/X11/gdm/Xsession: Beginning session setup...
stty: standard input: Inappropriate ioctl for device
/etc/X11/gdm/Xsession: Setup done, will execute: /usr/bin/ssh-agent -- 
show-all-if-ambiguout
show-all-if-ambiguout: No such file or directory

Here is the ~/.xsession which I did not create.

#!/bin/bash
xterm



-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 [EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problem using gnomeas non-root user

2007-03-14 Thread Björn Ottervik
This is probably silly, but perhaps you'd want to check and make sure
dbus and hald are started at boot, and add them if they aren't.
'rc-update add dbus default' and rc-update add hald default' would do
the trick.

/Björn Ottervik

On Wed, 2007-03-14 at 01:09 -0400, John covici wrote:
> Hi.  If I try to log in using gdm as a non-root user, it logs me in,
> but does not even run gnome-session.  If I run that by hand, it runs
> some things, but if I want to change some settings I am informed that
> the gnome-settings-daemon cannot start a new dbus session.  Both dbus
> and hald are started and working if I log in as root.
> 
> Here is my emerge --info
> 
> >>> cfg-update-1.8.0-r6: No new packages have been emerged, 
> >>> checksum index OK!
> Portage 2.1.2.2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 
> 2.6.19-gentoo-r5 i686)
> =
> System uname: 2.6.19-gentoo-r5 i686 AMD Athlon(tm) 64 Processor 4000+
> Gentoo Base System release 1.12.9
> Timestamp of tree: Tue, 13 Mar 2007 06:00:01 +
> dev-java/java-config: 1.3.7, 2.0.31
> dev-lang/python: 2.4.3-r4
> dev-python/pycrypto: 2.0.1-r5
> sys-apps/sandbox:1.2.17
> sys-devel/autoconf:  2.13, 2.61
> sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
> sys-devel/binutils:  2.16.1-r3
> sys-devel/gcc-config: 1.3.14
> sys-devel/libtool:   1.5.22
> virtual/os-headers:  2.6.17-r2
> ACCEPT_KEYWORDS="x86"
> 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 mulaw multi null plug rate 
> route share shm softvol"
> ANT_HOME="/usr/share/ant-core"
> ARCH="x86"
> AUTOCLEAN="yes"
> BASH_ENV="/root/.bashrc"
> CBUILD="i686-pc-linux-gnu"
> CFLAGS="-O2 -mtune=athlon-xp -pipe"
> CHOST="i686-pc-linux-gnu"
> CLASSPATH="."
> CLEAN_DELAY="5"
> CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind"
> CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf 
> /etc/java-config/vms/ /etc/php/apache1-php4/ext-active/ 
> /etc/php/apache2-php4/ext-active/ /etc/php/cgi-php4/ext-active/ 
> /etc/php/cli-php4/ext-active/ /etc/revdep-rebuild /etc/terminfo"
> CVS_RSH="ssh"
> CXXFLAGS="-O2 -mtune=athlon-xp -pipe"
> DISTDIR="/usr/portage/distfiles"
> EDITOR="/usr/bin/emacs"
> ELIBC="glibc"
> EMERGE_DEFAULT_OPTS="--ask --color=n  --verbose"
> EMERGE_WARNING_DELAY="10"
> FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
> FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -P ${DISTDIR} ${URI}"
> GCC_SPECS=""
> GDK_USE_XFT="1"
> GENERATION="2"
> GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo 
> http://distfiles.gentoo.org";
> G_BROKEN_FILENAMES="1"
> G_FILENAME_ENCODING="UTF-8"
> HOME="/root"
> HUSHLOGIN="FALSE"
> INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info:/usr/share/info/emacs-21"
> INPUT_DEVICES="keyboard mouse evdev"
> JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
> JAVA_HOME="/etc/java-config-2/current-system-vm"
> JDK_HOME="/etc/java-config-2/current-system-vm"
> KERNEL="linux"
> LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses 
> text"
> LESS="-R  --shift 5"
> LESSOPEN="|lesspipe.sh %s"
> LOGNAME="root"
> LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.yuv=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.flac=01;35:*.mp3=01;35:*.mpc=00;36:*.ogg=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36:*.flac=00;36:*.aac=00;36:*.ra=01;36:*.mka=01;36:"
> MAIL="/var/mail/root"
> MAKEOPTS="-j2"
> MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man:/etc/java-config/system-vm/man/:/usr/lib/php4/man/"
> NOCOLOR="true"
> OPENGL_PROFILE="nvidia"
> PAGER="/usr/b

RE: [gentoo-user] dhcpcd won't run at certain network points

2007-03-14 Thread
> -Original Message-
> From: Alan McKinnon [mailto:[EMAIL PROTECTED]
> Sent: 14 March 2007 14:57
> To: gentoo-user@lists.gentoo.org
> Subject: [gentoo-user] dhcpcd won't run at certain network points
> 
> It's most 
> certainly a cabling issue, I can go to the server room and plug a 
> flylead into the *same*port* on the switch and it all works right. A 
> static ip isn't an easy option as I move between different 
> networks and 
> don't want to have to keep editing resolv.conf. I'm not allowed to do 
> my first reaction, which is to swap my outlet with a working one...
> 
> tcpdump shows me this when I insert the network cable:
> 16:11:06.855229 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: 
> BOOTP/DHCP, 
> Request [|bootp]
> repeated 6 more times then it times out
> 
> With a static ip, I do get full bandwidth, error free, just like it 
> should be. So whatever this cabling issue is, it affects only bootp...
> 


Have you checked dmesg for any errors - both when trying DHCP and when using a 
static IP?

Alternatively could you script something to try dhcp first and resort to static 
IP if that fails?

Do you have any network cable testing toys that you could use to check all the 
cabling?


--
djn

I do not represent anyone else in emails I send to this list.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dhcpcd won't run at certain network points

2007-03-14 Thread Etaoin Shrdlu
On Wednesday 14 March 2007 15:57, Alan McKinnon wrote:

> I would use google, if only I could think of a remotely meaningful
> search string :-) The hdcpcd docs and kernel module docs are not very
> enlightening. And the DHCP server is a Windows domain controller.

But do your DHCP requests show up in the server's logs (assuming windows 
is able to log that, which I don't know)?
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] dhcpcd won't run at certain network points

2007-03-14 Thread Alan McKinnon
Hi all,

Why am I always the one to get the wierd hardware issues? Here's my 
latest. The powers that be at work made me move my desk, and dhcpcd on 
*this* laptop doesn't work at *this* network point, or any of the other 
four in this row of desks, althought hey work OK on Windows. It's most 
certainly a cabling issue, I can go to the server room and plug a 
flylead into the *same*port* on the switch and it all works right. A 
static ip isn't an easy option as I move between different networks and 
don't want to have to keep editing resolv.conf. I'm not allowed to do 
my first reaction, which is to swap my outlet with a working one...

tcpdump shows me this when I insert the network cable:
16:11:06.855229 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, 
Request [|bootp]
repeated 6 more times then it times out

With a static ip, I do get full bandwidth, error free, just like it 
should be. So whatever this cabling issue is, it affects only bootp...

hardware: Dell Latitude D810:
NIC: 02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751 
Gigabit Ethernet PCI Express (rev 01)
kernel module: tg3
kernel version: 2.6.20-gentoo[-r1]
/etc/conf.d/net: empty (i.e. default)

I would use google, if only I could think of a remotely meaningful 
search string :-) The hdcpcd docs and kernel module docs are not very 
enlightening. And the DHCP server is a Windows domain controller.

Anyone know of a dhcpcd or tg3 module option that will provoke this 
network to give me what it should?
-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] g95 ebuild

2007-03-14 Thread Roger Mason
Hello,

I'm trying to get some fortran code to compile using gfortran but
unfortunately it does not recognise the %val() construct.  There is a
bug about the issue on b.g.o.

I have looked in vain for a g95 ebuild - does anyone here have one?

Failing that, the code certainly used to compile using g77.  Are there
known problems to having, say, gcc-3.4.x (provides g77) alongside
gcc-4.1.1?

Thanks,
Roger

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USE flags for tif/tiff

2007-03-14 Thread Albert Hopkins
On Wed, 2007-03-14 at 17:29 +0300, Andrew Gaydenko wrote:

> 
> All programs says about bad format. You are right, only some rare TIFF files
> can not be opened. I use IrfanView (as it is at least free) under wine to see
> such files. 
> 
> 'identify' for last problem file output is (and GIMP says approximately the 
> same):
> 
> identify rodnik.tif
> identify: rodnik.tif: unknown field with tag 513 (0x201) encountered. 
> `TIFFReadDirectory'.
> identify: rodnik.tif: unknown field with tag 514 (0x202) encountered. 
> `TIFFReadDirectory'.
> identify: rodnik.tif: unknown field with tag 37679 (0x932f) encountered. 
> `TIFFReadDirectory'.
> identify: rodnik.tif: unknown field with tag 37680 (0x9330) encountered. 
> `TIFFReadDirectory'.
> identify: rodnik.tif: unknown field with tag 37681 (0x9331) encountered. 
> `TIFFReadDirectory'.
> identify: Invalid YCbCr subsampling. `rodnik.tif'.
> identify: rodnik.tif: cannot handle zero strip size. `TIFFReadDirectory'.
> 
> IrfanView shows the file without problems.
> 

Error messages and Google: my favorite combo.  To summarize:

The TIFF file format permits programs to include information
which only that program understands. TIFF files produced by
programs that do this are not always readable by other programs.

and

End result: if you get your hands on one of these "old style
jpeg in tiff" files, you're pretty much out of luck. You'll have
to negotiate with the file supplier to provide it in a different
format.

Hope this helps.
--
Albert W. Hopkins

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USE flags for tif/tiff

2007-03-14 Thread Andrew Gaydenko
Hi!
=== On Wednesday 14 March 2007, you wrote: ===
...
> When you say "can not open" is there some kind of error message
> associated with it?
> 
> I've not had any issues with TIFF files (though admittedly I rarely need
> to open any), but I would guess if it's only "some" files then it may be
> that the program that generated them uses a non-standard/incompatible
> format.  It's hard to say without an actual error message. I've found
> ImageMagick's identify(1) command to be very helpful with determining if
> a file is indeed the format the creator claims it to be.
> 
> --
> Albert W. Hopkins
> 


All programs says about bad format. You are right, only some rare TIFF files
can not be opened. I use IrfanView (as it is at least free) under wine to see
such files. 

'identify' for last problem file output is (and GIMP says approximately the 
same):

identify rodnik.tif
identify: rodnik.tif: unknown field with tag 513 (0x201) encountered. 
`TIFFReadDirectory'.
identify: rodnik.tif: unknown field with tag 514 (0x202) encountered. 
`TIFFReadDirectory'.
identify: rodnik.tif: unknown field with tag 37679 (0x932f) encountered. 
`TIFFReadDirectory'.
identify: rodnik.tif: unknown field with tag 37680 (0x9330) encountered. 
`TIFFReadDirectory'.
identify: rodnik.tif: unknown field with tag 37681 (0x9331) encountered. 
`TIFFReadDirectory'.
identify: Invalid YCbCr subsampling. `rodnik.tif'.
identify: rodnik.tif: cannot handle zero strip size. `TIFFReadDirectory'.

IrfanView shows the file without problems.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USE flags for tif/tiff

2007-03-14 Thread Albert Hopkins
On Wed, 2007-03-14 at 10:49 +0300, Andrew Gaydenko wrote:
> Are there USE flags (except for tif/tiff) I must add to make.conf/USE="..." 
> string which 
> influence to tif/tiff rendering? I have noticed, I can not open some tif 
> files which
> were created by scanning-related software on win32 machines. I have tried 
> GIMP, GQview
> and few KDE-related apps without success.

When you say "can not open" is there some kind of error message
associated with it?

I've not had any issues with TIFF files (though admittedly I rarely need
to open any), but I would guess if it's only "some" files then it may be
that the program that generated them uses a non-standard/incompatible
format.  It's hard to say without an actual error message. I've found
ImageMagick's identify(1) command to be very helpful with determining if
a file is indeed the format the creator claims it to be.

--
Albert W. Hopkins

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] multiple perl installations

2007-03-14 Thread Michael Galassi
Could someone share with me a man page or google search which will help
me install multiple versions of perl on an up-to-date gentoo system?  I
tried emerge -a =dev-lang/perl-5.8.4-r4 and a few similar commands but
to no avail.

Thanks.

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



Re: [gentoo-user] Problem using gnomeas non-root user

2007-03-14 Thread Neil Bothwick
On Wed, 14 Mar 2007 07:25:12 -0400, John covici wrote:

> I checked the .gconf and .gnome2  and even the .gnome2_private, but it
> looks OK to me.  I even put a session file  in the users .gnome2
> directory changing the current directory to his home directory, but it
> will not run.  Very strange.

Anything in ~/.xsession-errors?


-- 
Neil Bothwick

Final proof that dolphins are more intelligent than humans:
Not one dolphin has, as of yet, upgraded to Windows Vista.


signature.asc
Description: PGP signature


Re: [gentoo-user] Problem using gnomeas non-root user

2007-03-14 Thread John covici
on Wednesday 03/14/2007 Neil Bothwick([EMAIL PROTECTED]) wrote
 > On Wed, 14 Mar 2007 01:09:23 -0400, John covici wrote:
 > 
 > > Hi.  If I try to log in using gdm as a non-root user, it logs me in,
 > > but does not even run gnome-session.  If I run that by hand, it runs
 > > some things, but if I want to change some settings I am informed that
 > > the gnome-settings-daemon cannot start a new dbus session.  Both dbus
 > > and hald are started and working if I log in as root.
 > 
 > Check the permissions of the various GNOME files and directories in the
 > user's home directory. I've seen something like this when the user was
 > unable to write to the necessary files.

I checked the .gconf and .gnome2  and even the .gnome2_private, but it
looks OK to me.  I even put a session file  in the users .gnome2
directory changing the current directory to his home directory, but it
will not run.  Very strange.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 [EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problem using gnomeas non-root user

2007-03-14 Thread Neil Bothwick
On Wed, 14 Mar 2007 01:09:23 -0400, John covici wrote:

> Hi.  If I try to log in using gdm as a non-root user, it logs me in,
> but does not even run gnome-session.  If I run that by hand, it runs
> some things, but if I want to change some settings I am informed that
> the gnome-settings-daemon cannot start a new dbus session.  Both dbus
> and hald are started and working if I log in as root.

Check the permissions of the various GNOME files and directories in the
user's home directory. I've seen something like this when the user was
unable to write to the necessary files.


-- 
Neil Bothwick

Das Internet is nicht fuer gefingerclicken und giffengrabben. Ist easy
droppenpacket der routers und overloaden der backbone mit der spammen
und der me-tooen. Ist nicht fuer gewerken bei das dumpkopfen. Das
mausklicken sichtseeren keepen das bandwit-spewin hans in das pockets
muss; relaxen und watchen das cursorblinken.


signature.asc
Description: PGP signature


Re: [gentoo-user] problem with quickpkg mysql

2007-03-14 Thread Bo Ørsted Andresen
On Tuesday 13 March 2007 23:38:04 Rodrigo Lazo wrote:
> hi everybody,
>
> I have this problem. On my system I ran
>
> mash rodrigo # quickpkg mysql
>  * Building package for mysql-5.0.26-r2 ...
>[ ok ]
>
>  * Packages now in /usr/portage/packages:
>  * mysql-5.0.26-r2: 16M

What is the output of:

# grep sys-apps/mysql /var/db/pkg/dev-db/mysql-5.0.26-r2/*

?

> and on a chroot enviroment I try (both systems share the portage tree)
>
> (chroot) mash / # emerge -k mysql
> Calculating dependencies -
> emerge: there are no ebuilds to satisfy "sys-apps/mysql".
> (dependency required by "dev-db/mysql-5.0.26-r2" [binary])
>
> as you can see a weird "sys-apps/mysql" is shown as a dependency.
>
> Any ideas?

# grep -h sys-apps/mysql $(portageq portdir)/profiles/updates/*
move sys-apps/mysql dev-db/mysql-init-scripts

So sys-apps/mysql has been pkgmove'd to dev-db/mysql-init-scripts...

-- 
Bo Andresen


pgpMSsuwR8kFz.pgp
Description: PGP signature


Re: [gentoo-user] security policy/externel disk

2007-03-14 Thread Xavier Parizet
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello !

You must add you to group plugdev to be able to automount external devices.

Run as root : "gpasswd -a [username] plugdev" and close and reopen your
KDE session.

Regards.

- --
Xavier Parizet

On Wed, March 14, 2007 08:46, Oliver Večernik wrote:
> Hi,
>
> I don't know what exactly happened, but when I plug on my external disk I
> receive the following message (KDE):
>
> | A security policy in place prevents this sender from sending this
> message to
> | this recipient, see message bus configuration file (rejected message had
> | interface "org.freedesktop.Hal.Device.Volume" member "Mount" error
> | name "(unset)" destination "org.freedesktop.Hal")
>
> # tail -n 20 /var/log/kern.log
> Mar 14 08:30:56 zipo usb 1-7: new high speed USB device using ehci_hcd and
> address 9
> Mar 14 08:30:57 zipo usb 1-7: configuration #1 chosen from 1 choice
> Mar 14 08:30:57 zipo scsi4 : SCSI emulation for USB Mass Storage devices
> Mar 14 08:30:57 zipo usb-storage: device found at 9
> Mar 14 08:30:57 zipo usb-storage: waiting for device to settle before
> scanning
> Mar 14 08:31:02 zipo scsi 4:0:0:0: Direct-Access IC35L120 AVVA07-0
> VA6O PQ: 0 ANSI: 0
> Mar 14 08:31:02 zipo SCSI device sda: 241254721 512-byte hdwr sectors
> (123522
> MB)
> Mar 14 08:31:02 zipo sda: Write Protect is off
> Mar 14 08:31:02 zipo sda: Mode Sense: 03 00 00 00
> Mar 14 08:31:02 zipo sda: assuming drive cache: write through
> Mar 14 08:31:02 zipo SCSI device sda: 241254721 512-byte hdwr sectors
> (123522
> MB)
> Mar 14 08:31:02 zipo sda: Write Protect is off
> Mar 14 08:31:02 zipo sda: Mode Sense: 03 00 00 00
> Mar 14 08:31:02 zipo sda: assuming drive cache: write through
> Mar 14 08:31:02 zipo sda: sda1
> Mar 14 08:31:02 zipo sd 4:0:0:0: Attached scsi disk sda
> Mar 14 08:31:02 zipo sd 4:0:0:0: Attached scsi generic sg0 type 0
> Mar 14 08:31:02 zipo usb-storage: device scan complete
> Mar 14 08:31:02 zipo sda: Current: sense key=0x0
> Mar 14 08:31:02 zipo ASC=0x0 ASCQ=0x0
>
> I can not use this disk (normally /media/disk). Can anybody give me clue
> what
> to do and how to track down this this problem?
>
> --
> Cheers,
> Oliver
> --
> gentoo-user@gentoo.org mailing list
>
>


-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.3 (GNU/Linux)

iD8DBQFF96l6mSNaOeTZvg0RAsvLAKCnxho7mp7hlblfD5lHHb97s+TczACffu10
Ggxeg38TY0n7fJRnwGmIV10=
=vXES
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list