Re: [gentoo-user] KDE GUI for network settings

2005-11-03 Thread Holly Bostick
Qv6 schreef:
 On Wednesday 02 November 2005 09:02 am, Mark wrote:
 
 I have a KDE desktop on one of my machines, and noticed I couldn't 
 find any GUI interface to manage the IP address and related 
 configurations for the 2 ethernet cards on the box. I have
 installed kdenetworks, but still don't see anything. What do I need
 to install/enable/locate on my system to manage eth0 and eth1 from
 the GUI? Thanks!
 
 
 You are referring to knetworkconf. This is currently not available in
  kde under Gentoo.

Not completely true-- someone has taken the opportunity to practice
their ebuild writing skills, so there is a proposed ebuild on
bugs.gentoo.org (b.g.o), found by searching ALL knetworkconf:

http://bugs.gentoo.org/show_bug.cgi?id=19413

While putting an unofficial build in one's overlay is also not 'simple'
if you've never done it before, 1) it's a useful skill to have if you're
a Gentoo user; and 2) it's easier than building from source for what is
likely a complex build (suggested by the fact that no one has it but
knoppix).

So while there are likely to be problems, at least you can also
contribute to the bug so that 1) you might get help/fixes if the ebuild
doesn't emerge and 2) any problems with the ebuild get fixed faster,
paving the way to get the ebuild into Portage that much sooner.

You probably want to have a look at the following references:

Adding unofficial ebuilds (Gentoo docs)
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3chap=5#doc_chap2

HOW-TO Installing 3rd party ebuilds (gentoo-wiki.com)
http://www.gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE GUI for network settings

2005-11-03 Thread Neil Bothwick
On Wed, 2 Nov 2005 17:01:46 -0600, Qv6 wrote:

 Don't expect to find it with emerge knetworkconf. Just wait for 
 kde-3.5

It's not in beta2.


-- 
Neil Bothwick

Learn from your parents' mistakes - use birth control!


signature.asc
Description: PGP signature


Re: [gentoo-user] Replacement for qpkg... please!?!?

2005-11-03 Thread Neil Bothwick
On Wed, 2 Nov 2005 18:14:56 -0500, Walter Dnes wrote:

   world suddenly seems to want a bunch of additional stuff...
 
  [m3000][root][~] emerge --pretend --update --world
  
Add --tree --verbose to find out what wants it and the USE flags in force.

   The tetex tarball is 85 megs alone.  I've managed to emerge and update
 everything else after last night's sync, so these aren't dependencies of
 those packages.  With qpkg, I could find out what depends on this stuff.

You still can, gentoolkit still installs qpkg, but doesn't put it in your
path. You'll find it in

/usr/share/doc/gentoolkit-version/deprecated/qpkg


-- 
Neil Bothwick

Hi, I'm not a signature virus. Why don't you just copy me into your
signature?


signature.asc
Description: PGP signature


Re: [gentoo-user] file with IP?

2005-11-03 Thread Neil Bothwick
On Thu, 03 Nov 2005 07:56:08 +0800, William Kenworthy wrote:

 doesnt work well.  In my case only gives one lan IP, misses the other
 Lan and the dhcp ADSL IP.  Not a lot of use :(

No, but on a box with a single IP address, it makes life a lot easier.


-- 
Neil Bothwick

Being defeated is a temporary condition. Giving up is what makes it
permanent


signature.asc
Description: PGP signature


Re: [gentoo-user] Replacement for qpkg... please!?!?

2005-11-03 Thread Holly Bostick
Neil Bothwick schreef:

 You still can, gentoolkit still installs qpkg, but doesn't put it in
 your path. You'll find it in
 
 /usr/share/doc/gentoolkit-version/deprecated/qpkg

'Problem' is, if you also have portage-utils installed, that package
also includes a *different program* which is unfortunately also named
qpkg; so if you have both that and gentoolkit installed, and you want to
use the deprecated qpkg binary, you have to use the full path to it, or
symlink it into your PATH with a name distinct from the other binary.

Just a note.

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



Re: [gentoo-user] revdep-rebuild is giving me fits

2005-11-03 Thread Dale
Bob Sanders wrote:

Before you do that, get rid of /root/.revdep*
Run - python-updater
Then - perl-cleaner all
Then - emerge -uDNav world
Then - revdep-rebuild -p

Bob
-  
  

OK.  I went in circles with those for a while.  I have now come to a
brick wall here.  I had a earlier thread about this just in case.  I
have a package.use file that tells it not to do the doc thing for
gentoo-sources but it seems it is more stubborn than I am.

 [EMAIL PROTECTED] / # emerge -uDNavp world
  --pretend disables --ask... removing --ask from options.

 These are the packages that I would merge, in order:

 Calculating world dependencies ...done!
 [ebuild  N] app-text/xmlto-0.0.18  0 kB

 Total size of downloads: 0 kB
 [EMAIL PROTECTED] / #


I did take the -p out and try it but it failed, like I expected.  May be
something in the command that is making it want to ignore the
package.use file.  Anyway . . . . . .

OK, the revdep-rebuild command now gives me this:

 [EMAIL PROTECTED] / # revdep-rebuild

 Checking reverse dependencies...
 Packages containing binaries and libraries broken by any package update,
 will be recompiled.

 Collecting system binaries and libraries... done.
   (/root/.revdep-rebuild.1_files)

 Collecting complete LD_LIBRARY_PATH... done.
   (/root/.revdep-rebuild.2_ldpath)

 Checking dynamic linking consistency...
   broken /usr/lib/gaim/tcl.so (requires libtcl8.3.so libtk8.3.so)
   broken /usr/lib/libgtkmm-2.0.so.1.5.9 (requires libsigc-1.2.so.5)
   broken /usr/lib/libgdkmm-2.0.so.1.5.9 (requires libsigc-1.2.so.5)
   broken /usr/lib/libpangomm-1.0.so.1.5.9 (requires libsigc-1.2.so.5)
   broken /usr/lib/libglibmm-2.0.so.1.5.9 (requires libsigc-1.2.so.5)
   broken /usr/lib/libatkmm-1.0.so.1.5.9 (requires libsigc-1.2.so.5)
   broken /usr/lib/python2.2/lib-dynload/_tkinter.so (requires
 libtk8.3.so libtcl8.3.so)
   broken /usr/lib/libgtkmm_generate_extra_defs-2.0.so.1.5.9 (requires
 libsigc-1.2.so.5)
   broken /usr/bin/icewm-session (requires libungif.so.4)
   broken /usr/bin/icewm (requires libungif.so.4)
   broken /usr/bin/gnome-panel-properties-capplet (requires
 libcapplet.so.0)
   broken /usr/bin/icewmtray (requires libungif.so.4)
   broken /usr/bin/icehelp (requires libungif.so.4)
   broken /usr/bin/icewmbg (requires libungif.so.4)
   broken /usr/X11R6/lib/gaim/tcl.so (requires libtcl8.3.so libtk8.3.so)
   broken /usr/X11R6/lib/libgtkmm-2.0.so.1.5.9 (requires libsigc-1.2.so.5)
   broken /usr/X11R6/lib/libgdkmm-2.0.so.1.5.9 (requires libsigc-1.2.so.5)
   broken /usr/X11R6/lib/libpangomm-1.0.so.1.5.9 (requires
 libsigc-1.2.so.5)
   broken /usr/X11R6/lib/libglibmm-2.0.so.1.5.9 (requires libsigc-1.2.so.5)
   broken /usr/X11R6/lib/libatkmm-1.0.so.1.5.9 (requires libsigc-1.2.so.5)
   broken /usr/X11R6/lib/python2.2/lib-dynload/_tkinter.so (requires
 libtk8.3.so libtcl8.3.so)
   broken /usr/X11R6/lib/libgtkmm_generate_extra_defs-2.0.so.1.5.9
 (requires libsigc-1.2.so.5)
   broken /usr/X11R6/bin/icewm-session (requires libungif.so.4)
   broken /usr/X11R6/bin/icewm (requires libungif.so.4)
   broken /usr/X11R6/bin/gnome-panel-properties-capplet (requires
 libcapplet.so.0)
   broken /usr/X11R6/bin/icewmtray (requires libungif.so.4)
   broken /usr/X11R6/bin/icehelp (requires libungif.so.4)
   broken /usr/X11R6/bin/icewmbg (requires libungif.so.4)
  done.
   (/root/.revdep-rebuild.3_rebuild)

 Assigning files to ebuilds... done.
   (/root/.revdep-rebuild.4_ebuilds)

 Evaluating package order... done.
   (/root/.revdep-rebuild.5_order)

 Dynamic linking on your system is consistent... All done.
 [EMAIL PROTECTED] / #


Don't get me started on that libingif and giflib circle either.  :/  I'm
not sure what to do about that.  The forums don't seem to have a fix
either.  If I emerge it, it gripes, if I unmerge it, it gripes.  I'm
confused.

What next, hammer?  Will a emerge -ev world help those broken things?  I
don't mind running it to much it just slows down my folding a lot is
all.  I have a AMD 2500+ CPU with 1GB of ram so it is not a really huge
deal, if it will help.  I run 24/7 anyway.

 [EMAIL PROTECTED] / # uptime
  04:21:49 up 7 days, 10:22,  5 users,  load average: 1.07, 1.77, 2.17
 [EMAIL PROTECTED] / #



Thanks for the help everybody, need a little more.  We're getting close
I think.

Dale
:-)

-- 
To err is human, I'm most certainly human.

 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] revdep-rebuild is giving me fits

2005-11-03 Thread Holly Bostick
Dale schreef:
 Bob Sanders wrote:
 
 
 Before you do that, get rid of /root/.revdep* Run - python-updater 
 Then - perl-cleaner all Then - emerge -uDNav world Then -
 revdep-rebuild -p
 
 
 OK.  I went in circles with those for a while.  I have now come to a 
 brick wall here.  I had a earlier thread about this just in case.  I 
 have a package.use file that tells it not to do the doc thing for 
 gentoo-sources but it seems it is more stubborn than I am.
 
 
 [EMAIL PROTECTED] / # emerge -uDNavp world
 
 --pretend disables --ask... removing --ask from options.
 
 These are the packages that I would merge, in order:
 
 Calculating world dependencies ...done! [ebuild  N]
 app-text/xmlto-0.0.18  0 kB
 
 Total size of downloads: 0 kB [EMAIL PROTECTED] / #

Did you re-emerge gentoo-sources after removing the doc USE flag?

If not, then the currently installed version, which was installed using
the doc flag, would still require that xmlto be installed.

That brings me to another question, because if you didn't re-emerge
gentoo-sources, and you have changed the USE flag, then it *should* be
coming up as recompileable when you do a --newuse (-N).

Why isn't it? Most likely because you have not actually changed the USE
flag.

What is the format of the relevant entry in /etc/portage/package.use?

If it does not look like this

sys-kernel/gentoo-sources -doc

then fix it. Alternatively, you could just remove doc or add -doc to
/etc/make.conf, if you don't use that USE flag the majority of the time,
and only add it for those packages you *do* use it for. This is how I do
it, doc is off by default, but enabled specifically for imagemagick, for
which I need all the docs I can get.

Also, try

emerge -uDNptv world

emerge --update --deep --newuse --pretend --tree --verbose

(with --tree being the important change)

 to see what packages are requiring xmlto. We're
just guessing that it's gentoo-sources, really; maybe it's not.

 
 I did take the -p out and try it but it failed, like I expected.  May
 be something in the command that is making it want to ignore the 
 package.use file.  Anyway . . . . . .

No, your syntax in package.use is likely wrong. Happens to all of us. :-) .

 OK, the revdep-rebuild command now gives me this:
snip
 
 Dynamic linking on your system is consistent... All done.
 

Great. No more need to deal with that atm, then.

 Don't get me started on that libingif and giflib circle either.  :/
 I'm not sure what to do about that.  The forums don't seem to have a
 fix either.  If I emerge it, it gripes, if I unmerge it, it gripes.
 I'm confused.
 
 What next, hammer?  Will a emerge -ev world help those broken things?
 
*Will* you stop trying to get authorization for emerge -e at every
opportunity!!!??? :-)

It's really not necessary. And you're getting yourself all worked up
over a relatively minor issue (or in fact a couple of them).

As I said, you probably have a typo in /etc/portage/package.use. You
want to spend a week reinstalling your system over a typo?

As for the gif/libungif problem, search the ML archives; we just talked
about this last week. I'd have to look it up, but iirc the solution has
to do with uninstalling either gif or libungif and the program that's
being a problem about it, then reinstalling the apps in the correct order.

But depending on your usage patterns, perhaps you don't even need to
worry about this *at this minute*. If the program or programs that
depend on the gif/libungif circle are not mission critical for you atm
(or you aren't using it because you're solving the other issues), then
put the issue on the back burner for now.

Basically, you seem to be upset because Portage is having a fit when you
try to update world. Not because a program is broken, or because you
can't do some specific task (because a program is broken). If that is a
correct assessment of the situation, then have some perspective.

You don't have to update world every day, or even every month. So don't.
If things work OK for what you need them to do, then the fact that you
can't update easily right now is *not a problem*. Certainly not one
needing a reinstall of the entire system.

If something specific is broken due to the gif/libungif issue, then tell
us what that is. It may be that gif/libungif needs to be sorted out to
fix whatever is broken, but we can cross that bridge when we come to it.

It's really not a big deal. Relax.

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



Re: [gentoo-user] GCC error

2005-11-03 Thread Harald Arnesen
赵光 [EMAIL PROTECTED] writes:

 2005/11/3, Hareesh Nagarajan [EMAIL PROTECTED]:
 Last night, I emerged some ATI drivers, emerged a new kernel (didn't
 compile it though) and emerged eselect.

 Today when I compile a C++ program I get the following error:

 /usr/include/asm/errno.h:4:31: asm-generic/errno.h: No such file or directory


 look like not install kernel correctly
 did you run
 make modules_install
 to install the headerfile of kernel

The headers in /usr/include has nothing to do with the kernel you have
installed. They are part of sys-kernel/linux-headers.

$ equery belongs /usr/include/asm-generic/errno.h
[ Searching for file(s) /usr/include/asm-generic/errno.h in *... ]
sys-kernel/linux-headers-2.6.11-r2 (/usr/include/asm-generic/errno.h)
-- 
Hilsen Harald.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] beagle compile error

2005-11-03 Thread Holly Bostick
karlos schreef:
 Hi,
 
 I run into this compilation error when trying to emerge beagle:
 
 Calculating dependencies ...done!
 
 emerge (1 of 12) dev-dotnet/gtk-sharp-2.3.92 to /
 
 
 
 cp ../gtk-sharp.snk . cp ../AssemblyInfo.cs . /usr/bin/mcs 
 -nowarn:0169,0612,0618 -unsafe -out:gdk-sharp.dll-target:library 
 /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll generated/*.cs 
 ./EventButt on.cs ./EventClient.cs ./EventConfigure.cs 
 ./EventCrossing.cs ./Event.cs ./Event DND.cs ./EventExpose.cs 
 ./EventFocus.cs ./EventKey.cs ./EventMotion.cs ./EventPr operty.cs 
 ./EventProximity.cs ./EventScroll.cs ./EventSelection.cs 
 ./EventSettin g.cs ./EventVisibility.cs ./EventWindowState.cs 
 ./Key.cs ./Size.cs ./TextPropert y.cs AssemblyInfo.cs 
 generated/PangoHelper.cs(17,55): error CS0039: Cannot convert type 
 `GLib.Object' to `Pango.Context' via a built-in conversion 
 generated/PangoHelper.cs(51,55): error CS0039: Cannot convert type 
 `GLib.Object' to `Pango.Context' via a built-in conversion 
 Compilation failed: 2 error(s), 0 warnings
 
 
 Has anyone experienced similar errors? I am not sure about what 
 information to include, so please tell me what I need to post.
 

I've experienced many errors in attempting to compile Beagle (before I
eventually succeeded), but not this one.

What I do know is that 1) beagle needs very specific compile order and
dependency versions to compile successfully, and 2) pango-sharp does not
exist in the Portage tree, or the gentopia overlay (so why you're
getting a pango error I don't know, but it seems a trifle odd).

The best sources of information for how to compile Beagle are

http://www.beagle-project.org/Gentoo_Installation

and

http://www.gentoo-wiki.com/HOWTO_Beagle

Using these instructions, I was able to build Beagle successfully. The
only inaccuracy in the Wiki is that Beagle needs wv-1.0.3-r1
specifically; it will not compile against a lower version, or the
current 1.2.2 version (there's a bug on b.g.o to that effect, and I just
spent two days confirming it before I found it). So as long as you mask
wv-1.0.3-r1, you should be good to go.

But other than that, if you follow the instructions, it should work. It
was a real pain to get installed, though; I will say that. However, it
is pretty cool.

HTH for a start,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Interface to Microsoft Keyboards (ala Intellitype) possible on Gentoo?

2005-11-03 Thread brullo nulla
 I have a Microsoft natural multimedia keyboard and wish to use the extra
 available keys (the multimedia keys mostly, volume up/down, pause, stop,
 rewind/fast forward, mute).  Are there any packages in portage that will
 allow me to do this?  Of course, if there isn't, a point in the direction of
 a source for such a program would be appreciated.

Isn't that the point of khotkeys?
m.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] revdep-rebuild is giving me fits

2005-11-03 Thread Dale
Holly Bostick wrote:

Did you re-emerge gentoo-sources after removing the doc USE flag?
  


Yup, I sure did.

What is the format of the relevant entry in /etc/portage/package.use?

If it does not look like this

sys-kernel/gentoo-sources -doc
  


Mine looks like this:  O_O

 sys-kernel/gentoo-sources -doc

Looks cool.

Also, try

emerge -uDNptv world

emerge --update --deep --newuse --pretend --tree --verbose

(with --tree being the important change)

 to see what packages are requiring xmlto. We're
just guessing that it's gentoo-sources, really; maybe it's not.
  


 [EMAIL PROTECTED] / # emerge -uDNptv world

 These are the packages that I would merge, in reverse order:

 Calculating world dependencies ...done!
 [nomerge  ] sys-kernel/vanilla-sources-2.6.12.5  -build +doc -symlink
 [ebuild  N]  app-text/xmlto-0.0.18  0 kB

 Total size of downloads: 0 kB
 [EMAIL PROTECTED] / #

Something new that didn't show up last time.  My new package.use:

sys-kernel/gentoo-sources  -doc
sys-kernel/vanilla-sources -doc

:p


No, your syntax in package.use is likely wrong. Happens to all of us. :-) .
  


Me, have a typo, no way.  I'm a perfect typer, NOT.  LOL  My typing sucks.


Great. No more need to deal with that atm, then.
  


What about the broke stuff?


*Will* you stop trying to get authorization for emerge -e at every
opportunity!!!??? :-)
  


Well, that was the command I was given and copy and paste works.  I'm a
bad typer remember.  I copy and paste all I can.  It's safer.

It's really not necessary. And you're getting yourself all worked up
over a relatively minor issue (or in fact a couple of them).
  


I'm not all worked up here.  I'm ROTFLMAO though.  LOL  I'm OK as long
as I can figure it out OR get help fixing it. 

Basically, you seem to be upset because Portage is having a fit when you
try to update world. Not because a program is broken, or because you
can't do some specific task (because a program is broken). If that is a
correct assessment of the situation, then have some perspective.
  


I'm not mad at portage.  I love portage.  I still remember Mandrake. 
I'll never forget that mess.  At least with this, it can be fixed
without a re-install.

You don't have to update world every day, or even every month. So don't.
If things work OK for what you need them to do, then the fact that you
can't update easily right now is *not a problem*. Certainly not one
needing a reinstall of the entire system.
  


I do mine each night because I'm on dial-up and it is easier to get
little tidbits than to wait until there is a new KDE and Open Office at
the same time.  o_O  It takes me about three days to get just Open
Office so I like to nibble on it a bit.  Plus, it is fun to watch,
unlike Mandrake.  Yea, I watch all that Greek stuff go by.  I don't
understand it much but I watch it anyway.

If something specific is broken due to the gif/libungif issue, then tell
us what that is. It may be that gif/libungif needs to be sorted out to
fix whatever is broken, but we can cross that bridge when we come to it.
  


I'm not sure if anything is broke or not.  It was a block thing that I
thought may be messing up revdep-rebuild since it was complaining about
it.  Everything seems to be working OK.  It's the reboot I worry about. 
I ran for almost 10 months just to reboot and find out my inittab was
blank.  It wasn't happy at all and I was very worried.

It's really not a big deal. Relax.
  


I'm allmost always relaxed.  As long as I can get to the net and surf or
email, I'm relaxed.  Other than that, I'm worried.  Right now, I'm
relaxed.  I just joke a lot, especially about the hammer.  I do have a 5
lb mini sledge but I would not hit my puter, I may threaten it though. 
LOL  Now to get over this dizzy spell that I have been in with that gif
thing.  I ran in circles for a while with that.  I also have a bald spot
where I was scratching my head.

I re-emerged vanilla-sources, it had the -doc on it too.  Now I get this:

 [EMAIL PROTECTED] / # emerge -uDNptv world

 These are the packages that I would merge, in reverse order:

 Calculating world dependencies ...done!

 Total size of downloads: 0 kB
 [EMAIL PROTECTED] / #


Just for the heck of it, I'm doing a emerge -ev world.  Just to be
sure.  I'll skip Open Office though.  It won't take to long.

My only question is about those broken things in revdep-rebuild.  I
guess the emerge -ev world will deal with that though, right?

Thanks for the help.  I need it.  Maybe one day I will get all this
absorbed.  Problem is, they keep changing and adding features.  I'm
playing catch-up.  Can you see me in your mirror yet?  LOL  What a sense
of humor.  I take a bit of getting used to.  Hang in there folks.  It's
a fun ride generally.

Dale
:-)

-- 
To err is human, I'm most certainly human.

 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] about c mail-list

2005-11-03 Thread David Eduardo Gómez Noguera
On Thu, 2005-11-03 at 12:13 +0800, 赵光 wrote:
 2005/11/3, Walter Dnes [EMAIL PROTECTED]:
  On Sun, Oct 30, 2005 at 09:32:20PM +0800,  wrote
   i want to get some good mail-list about c ,who can tell me,
   thx
 
  Not a mailing list, but a newsgroup, comp.lang.c
 
 thx,i got it
 

There is one good linux-c-programming list listed along with many others
at the linux kernel homepage kernel.org
-- 
David Eduardo Gómez Noguera [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge e17

2005-11-03 Thread Matias Grana

On Thu, Nov 03, 2005 at 11:19:07AM +0800, 赵光 wrote:
 thx to all
 i emerge it already
 BTW,i want to ask another questions
 where to find the e17's theme files,i want to change the font of e17
 default theme
 because the font can not display chinese font correctly
 thx
 
 --
 look at my blog
 http://poorc.wordpress.com
 
 -- 
 gentoo-user@gentoo.org mailing list

Official guides are in
http://www.get-e.org/

Maybe you'll want to subscribe to the enlightenment mainling list for
more specific questions.

List-Subscribe: 
https://lists.sourceforge.net/lists/listinfo/enlightenment-users,
mailto:[EMAIL PROTECTED]

regards,
Matias
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] some i/o errors are making my portage useless!

2005-11-03 Thread Denis
So last night I do emerge sync, and all of a sudden portage is
giving me a whole lot of I/O errors right before emerge sync is
completed, like

stat app-misc/esekeyd : Input/output error
rsync: recv_generator: mkdir app-misc/esekeyd/files: Input/output error (2)
stat app-misc/esekeyd/files : Input/output error
io timeout after 180 seconds - exiting
rsync error: timeout in data send/receive (code 30) at io.c(85)

The emerge will not complete successfully.  Tried it again this
morning - no luck.  Thought I'd reboot, and on boot-up I get a message
telling me that my /dev/sda4 filesystem, which is where my /usr is
mounted, contains errors.  So as Gentoo is trying to repair it, I hear
periodic beeps coming from inside my PC.  Finally, the PC boots.  I
run emerge sync, and again - same errors that I posted above.  But
this time, I hear beeps from inside my PC even as emerge is running
trying to complete syncing.  The sync will not complete successfully,
so I cannot even use portage until I get a successful sync (right?).

Do I have a problem with my hardware in this case, or is it something
software related?  I am using two big old Seagate SCSI drives (47 GB
each), with Adaptec drivers.

My partition table is as follows, if it helps resolve this:

/dev/sda1 -- /boot  (200MB)
/dev/sda2 -- SWAP (2GB)
/dev/sda3 -- / (25GB)
/dev/sda4 -- /usr (20GB)

/dev/sdb1 -- /home (47GB)

I am running an Intel x86-based system.  Would appreciate any help.
Denis

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE GUI for network settings

2005-11-03 Thread Qv6
On Wednesday 02 November 2005 09:02 am, Mark wrote:
 I have a KDE desktop on one of my machines, and noticed I couldn't
 find any GUI interface to manage the IP address and related
 configurations for the 2 ethernet cards on the box. I have installed
 kdenetworks, but still don't see anything. What do I need to
 install/enable/locate on my system to manage eth0 and eth1 from the
 GUI? Thanks!


If you really need a mature gui to manage your interface(s), try webmin. 
It gives that feature and a lot more.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] some i/o errors are making my portage useless!

2005-11-03 Thread Neil Bothwick
On Thu, 3 Nov 2005 09:51:51 -0500, Denis wrote:

 So last night I do emerge sync, and all of a sudden portage is
 giving me a whole lot of I/O errors right before emerge sync is
 completed,

Getting the obvious out of the way first, do you have free space
on /usr/portage?


-- 
Neil Bothwick

Irritable? Who the bloody hell are you calling irritable?


signature.asc
Description: PGP signature


Re: [gentoo-user] GCC error

2005-11-03 Thread Roberto Griso
On 11/3/05, Harald Arnesen [EMAIL PROTECTED] wrote:
 赵光 [EMAIL PROTECTED] writes:

  2005/11/3, Hareesh Nagarajan [EMAIL PROTECTED]:
  Last night, I emerged some ATI drivers, emerged a new kernel (didn't
  compile it though) and emerged eselect.
 
  Today when I compile a C++ program I get the following error:
 
  /usr/include/asm/errno.h:4:31: asm-generic/errno.h: No such file or 
  directory
 
 
  look like not install kernel correctly
  did you run
  make modules_install
  to install the headerfile of kernel

 The headers in /usr/include has nothing to do with the kernel you have
 installed. They are part of sys-kernel/linux-headers.

 $ equery belongs /usr/include/asm-generic/errno.h
 [ Searching for file(s) /usr/include/asm-generic/errno.h in *... ]
 sys-kernel/linux-headers-2.6.11-r2 (/usr/include/asm-generic/errno.h)
 --
 Hilsen Harald.


 --
 gentoo-user@gentoo.org mailing list



You Have to recompile glibc

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] revdep-rebuild is giving me fits

2005-11-03 Thread Holly Bostick
Dale schreef:
 Holly Bostick wrote:
 
 
 Did you re-emerge gentoo-sources after removing the doc USE flag?
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 Yup, I sure did.
 
 What is the format of the relevant entry in 
 /etc/portage/package.use?
 
 If it does not look like this
 
 sys-kernel/gentoo-sources -doc
 
 
 Mine looks like this:  O_O
 
 
 sys-kernel/gentoo-sources -doc

OK, that eliminates that possibility; it must be something else, then.
 
 Also, try
 
 emerge -uDNptv world
 
 emerge --update --deep --newuse --pretend --tree --verbose
 
 (with --tree being the important change)
 
 to see what packages are requiring xmlto. We're just guessing that 
 it's gentoo-sources, really; maybe it's not.
 
 
 
 [EMAIL PROTECTED] / # emerge -uDNptv world
 
 These are the packages that I would merge, in reverse order:
 
 Calculating world dependencies ...done! [nomerge  ] 
 sys-kernel/vanilla-sources-2.6.12.5  -build +doc -symlink [ebuild N
  ]  app-text/xmlto-0.0.18  0 kB
 
 Total size of downloads: 0 kB [EMAIL PROTECTED] / #
 

And so, in fact, it is something else. Or something more, that we didn't
know about.

Do you use/need vanilla-sources? If not, then you might consider
unmerging it, so it does not appear in your world file and attempt to
update every time you do an emerge -whatever world.

And you might also consider adding -doc to /etc/make.conf, as noted
previously.

 
 Something new that didn't show up last time.  My new package.use:
 
 
 sys-kernel/gentoo-sources-doc sys-kernel/vanilla-sources -doc
 

That should solve that, then.

 Great. No more need to deal with that atm, then.
 
 What about the broke stuff?

According to your last output:

 [EMAIL PROTECTED] / # revdep-rebuild
 
 Checking reverse dependencies... Packages containing binaries and 
 libraries broken by any package update, will be recompiled.
 
 Collecting system binaries and libraries... done. 
 (/root/.revdep-rebuild.1_files)
 
 Collecting complete LD_LIBRARY_PATH... done. 
 (/root/.revdep-rebuild.2_ldpath)
 
 Checking dynamic linking consistency... broken /usr/lib/gaim/tcl.so
  (requires libtcl8.3.so libtk8.3.so) broken 
 /usr/lib/libgtkmm-2.0.so.1.5.9 (requires libsigc-1.2.so.5) broken 
 /usr/lib/libgdkmm-2.0.so.1.5.9 (requires libsigc-1.2.so.5) broken 
 /usr/lib/libpangomm-1.0.so.1.5.9 (requires libsigc-1.2.so.5) broken
  /usr/lib/libglibmm-2.0.so.1.5.9 (requires libsigc-1.2.so.5) broken
  /usr/lib/libatkmm-1.0.so.1.5.9 (requires libsigc-1.2.so.5) broken 
 /usr/lib/python2.2/lib-dynload/_tkinter.so (requires libtk8.3.so 
 libtcl8.3.so) broken 
 /usr/lib/libgtkmm_generate_extra_defs-2.0.so.1.5.9 (requires 
 libsigc-1.2.so.5) broken /usr/bin/icewm-session (requires 
 libungif.so.4) broken /usr/bin/icewm (requires libungif.so.4) 
 broken /usr/bin/gnome-panel-properties-capplet (requires 
 libcapplet.so.0) broken /usr/bin/icewmtray (requires libungif.so.4)
  broken /usr/bin/icehelp (requires libungif.so.4) broken 
 /usr/bin/icewmbg (requires libungif.so.4) broken 
 /usr/X11R6/lib/gaim/tcl.so (requires libtcl8.3.so libtk8.3.so) 
 broken /usr/X11R6/lib/libgtkmm-2.0.so.1.5.9 (requires 
 libsigc-1.2.so.5) broken /usr/X11R6/lib/libgdkmm-2.0.so.1.5.9 
 (requires libsigc-1.2.so.5) broken 
 /usr/X11R6/lib/libpangomm-1.0.so.1.5.9 (requires libsigc-1.2.so.5)
  broken /usr/X11R6/lib/libglibmm-2.0.so.1.5.9 (requires 
 libsigc-1.2.so.5) broken /usr/X11R6/lib/libatkmm-1.0.so.1.5.9 
 (requires libsigc-1.2.so.5) broken 
 /usr/X11R6/lib/python2.2/lib-dynload/_tkinter.so (requires 
 libtk8.3.so libtcl8.3.so) broken 
 /usr/X11R6/lib/libgtkmm_generate_extra_defs-2.0.so.1.5.9 (requires 
 libsigc-1.2.so.5) broken /usr/X11R6/bin/icewm-session (requires 
 libungif.so.4) broken /usr/X11R6/bin/icewm (requires libungif.so.4)
  broken /usr/X11R6/bin/gnome-panel-properties-capplet (requires 
 libcapplet.so.0) broken /usr/X11R6/bin/icewmtray (requires 
 libungif.so.4) broken /usr/X11R6/bin/icehelp (requires 
 libungif.so.4) broken /usr/X11R6/bin/icewmbg (requires 
 libungif.so.4) done. (/root/.revdep-rebuild.3_rebuild)
 
 Assigning files to ebuilds... done. 
 (/root/.revdep-rebuild.4_ebuilds)
 
 Evaluating package order... done. (/root/.revdep-rebuild.5_order)
 
 Dynamic linking on your system is consistent... All done.

Dynamic linking on your system is consistent... All done. means that
nothing needs rebuilding, in the opinion of revdep-rebuild (meaning no
libraries are disconnected from the programs that depend on them).

By the way, what version of gentoolkit do you have installed? If the
last stable (0.2.0-r2), you might very well want to consider unmasking
the unstable version for this package only -- add
app-portage/gentoolkit ~x86 to /etc/portage/package.keywords-- as
revdep-rebuild is vastly improved (though still not perfect) in the most
recent unstable version.

It is within the realm of possiblility that your version of
revdep-rebuild is less trustworthy than mine (I use the unstable
version), so the reason why you're receiving untrustworthy reports, 

Re: [gentoo-user] some i/o errors are making my portage useless!

2005-11-03 Thread brullo nulla
Looks like your hard drive has something bad, bad, bad.
Try to run the badblocks utility, maybe not from Gentoo but from a live-cd.

m.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] UDEV doesn't respect GROUPS directive for dvd/hdc

2005-11-03 Thread Martin Jürgens

Hi everyone,

I'm having some trouble with the following udev rule for my dvdrw drive:

KERNEL==hdc, NAME=hdc, GROUP=dvdrw, MODE=0660

I placed it in /etc/udev/rules.d/10-udev.rules and applied it using 
udevstart.The result is the following device node:


brw-rw  1 root root 22, 0  3. Nov 16:46 /dev/hdc

The group has obviously not been set correctly. The rest of the rule 
works fine which I checked by trying NAME=bogus, and different mode 
settings. The owner can also be changed without any trouble by 
specifying OWNER=martin.


I started messing around with this in order to have members of the group 
dvdrw be able to play DVDs with mplayer dvd://1.


I'm using udev-070-r1.

Can anyone verify this ? I'm starting to think it might be a bug, though 
 I dare not speak it out loudly as I'm somewhat n00b.


Regards  Thanks for reading

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



Re: [gentoo-user] some i/o errors are making my portage useless!

2005-11-03 Thread Mrugesh Karnik

brullo nulla wrote:

Looks like your hard drive has something bad, bad, bad.
Try to run the badblocks utility, maybe not from Gentoo but from a live-cd.

m.



Even then, you might get the same errors. Looks like a hard disk failure 
to me.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: realtime-preemption patch

2005-11-03 Thread Mark Knecht
On 11/1/05, karlos [EMAIL PROTECTED] wrote:
 hi,

  hm, seems to be relatively straight forward, at least the patching. Yet
 still some questions remain for me, for example,
  how can I upgrade to this kernel version (from 2.6.13-r5) to 2.6.14, when
 emerge won't do it by itself. I guess I should not simply download the
 sources mentioned by MArk
  and do it, as this might break something.
  Also, in how far is it important to apply the other patches, which are
 applied to gentoo-sources?

  Karsten


Karsten,
   My inputs were never suggested as an addition to gentoo-sources.
This would be a completely parallel path to take.

NOTE: Why update 2.6.13-r5 to 2.6.14? Why not just build 2.6.14?

   In my case I do not know how to:

1) Determine what patches the Gentoo devs add to gentoo-sources AND
why they added them.

2) When someone here is kind enough to point out how I find the answer
to #1 then I still have no idea how to determine which of those
patches are important to me and my machines.

   My preferences in this area have always been:

1) Use gentoo-sources if it works for my application. I have 5 Gentoo
boxes here at home and 3 at my parents house. Of the 8 machines 7 run
gentoo-sources.

2) Use some other kernel if required. It seems that on my AMD64
machine I am (so far) unable to get the same acceptable realtime
performance as I get on my IA-32 machines using gentoo-sources. When I
determine that I can I will go back to running gentoo-sources on
AMD64.

   I don't know if any of this is helping you. I can only hope.

cheers,
Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Interface to Microsoft Keyboards (ala Intellitype) possible on Gentoo?

2005-11-03 Thread Mark Shields
I use Gnome, not KDE. But thanks for the suggestion, Brullo.On 11/3/05, brullo nulla [EMAIL PROTECTED]
 wrote: I have a Microsoft natural multimedia keyboard and wish to use the extra
 available keys (the multimedia keys mostly, volume up/down, pause, stop, rewind/fast forward, mute).Are there any packages in portage that will allow me to do this?Of course, if there isn't, a point in the direction of
 a source for such a program would be appreciated.Isn't that the point of khotkeys?m.--gentoo-user@gentoo.org mailing list
-- - Mark Shields


[gentoo-user] How to Configure Samba Gnome

2005-11-03 Thread Grimaldy Soto
Can somebody please help me to configure samba, so when i click the Network Icon on Gnome it's bring me the machine under the domain in the which i'm.?Regards


Re: [gentoo-user] Emerge difficulty.

2005-11-03 Thread Billy Holmes

Michael A Rowley, MD wrote:

+ set +x


it's possible there is a problem on that volume, and it's stuck waiting 
for IO? try fscking that volume?

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] file with IP?

2005-11-03 Thread Willie Wong
On Thu, Nov 03, 2005 at 09:15:20AM +, Neil Bothwick wrote:
 On Thu, 03 Nov 2005 07:56:08 +0800, William Kenworthy wrote:
 
  doesnt work well.  In my case only gives one lan IP, misses the other
  Lan and the dhcp ADSL IP.  Not a lot of use :(
 
 No, but on a box with a single IP address, it makes life a lot easier.
 
Maybe something is misconfigured on my box, but I get 

[01:41 PM]wwong ~ $ hostname -i
127.0.0.1 

which is probably not very helpful =p

(of course, this is on a static IP on a LAN, so it might be slightly
different from what the OP's situation. I am just posting to prove a
point)

W

-- 
`...and the Universe,' continued the waiter, determined 
not to be deflected on his home stretch, `will explode 
later for your pleasure.'
Ford's head swivelled slowly towards him. He spoke with 
feeling.
`Wow,' he said, `What sort of drinks do you serve in this 
place?'
The waiter laughed a polite little waiter's laugh.
`Ah,' he said, `I think sir has perhaps misunderstood me.'
`Oh, I hope not,' breathed Ford.

- Ford in paradise. 
Sortir en Pantoufles: up 20:00
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Interface to Microsoft Keyboards (ala Intellitype) possible on Gentoo?

2005-11-03 Thread Willie Wong
On Thu, Nov 03, 2005 at 01:08:23AM -0500, Mark Shields wrote:
 I have a Microsoft natural multimedia keyboard and wish to use the extra
 available keys (the multimedia keys mostly, volume up/down, pause, stop,
 rewind/fast forward, mute). Are there any packages in portage that will
 allow me to do this? Of course, if there isn't, a point in the direction of
 a source for such a program would be appreciated.
 
I use xbindkeys with my Acer-rebranded-Logitech multimedia keyboard.
It doesn't catch all the keys (some of the keys does not have a
registered x-event), but I got music playing, volume control and a few
other keys working. 

W
-- 
Pintsize: My first commandment is: Though shalt not beget electromagnetism 
in the presence of your Lord.
Sortir en Pantoufles: up 20:05
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] MySQL issue

2005-11-03 Thread C. Beamer
Hi,

Without going into a long drawn out explanation, I was having a problem
with something on my system and though that maybe it was because of the
upgrade I did to MySQL.  So, I decided I was going to unmerge MySQL and
emerge it again.  That may have been a dumb move, but what the heck, you
learn by your mistakes right?

Anyway, that seemed to be fine, but now, I'm getting an error message:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (111)

I googled for this and gather that it has something to do with the
placement of the mysqld.sock file.

The problem is the only post that I found that was specific to Gentoo
was in German.  Since I don't want to screw things up any more than they
already are, I'm turning here for help.

I do have the file /var/run/mysqld/mysqld.sock

How do I fix this?

Regards,

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



Re: [gentoo-user] revdep-rebuild is giving me fits

2005-11-03 Thread Willie Wong
On Thu, Nov 03, 2005 at 05:44:00AM -0600, Dale wrote:
 Mine looks like this:  O_O
 
  sys-kernel/gentoo-sources -doc
 

One of these e-mail things that needs to be checked. Sorry if you have
done it already. 

In that line quoted above in /etc/.../package.use, does the line begin
with a greater-than sign, or does it not? If it does begin with a
greater-than sign, please remove it. 

W
-- 
If I could choose between a second brain and a detachable stomach, I would 
 definitely choose the stomach. I mean, then I could eat a lot, dump it all 
 out, and simply continue eating, without any health worries! Whereas, I am 
 perfectly happy with my brain as it is right now.
 ~m
Sortir en Pantoufles: up 20:08
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] file with IP?

2005-11-03 Thread Neil Bothwick
On Thu, 3 Nov 2005 13:43:44 -0500, Willie Wong wrote:

 Maybe something is misconfigured on my box, but I get 
 
 [01:41 PM]wwong ~ $ hostname -i
 127.0.0.1 
 
 which is probably not very helpful =p
 
 (of course, this is on a static IP on a LAN, so it might be slightly
 different from what the OP's situation. I am just posting to prove a
 point)

I also have a static IP on a LAN. What do you have in /etc/hosts
and /etc/conf.d/hostname?


-- 
Neil Bothwick

I have nothing but respect for you, and not much of that.


signature.asc
Description: PGP signature


[gentoo-user] Begging For Help With ALSA and Lirc

2005-11-03 Thread Drew Tomlinson
I had MythTV 0.18 running just fine on a Gentoo 2.6.11-r6 kernel built 
with genkernel.  Then I upgraded the hardware to a Athlon 2800 XP 
processor running on an Asus motherboard with an Nvidia2 chipset and 
upgraded the kernel to 2.6.13-r5 from Gentoo sources using genkernel.  
The system has a PVR-250 and I added a pcHDTV-3000 card.  I mention this 
card in case there's some known conflicts.  I have used the 
module-rebuild and modules-update tools to recompile those modules that 
needed to be against the new kernel.  The specific modules were 
nvidia-kernel, ivtv, and svgalib.  I also reemerged lirc as that wasn't 
included in the module-rebuild tool.


But the two things I can't seem to get working are ALSA and lirc.  My 
sound card is an Audigy that uses the emu10k1 driver.  Following the 
Gentoo ALSA guide (http://www.gentoo.org/doc/en/alsa-guide.xml), I've 
tried both the kernel and alsa-driver method.  The card is detected.  
All the 'cat /proc/asound' stuff as described in the Issues section of 
the guide produces expected results.  All my volume levels are up and 
unmuted in 'alsamixer'.  Yet I get no sound.  What else might I check?  
What should I delete to be sure all ALSA stuff is gone so I can try 
again from scratch?  Any other ideas on how to get this working?  This 
same card was working before my upgrades.


And lirc won't load.  I get these errors when inserting the module:

tv mythtv # modprobe lirc_dev
FATAL: Error inserting lirc_dev 
(/lib/modules/2.6.13-gentoo-r5/misc/lirc_dev.ko): Unknown symbol in 
module, or unknown parameter (see dmesg)

tv mythtv # modprobe lirc_i2c
WARNING: Error inserting lirc_dev 
(/lib/modules/2.6.13-gentoo-r5/misc/lirc_dev.ko): Unknown symbol in 
module, or unknown parameter (see dmesg)
FATAL: Error inserting lirc_i2c 
(/lib/modules/2.6.13-gentoo-r5/misc/lirc_i2c.ko): Unknown symbol in 
module, or unknown parameter (see dmesg)


Any ideas on how to get this working as well?  And the modules.conf 
items used to be in /etc/modules.d/ivtv but now the new ivtv doesn't 
need its lines as it autodetects.  So where should I put the lirc 
lines?  Leave them where they are?  Create a /etc/modules.d/lirc?


Thanks for any help.  I've Googled and experimented for over a week now 
but can't get these two issues resolve.  I MISS MY MYTHTV!!!  :)


Thanks,

Drew

--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books,  More!

http://www.alchemistswarehouse.com

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] MySQL issue

2005-11-03 Thread Jeff Smelser
On Thursday 03 November 2005 07:49 am, C. Beamer wrote:

 ERROR 2002 (HY000): Can't connect to local MySQL server through socket
 '/var/run/mysqld/mysqld.sock' (111)

 I googled for this and gather that it has something to do with the
 placement of the mysqld.sock file.

 The problem is the only post that I found that was specific to Gentoo
 was in German.  Since I don't want to screw things up any more than they
 already are, I'm turning here for help.

 I do have the file /var/run/mysqld/mysqld.sock

Thats a connection refused message.. Make sure the proper mysql files are 
there, and you may need to restart it to load your versions of the grant 
tables.

Jeff


pgp3M4iHLSFhN.pgp
Description: PGP signature


Re: [gentoo-user] Begging For Help With ALSA and Lirc

2005-11-03 Thread Christoph Eckert

 But the two things I can't seem to get working are ALSA and lirc.  My
 sound card is an Audigy that uses the emu10k1 driver.

if the module is loaded you shoud see the card when doing a
cat /proc/asound/cards

 Following the 
 Gentoo ALSA guide (http://www.gentoo.org/doc/en/alsa-guide.xml), I've
 tried both the kernel and alsa-driver method.

I usually prefer the kernel method except there is brad new hardware so 
the external drivers are more recent than the kernel drivers.

 The card is detected. 
   All the 'cat /proc/asound' stuff as described in the Issues
 section of the guide produces expected results.  All my volume levels
 are up and unmuted in 'alsamixer'.  Yet I get no sound.

I guess the card is already occupied by an soundserver like arts (KDE) 
or esound (Gnome).

I'd try

artsshell -q terminate

starting xmms, setting my card in the preferences and see if it plays an 
audio file.

You can also try

aplay -N -D plughw:1 yourwavfilegoeshere.wav

The N option makes it not waiting the device to get freed but reporting 
an error.

If this doesn't help then maybe you want to consult the linux audio user 
list.


Best regards


ce


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] java_config

2005-11-03 Thread Petteri Räty
Luis Ortiz wrote:
 On Wed, 2005-11-02 at 17:10 -0600, Michael Sullivan wrote:
 
I'm trying to emerge dev-php/php on my wife's computer (catherine) and
it gives me this error message:

Traceback (most recent call last):
  File /usr/bin/java-config, line 14, in ?
from java_config import jc_options
ImportError: No module named java_config
 * You need to use java-config to set your JVM to a JDK!

catherine ~ # java-config
Traceback (most recent call last):
  File /usr/bin/java-config, line 14, in ?
from java_config import jc_options
ImportError: No module named java_config


I emerged dev-php/php just fine on my PC (camille).  What is causing
this error and is there a way to fix it?

 
 
 Try running 'python-updater' and re-emerging 'java-config'.
 

The function of python-updater is to re-emerge java-config (and other
python stuff installed under the old location).

Regards,
Petteri


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] some i/o errors are making my portage useless!

2005-11-03 Thread Denis
 Getting the obvious out of the way first, do you have free space
 on /usr/portage?

Neil - I doubt that could be a problem.  I have 20 GB allocated to
/usr partition alone!  I think portage couldn't have filled all that
up - I have had no problems of the sort on other machines, where my
/usr partition was much smaller.

I think hard drive failure is a possibility, although it's kind of
funny that the failure should be limited to just that /usr partition! 
Or does that happen sometimes?  I'll try badblocks and see what I get.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] some i/o errors are making my portage useless!

2005-11-03 Thread b.n.

I think hard drive failure is a possibility, although it's kind of
funny that the failure should be limited to just that /usr partition! 
Or does that happen sometimes?  I'll try badblocks and see what I get.


Well, if you have something rotting leading to bad blocks, it can be 
easily limited to just a partition...


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



Re: [gentoo-user] USB mobile phone connection..

2005-11-03 Thread Digby Tarvin
I've had another look at the problem, and at last can report
a bit of success - at least I think I have bracketed the problem...

I started by enabling the USB debug messages in the kernel 
(CONFIG_USB_DEBUG) to see if that shed any light on what was
happening, but it just produced a lot of stuff like:
  usb 1-1: new full speed USB device using uhci_hcd and address 2
  uhci_hcd :00:07.2: uhci_result_control: failed with status 44
  [cb907240] link (0b9071b2) element (0b03e040)
0: [cb03e040] link (0b03e080) e0 Stalled CRC/Timeo Length=7 MaxLen=7 DT0 
EndPt
  =0 Dev=0, PID=2d(SETUP) (buf=0c3d0860)
1: [cb03e080] link (0b03e0c0) e3 SPD Active Length=0 MaxLen=3f DT1 EndPt=0 
Dev
  =0, PID=69(IN) (buf=0b31c9a0)
2: [cb03e0c0] link (0001) e3 IOC Active Length=0 MaxLen=7ff DT1 EndPt=0 
De
  v=0, PID=e1(OUT) (buf=)

which didn't enlighten me very much.

So I then decided to try something fairly radical and booted a ubuntu live
CD which I picked up at a recent show in a different PC, and used
'apt-get install' to add all the pre-requisite packages and cvs to
download the latest version of moto4lin. 

The first interesting thing that I learned was that the error messages I was
getting on connection of the phone are not specific to gentoo - I get exactly
the same messages from ubuntu:
 usb 1-2: new full speed USB device using uhci_hcd and address 2
 usb 1-2: device descriptor read/64, error -71
 usb 1-2: device descriptor read/64, error -71
 usb 1-2: new full speed USB device using uhci_hcd and address 3
 usb 1-2: device descriptor read/64, error -71
 cdc_acm 1-2:1.0: ttyACM0: USB ACM device
 usbcore: registered new driver cdc_acm
 drivers/usb/class/cdc-acm.c: v0.23:USB Abstract Control Model driver for USB 
modems and ISDN adapters

This did produce the '/dev/ttyACM0' device file which you are seeing (rather
than the /dev/usb/acm/0 I am seeing on gentoo). It took me several attempts
before I found a configuration and sequence that worked, but eventually managed
to get the phone recognised in P2K mode and I successfully transfered all
accessible files from the phone onto my disk.

So now I know that my phone and cable are good, and just need track down
which difference between these systems is causing my problem with gentoo.

Havn't worked out yet where the phonebook or SMS inbox/outbox (two items
I really wanted to be able to archive from the phone) are stored.
Let me know if you have any suggestions.

Regards,
DigbyT

On Wed, Nov 02, 2005 at 06:46:48PM -0500, James Hiscock wrote:
  Thanks for going to all the trouble of testing out the phone
  operation on your SuSE machine. I havn't had any breakthrough
  yet, but your help has given me the confidence to persevere..
 
 No problem -- I'm a software tester in Real Life (tm), so stuff like
 this bugs the crap out of me. I have a tendency to get a hold of a
 problem, and beat it into the ground sometimes, and this is one of
 those things that drives me absolutely crazy: inconsistent behaviour
 of software is _extremely_ annoying and frustrating - especially when
 _I'm_ the one with the works for me response, but I can't figure out
 what I did (if anything) to solve the problem. sigh
 
 Anyway... I'm not convinced that the problem's in the kernel. If it
 was, then anybody with the same kernel would run into the same
 problem(s)...
 
 ...and, following that logic, I started digging through the code for
 moto4lin, trying to see if there was anything spectacularly obvious
 that _might_ be causing the behaviour we're seeing. In so doing, I
 _think_ I _might_ have found a typo in moto_ui/p2kproc.cpp, on line
 729... here's the function where that line appears:
 
 snip
 
 // Connect to phone.
 int P2kProc::drv_connect()
 {
 FUNC(drv_connect);
 int ph=drv_findPhone();
 if (ph==PHONE_NONE) RAISE(no phone)
 if (ph==PHONE_AT) drv_switchP2K();
 
 int t;
 t=time(NULL);
 
 while ((time(NULL)-t5)  (ph!=PHONE_P2K))
 {
 usb_find_devices();
 ph=drv_findPhone();
 usleep(1);
 }
 if (ph!=PHONE_P2K) return(-1);
 return(drv_openPhone());
 }
 /snip
 
 What's got me thinking there's a typo are the following two lines:
 
 if (ph==PHONE_NONE) RAISE(no phone)
 if (ph==PHONE_AT) drv_switchP2K();
 
 This looks to me like if there's no phone, an error is spit out (to
 the terminal, if you started moto4lin from there), then it checks to
 see if the phone's in AT mode, and then it tries to switch it to P2K
 mode. The problem here is that the switch to P2K will never be
 reached, because there's a missing semi-colon at the end of the first
 line, which means that if there's no phone _and_ it's in AT mode, then
 it'll do the switch... which makes little to no sense to me, if I'm
 reading this correctly...
 
 ...it might be worth trying out, though, to see if adding a semi-colon
 here would help, so that 

Re: [gentoo-user] some i/o errors are making my portage useless!

2005-11-03 Thread Mrugesh Karnik

I think hard drive failure is a possibility, although it's kind of
funny that the failure should be limited to just that /usr partition! 
Or does that happen sometimes?  I'll try badblocks and see what I get.


My dear fellow, I speak from experience. Just last month a hard disk 
(IDE) of mine died after giving out io errors first on the logical 
volume that hosted my /usr/portage. Then my entire volume group started 
giving the same errors and the next thing I know, the drive is dead!


Thinking about it though, is it just a mere coincidance that the errors 
started with /usr/portage?

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Begging For Help With ALSA and Lirc

2005-11-03 Thread Hans-Werner Hilse
Hi,

On Thu, 03 Nov 2005 11:11:41 -0800
Drew Tomlinson [EMAIL PROTECTED] wrote:

 And lirc won't load.  I get these errors when inserting the module:
 
 tv mythtv # modprobe lirc_dev
 FATAL: Error inserting lirc_dev 
 (/lib/modules/2.6.13-gentoo-r5/misc/lirc_dev.ko): Unknown symbol in 
 module, or unknown parameter (see dmesg)
 tv mythtv # modprobe lirc_i2c
 WARNING: Error inserting lirc_dev 
 (/lib/modules/2.6.13-gentoo-r5/misc/lirc_dev.ko): Unknown symbol in 
 module, or unknown parameter (see dmesg)
 FATAL: Error inserting lirc_i2c 
 (/lib/modules/2.6.13-gentoo-r5/misc/lirc_i2c.ko): Unknown symbol in 
 module, or unknown parameter (see dmesg)

well, and what does dmesg say? Do you have i2c support in the kernel?
What kind of IR receiver are you using? Do you need certain kernel
drivers for the TV card?

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



[gentoo-user] local.start and sending an email

2005-11-03 Thread John J. Foster
Good afternoon,

I have the following 2 entries in /etc/conf.d/local.start

# Record system restart
echo System restart on   `date +%F`   at   `date +%R`  /var/log/reboot.log

# Send email notification that the system just restarted
date|mutt -s 'System restarted' [EMAIL PROTECTED]

The first one properly records the fact that the system has been
restarted, but I do not receive an email. Watching the console as the
system comes up, I see a Segmentation Fault when the second command
executes. Running that command from a shell prompt works fine. I am
under the impression, possibly incorrectly, that local.start is run 
after all other init scripts.

depend() {
after *
}

Do I perhaps need to pause a bit in order to let something else finish?
I am using ssmtp for mail.

Thanks,
John

-- 
If voting could change anything,
it would be illegal


pgpHl6GMm3iaY.pgp
Description: PGP signature


Re: [gentoo-user] local.start and sending an email

2005-11-03 Thread Billy Holmes

John J. Foster wrote:

date|mutt -s 'System restarted' [EMAIL PROTECTED]


try putting in the full path to the commands?

the environment that local.start is in is not the same as your shell.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] file with IP?

2005-11-03 Thread Willie Wong
On Thu, Nov 03, 2005 at 07:10:48PM +, Neil Bothwick wrote:
 On Thu, 3 Nov 2005 13:43:44 -0500, Willie Wong wrote:
 
  Maybe something is misconfigured on my box, but I get 
  
  [01:41 PM]wwong ~ $ hostname -i
  127.0.0.1 
  
  which is probably not very helpful =p
  
  (of course, this is on a static IP on a LAN, so it might be slightly
  different from what the OP's situation. I am just posting to prove a
  point)
 
 I also have a static IP on a LAN. What do you have in /etc/hosts
 and /etc/conf.d/hostname?
 

Ah! that would explain it. So hostname -i does a name lookup? In
/etc/hosts I define all references to the local machine to 127.0.0.1

In hindsight, this behaviour does make sense. 

W
-- 
Tubby or not tubby, fat is the question!
Sortir en Pantoufles: up 22:35
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] revdep-rebuild is giving me fits

2005-11-03 Thread Dale
Willie Wong wrote:

On Thu, Nov 03, 2005 at 05:44:00AM -0600, Dale wrote:
  

Mine looks like this:  O_O



sys-kernel/gentoo-sources -doc
  


One of these e-mail things that needs to be checked. Sorry if you have
done it already. 

In that line quoted above in /etc/.../package.use, does the line begin
with a greater-than sign, or does it not? If it does begin with a
greater-than sign, please remove it. 

W
  

It does not have those.  From my understanding, which is often wrong by
the way, this file doesn't use those.  It turned out that
vanilla-sources was also causing this.  I added it to the package.use
file and xmlto is no longer a problem.  Basically, I took my hammer and
beat the stuffing out of it.  LOL

Thanks for making sure though.  You can never be to sure with these
things because it has to be just right for it to work.

Dale
:-)

-- 
To err is human, I'm most certainly human.

 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Can't open any files/mime-types?

2005-11-03 Thread Kai Wüst
Hi list,
when trying to open any file with k3b or e.g. openoffice, 
a box tells me could not find mime type   application/octet-stream, a second 
box pops up no mime type installed, and a third one with the kde crash 
handler, and this is the backtrace

(no debugging symbols found)
Using host libthread_db library /lib/tls/libthread_db.so.1.
(no debugging symbols found)
`system-supplied DSO at 0xe000' has disappeared; keeping its symbols.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1233372960 (LWP 7462)]
[New Thread -1235833936 (LWP 7468)]
0xe410 in __kernel_vsyscall ()
#0  0xe410 in __kernel_vsyscall ()
#1  0xb77ed77b in __waitpid_nocancel () from /lib/tls/libpthread.so.0
#2  0xb742662f in KCrash::defaultCrashHandler ()
   from /usr/kde/3.4/lib/libkdecore.so.4
#3  0x080591f0 in ?? ()
#4  0xbfffd938 in ?? ()
#5  0xb6dc6a2a in QPaintDevice::setX11Data () from /usr/qt/3/lib/libqt-mt.so.3
-

does anybody know what happened to my box?
thx



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Problems upgrading KDE failure on flac package

2005-11-03 Thread Scott Hall



Trying to emerge KDE 
I am getting the following failure on the flac package install. I 
have dug around on the forums and a little on the list archives. I can't 
seem to find anything similar. 

Whatever assistance 
anyone can provide is greatly appreciated. 

Here are my build 
options for what's left to install. 

orion ~ #emerge 
kde -pv

These are the 
packages that I would merge, in order:

Calculating 
dependencies ...done![ebuild U ] 
media-libs/flac-1.1.2-r3 [1.1.0] -3dnow -debug -doc +ogg* -sse +xmms 0 kB 
[ebuild N ] 
media-plugins/gst-plugins-flac-0.8.11 0 kB [ebuild 
NS ] media-plugins/gst-plugins-vorbis-0.8.11 0 kB 
[ebuild N ] sci-libs/fftw-3.0.1-r2 -3dnow 
(-altivec) -mpi -sse -sse2 0 kB [ebuild N ] 
media-libs/libsamplerate-0.1.2 -sndfile -static 691 kB [ebuild 
N ] media-plugins/gst-plugins-ogg-0.8.11 0 kB 
[ebuild U ] media-libs/taglib-1.4 [1.0] -debug 715 
kB [ebuild U ] media-libs/xine-lib-1.1.0-r6 [1_rc2] 
+X -a52 -aac -aalib +alsa* (-altivec) +arts -cle266 -directfb -dts -dvd -dxr3 
+esd -fbcon -ffmpeg +flac* +gnome -i8x0 -imagemagick +ipv6* -libcaca +mad -mng 
+nls -nvidia +opengl +oss +samba* +sdl -speex -theora -v4l -vcd -vidix +vorbis* 
-win32codecs -xinerama +xv -xvmc 7,862 kB [ebuild U 
] media-libs/libmad-0.15.1b [0.15.0b-r1] -debug 490 kB [ebuild 
NS ] media-plugins/gst-plugins-mad-0.8.11 0 kB 
[ebuild NS ] kde-base/kdemultimedia-3.4.3 +alsa 
+arts -audiofile -debug +encode +flac +gstreamer -jack -kdeenablefinal +mp3 
-musicbrainz -speex -theora +vorbis +xine -xinerama 5,366 kB [ebuild 
NS ] kde-base/kdeaddons-3.4.3 +arts +berkdb -debug 
-kdeenablefinal +sdl -xinerama +xmms 1,555 kB [ebuild NS ] 
kde-base/kdeadmin-3.4.3 +arts -debug -kdeenablefinal -xinerama 1,484 kB 
[ebuild NS ] kde-base/kdeedu-3.4.3-r10 +arts -debug 
-kdeenablefinal -kig-scripting -xinerama 23,421 kB [ebuild 
NS ] kde-base/kde-3.4.3 -accessibility 0 kB 


Total size of 
downloads: 41,588 kB

Here is the error I 
am getting. 

i686-pc-linux-gnu-gcc -I../.. -I./include -I../../include -DNDEBUG 
-DFLaC__INLINE=__inline__ -O2 -march=athlon-xp -pipe -o .libs/flac analyze.o 
decode.o encode.o main.o local_string_utils.o utils.o vorbiscomment.o 
../../src/libOggFLAC/.libs/libOggFLAC.so 
../../src/share/grabbag/.libs/libgrabbag.a ../../src/share/getopt/libgetopt.a 
../../src/share/replaygain_analysis/.libs/libreplaygain_analysis.a 
../../src/share/replaygain_synthesis/.libs/libreplaygain_synthesis.a 
../../src/share/utf8/.libs/libutf8.a ../../src/libFLAC/.libs/libFLAC.so 
-lm../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to 
`ogg_stream_pagein'../../src/libOggFLAC/.libs/libOggFLAC.so: undefined 
reference to `ogg_sync_wrote'../../src/libOggFLAC/.libs/libOggFLAC.so: 
undefined reference to 
`ogg_sync_reset'../../src/libOggFLAC/.libs/libOggFLAC.so: undefined 
reference to `ogg_stream_reset'../../src/libOggFLAC/.libs/libOggFLAC.so: 
undefined reference to 
`ogg_stream_clear'../../src/libOggFLAC/.libs/libOggFLAC.so: undefined 
reference to `ogg_stream_packetin'../../src/libOggFLAC/.libs/libOggFLAC.so: 
undefined reference to 
`ogg_stream_packetout'../../src/libOggFLAC/.libs/libOggFLAC.so: undefined 
reference to `ogg_sync_init'../../src/libOggFLAC/.libs/libOggFLAC.so: 
undefined reference to 
`ogg_stream_init'../../src/libOggFLAC/.libs/libOggFLAC.so: undefined 
reference to 
`ogg_page_checksum_set'../../src/libOggFLAC/.libs/libOggFLAC.so: undefined 
reference to `ogg_stream_pageout'../../src/libOggFLAC/.libs/libOggFLAC.so: 
undefined reference to 
`ogg_sync_clear'../../src/libOggFLAC/.libs/libOggFLAC.so: undefined 
reference to `ogg_page_serialno'../../src/libOggFLAC/.libs/libOggFLAC.so: 
undefined reference to 
`ogg_sync_buffer'../../src/libOggFLAC/.libs/libOggFLAC.so: undefined 
reference to `ogg_stream_flush'../../src/libOggFLAC/.libs/libOggFLAC.so: 
undefined reference to `ogg_sync_pageout'collect2: ld returned 1 exit 
statusmake[3]: *** [flac] Error 1make[3]: Leaving directory 
`/var/tmp/portage/flac-1.1.2-r3/work/flac-1.1.2/src/flac'make[2]: *** 
[all-recursive] Error 1make[2]: Leaving directory 
`/var/tmp/portage/flac-1.1.2-r3/work/flac-1.1.2/src'make[1]: *** 
[all-recursive] Error 1make[1]: Leaving directory 
`/var/tmp/portage/flac-1.1.2-r3/work/flac-1.1.2'make: *** [all] Error 
2

--Scott Hall
harmonyIP.com
801.924.5600
[EMAIL PROTECTED]



[gentoo-user] What happened with KDE?

2005-11-03 Thread Radu Filip
One of the reasons for which I switched to Gentoo two years ago was the 
fact from all the distributions out there, Gentoo was one of the fastest 
to provide a KDE build for the stable version, as soon as KDE team did a 
new new release.


I am emerge sync-ing almost daily and still there is no KDE 3.4.2 or KDE 
3.4.3 available:


[ebuild   R   ] kde-base/kde-3.4.1

Am I missing something? I know I can use the testing version (~x86) but 
is there a serious reason for why there has been no new release of KDE for 
the stable Gentoo in the last months? I've read the Changelogs of kdebase 
and kdelibs from Gentoo Online Package Database and I found no clue.


As an ultimate solution, how stable is the testing build of KFDE 
3.4.3-r1?


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



Re: [gentoo-user] some i/o errors are making my portage useless!

2005-11-03 Thread Neil Bothwick
On Thu, 3 Nov 2005 14:39:28 -0500, Denis wrote:

  Getting the obvious out of the way first, do you have free space
  on /usr/portage?
 
 Neil - I doubt that could be a problem.  I have 20 GB allocated to
 /usr partition alone!  I think portage couldn't have filled all that
 up

It could if you don't clean out /usr/portage/distfiles. My distfiles
directory is 7.5GB (I must get round to cleaning it out sometime) and
packages is quite large too. add in all the other stuff in /usr and
filling 20GB is conceivable, although not particularly likely. how much
free space does it have?

 I think hard drive failure is a possibility, although it's kind of
 funny that the failure should be limited to just that /usr partition! 
 Or does that happen sometimes?

As with many things, the most used parts wear out first :(


-- 
Neil Bothwick

Quick!! Act as if nothing has happened!


signature.asc
Description: PGP signature


Re: [gentoo-user] What happened with KDE?

2005-11-03 Thread Petteri Räty
Radu Filip wrote:
 One of the reasons for which I switched to Gentoo two years ago was the
 fact from all the distributions out there, Gentoo was one of the fastest
 to provide a KDE build for the stable version, as soon as KDE team did a
 new new release.
 
 I am emerge sync-ing almost daily and still there is no KDE 3.4.2 or
 KDE 3.4.3 available:
 
 [ebuild   R   ] kde-base/kde-3.4.1
 
 Am I missing something? I know I can use the testing version (~x86)
 but is there a serious reason for why there has been no new release of
 KDE for the stable Gentoo in the last months? I've read the Changelogs
 of kdebase and kdelibs from Gentoo Online Package Database and I found
 no clue.
 
 As an ultimate solution, how stable is the testing build of KFDE
 3.4.3-r1?

I use kde-3.5_betas and they are very good so I guess that 3.4.3-r1
should work very well too but your mileage may wary. I have been trying
to ask for getting a later KDE to stable lately but no progress has been
made. Hopefully soon.

Regards,
Petteri Räty



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] What happened with KDE?

2005-11-03 Thread Neil Bothwick
On Thu, 3 Nov 2005 23:51:55 +0200 (EET), Radu Filip wrote:

 As an ultimate solution, how stable is the testing build of KFDE 
 3.4.3-r1?

No idea, but 3.5.0_beta2 is solid here :)


-- 
Neil Bothwick

I must have slipped a disk; my pack hurts.


signature.asc
Description: PGP signature


Re: [gentoo-user] Full path in apache2 access_log?

2005-11-03 Thread A. Khattri
On Wed, 2 Nov 2005, Grant wrote:

 Is there any way to get apache2 to include a full path in its
 access_log?  That would be something like this:

 domain.com/page.html

 instead of this:

 /page.html

 If I can get a full path in the log, I can have webalizer report on
 traffic per domain.  The conventional method of using the vhost log
 format for something like this won't work for me because it relies on
 defining different ServerName directives via VirtualHost definitions
 but I don't think apache knows which domain is actually being served.
 I don't use any apache virtual host stuff.  Domain identification is
 handled by my shopping cart software.

Maybe I dont understand what you mean: but since you are using
VirtualHost definitions, then perhaps you could use separate logs for
each site?

e.g.

VirtualHost site1.com
ServerName www.site1.com
ErrorLog /var/log/apache/site1_error.log
AccessLog /var/log/apache/site2_access.log
/VirtualHost

VirtualHost site2.com
ServerName www.site2.com
ErrorLog /var/log/apache/site1_error.log
AccessLog /var/log/apache/site2_access.log
/VirtualHost

I just avoid the whole logsplit issue by doing this on production servers.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [OT?] Re: [gentoo-user] ext3: 10% non-contiguous

2005-11-03 Thread Peter Gordon
Richard Fish said:
 Based on what the developers presented at the 2005 OLS, delayed
 allocation, and an extents-based format (ext4?) are coming:

 http://www.linuxsymposium.org/2005/linuxsymposium_procv1.pdf
That looks very intriguing. :-D

Thanks for your thorough explanations, Richard!

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



Re: [gentoo-user] local.start and sending an email

2005-11-03 Thread Peper
 try putting in the full path to the commands?

 the environment that local.start is in is not the same as your shell.
Don't think so. It won't be a segfault then...

My only idea is to add echo local.start to the script and check when it is 
executed.

-- 
Best Regards,
Peper
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] some i/o errors are making my portage useless!

2005-11-03 Thread Denis
Running df shows that /usr partition is at 18% use.  However,
running du gives more input/output errors...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What happened with KDE?

2005-11-03 Thread Benno Schulenberg
Radu Filip wrote:
 As an ultimate solution, how stable is the testing build of
 KFDE 3.4.3-r1?

Rock solid here.  (But you may first want to inspect open KDE 3.4.2 
and 3.4.3 bugs on https://bugs.gentoo.org/ and see if any of those 
are likely to affect you.)

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



[gentoo-user] changing Apache installation

2005-11-03 Thread michael higgins
Hello, all. 

I've tried to install Template Toolkit, Apache2::Template under Apache2, 
mod_perl2 and am having, no suprise, issues. Though this may be possible, I'm 
not up to it.

So, rather than try to make this work, I just want to unmerge cleanly all 
apache/mod_perl/TT stuff on my machine, including leftover configs. And then 
re-install apache 1.x, or whatever.

Any pointers to make this go smoothly? I'm thinking something like 
CONFIG_PROTECT_MASK=-* emerge -Cv apache modperl or something similar... is 
this possible, or do I have to hunt  peck for the old configs, particularly if 
I've had an old apache 1.x install on here before and didn't try to clean the 
configs?

TIA for any replies.

-- 
|\  /||   |  ~ ~  
| \/ ||---|  `|` ?
||ichael  |   |iggins\^ /
michael_higgins[at]iinet[dot]com
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What happened with KDE?

2005-11-03 Thread Peper
 No idea, but 3.5.0_beta2 is solid here :)
I wanted to switch to 3.5.0_beta2 too, but:

emerge: there are no ebuilds to satisfy ~kde-base/libkpgp-3.5.0_beta2.
(dependency required by kde-base/certmanager-3.5.0_beta2 [ebuild])

I think kde 3.5.0_beta2 isn't a full release yet or hasn't been well/fully 
imported to portage.

-- 
Best Regards,
Peper
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Using tar to backup my system

2005-11-03 Thread Richard Watson
Hi ... I've just spent ages compiling my laptop. I'm really happy with
the result ... So fast ...

What I want to is create a directory called /backup and then create a
tarball using the command

# tar -zcvf /backup/mylaptop.tar /[all directories] except /backup (as I
don't want to go in circles).

I'm then going to copy off the resulting tarball to my server in case my
laptop dies (I'd rather not have to recompile everything). Does this
sound OK?If I ever had to restore I would copy the file to / and run the
command.

# tar -zxvf mylaptop.tar
--
Thanks, Richard
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Using tar to backup my system

2005-11-03 Thread 赵光
2005/11/4, Richard Watson [EMAIL PROTECTED]:

 # tar -zcvf /backup/mylaptop.tar /[all directories] except /backup (as I
 don't want to go in circles).

 I'm then going to copy off the resulting tarball to my server in case my
 laptop dies (I'd rather not have to recompile everything). Does this
 sound OK?If I ever had to restore I would copy the file to / and run the
 command.

 # tar -zxvf mylaptop.tar

 tar cjpf /path/to/save/at/stage4.tar.bz2 / --exclude=stage4.tar.bz2
--exclude=/backup
please make sure use the p paramters,it is keep the property of backup files





--
/
* Love in Gentoo-Linux  C and Python   *
* Look at my blog  *
* http://poorc.wordpress.com   *
/

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Using tar to backup my system

2005-11-03 Thread Dave Nebinger

# tar -zcvf /backup/mylaptop.tar /[all directories] except /backup (as I
don't want to go in circles).


You're going to want to exclude portions of /var, /dev, /proc  /sys, /tmp, 
...  You're also going to want to dig deeper into command line options to 
preserve ownership, links rather than hard files, etc.



# tar -zxvf mylaptop.tar


Ah, -z isn't needed because mylaptop.tar is not compressed.  The other 
larger problem is that it overwrites all files, regardless of whether they 
have been updated or not.


I guess really what I'm saying is no, it is not a good idea.  There's plenty 
of other backup solutions out there that would work better than this scheme. 
If you have a server and space for the file, rsync would even be a better 
solution.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Full path in apache2 access_log?

2005-11-03 Thread Grant
  Is there any way to get apache2 to include a full path in its
  access_log?  That would be something like this:
 
  domain.com/page.html
 
  instead of this:
 
  /page.html
 
  If I can get a full path in the log, I can have webalizer report on
  traffic per domain.  The conventional method of using the vhost log
  format for something like this won't work for me because it relies on
  defining different ServerName directives via VirtualHost definitions
  but I don't think apache knows which domain is actually being served.
  I don't use any apache virtual host stuff.  Domain identification is
  handled by my shopping cart software.

 Maybe I dont understand what you mean: but since you are using
 VirtualHost definitions, then perhaps you could use separate logs for
 each site?

 e.g.

 VirtualHost site1.com
 ServerName www.site1.com
 ErrorLog /var/log/apache/site1_error.log
 AccessLog /var/log/apache/site2_access.log
 /VirtualHost

 VirtualHost site2.com
 ServerName www.site2.com
 ErrorLog /var/log/apache/site1_error.log
 AccessLog /var/log/apache/site2_access.log
 /VirtualHost

 I just avoid the whole logsplit issue by doing this on production servers.

Yeah, I wasn't very clear about that.  The problem is I can't use
VirtualHost definitions because I don't think apache knows which
domain is actually being served.  I don't use any apache virtual host
stuff.  Domain identification is handled by my shopping cart software.

- Grant

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Is it just me? Or everyone has this openoffice2 problem?

2005-11-03 Thread Zhang Weiwu
After successfully merged, it goes like this:

[EMAIL PROTECTED] /usr/lib/openoffice/program $ oowriter2
/usr/lib/openoffice/program/javaldx: error while loading shared
libraries: libuno_sal.so.3: cannot open shared object file: No such file
or directory
/usr/lib/openoffice/program/soffice.bin: error while loading shared
libraries: libvcl680li.so: cannot open shared object file: No such file
or directory
[EMAIL PROTECTED] /usr/lib/openoffice/program $ locate libuno_sal.so
[EMAIL PROTECTED] /usr/lib/openoffice/program $ locate libvcl680li.so
[EMAIL PROTECTED] /usr/lib/openoffice/program $ qpkg -i -I blackdown-jre
dev-java/blackdown-jre-1.4.2.02 *
Blackdown Java Runtime Environment  [ http://www.blackdown.org ]
[EMAIL PROTECTED] /usr/lib/openoffice/program $ qpkg -i -I openoffice
app-office/openoffice-2.0.0 *
OpenOffice.org, a full office productivity suite. [
http://go-oo.org ]

looks to me this file libuno_sal.so.3 does exist on another machine
OpenOffice installation where it is installed by the 1.9 installer,
under programs folder.

Looks like a very obvious problem, why seems no discussion about it? Is
it just me who have this problem?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Is it just me? Or everyone has this openoffice2 problem?

2005-11-03 Thread Ryan L

Zhang Weiwu wrote:


After successfully merged, it goes like this:

[EMAIL PROTECTED] /usr/lib/openoffice/program $ oowriter2
/usr/lib/openoffice/program/javaldx: error while loading shared
libraries: libuno_sal.so.3: cannot open shared object file: No such file
or directory
/usr/lib/openoffice/program/soffice.bin: error while loading shared
libraries: libvcl680li.so: cannot open shared object file: No such file
or directory
[EMAIL PROTECTED] /usr/lib/openoffice/program $ locate libuno_sal.so
[EMAIL PROTECTED] /usr/lib/openoffice/program $ locate libvcl680li.so
[EMAIL PROTECTED] /usr/lib/openoffice/program $ qpkg -i -I blackdown-jre
dev-java/blackdown-jre-1.4.2.02 *
   Blackdown Java Runtime Environment  [ http://www.blackdown.org ]
[EMAIL PROTECTED] /usr/lib/openoffice/program $ qpkg -i -I openoffice
app-office/openoffice-2.0.0 *
   OpenOffice.org, a full office productivity suite. [
http://go-oo.org ]

looks to me this file libuno_sal.so.3 does exist on another machine
OpenOffice installation where it is installed by the 1.9 installer,
under programs folder.

Looks like a very obvious problem, why seems no discussion about it? Is
it just me who have this problem?
 



Not sure if mine is related, but when running revdep-rebuild it gives me 
a LOT of errors about openoffice needing some libraries and then 
remerges OO2.0. All fine and dandy, but running revdep-rebuild again 
afterward gives the same thing. I've done this about 4 times in a row. 
Perhaps OO2.0 isn't handling its libraries correctly. Or maybe an ebuild 
error?

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Is it just me? Or everyone has this openoffice2 problem?

2005-11-03 Thread 赵光
2005/11/4, Ryan L [EMAIL PROTECTED]:
 Zhang Weiwu wrote:

are you chinese,if you are chinese ,please give firefly OOo2 a try,
i think it will work well for you.

--
/
* Love in Gentoo-Linux  C and Python   *
* Look at my blog  *
* http://poorc.wordpress.com   *
/

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] UDEV doesn't respect GROUPS directive for dvd/hdc

2005-11-03 Thread Richard Fish

Martin Jürgens wrote:


Hi everyone,

I'm having some trouble with the following udev rule for my dvdrw drive:

KERNEL==hdc, NAME=hdc, GROUP=dvdrw, MODE=0660

I placed it in /etc/udev/rules.d/10-udev.rules and applied it using 
udevstart.The result is the following device node:


brw-rw  1 root root 22, 0  3. Nov 16:46 /dev/hdc



Well besides the fact I'm using udev-071, I don't have a group dvdrw, 
so I used a group that I do have.  I added this at the beginning of my 
10-udev.rules:


KERNEL==hdb, NAME=fooey, GROUP=rpc, MODE=0660

This gave me /dev/fooey, but with the wrong group (was cdrom).  I 
found I had to comment out the following 2 lines from 50-udev.rules to 
get it to work correctly:


# all block devices
#SUBSYSTEM==block, GROUP=disk
...
#ENV{ID_CDROM}==?*,   SYMLINK+=cdrom%e, GROUP=cdrom

With that, I got the correct group.

So it seems that SUBSYSTEM or ENV rules that appear later can override 
the group that you specify.  This should help you track down the problem.


However, you might want to try udev-071, followed by an etc-update (be 
sure to accept any changes to 50-udev.rules).  My DVD+/-RW device ends 
up in group cdrom automatically, so you would only need to add the 
appropriate users to that group.


HTH,
-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Is it just me? Or everyone has this openoffice2 problem?

2005-11-03 Thread Richard Fish

Zhang Weiwu wrote:


After successfully merged, it goes like this:

[EMAIL PROTECTED] /usr/lib/openoffice/program $ oowriter2
/usr/lib/openoffice/program/javaldx: error while loading shared
libraries: libuno_sal.so.3: cannot open shared object file: No such file
or directory
/usr/lib/openoffice/program/soffice.bin: error while loading shared
libraries: libvcl680li.so: cannot open shared object file: No such file
or directory
[EMAIL PROTECTED] /usr/lib/openoffice/program $ locate libuno_sal.so
[EMAIL PROTECTED] /usr/lib/openoffice/program $ locate libvcl680li.so
[EMAIL PROTECTED] /usr/lib/openoffice/program $ qpkg -i -I blackdown-jre
dev-java/blackdown-jre-1.4.2.02 *
   Blackdown Java Runtime Environment  [ http://www.blackdown.org ]
[EMAIL PROTECTED] /usr/lib/openoffice/program $ qpkg -i -I openoffice
app-office/openoffice-2.0.0 *
   OpenOffice.org, a full office productivity suite. [
http://go-oo.org ]
 



Did you emerge the bin, or build from sources?  I emerged openoffice 
with -java, so I don't have any javaldx as part of my openoffice 
installation.  But I do have libvcl680li.so, and libuno_sal.so:


carcharias program # ls -l libuno_sal.* libvcl680li.so
lrwxrwxrwx  1 root root  15 Nov  2 14:28 libuno_sal.so - 
libuno_sal.so.3

-r--r--r--  1 root root 1814568 Oct 23 18:12 libuno_sal.so.3
-r--r--r--  1 root root 3402428 Oct 23 18:12 libvcl680li.so
carcharias program # pwd
/usr/lib/openoffice/program
carcharias program # emerge -Dv --pretend openoffice

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] app-office/openoffice-2.0.0  +curl -eds -gnome +gtk 
-java +kde -ldap -mozilla -nas +xml2 +zlib 0 kB


-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Is it just me? Or everyone has this openoffice2 problem?

2005-11-03 Thread Richard Fish

Ryan L wrote:

Not sure if mine is related, but when running revdep-rebuild it gives 
me a LOT of errors about openoffice needing some libraries and then 
remerges OO2.0. All fine and dandy, but running revdep-rebuild again 
afterward gives the same thing. I've done this about 4 times in a row. 
Perhaps OO2.0 isn't handling its libraries correctly. Or maybe an 
ebuild error?



If you have emerged the binary package, this is normal, because the 
binary version sticks private versions of all libraries and even python 
in the openoffice directory, where it can't be found without setting 
LD_LIBRARY_PATH in the environment.  If you did merge the binary, update 
/etc/make.conf to set SEARCH_DIRS_MASK=/usr/lib/openoffice.


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



Re: [gentoo-user] Begging For Help With ALSA and Lirc

2005-11-03 Thread Drew Tomlinson

On 11/3/2005 11:24 AM Christoph Eckert wrote:


But the two things I can't seem to get working are ALSA and lirc.  My
sound card is an Audigy that uses the emu10k1 driver.
   



if the module is loaded you shoud see the card when doing a
cat /proc/asound/cards
 



Thank you for your response.  I do see the card:

tv mythtv # cat /proc/asound/cards
0 [Audigy ]: Audigy - Audigy 1 [SB0090]
Audigy 1 [SB0090] (rev.3, serial:0x511102) at 
0x9400, irq 22


Following the 
Gentoo ALSA guide (http://www.gentoo.org/doc/en/alsa-guide.xml), I've

tried both the kernel and alsa-driver method.
   



I usually prefer the kernel method except there is brad new hardware so 
the external drivers are more recent than the kernel drivers.
 



Yes, I started with the kernel method as recommended in the guide.  When 
that didn't work I tried the alsa-driver method.  Neither has worked for 
me yet.


The card is detected. 
 All the 'cat /proc/asound' stuff as described in the Issues

section of the guide produces expected results.  All my volume levels
are up and unmuted in 'alsamixer'.  Yet I get no sound.
   



I guess the card is already occupied by an soundserver like arts (KDE) 
or esound (Gnome).
 



Good guess.  However I only have iceWM on this box and as far as I know, 
there is no sound server.



I'd try

artsshell -q terminate

starting xmms, setting my card in the preferences and see if it plays an 
audio file.
 



I tried this and switched to the ALSA driver.  I saw three devices 
listed so I just decided to try the standard PCM Playback (hw:0,0) 
device.  Still no sound but at least I had a constant sound source.  
Then I disconnected from my stereo system and just ran standard computer 
speakers that I knew were working.  After trying all the various jacks 
on the back of the sound card, SUCCESS!!!  I found one that was 
outputting sound.  This is an old Audigy card where all the jacks look 
the same.  Oh sure, there's some small graphic etched into the metal by 
each jack but my old eyes can't see them.  None of the newer colored 
markings on the actual jacks.


So anyway, I must have some issue with my stereo system to sort out.  
But at least I know the box is producing sound.  Thank you very much for 
your ideas.  It got me thinking in a new way.


Cheers,

Drew

--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books,  More!

http://www.alchemistswarehouse.com

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Replacement for qpkg... please!?!?

2005-11-03 Thread Walter Dnes
On Thu, Nov 03, 2005 at 09:12:14AM +, Neil Bothwick wrote

 You still can, gentoolkit still installs qpkg, but doesn't put it
 in your path. You'll find it in
 
 /usr/share/doc/gentoolkit-version/deprecated/qpkg

[m3000][root][~] find / -name qpkg
/usr/lib/gentoolkit/bin/qpkg
/usr/share/doc/gentoolkit-0.2.0-r2/qpkg

  Looks like /usr/share/doc/gentoolkit-0.2.0-r2/qpkg is it.  Thanks.
equery actually works; it merely has an outdated manpage that says
equery depends hasn't been implemented yet.  Yes folks, proof positive
that you should never RTFM before using a programg.  Sorry, I just
couldn't resist.

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



Re: [gentoo-user] Is it just me? Or everyone has this openoffice2 problem?

2005-11-03 Thread Ryan L

Richard Fish wrote:


Ryan L wrote:

Not sure if mine is related, but when running revdep-rebuild it gives 
me a LOT of errors about openoffice needing some libraries and then 
remerges OO2.0. All fine and dandy, but running revdep-rebuild again 
afterward gives the same thing. I've done this about 4 times in a 
row. Perhaps OO2.0 isn't handling its libraries correctly. Or maybe 
an ebuild error?




If you have emerged the binary package, this is normal, because the 
binary version sticks private versions of all libraries and even 
python in the openoffice directory, where it can't be found without 
setting LD_LIBRARY_PATH in the environment.  If you did merge the 
binary, update /etc/make.conf to set 
SEARCH_DIRS_MASK=/usr/lib/openoffice.


-Richard


Thank you sir! Worked like a charm! I just had to use lib32 instead of 
lib since I'm on amd64, but still worked perfectly! Thanks!


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] some i/o errors are making my portage useless!

2005-11-03 Thread John Myers
On Thursday 03 November 2005 15:13, Denis wrote:
 Running df shows that /usr partition is at 18% use.  However,
 running du gives more input/output errors...
First, I would back up all your data immediately. You have filesystem 
corruption or hardware failure. And if you have hardware failure, you 
probably also have filesystem corruption. If you have space somewhere, boot 
with a livecd, and copy everything (except /usr/portage) to another place. 
Then, recreate the filesystem, and copy it back. If this works, and the 
errors cease, you're probably OK. If not, you need to buy a new disk


pgpgF2cGyf7RP.pgp
Description: PGP signature


Re: [gentoo-user] What happened with KDE?

2005-11-03 Thread Alexander Skwar
Peper schrieb:
 No idea, but 3.5.0_beta2 is solid here :)
 I wanted to switch to 3.5.0_beta2 too, but:
 
 emerge: there are no ebuilds to satisfy ~kde-base/libkpgp-3.5.0_beta2.
 (dependency required by kde-base/certmanager-3.5.0_beta2 [ebuild])

http://packages.gentoo.org/search/?sstring=libkpgp

It's still at beta1.

Alexander Skwar
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Using tar to backup my system

2005-11-03 Thread Richard Watson

On Thu, 2005-11-03 at 19:41 -0500, Dave Nebinger wrote:
 I guess really what I'm saying is no, it is not a good idea.  There's plenty 
 of other backup solutions out there that would work better than this scheme. 
 If you have a server and space for the file, rsync would even be a better 
 solution.

I'm going to try something I found on the Gentoo Wiki:

# emerge netcat

Remote machine runs
# nc -l -p 1  image.gz

Machine I'm backing up:
# dd if=/dev/hda1 | gzip | nc -w 5 remote_ip 1

What do you think? I'm a bit puzzled by rsync at the moment so this
seems to be a simple short term fix. Thanks, Richard




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Is it just me? Or everyone has this openoffice2 problem?

2005-11-03 Thread Zhang Weiwu
Richard Fish wrote:

 Zhang Weiwu wrote:

 After successfully merged, it goes like this:

 [EMAIL PROTECTED] /usr/lib/openoffice/program $ oowriter2
 /usr/lib/openoffice/program/javaldx: error while loading shared
 libraries: libuno_sal.so.3: cannot open shared object file: No such file
 or directory
 /usr/lib/openoffice/program/soffice.bin: error while loading shared
 libraries: libvcl680li.so: cannot open shared object file: No such file
 or directory
 [EMAIL PROTECTED] /usr/lib/openoffice/program $ locate libuno_sal.so
 [EMAIL PROTECTED] /usr/lib/openoffice/program $ locate libvcl680li.so
 [EMAIL PROTECTED] /usr/lib/openoffice/program $ qpkg -i -I blackdown-jre
 dev-java/blackdown-jre-1.4.2.02 *
Blackdown Java Runtime Environment  [ http://www.blackdown.org ]
 [EMAIL PROTECTED] /usr/lib/openoffice/program $ qpkg -i -I openoffice
 app-office/openoffice-2.0.0 *
OpenOffice.org, a full office productivity suite. [
 http://go-oo.org ]
  


 Did you emerge the bin, or build from sources?

It took me one day to emerge from source. I tried SEARCH_DIRS_MASK but
that doesn't work for me.

   I emerged openoffice with -java, so I don't have any javaldx as
 part of my openoffice installation.  But I do have libvcl680li.so, and
 libuno_sal.so:

 carcharias program # ls -l libuno_sal.* libvcl680li.so
 lrwxrwxrwx  1 root root  15 Nov  2 14:28 libuno_sal.so -
 libuno_sal.so.3
 -r--r--r--  1 root root 1814568 Oct 23 18:12 libuno_sal.so.3
 -r--r--r--  1 root root 3402428 Oct 23 18:12 libvcl680li.so
 carcharias program # pwd
 /usr/lib/openoffice/program
 carcharias program # emerge -Dv --pretend openoffice

 These are the packages that I would merge, in order:

 Calculating dependencies ...done!
 [ebuild   R   ] app-office/openoffice-2.0.0  +curl -eds -gnome +gtk
 -java +kde -ldap -mozilla -nas +xml2 +zlib 0 kB

 -Richard

More helpful debug message:

Joe /usr/lib/openoffice/program # ls -l libuno* libvcl*
ls: libvcl*: No such file or directory.
lrwxrwxrwx  1 root root 26 11月  1 23:52 libuno_cppuhelpergcc3.so -
libuno_cppuhelpergcc3.so.3
lrwxrwxrwx  1 root root 16 11月  1 23:52 libuno_cppu.so - libuno_cppu.so.3

Joe /usr/lib/openoffice/program # ACCEPT_KEYWORDS=~x86 emerge -Dv
--pretend openoffice

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] app-office/openoffice-2.0.0  +curl +eds +gnome +gtk
+java -kde +ldap +mozilla -nas +xml2 +zlib 0 kB

Total size of downloads: 0 kB

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] a bit confused by emerge blockers

2005-11-03 Thread michael

emerge told me that pine was blocking something, so I did an emerge
--pretend to see what:

emerge -Duv --newuse world
Calculating world dependencies ...done!

!!! Error: the mail-client/pine-4.64-r1 package conflicts with another
package.!!!both can't be installed on the same system together.
!!!Please use 'emerge --pretend' to determine blockers.

#  emerge --pretend pine

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[blocks B ] mail-client/pine-4.64-r1 (is blocking
net-mail/uw-mailutils-2004g)
[ebuild  N] net-mail/uw-mailutils-2004g
[ebuild U ] mail-client/pine-4.64-r1 [4.61-r2]




I tried to remove pine, figuring I'd emerge it later after I finished my
big emerge -Duv world, but I get this:

emerge -e mail-client/pine-4.64-r1
--- Invalid atom in /etc/portage/package.keywords: =mail-client/pine
Calculating dependencies

!!! Problem in mail-client/pine-4.64-r1 dependencies.
!!! Specific key requires an operator (mail-client/pine-4.64-r1) (try
adding an '=') exceptions




What's the best way to resolve this? My goal is to update everything
as it's been awhile since I last updated (over a year).

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