Re: [gentoo-user] Re: libpng12 is missing [TEMP SOLN]

2010-05-16 Thread Roy Wright

On May 16, 2010, at 2:30 AM, Chris Walters wrote:

 On 5/15/2010 11:06 AM, Roy Wright wrote:
 Argh.  Just have to vent a little.
 
 So on to my list a applications to be installed.  Firefox check, openoffice 
 check, handbrake...crap.  Handbrake is one of the non-standard packages that 
 includes their own version of support libraries.  You guessed it, libpng12 
 dependent.  Argh!
 
 Have fun,
 Roy
 
 
 I had the same problem with a 'missing' libpng12.  There are 2 slots for
 libpng: slot 0 and slot 1.2.  You DON'T want anything in the 1.2 slot. 
 What you DO want is the lonely ebuild in the 0 slot.  Why?  It will
 create the libpng12.la file that is needed for packages to find the
 library.  So this is what I did:
 
 1.  Ran emerge -C libpng to remove ALL versions of libpng that were
 installed.
 2.  Ran emerge =libpng-1.2.43-r2.  I believe that is the version of
 the slot 0 libpng.
 3.  Ran lafilefixer --justfixit -- just in case.
 4.  Re-emerged cairo to make sure it was linked to my newly installed
 libpng12
 5.  Belatedly realized that I should mask every version of libpng above
 the slot 0 one, and did so.
 6.  Ran equery d libpng from the 'gentoolkit' package.
 7.  Re-emerged everything on that list (even Open office - ugh).
 
 In step 7, everything compiled and installed just fine - no errors. 
 From what I can see, this looks like an upstream bug, where their source
 is coded to look only for libpng12, and nothing else.  For me it would
 stop with an error during the linking phase, or right at the beginning
 (at least those packages had checks).
 
 I hope this helps someone.
 
 Chris
 

Got handbrake installed.  When initially going thru the mess I ended up with
both slot 0 and slot 1.2 installed.  So unmerged slot 1.2, did a revdep-rebuild,
then handbrake built fine.

So system is (for now at least) pure 1.4.

Have fun,
Roy


Re: [gentoo-user] Re: libpng12 is missing

2010-05-15 Thread Roy Wright

Argh.  Just have to vent a little.

Bring up a new install on a system whose system disk died and was replaced with 
an SSD.  OS installed no problems.  Recovered my RAID5 and LVM JBOD volume (a 
GIANT THANK YOU to the mdadm and lvm2 folks!).  Then first weekly update hits 
the libpng12 issue.  No complaints, it's what I expect being at ~amd64 and the 
price I willing pay for the benefits of gentoo.  Another THANK YOU to the 
lafilefixer folks and system is up.

So on to my list a applications to be installed.  Firefox check, openoffice 
check, handbrake...crap.  Handbrake is one of the non-standard packages that 
includes their own version of support libraries.  You guessed it, libpng12 
dependent.  Argh!

Have fun,
Roy




Re: [gentoo-user] Boot speedup

2010-04-12 Thread Roy Wright


On Apr 12, 2010, at 7:01 AM, Mark Knecht markkne...@gmail.com wrote:

On Mon, Apr 12, 2010 at 2:56 AM, Hinko Kocevar hinko.koce...@i-tech.si 
 wrote:

On 04/12/10 11:31, Ngoc Nguyen Bao wrote:
On Mon, Apr 12, 2010 at 4:02 PM, Hinko Kocevar hinko.koce...@i-tech.si 
 wrote:

Hi,

I've started to look around on how to speed up the Gentoo boot  
sequence.
Looking at the bootchart output I discovered that if using  
parallel boot
feature from the /etc/conf.d/rc (RC_PARALLEL_STARTUP=yes),  
things get

done about 9 seconds faster that with RC_PARALLEL_STARTUP=no.

Boot time is still at 45 seconds.


Can boot be sped up even more?


Best regards,
Hinko
.




Change to testing branch with base layout 2. Your boot time'll  
decrease by half.




Thank you!

Hmm, I was looking at the
http://www.gentoo.org/doc/en/openrc-migration.xml. For OpenRC I added
sys-apps/openrc ~x86 to package.keywords, to get baselayout-2 ebuild
I've added ACCEPT_KEYWORDS=~x86 to /etc/make.conf.

Will it be enough to (re-)build the baselayout and openrc and its
closest dependencies (41 packages)? Or do I need to perform complete
system upgrade (~900 packages) now that ACCEPT_KEYWORDS is present?


Best regards,
Hinko





Be careful about going ~x86. I just went ~amd64. The OpenRC migration
is painless. The KDE, gnome, xfce4 part hasn't been for me. I'm likely
to remove all environments and apps, add the 41 apps to
package.keywords and be done with it, assuming that actually works and
doesn't uncover other problems.

Read more in a post I just sent before I saw your question.

- Mark



Concider / on SSD, /tmp in RAM, /var on spinning disk.

A free society is a single class society where everyone has the same  
rights.





Re: [gentoo-user] syslog-ng filtering

2010-03-16 Thread Roy Wright

On Mar 16, 2010, at 6:22 PM, Ralph Slooten wrote:

 Hi all,
 
 Has anyone here worked out how to filter out syslog messages using syslog-ng 
 v3? The old syntax doesn't work (well complains bitterly about performance 
 and says to use regex), and no matter what I try I cannot get the new syntax 
 to work :-/ I have a syslog-ng server which logs to MySQL for multiple 
 clients in a network, however the database just keeps growing with irrelevant 
 data I'd prefer to just quietly ignore on the server side. 
 

I just started with the example at:

http://en.gentoo-wiki.com/wiki/Syslog-ng

HTH,
Roy




Re: [gentoo-user] KDE4 printer config question

2010-03-09 Thread Roy Wright

On Mar 9, 2010, at 5:21 AM, Peter Humphrey wrote:

 Sounds to me as though you haven't set CUPS up right on the machine 
 connected to the printer. You need it to allow other machines on your 
 network to print, and maybe to administer CUPS if you want to move 
 printer administration to another box.
 

Just got CUPS working from gentoo to kubuntu.  The misunderstood part for me 
was the need to set up cupsd.conf for sharing even though I was only using a 
remote printer specified with ServerName in client.conf.

But now the KDE Printer Configuration dialog appears to be hitting 
https://bugs.kde.org/show_bug.cgi?id=204558

So I'm going to conclude that KDE 4.4.1 is not ready for printer configuration 
and just stick with CUPS.  Sad.

Thanks everyone!

Roy




[gentoo-user] KDE4 printer config question

2010-03-08 Thread Roy Wright
Howdy,

OK, installed KDE 4.4.1 on an older box (BE-2400 4GB ~x86), seems to be working 
pretty good.  But am having trouble trying to figure out the kde way to 
configure a network (cups on a kubuntu system) printer.

From system_settings, Printer Configuration, the Server Settings are all 
disabled.  I think I need to set Show printers shared by other systems.  So 
first tried running system_settings as root to see if it's an authentication 
issue, no luck, still disabled.  Next did some googling and thought maybe need 
to use kauth to allow it, again no luck.  Any good tutorials on how to use 
kauth?

So any ideas on what piece of the puzzle I'm missing?

On a side topic, I had cloned the System Settings menu item to set one version 
up to run as root.  The new menu item does not show up in the new menu manager, 
but does using old style menus.  Any pointers on how to add items to the new 
menu style?

TIA,
Roy




Re: [gentoo-user] KDE4 printer config question

2010-03-08 Thread Roy Wright

On Mar 8, 2010, at 10:54 PM, ubiquitous1980 wrote:

 Roy, without being presumptuous, I would say that using D.E. (Desktop
 Environment) tools for printing are not the best because of
 inconsistency in layout and authentication problems.  My suggestion is
 to open up your web browser and use localhost:631 in the address bar to
 access CUPS and do it this way.  My line of reasoning is that you want
 consistency, which is what you get with this method.  Printers
 configured in this way are available in your chosen D.E.  In my
 use-case, I have an HP usb printer which can connect via cat 6 cable and
 I also use KDE 4.3.  I have configured the printer with CUPS via a web
 browser and have few issues.
 
 I trust that helps.
 
 Damien
 

I agree, but am wanting to give kde 4.4.1 a try at handling the printer just to 
see if it can do it.  Currently the answer is either no or I haven't found a 
required configuration change.

Thank you,
Roy




Re: [gentoo-user] No more mythtv for Gentoo users?

2010-03-04 Thread Roy Wright

On Mar 4, 2010, at 1:35 AM, Alan McKinnon wrote:
 
 This notebook is nazgul, not because I'm a LOTR fan (which I am) but because 
 it ties in nicely with the BOFH image I've been cultivating for years
 

Thanks for bringing back old memories, it's been almost two decades since I 
read BOFH.  ;)




Re: [gentoo-user] mysql is being pulled in again!

2010-03-04 Thread Roy Wright
Since you already merged it in:

# equery depends mysql

then unmerge or correct USE flags for dependent apps.

To have portage error out instead of merging mysql in the future:

# echo dev-db/mysql /etc/portage/package.mask/I_said_no_mysql

HTH,
Roy



Re: [gentoo-user] New Gentoo system has become unstable and unusable - help, please!

2010-02-12 Thread Roy Wright

On Feb 12, 2010, at 3:46 AM, Alan Mackenzie wrote:

 On Fri, Feb 12, 2010 at 10:50:46AM +0200, Alan McKinnon wrote:
 
 I hope you're not right here.  ;-)  The hardware is spanking brand new;
 so new, in fact, that it's still gleaming.
 
 Are there any handy utility programs around to test RAM exhaustively?
 

I use a kubuntu live disk, one of the boot options is to run memtest.  I 
typically let it run a several hours on a new box.

The second issue might be heat (or cooling depending on your point of view).  A 
couple of things, easiest is to install the lm_sensors and your favorite 
capture utility.  I also will use an IR thermometer and DMM with temperature 
probe to verify cooling.

With lm_sensors running, I'll run several stress tests to find the hottest the 
system will run.  If the system gets too hot, I'll increase cooling 
(more/faster fans).

Another thing to check is that the memory is seated properly.  I'd remove the 
modules, inspect the connectors, then very carefully reinstall them.  While you 
are at it, make sure all connectors are seated correctly.


HTH,
Roy




Re: [gentoo-user] New Gentoo system has become unstable and unusable - help, please!

2010-02-12 Thread Roy Wright
Another thing to try, change compile flag to -J1 (MAKEOPTS=-J1 emerge ...)

Last time I built up a system there were a couple of packages that couldn't 
handle parallel compiles.

HTH,
Roy


Re: [gentoo-user] Re: Has semantic-desktop really become compulsatory for kmail?

2010-02-11 Thread Roy Wright

On Feb 11, 2010, at 11:02 AM, Neil Bothwick wrote:

 On Thu, 11 Feb 2010 07:00:27 -0500, Walter Dnes wrote:
 
  Yes, I can organize my files to the point where I rarely ever use
 find.  Just because you can't, is not a reason to slow down everybody
 else's desktop. 
 
 Is this ignorance or FUD?
 
 It must be FUD because it has already been stated countless times in this
 thread that this service can be switched off.

Just to come full circle, the thread started because the kmail is now requiring 
the semantic-desktop USE flag.  So the consensus seems to be that if you use 
kmail, then you have to compile the semantic desktop features, then go back and 
turn off using the semantic desktop.




Re: [gentoo-user] Has semantic-desktop really become compulsatory for kmail?

2010-02-10 Thread Roy Wright

On Feb 10, 2010, at 8:34 AM, Volker Armin Hemmann wrote:

 On Mittwoch 10 Februar 2010, Christian Apeltauer wrote:
 Hello list,
 when I synced my portage tree today, I saw that kmail-4.4.0 needs
 kdelibs compiled with USE=semantic-desktop and cannot be told to not
 use it. But I do not like the idea of semantic desktop and I will not
 install it. 
 
 you don't even now what that is. Right?
 
 You just don't use 'it' and you are fine. Btw, I am sure you already have it 
 installed with soprano.
 


My understanding is the semantic-desktop is just the latest incarnation of 
kde's clone of google desktop search which just wastes CPU, memory, and disk 
space.  Personally I don't see the need for this technology as I'm perfectly 
happy waiting a few seconds on find every few months.





Re: [gentoo-user] Has semantic-desktop really become compulsatory for kmail?

2010-02-10 Thread Roy Wright

On Feb 10, 2010, at 5:04 PM, Volker Armin Hemmann wrote:

 On Mittwoch 10 Februar 2010, Roy Wright wrote:
 On Feb 10, 2010, at 8:34 AM, Volker Armin Hemmann wrote:
 On Mittwoch 10 Februar 2010, Christian Apeltauer wrote:
 Hello list,
 when I synced my portage tree today, I saw that kmail-4.4.0 needs
 kdelibs compiled with USE=semantic-desktop and cannot be told to not
 use it. But I do not like the idea of semantic desktop and I will not
 install it.
 
 you don't even now what that is. Right?
 
 You just don't use 'it' and you are fine. Btw, I am sure you already have
 it installed with soprano.
 
 My understanding is the semantic-desktop is just the latest incarnation of
 kde's clone of google desktop search which just wastes CPU, memory, and
 disk space.  Personally I don't see the need for this technology as I'm
 perfectly happy waiting a few seconds on find every few months.
 
 your understanding is wrong. Completely wrong. Seriously it hurts.
 
 start here:
 
 http://en.wikipedia.org/wiki/NEPOMUK_(framework)
 
 and then proceed with the links.
 
 google-desktop is something completley different (and something that can be 
 replaced with find, locate and grep). 
 

OK, after reading several articles from the given starting point, I now 
understand why semantic-desktop wastes so much cpu, memory, and storage 
(really, if you organize your data properly who cares about a file's 
relationship to an email?).  Also didn't read anything even hinting at security 
awareness of the technology which is really scary (imagine an attack that get's 
access to the RDFs, it'd tell the attacker exactly which additional files to 
target).  And since I don't use/like dolphin, I'll stick with my original 
opinion that the semantic-desktop should be totally disabled/uninstalled.

IMO, mandatory semantic-desktop is a very good reason to find another desktop 
manager (even after being my primary desktop for 7 years).





Re: [gentoo-user] Has semantic-desktop really become compulsatory for kmail?

2010-02-10 Thread Roy Wright

On Feb 10, 2010, at 6:31 PM, Volker Armin Hemmann wrote:

 On Donnerstag 11 Februar 2010, Roy Wright wrote:
 
 OK, after reading several articles from the given starting point, I now
 understand why semantic-desktop wastes so much cpu, memory, and storage
 (really, if you organize your data properly who cares about a file's
 relationship to an email?).  
 
 because to 'organize it properly' you would need a huge directory tree plus 
 symlinks plus explaining notes to even simulate a small token of the stuff 
 'semantic desktop' can do for you..

Haven't had a problem organizing my data in 25 years and currently run a 3 
system cluster with ~8TB of data.  The only benefit that the semantic desktop 
seems to deliver is to waste resources.

 
 Also didn't read anything even hinting at
 security awareness of the technology which is really scary (imagine an
 attack that get's access to the RDFs,
 
 those RDFs are in your home directory. If someone can read your home you are 
 screwed anyway. 
 
 it'd tell the attacker exactly which
 additional files to target). 
 
 oh yes, reading stuff about emails tells him to read more emails. That is 
 scary.

But tagging files (say stock spreedsheets, bank records, financial bookmarks, 
tax records) with tags (say 'bank, money, finance') all in one place would 
simplify a targeted attack.

 
 And since I don't use/like dolphin, I'll
 stick with my original opinion that the semantic-desktop should be totally
 disabled/uninstalled.
 
 and you can do that. Oh wow. That useflag only turns on soprano. Nothing 
 else. 
 Which means nothing. You are not forced to use that stuff.

So just another database server wasting resources.  Not too bad as long as 
nepomuk and strigi are disabled.  Now to find the network ports soprano uses to 
make sure they are blocked from leaving the machine...  Yes, I know, one of the 
really scary goals of the semantic-desktop is to share RDFs, definitely don't 
want that.

 
 
 IMO, mandatory semantic-desktop is a very good reason to find another
 desktop manager (even after being my primary desktop for 7 years).
 
 yeah good luck with that. Because gnome is moving in that direction too.
 
 Seriously guys, you start sounding like luddites. Is new, must be bad.
 


This technology does not have a good track record (invasive cpu, memory, disk 
usage) for very dubious benefits.  I have not found any cost vs. benefits vs. 
risks articles.  Just a bunch of we think this will be great if you just use 
it type articles that can't even explain how it would be great.





Re: [gentoo-user] NFS poor performance, high system load

2009-11-24 Thread Roy Wright


On Nov 23, 2009, at 8:11 PM, Hal Martin wrote:


Hello all,

Sorry if it seems like this is a repeat question, but I've gone  
through
my Gentoo list for the past 2 years and none of the answers provided  
for

previous threads on this seem to work for me. Here's the situation:


/etc/exports:
/mnt/daigo  192.168.0.31(rw,insecure)



A couple of years ago, I experienced the same type of issue where nfs  
performance was a lot lower than smb.  It turned out a switch I was  
using was bad.  I suggest first minimizing your testing network, and  
then swapping components such as switches.  Others on the LinuxMCE  
list had issues with specific network drivers.


I current use nfs between kubuntu, gentoo, and macbook (10.5.8 2GHz  
Core 2 Duo) systems.  I have media volumes on the kubuntu, and both  
gentoo systems.  I use autofs on each system for mounting the nfs  
volumes.  Here's an example of the settings:


/etc/exports:
/var/media  
192.168.80.0/24(async,no_subtree_check,rw,no_root_squash,insecure)


/etc/auto.media:
royw-gentoo			-rsize=8192,wsize=8192,soft,timeo=30,rw		royw-gentoo:/ 
var/media
dad-kubuntu			-rsize=8192,wsize=8192,soft,timeo=30,rw		dad-kubuntu:/ 
var/media


My macbook Connect to Server:
nfs://royw-gentoo/var/media/public/data
nfs://dad-kubuntu/var/media/public/data

The no_subtree_check and the no_root_squash parameters are left over  
from when I used LinuxMCE.


The insecure parameter is required to allow the macbook to connect.

The rsize and wsize seem to work fine for streaming dvd iso images to  
my gentoo XBMC system over gigabit ethernet.  I've also streamed a few  
movies to my macbook and did not notice any performance issues.


My media drives are WDC WD10EACS (1TB).

How are you testing performance?  With test procedure I can try to  
duplicate.


HTH,
Roy





Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)

2009-11-12 Thread Roy Wright


On Nov 12, 2009, at 8:33 AM, Alan McKinnon wrote:


On Thursday 12 November 2009 16:23:11 Marcus Wanner wrote:

Hi,

As you have all noticed by now, I am currently upgrading my system to
~x86. About 220 of the 238 packages were built correctly, but when it
got to xorg-server-1.6.5, it crashed complaining about
../Xext/panoramiX.h:44:41: error: X11/extensions/panoramiXext.h: No
such file or directory. I'm guessing this means that there was a
problem with a dependency being upgraded/installed/omitted. How do  
I fix

this?


That file comes from libXinerama:

$ equery belongs /usr/include/X11/extensions/panoramiXext.h
* Searching for /usr/include/X11/extensions/panoramiXext.h ...
x11-libs/libXinerama-1.1 (/usr/include/X11/extensions/panoramiXext.h)

I recall similar issues with the upgrade to xorg-server-1.7*

Solution then was to emerge *all* required libs and -proto packages,  
then

build xorg-server. I think it was due to stuff not being in DEPEND


Disable (either temporary or permanent) the xinerama USE flag.






Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)

2009-11-12 Thread Roy Wright


On Nov 12, 2009, at 11:24 AM, Marcus Wanner wrote:


On 11/12/2009 11:55 AM, Roy Wright wrote:


Disable (either temporary or permanent) the xinerama USE flag.


Me or Alan?




OP

As a suggestion for a work around for the compile issue.  If you  
temporarily disable xinerama, then the build should proceed.  Then if  
you need xinerama, enable the USE flag and build again.






Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)

2009-11-12 Thread Roy Wright


On Nov 12, 2009, at 4:10 PM, Marcus Wanner wrote:


On 11/12/2009 4:46 PM, Alan McKinnon wrote:

On Thursday 12 November 2009 22:36:51 Marcus Wanner wrote:

Now I can't get ANY version of xorg-server to compile, now  
emergeing any of them starts with:


Error: Unrecognized option: --impl-headers
exiting

and
ends with:

 CCsingle2.o
rensize.c: In function '__glXImageSize':
rensize.c:222: error: 'GL_DEPTH_STENCIL_MESA' undeclared (first  
use in this function)
rensize.c:222: error: (Each undeclared identifier is reported only  
once

rensize.c:222: error: for each function it appears in.)
rensize.c:261: error: 'GL_UNSIGNED_SHORT_15_1_MESA' undeclared  
(first use in this function)
rensize.c:262: error: 'GL_UNSIGNED_SHORT_1_15_REV_MESA' undeclared  
(first use in this function)
rensize.c:276: error: 'GL_UNSIGNED_INT_24_8_MESA' undeclared  
(first use in this function)
rensize.c:277: error: 'GL_UNSIGNED_INT_8_24_REV_MESA' undeclared  
(first use in this function)

make[1]: *** [rensize.lo] Error 1

I have tried both versions of libXinerama (latest x86 and latest  
~x86) and neither of the work with the latest stable version of  
xorg-server (1.6.3-901-r2), 1.6.5, 1.7.1.


This is getting really frustrating...any suggestions would be  
welcome.





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

HTH




Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)

2009-11-12 Thread Roy Wright


On Nov 12, 2009, at 5:39 PM, Marcus Wanner wrote:


Spoke too soon...now I'm getting this:

../doltcompile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../ 
include-DHAVE_ssing-declarations -Wnested-externs -fno-strict- 
aliasing -DDBUS_API_SUBJECT_TO_CI/usr/include/pixman-1 -I/usr/ 
include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbuxt -I../xfixes - 
I../Xi -I../mi -I../miext/shadow  -I../miext/damage -I../render (1)  
* 1000) + ((6) * 10) + ((5) * 1000) + 0) -march=pentium4 - 
O2 -pipe ch.lo dispatch.c

In file included from ../Xext/panoramiX.h:44,
   from dispatch.c:134:
/usr/include/X11/extensions/panoramiXext.h:49: error: expected ')'  
before '*' to
/usr/include/X11/extensions/panoramiXext.h:54: error: expected '=',  
',', ';', 'a
/usr/include/X11/extensions/panoramiXext.h:64: error: expected '=',  
',', ';', 'a
/usr/include/X11/extensions/panoramiXext.h:70: error: expected '=',  
',', ';', 'a
/usr/include/X11/extensions/panoramiXext.h:76: error: expected '=',  
',', ';', 'a

dispatch.c: In function 'ProcCloseFont':
dispatch.c:1117: warning: 'SecurityLookupIDByType' is deprecated  
(declared at ..

make[2]: *** [dispatch.lo] Error 1


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

Basically you will need to mask all the dependencies for xorg- 
server-1.7 to be able to compile 1.6.5.  I hit this a few days ago.   
= dependencies in ebuilds cause PITA for users...


HTH,
Roy




Re: [gentoo-user] Going ~x86?

2009-11-11 Thread Roy Wright


On Nov 11, 2009, at 10:36 AM, Albert Hopkins wrote:

So my advice is: pick and branch and stick with your own kind. It's  
far
fewer headaches in the long run.  And unstable isn't really  
unstable,

it's untested.  There's a difference.



Also keep in mind that it's the ebuild that is untested.  The  
package is usually what upstream has released as stable.


My advice is if you are willing to upgrade at least weekly then go  
untested, if you are willing to upgrade at least monthly, then go  
stable, else really be willing to work thru some hard upgrade  
scenarios.


HTH,
Roy

Re: [gentoo-user] [solved] Re: xorg-server upgrading problem

2009-11-10 Thread Roy Wright
Unmerged all of x11, then installed xorg-server-1.6.5 and it is  
working now.


One of the issues I hit is that python-3.1.1-r1 can not be installed  
with the tk use flag due to cyclic dependencies when installing xorg  
(portage insists on installing python before libX11 so python[tk]  
fails as it is missing Xlib.h).


Thanks everyone!

Roy



Re: [gentoo-user] [solved] Re: xorg-server upgrading problem

2009-11-10 Thread Roy Wright


On Nov 10, 2009, at 4:21 AM, Alan McKinnon wrote:


On Tuesday 10 November 2009 11:46:50 Roy Wright wrote:

One of the issues I hit is that python-3.1.1-r1 can not be installed
with the tk use flag due to cyclic dependencies when installing xorg
(portage insists on installing python before libX11 so python[tk]
fails as it is missing Xlib.h).


Would this work?

emerge python with USE=-tk
install libX11
install python with USE=tk



What I did was set python -tk in package.use then finished installing  
xorg-server, then removed the python -tk from package.use and emerge  
updated.  That worked fine so your example should also work fine.


Thank you,
Roy



Re: [gentoo-user] strange delays with Xorg-x11-7.4-r1

2009-11-10 Thread Roy Wright


On Nov 10, 2009, at 5:31 PM, Iain Buchanan wrote:


On Tue, 2009-11-10 at 18:19 -0500, Philip Webb wrote:

09 Iain Buchanan wrote:

On Tue, 2009-11-10 at 16:31 -0500, Philip Webb wrote:
Since upgrading to Xorg-x11-7.4-r1 , Xterm  Xpdf are very slow  
to open:

Xterm takes  c 6 sec  to start  Xpdf also has a noticeable delay.

routes ?


Could you expand a little ... (smile) ?



It really sounds like a network timeout issue (I've had response  
issues like that with KDE when my ISP is having troubles).


WAGs:

Verify your dns addresses.  Maybe reverse their order or even try  
opendns.


Verify your network is working normally: Visit a few sites.  Ping you  
ISP and other sites.  Run a network speed test.


tail -f /var/log/messages in one window while opening another.

If you have a firewall, check it's log.

Verify that you are using nvidia drivers instead of nv.

Exam Xorg.log for any hints of problems.

HTH,
Roy




Re: [gentoo-user] xorg-server upgrading problem

2009-11-09 Thread Roy Wright


On Nov 9, 2009, at 1:04 AM, Johannes Kimmel wrote:
Try to resync and emerge the new eselect-opengl and run eselect  
opengl set nvidia again. This could fix it, as I had a similar  
problem. The old eselect did something wrong, but I can't remember  
exactly because it went somehow long yesterday :)


Good catch, but unfortunately it didn't help.  I've downgraded the  
nvidia drivers to 185.18.36-r1 which then loaded glx, but still not  
dri or dri2.


Maybe I need to upgrade the kernel from 2.6.29...

BTW, xorg-server-1.6.5 does work with nv drivers, but I need opengl.

I'm currently trying to downgrade server to 1.6.3, but that's not  
compiling.  Let's say I'm not very impressed with the xorg ebuild  
technique of specifying dependencies using =.  xorg ebuilds should be  
holistic based on the xorg-server version.  Instead I have to figure  
out the version masks for each of the dependencies.  PITA!


Thank you,
Roy




Re: [gentoo-user] Re: xorg-server upgrading problem

2009-11-09 Thread Roy Wright


On Nov 9, 2009, at 3:36 PM, Nikos Chantziaras wrote:


On 11/09/2009 11:18 PM, Roy Wright wrote:


On Nov 9, 2009, at 1:04 AM, Johannes Kimmel wrote:

Try to resync and emerge the new eselect-opengl and run eselect
opengl set nvidia again. This could fix it, as I had a similar
problem. The old eselect did something wrong, but I can't remember
exactly because it went somehow long yesterday :)


Good catch, but unfortunately it didn't help. I've downgraded the  
nvidia
drivers to 185.18.36-r1 which then loaded glx, but still not dri or  
dri2.


Maybe I need to upgrade the kernel from 2.6.29...

BTW, xorg-server-1.6.5 does work with nv drivers, but I need opengl.

I'm currently trying to downgrade server to 1.6.3, but that's not
compiling. Let's say I'm not very impressed with the xorg ebuild
technique of specifying dependencies using =. xorg ebuilds should be
holistic based on the xorg-server version. Instead I have to figure  
out

the version masks for each of the dependencies. PITA!


I already posted how do downgrade to 1.6.5 correctly :P




Sorry, forgot to mention that I did try those instructions.  Didn't  
help.


I'm currently punting, removing all of X from my system, then will  
start over...


Thank you,
Roy




[gentoo-user] xorg-server upgrading problem

2009-11-08 Thread Roy Wright

Howdy,

I have a home server/htpc (~x86) that I'm finally updating after a few  
months and I hit an issue with xorg-server.  Here's the background:


Was at xorg-server-1.6.3 and current sync tried to upgrade to 1.7.1,  
which failed to compile.  In researching on b.g.o., discovered that  
nvidia has not released a driver yet that will work with 1.7.1, so  
followed the bug report directions and masked out several packages to  
prevent 1.7.1 upgrading.


So next attempt at upgrading was to 1.6.5.  That failed too, so back  
to b.g.o. where the first directions were to install nvidia- 
drivers-190.42.  But nvidia-drivers has a dependency to xorg- 
server-1.6.5, so had to mask 1.6.3 to get nvidia to emerge.  Then hit  
the bug with nvidia-settings with the work around of symbolically  
linking /usr/include/X11/extensions/xf86vmproto.h to /usr/include/X11/ 
extensions/xf86vmode.h.  Finally removed the xorg-server-1.6.3 mask  
and successfully emerged.


So now it looks like I have xorg-server-1.6.5 and nvidia- 
drivers-190.42 installed.


But when starting the xorg server, it is unable to load glx, dri, and  
dri2 modules:


xbmc log # grep EE Xorg.0.log
Current Operating System: Linux xbmc 2.6.29-gentoo-r2 #7 SMP PREEMPT  
Sun Jun 21 10:15:29 CDT 2009 i686

(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(EE) Failed to load module glx (module does not exist, 0)
(II) Loading extension MIT-SCREEN-SAVER
(EE) Failed to load module dri (module does not exist, 0)
(EE) Failed to load module dri2 (module does not exist, 0)
(EE) Nov 08 13:48:35 NVIDIA(0): Failed to initialize the GLX module;  
please check in your X
(EE) Nov 08 13:48:35 NVIDIA(0): log file that the GLX module has  
been loaded in your X
(EE) Nov 08 13:48:35 NVIDIA(0): server, and that the module is the  
NVIDIA GLX module.  If
(EE) Nov 08 13:48:35 NVIDIA(0): you continue to encounter  
problems, Please try

(EE) Nov 08 13:48:35 NVIDIA(0): reinstalling the NVIDIA driver.
(EE) Microsoft Natural Keyboard Pro: failed to initialize for relative  
axes.
(EE) Gyration Gyration RF Technology Receiver: failed to initialize  
for relative axes.


I've even rebooted and still see the same problem.

I'm not having any luck finding a hint on b.g.o. or with searching (I  
use startpage instead of google).


Here's my xorg.conf which works with xorg-server-1.6.3 (it's a little  
explicit because it is connected (DVI) to an A/V receiver (Yamaha RX- 
V861) which doesn't pass thru EDID):


Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
EndSection

Section Files
ModulePath   /usr/lib/xorg/modules
FontPath built-ins
EndSection

Section Module
Load  glx
Load  dbe
Load  extmod
EndSection

Section Monitor
   # Block type: 2:0 3:fc
   Identifier FPD TV
   VendorName HTC
   ModelName FPD TV
   # Block type: 2:0 3:fc
   # Block type: 2:0 3:fd
   HorizSync 15-70
   VertRefresh 59-61
   # Max dot clock (video bandwidth) 150 MHz
   # DPMS capabilities: Active off:no  Suspend:no  Standby:no

   Mode1920x1080 # vfreq 60.000Hz, hfreq 67.500kHz
DotClock148.50
HTimings1920 2008 2052 2200
VTimings1080 1084 1089 1125
Flags   +HSync +VSync
   EndMode
   Mode1920x540  # vfreq 60.053Hz, hfreq 33.750kHz
DotClock74.25
HTimings1920 2008 2052 2200
VTimings540 542 547 562
Flags   Interlace +HSync +VSync
   EndMode
EndSection

Section Device
Identifier  Card0
Driver  nvidia
VendorName  nVidia Corporation
Option  RenderAccel true
   Option ModeValidation NoDFPNativeResolutionCheck,  
NoMaxSizeCheck

   Option NoLogo true
   Option ConnectedMonitor DFP
   Option  TVStandardHD1080p
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorFPD TV

# depth of 16 breaks xbmc
   DefaultDepth24

   Option renderAccel true
   Option ExactModeTimingsDVI true
   Option NoLogo true
   Option DynamicTwinView false
   Option UseEvents true
   Option AllowGLXWithComposite true
   Option AddARGBGLXVisuals true
   Option FlatPanelProperties Scaling = Native

SubSection Display
   Depth24
   Modes 1920x1080 1080p 1080i 720p 720i 480p  
480i 1024x768 800x600 640x480

Virtual 1920 1080
EndSubSection
EndSection


Any ideas?

TIA,
Roy




Re: [gentoo-user] about layman and eix search

2009-10-03 Thread Roy Wright


On Oct 3, 2009, at 10:07 AM, hp_sebastian wrote:


On Sat, 03 Oct 2009 09:42:42 -0500 Harry Putnam rea...@newsguy.com
wrote:

How to make eix search an overlay too.

The manpage for layman says:

  You can search through the ebuilds available in the overlays on
  http://overlays.gentoo.org by using eix. Emerge the package and
  run update-eix-remote update.

But I find no such option in eix or eix --help|grep update
or 'man eix' although I do find eix-remote and eix-layman.


eix-update adds overlays to the eix-database. If you use eix-sync
instead of emerge --sync, you don't have to run eix-update afterwards.


[...]




update-eix-remote is an executable, not an option to the eix  
executable.  After running update-eix-remote your normal eix queries  
will include overlays.


HTH,
Roy



Re: [gentoo-user] Re: about layman and eix search

2009-10-03 Thread Roy Wright


On Oct 3, 2009, at 1:34 PM, Alan McKinnon wrote:


On Saturday 03 October 2009 20:20:47 Harry Putnam wrote:

Roy Wright r...@wright.org writes:

update-eix-remote is an executable, not an option to the eix
executable.  After running update-eix-remote your normal eix queries
will include overlays.


Ha.. no wonder I didn't find it.

However its not a part of the eix package nor is it visible on
portage.  At least

equery files eix|grep remote fails to show it and

`eix eix-remote' fails as well.



Those files changed names in recent versions of eix. There is no  
more update-

eix-remote. It's all in the ChangeLog.



The old update-eix-remote would index all available overlays which  
made it real handy for finding which overlay you needed.  The new eix- 
remote seems to only index the overlays you have installed.  Am I  
missing something?


Also I keep getting this error message, even after explicitly running  
eix-update:


# eix-remote update
* Fetching eix-caches.tbz2
--2009-10-03 14:13:07--  
http://dev.gentooexperimental.org/eix_cache/eix-caches.tbz2
Resolving dev.gentooexperimental.org... 81.93.240.53
Connecting to dev.gentooexperimental.org|81.93.240.53|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 46 [application/octet-stream]
Saving to: `eix-caches.tbz2'

100% 
[= 
= 
= 
]  
46  --.-K/s   in 0s


2009-10-03 14:13:07 (10.7 MB/s) - `eix-caches.tbz2' saved [46/46]

* Unpacking data
Can't open the database file /tmp/eix-remote.5zs73hch/1/* for reading  
(mode = 'rb')

Did you forget to create it with 'eix-update'?
* is broken
* Calling eix-update
...


TIA,
Roy




Re: [gentoo-user] Different desktop wallpapers in KDE4?

2009-09-30 Thread Roy Wright


On Sep 30, 2009, at 7:46 AM, Frank Steinmetzger wrote:


Am Mittwoch, 30. September 2009 schrieb Peter Humphrey:

Hello list,

I think I saw a statement on this list that it's possible to set a
different wallpaper on each desktop in kde-4.3.1, but now I can't  
find it,

and I can't see how to do it either.

Is it really possible to do this?


You need to create an activity for each desktop and set the  
wallpaper within

the activities.


Here's what I did which seems to work nicely:

Created an auto hide panel centered on top edge.

Added the activity bar widget to this panel.

Create Activity (cashew, Zoom Out, alt-D alt-A, then select setup  
(wrench icon) (you may have to grab and scroll the desktop to see the  
commands) and name the activity.  You can also set the background here.


Use the Activity Bar to select another activity.  Note, the first time  
after adding an activity, the activity bar has a bug where it will  
show the names for all of the activities, but will draw n-1 buttons.   
Just click on one button then the activity bar will be correct.


Now on any activity, you can right click the desktop and choose  
Desktop Settings, then change the background.


HTH,
Roy




Re: [gentoo-user] KDE 4 bugs update

2009-09-29 Thread Roy Wright


On Sep 29, 2009, at 10:27 PM, Philip Webb wrote:


090929 Paul Hartman wrote:


What's missing from the 3.x series ?


A much longer list of schemas, start root console, search (see above),
set window geometry (inside Konsole or when starting it: see my bug  
list).


Starting a root (or any other) console is easy.  Use Manage Profiles  
to create the profile.  You can then open it via File menu or  
Settings, Change Profile menu.  To get the profile button in the  
bottom left corner, again use Manage Profiles, Tabs, and enable Show  
'New Tab' and 'Close Tab' buttons in tab bar.


Note, when defining a root console, for the command, use either /bin/ 
su or /bin/sudo -i or whatever your system needs.


Next install the Konsole Profiles widget where ever it is convenient  
(desktop, panel).


Have fun,
Roy



Re: [gentoo-user] What do I put in the /etc/conf.d/net....

2009-09-26 Thread Roy Wright


On Sep 26, 2009, at 3:11 PM, David Juhl wrote:


What do I put in the /etc/conf.d/net to specify name servers?  I can't
seem to modify the /etc/resolv.conf and get it to sick at boot.



grep -i dns /usr/share/doc/openrc/net.example

The short answer is something like:

dns_servers_eth0=192.168.0.2 192.168.0.3

HTH,
Roy



Re: [gentoo-user] update-desktop-database gives ... lacks MimeType

2009-09-15 Thread Roy Wright


On Sep 15, 2009, at 2:13 PM, Allan Gottlieb wrote:

When I do I get dozens of lines of applications lacking a MimeType  
key.

Here are the first few.

allan gottlieb # update-desktop-database  --verbose
Search path is now: [/usr/local/share/applications, /usr/share/ 
applications]
Could not create cache file in directory '/usr/local/share/ 
applications':
	Error opening directory '/usr/local/share/applications': No such  
file or directory

File '/usr/share/applications/gksu.desktop' lacks MimeType key
File '/usr/share/applications/yelp.desktop' lacks MimeType key
File '/usr/share/applications/reclevel.desktop' lacks MimeType key
File '/usr/share/applications/meld.desktop' lacks MimeType key

I googled but only found msgs where things were failing.

Should I be concerned about the lack of MimeType keys and if so what
should I do about it.



For grins, I ran the command and received a lot of the same messages  
(probably all the kde4 apps and a few dozen non-kde4).  So I'll second  
the OP's RFI...


TIA,
Roy




Re: [gentoo-user] Re: Masked package needs itsself ?

2009-08-26 Thread Roy Wright


On Aug 26, 2009, at 2:46 AM, Alan McKinnon wrote:


On Wednesday 26 August 2009 05:10:18 meino.cra...@gmx.de wrote:

Sorry, I'm not following what you're trying to say :P


jpeg-7 is masked, Without it any update process stops with this
failure. jpeg-7 needs itsself to update jpeg-7 (according the output
I posted).


Incorrect. Something else is pulling it in and you snipped that  
output. Your
initial post only says that emerge wants to include jpeg and it  
won't emerge

version 7 as it is unstable and your box is stable.

It's from some package that specifically wants jpeg-7 as opposed to  
just jpeg.

Most likely netpbm which is hardcoded to DEPEND on jpeg-7.



In my case, it was netpbm.  Here's the steps I took to resolve the  
problem:


1) emerge -1 -av jpeg
2) Do NOT run emerge @preserved-rebuild
3) emerge -av jpeg-compat
4) revdep-rebuild

I hit a problem when trying the emerge @preserved-rebuild in that  
tightvnc had a jpeg-6b dependency, so pretty much had to use jpeg- 
compat.


HTH,
Roy



Re: [gentoo-user] dependency miracle - please help

2009-08-26 Thread Roy Wright

emerge --unmerge =x11-libs/qt-4.5.1

The meta package is no longer used.

HTH,
Roy

On Aug 26, 2009, at 4:35 AM, Helmut Jarausch wrote:


Hi,

again, portage's dependencies caculation makes me wonder.

This time,
emerge  --update --newuse --deep @system @world

tells me quite a few dependencies like
*   ~x11-libs/qt-core-4.5.1 pulled in by:
* x11-libs/qt-4.5.1

I do have x11-libs/qt-core-4.5.2 and x11-libs/qt-4.5.2 installed.
How can I find out which package is pulling x11-libs/qt-4.5.1 in ?

Many thanks for a hint.
(I have portage-2.2_rc40 installed here)
Helmut.

--
Helmut Jarausch

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






[gentoo-user] java lib/ext question

2009-08-24 Thread Roy Wright

Howdy,

I'm attempting to install the postgis plugin for openjump and it says  
to copy the driver jar file to {jre}/lib/ext.  This does not feel like  
the correct approach given how the java jdks are installed on gentoo (/ 
opt/sun-jdk-n.n.n.n).  I'd expect any changes within the jdk directory  
structure would be lost with the first version bump.


Ideally I would expect a symbolic link to a slot based location for  
lib/ext, but am not even seeing a default lib/ext directory.


So is there a best practice for handling system vm extensions?

Is there a wiki or documentation for working with gentoo's java  
environment?


TIA,
Roy





Re: [gentoo-user] [solved] upgrading ~x68 kde-4.2 to kde-4.3 question

2009-08-17 Thread Roy Wright


On Aug 16, 2009, at 5:12 PM, Roy Wright wrote:

Went ahead and added the kde-testing overlay.  Then moved /etc/ 
portage/kde and /etc/portage/sets to /tmp.  This allowed emerge - 
uDNav world to not have any stoppers.


Using the overlay for the new sets solved the upgrading.

The new features seem very problematic, for example assigning  
wallpaper to activities just doesn't work and just using activities  
seem to make the desktop extremely flaky.  Some plasmoids (like  
calendar) can be dragged from a panel to the desktop but some (like  
calculator) can not.  Then the upgrade re-enabled the stupid desktop  
search which maxes a core forever (at least an hour which is when I  
disabled it).  Also had to change the plasmoid theme back to oxygen  
from the new air.  Surprisingly the rest of my customized environment  
seemed to have survived the upgrade...


Thanks everyone!




[gentoo-user] upgrading ~x68 kde-4.2 to kde-4.3 question

2009-08-16 Thread Roy Wright

Howdy,

kde-4.3 is now unmasked for ~x86.  Whop!

But it is looking like a non-trivial upgrade.  :(

When I installed kde-4.2, I followed the advice of unmasking portage  
and using sets.  Also followed the recommendation to use -kdeprefix.   
Further I removed kde-3.5 and added a mask on kdelibs-3.5 to help keep  
3.5 off of the system.


So for the kde-4.3 upgrade, it looks like this is what will be  
necessary:


1) grab the sets again from the kde-testing overlay and put them in / 
etc/portage/sets (assumption is to do a replace).

2) unmerge kde-4.2 using: emerge --unmerge @kde-4.2
3) merge kde-4.3 using: emerge -av @kde-4.3
4) recustomize kde as the ~/.kde will not be migrated

Am I on the right track?

TIA,
Roy




Re: [gentoo-user] upgrading ~x68 kde-4.2 to kde-4.3 question

2009-08-16 Thread Roy Wright


On Aug 16, 2009, at 4:33 PM, Volker Armin Hemmann wrote:


On Sonntag 16 August 2009, Alan McKinnon wrote:

On Sunday 16 August 2009 23:09:41 Volker Armin Hemmann wrote:

On Sonntag 16 August 2009, Alan McKinnon wrote:

On Sunday 16 August 2009 21:46:02 Volker Armin Hemmann wrote:

On Sonntag 16 August 2009, Alan McKinnon wrote:

On Sunday 16 August 2009 21:12:30 Dirk Heinrichs wrote:

Am Sonntag 16 August 2009 21:02:50 schrieb Roy Wright:

So for the kde-4.3 upgrade, it looks like this is what will be
necessary:

1) grab the sets again from the kde-testing overlay and put
them in / etc/portage/sets (assumption is to do a replace). 2)
unmerge kde-4.2 using: emerge --unmerge @kde-4.2
3) merge kde-4.3 using: emerge -av @kde-4.3
4) recustomize kde as the ~/.kde will not be migrated

Am I on the right track?


No.

1) They're in portage.


He's asking about the set files, not the ebuilds.


and you don't copy the set files.


Which set files does one not copy, and why?


you don't copy any set files because there is no reason to do so?


And if the changes between kde-4.2 and kde-4.3 DO require changes  
to the
set files to build everything, then what should one do? Not copy  
the files

and live with the omission/breakage?

Set files do not ship with a --sync, the user must either get them  
from
somewhere or create them himself. And additions to 4.3 are not  
present in
4.2, so I don't understand your position. Seems to me that copying  
working
set files from somewhere is a requirement in this case, especially  
if the

user uses versioned set files.


you install kde-testing. Suddenly you have all the set files needed.  
you have

all the unmask files needed. You have all keyword files needed.

And the overlay is not that big.

I've been avoiding overlays (been bit a few times) and just running a  
testing (~x86) system.


The first blocker is kde-menu-icons-4.2.4 which looks like it is  
replaced by kdebase-menu-icons-4.3.0, but here's what happens when  
attempting to unmerge kde-menu-icons-4.2.4:


royw-gentoo portage # emerge --unmerge kde-menu-icons
Not unmerging package kde-base/kde-menu-icons-4.2.4 as it is
still referenced by the following package sets:
kdebase


 No packages selected for removal by unmerge

That's what started me looking for how to do the upgrade.

Went ahead and added the kde-testing overlay.  Then moved /etc/portage/ 
kde and /etc/portage/sets to /tmp.  This allowed emerge -uDNav world  
to not have any stoppers.


So it looks like the kde-4.3 upgrade is still tightly coupled to the  
kde-testing overlay.


Thank you,
Roy





Re: [gentoo-user] Problem emerging alsa-utils-1.0.20-r4

2009-08-14 Thread Roy Wright


On Aug 14, 2009, at 3:09 PM, Mick wrote:


* The specific snippet of code:
*  die Move /etc/modules.d/alsa to /etc/modprobe.d/ 
alsa.conf.

*  The die message:
*   Move /etc/modules.d/alsa to /etc/modprobe.d/alsa.conf.

Have you had such a problem?  What's the fix?

I have both files mentioned:

# ls -la /etc/modules.d/alsa
-rw-r--r-- 1 root root 202 Jan  5  2009 /etc/modules.d/alsa
# ls -la /etc/modprobe.d/alsa.conf
-rw-r--r-- 1 root root 1028 Jul  4 09:27 /etc/modprobe.d/alsa.conf


On one system I just had I had to copy the contents of /etc/modules.d/ 
alsa to /etc/modprobe.d/alsa.conf, while on another system to remove / 
etc/modules.d/alsa (it's contents were already in /etc/modprobe.d/ 
alsa.conf).


Hint, keep a backup of /etc/modules.d/alsa until after you have  
verified the upgrade is working.


HTH,
Roy



Re: [gentoo-user] Mounting a big drive for stuff - /mnt or /media

2009-08-06 Thread Roy Wright


On Aug 6, 2009, at 4:49 AM, Dale wrote:


Stroller wrote:

Can anyone persuade me or provide other reasons for using /media?



I'm running 3 systems that have media drives for my home theater.   
What I did was to mount the local volume on /var/media.  Then used  
autofs to mount the nfs shared volumes under /media/auto.  Finally I  
symbolically linked each volume to /media.


Abridged example:

royw-gentoo:
/var/media  = mounted lvm volume
/media/auto/xbmc = nfs://xbmc.local/media
/media/royw-gento = /var/media
/media/xbmc = /media/auto/xbmc

xbmc:
/var/media  = mounted lvm volume
/media/auto/royw-gentoo = nfs://royw-gentoo.local/media
/media/xbmc = /var/media
/media/royw-gentoo = /media/auto/royw-gentoo

Now on either machine I can reference /media/xbmc or /media/royw-gentoo

Also each media volume uses the LinuxMCE directory scheme:
public
+ data
++ audio
++ documents
++ pictures
++ videos
local
user

Have fun,
Roy




[gentoo-user] /usr/lib/pkgconfig collisions

2009-08-03 Thread Roy Wright

Howdy,

While attempting to try the latest version of ruby-gnome2 (0.19.1), I  
copied the 0.19.0 ebuilds to my local overlay then renamed them to the  
new version.  I then downloaded the ruby-gnome2-all-0.19.1.tar.gz,  
placed it in /usr/portage/distfiles, then used ebuild ruby-...  
digest for each of the packages to create the Manifest file.


When I attempt to emerge the updated packages, the first package, ruby- 
glib2-0.19.1, errors with a detected file collision on /usr/lib/ 
pkgconfig.  This is a directory and thus emerge finds every package  
that has installed a file in it.


Now my guess is that some code that attempts to check for conflicts  
within the /usr/lib/pkgconfig directory is being given an blank  
package name, thus is checking the directory.  My problem is I don't  
see where the conflict code is even called.  Anyone have any hints or  
know where the documentation is?


TIA,
Roy




Re: [gentoo-user] /usr/lib/pkgconfig collisions

2009-08-03 Thread Roy Wright

Oops, sorry for the duplicate post.

On Aug 3, 2009, at 2:20 AM, Roy Wright wrote:


Howdy,

While attempting to try the latest version of ruby-gnome2 (0.19.1),  
I copied the 0.19.0 ebuilds to my local overlay





[gentoo-user] /usr/lib/pkgconfig collisions

2009-08-02 Thread Roy Wright

Howdy,

While attempting to try the latest version of ruby-gnome2 (0.19.1), I  
copied the 0.19.0 ebuilds to my local overlay then renamed them to the  
new version.  I then downloaded the ruby-gnome2-all-0.19.1.tar.gz,  
placed it in /usr/portage/distfiles, then used ebuild ruby-...  
digest for each of the packages to create the Manifest file.


When I attempt to emerge the updated packages, the first package, ruby- 
glib2-0.19.1, errors with a detected file collision on /usr/lib/ 
pkgconfig.  This is a directory and thus emerge finds every package  
that has installed a file in it.


Now my guess is that some code that attempts to check for conflicts  
within the /usr/lib/pkgconfig directory is being given an blank  
package name, thus is checking the directory.  My problem is I don't  
see where the conflict code is even called.  Anyone have any hints or  
know where the documentation is?


TIA,
Roy




Re: [gentoo-user] Re: /usr/lib/pkgconfig collisions

2009-08-02 Thread Roy Wright


On Aug 2, 2009, at 5:49 AM, ABCD wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Roy Wright wrote:


Howdy,

While attempting to try the latest version of ruby-gnome2 (0.19.1), I
copied the 0.19.0 ebuilds to my local overlay then renamed them to  
the

new version.  I then downloaded the ruby-gnome2-all-0.19.1.tar.gz,
placed it in /usr/portage/distfiles, then used ebuild ruby-...
digest for each of the packages to create the Manifest file.

When I attempt to emerge the updated packages, the first package,  
ruby-

glib2-0.19.1, errors with a detected file collision on /usr/lib/
pkgconfig.  This is a directory and thus emerge finds every package
that has installed a file in it.

Now my guess is that some code that attempts to check for conflicts
within the /usr/lib/pkgconfig directory is being given an blank
package name, thus is checking the directory.  My problem is I don't
see where the conflict code is even called.  Anyone have any hints or
know where the documentation is?

TIA,
Roy


My first guess is that, for some reason, the package is trying to  
install a
*file* named /usr/lib/pkgconfig: if this is the case, you can find  
out by

checking in /var/tmp/portage/${CATEGORY}/${PF}/image/ (herein called
${D}), which contains the full tree that the package is trying to  
install.
If usr/lib/pkgconfig under that directory is a file, then it would  
collide

with every package that installs a directory named /usr/lib/pkgconfig.

- --
ABCD



On the money:

 # cat /var/tmp/portage/dev-ruby/ruby-glib2-0.19.1/image/usr/lib/ 
pkgconfig

Name: GLib
Description: C Utility Library
Version: 0.19.1

Now to find why...

Thank you,
Roy






Re: [gentoo-user] [OT] File merge tool

2009-07-23 Thread Roy Wright
kdiff3 is my favorite graphical merge tool (hey, even have it running  
on my macbook).


On Jul 22, 2009, at 2:49 PM, Harry Putnam wrote:


Summary:
Any suggestions for a file merge tool?

Details:

I'd like to try just actually manually merging bookmarks.html files
from different computers.  Diff and Patch seem kind of hard or maybe
impossible to use for this.

If you have identical parts in different places they will just keep
adding up... no way to weed out duplication.

If there anything that can do that or at least help me do it.

I'm not talking about bookmark merge/storage things like Xmarks or
foxmarks.   My files are not so large that I couldn't do it by hand
but would need some smart helper tool.








Re: [gentoo-user] Re: openoffice fails on qt_plugins_3.3rc

2009-07-18 Thread Roy Wright


On Jul 18, 2009, at 7:48 PM, James wrote:



I have:


rw-r--r-- 1 root root0 Jul  7 22:50 .keep_x11-libs_qt-3
-rw--- 1 root root0 Dec 30  2008 .qt_plugins_3.3rc.lock
-rw--- 1 root root 3.8K Jul 17 08:13 qt_plugins_3.3rc


so now I have

-rw-r--r-- 1 root root0 Jul  7 22:50 .keep_x11-libs_qt-3
-rw-r--r-- 1 root root0 Dec 30  2008 .qt_plugins_3.3rc.lock
-rw-r--r-- 1 root root 3.8K Jul 17 08:13 qt_plugins_3.3rc


when I run 'ooffice  RFP-2-973-561-K.doc'

I get:
terminate called after throwing an instance of
'com::sun::star::uno::RuntimeException'



Just some data points for comparison:

# ls -l /usr/qt/3/etc/settings/
total 12
-rw-r--r-- 1 root root 4749 Jun 15 03:40 qt_plugins_3.3rc
-rw-r--r-- 1 root root   27 Apr 16  2008 qtrc
# equery belongs /usr/qt/3/etc/settings/qt_plugins_3.3rc
 * Searching for /usr/qt/3/etc/settings/qt_plugins_3.3rc ...
# equery belongs /usr/qt/3/etc/settings
 * Searching for /usr/qt/3/etc/settings ...
x11-libs/qt-3.3.8b-r2 (/usr/qt/3/etc/settings)

I'm wondering about the lock (notice the old date).  Maybe move it to  
somewhere safe and try OO again.


Also are you building OO from source or running the binary version?

HTH,
Roy



Re: [gentoo-user] random reboots

2009-07-10 Thread Roy Wright


On Jul 10, 2009, at 2:07 PM, Volker Armin Hemmann wrote:


On Freitag 10 Juli 2009, Alan E. Davis wrote:


My system reboots at seemingly random times.  Usually, this happens
during keyboard or mouse input.  I have been using kernel 2.6.30-r2.
Often this happens when using firefox, but not exclusively.


sounds like
a) heat
or
b) psu problems
or
c) triple faults.


c) is a lot of time caused by memory problems. One thing causing  
memory

problems is a bad psu.

so - in your case - just try a different psu. Ask a friend for one  
for a

couple of days. If your problem stays, you have to look elsewhere.



I had to RMA my power supply a few weeks ago, it had the same symptoms.
Let's just say I'm very satisfied with Thermaltake's RMA policy.

Here's a simple test.  Boot into BIOS and leave it there.  If the  
power supply
cycles, you'll find the machine booted into your OS.  This eliminates  
the OS

as a source of the problem.

HTH,
Roy

Re: [gentoo-user] KDE 4, dev-python/sip and dependency graph

2009-07-05 Thread Roy Wright


On Jul 5, 2009, at 2:32 AM, Dale wrote:


Hi all,

I'm wanting to give KDE 4 another shot.  I used autounmask to add all
the lines to package.unmask and package.keyword.  It was quite a lot I
might add.  Anyway, I'm getting this now.

Total: 238 packages (2 upgrades, 2 downgrades, 117 new, 117 in new
slots), Size of downloads: 390,805 kB

!!! Multiple package instances within a single package slot have  
been pulled

!!! into the dependency graph, resulting in a slot conflict:

dev-python/sip:0

 ('ebuild', '/', 'dev-python/sip-4.8.1', 'merge') pulled in by

=dev-python/sip-4.8.1 required by ('ebuild', '/',

'dev-python/PyQt4-4.5.1', 'merge')
   (and 2 more)

 ('installed', '/', 'dev-python/sip-4.7.9', 'nomerge') pulled in by
   ~dev-python/sip-4.7.9 required by ('installed', '/',
'dev-python/PyQt-3.17.6', 'nomerge')
   (and 2 more)


I found the same message on the forums but found no fix for this.  It
seems sip is not slotted and one qt package needs the old version and
another qt package needs the new version and both sip packages can't  
be

there at the same time.

Ideas on how to get around this?



Try -python in your make.conf USE setting.  That should disable the  
python
bindings.  If you run across a package that really needs the python  
bindings,

enable just it in your /etc/portage/package.use

For details, search for the PyQt4-4.5 and pykde4-4.2.4 blockers  
thread.


HTH,
Roy




Re: [gentoo-user] Re: X broken; keyboard for sure, maybe dri

2009-07-05 Thread Roy Wright


On Jul 5, 2009, at 12:13 PM, walt wrote:



I have no libdri.so anywhere on my system.  Eselect shows nvidia and
xorg-x11; I tried both, it did change some symlinks, but never  
created

one for libdri.so...


I'd be more worried about this than the keysym errors. I have xorg- 
server-1.6.1.902

which installs these two (and of course much more):
/usr/lib64/opengl/xorg-x11/extensions/libdri.so
/usr/lib64/opengl/xorg-x11/extensions/libdri2.so

When I use eselect to set the opengl version to xorg-x11, it sets a  
symlink:
/usr/lib/xorg/modules/extensions/libdri.so - /usr/lib64/opengl/xorg- 
x11/extensions/libdri.so*


If you don't have these libs and links then I'd say as your first  
chore you should

figure out why they're missing.




http://www.gentoo.org/doc/en/dri-howto.xml

DRI is a kernel option.

HTH,
Roy



Re: [gentoo-user] NFS issues.

2009-07-01 Thread Roy Wright


On Jul 1, 2009, at 9:53 AM, Andrew MacKenzie wrote:


Two questions:
How do I fix the shutdown sequence to unmount NFS drives before the  
network

is shutdown?

How do I tell NFS to simply give-up after X attempts (for other  
times when

the NFS server simply may not be there anymore and I *just want the
friggin' computer to shudown*)?



verify that both your nfs and net service are at the same run level:

royw-gentoo etc # rc-update show | grep nfs
  nfs | default
royw-gentoo etc # rc-update show | grep net
 net.eth2 | default
 netmount | default
local |  nonetwork  default
   net.lo |boot

Also you might consider using autofs.  I have two gentoo and one kubuntu
systems all cross sharing nfs mounts using nfs without any issues.

HTH,
Roy




Re: [gentoo-user] Re: finding qt plugins?

2009-06-30 Thread Roy Wright


On Jun 29, 2009, at 3:56 AM, Dale wrote:


Nikos Chantziaras wrote:


revdep-rebuild only resolves link-time errors, not runtime errors.
You need to observe yourself if something is broken and then rebuild
it manually; revdep-rebuild ain't gonna help in this case.





Sounds like Gentoo needs a new tool.  Calling all geeks and nerds !!

Dale


Drum roll please...

http://github.com/royw/qt-rebuild

A couple of notes:
* if you run qt-rebuild --pretend, you should have only one build key.
   if you have more than one, you really need to rebuild them.
* the build key does not contain the qt version.  Instead it describes
  the build environment.

So currently I don't see how to verify that all the plugins are built  
to the

same qt API.

Here's the readme:

= qt-rebuild

This is a utility for gentoo (http://gentoo.org) linux.

When QT is upgraded, you may have to rebuild any QT plugins.  This  
utility

attempts to find and rebuild packages with QT plugins.

Here's the discussion thread:
http://archives.gentoo.org/gentoo-user/msg_d9357c6f26dec67492b794f8f66db29d.xml

== Installation

  $ emerge ruby rubygems
  $ sudo gem install royw-qt-rebuild --source http://gems.github.com

== Usage

  $ qt-rebuild -h
  OPTIONS

--version,-v
This version of qt-rebuild

--help,-h
Print usage.

--quiet,-q
Display error messages only.

--debug,-d
Display debug messages.

--set,-s
Output in portage's set format.

--nocolor,-C
Turn off colored output. (This option is also passed to
portage.)

--pretend,-p
Do a dry-run.

It is recommended to do a dry run first:

  $ qt-rebuild -p

To create a set file:

  $ qt-rebuild -s -p  /etc/portage/sets/qt-rebuild


== Copyright

Copyright (c) 2009 Roy Wright. See LICENSE for details.

---





Re: [gentoo-user] Re: finding qt plugins?

2009-06-30 Thread Roy Wright


On Jun 30, 2009, at 3:16 PM, Paul Hartman wrote:


On Tue, Jun 30, 2009 at 2:54 PM, Roy Wrightr...@wright.org wrote:

== Installation

$ emerge ruby rubygems
$ sudo gem install royw-qt-rebuild --source http://gems.github.com


Hi,

$ sudo gem install royw-qt-rebuild --source http://gems.github.com
ERROR:  could not find gem royw-qt-rebuild locally or in a repository

I know nothing about ruby or gems. Any idea what I'm missing?

Thanks.



I was a little premature in posting the announcement, github takes a  
while
to actually publish the gem.  But there is another problem so please  
wait

for my next message before trying again.

Thank you,
Roy



Re: [gentoo-user] Re: finding qt plugins?

2009-06-30 Thread Roy Wright


On Jun 30, 2009, at 4:41 PM, Roy Wright wrote:



On Jun 30, 2009, at 3:16 PM, Paul Hartman wrote:


On Tue, Jun 30, 2009 at 2:54 PM, Roy Wrightr...@wright.org wrote:

== Installation

$ emerge ruby rubygems
$ sudo gem install royw-qt-rebuild --source http://gems.github.com


Hi,

$ sudo gem install royw-qt-rebuild --source http://gems.github.com
ERROR:  could not find gem royw-qt-rebuild locally or in a repository

I know nothing about ruby or gems. Any idea what I'm missing?

Thanks.



I was a little premature in posting the announcement, github takes a  
while
to actually publish the gem.  But there is another problem so please  
wait

for my next message before trying again.

Thank you,
Roy



OK, it's verified and ready now.  Please try again.

Thank you,
Roy




Re: [gentoo-user] Re: finding qt plugins?

2009-06-30 Thread Roy Wright


On Jul 1, 2009, at 12:29 AM, Graham Murray wrote:


Roy Wright r...@wright.org writes:

OK, it's verified and ready now.  Please try again.


Will not install for me. It gives the following error
ERROR:  Error installing royw-qt-rebuild:
   royw-qt-rebuild requires commandline (= 0.7.10, runtime)



Paul and I worked this out offline.  Here's the corrected install  
instructions:


sudo gem install royw-qt-rebuild --source http://gems.rubyforge.org -- 
source http://gems.github.com


I'll update the readme in a few minutes...

Thank you,
Roy



[gentoo-user] finding qt plugins?

2009-06-28 Thread Roy Wright

Howdy,

On ~x86 did the upgrade to qt 4.5.2 and get the following message:

After a rebuild or upgrade of Qt, it can happen that Qt plugins (such  
as Qt
and KDE styles and widgets) can no longer be loaded. In this situation  
you

should recompile the packages providing these plugins...

Packages that typically need to be recompiled are kdelibs from KDE4,  
any

additional KDE4/Qt4 styles, qscintilla and PyQt4...

Then followed the link on the plugins which stated:

The Qt library and all plugins are built using a build key. The build  
key in the Qt library is examined against the build key in the plugin,  
and if they match, the plugin is loaded. If the build keys do not  
match, then the Qt library refuses to load the plugin.


So how do I find all the installed qt plugins on my system and check  
their build keys?


TIA,
Roy



Re: [gentoo-user] [OT] Use of sed

2009-06-23 Thread Roy Wright


On Jun 23, 2009, at 6:48 PM, Peter Humphrey wrote:


Hello list,

I'm reduced to asking a newcomer's question: how can I make sed  
recurse down
a directory tree? And while I'm at it, how do I change the field  
separator

from / to enable me to search on that character?


maybe something like:

find . -name '*' -exec sed {options} '{}' \;

HTH




Re: [gentoo-user] Re: Best way to determine what video card I have?

2009-06-10 Thread Roy Wright


On Jun 10, 2009, at 2:20 AM, James Homuth wrote:


On 06/10/2009 09:50 AM, James Homuth wrote:


Hello all,
First off I'll admit to not knowing as much as I should about my
system, and am hoping to correct that as I go (that's part of the
reason I'm actually doing it this way). I'm trying to set up X on my
system, and am not entirely sure which video card I have.


You open the case of the PC, remove the graphics card and take a  
good look

at it :P


And if you can't see the card, nevermind well enough to open the  
case? :P


I can testify that this method does not always work.  I had bought a  
name brand
video card, but it turned out to be a generic card that did not have a  
manufacturers

name, logo or even model number on it, not even a sticker.

lshw usually works.  If needed, emerge lshw






Re: [gentoo-user] Fresh install on reboot endless scrolling text

2009-06-09 Thread Roy Wright


On Jun 9, 2009, at 7:50 PM, Harry Putnam wrote:


I've just completed first part of a fresh install.
[snip]
What I see on reboot:

Normal booting appears to be going along then moments after dev is
mounted followed by filesystems... a massive screen full of text
begins scrolling by and never stops.

Impossible to read any of the text and neither pause/break or
scroll/lock keys have any effect.

Appears to be a continuous wrapping line repeated.

But it completely kills the boot process, and no further progress is
possible.

I really have no idea what to change when I boot off the install  
media.


So you have grub installed, the grub menu appears, you select a boot
option, boot starts, the usual kernel messages flash by, you get to the
second part of the boot where the lines look like:

 blah...   [OK]

Then something goes crazy.

Assuming that's the scenario, boot with your install media, enter the
chroot, then take a peek at the logs in /var/log.  Hopefully you can  
find

a hint.

HTH,
Roy



Re: [gentoo-user] Serious stability problems, including freezes

2009-06-03 Thread Roy Wright


On Jun 3, 2009, at 1:17 AM, Florian Philipp wrote:


Alexander Puchmayr schrieb:

Hi there!

My freshly setup homeserver has serious stability problem, which  
make the

the machine absolutely unuseable as home server.


[...]


The problem is, when I copy large amount of data via nfs to the  
server, then

the logs get filled with entries like this:

The second problem is that the network controler (rtl8169) seems to  
timeout
on TX, which is very bad if it happens during renewing your dhcp- 
lease :-(

the message looks like

The worst thing however is an occasional freeze of the whole  
system, which

happens very likely when there is high network load over nfs. If that
happens, I have a blank console, no network, no keyboard, nothing.  
Not even
sysrq seems to work, which makes it pretty hard to tell what has  
happened.
After resetting the machine, there is nothing suspicious in the  
logs (it

just ends).

Does anyone have suggestions?



Do you have a spare network adapter, maybe an older 100MBit PCI card?
Maybe we should rule out a hardware fault on your ethernet chipset  
first.




I had a similar issue over a year ago.  My problem turned out to be  
the switch I
was connecting to was bad.  I didn't discover this until I physically  
ran a 50ft
cable between the two computers just to rule out my infrastructure.   
Surprise. :)


Just for grins, here's my nfs mount options:

-rsize=8192,wsize=8192,soft,timeo=30,rw

My main gentoo box is down at the moment (power supply being RMA'd), but
I recall I had to set the unsecure option so my macbook could connect.

HTH,
Roy




Re: [gentoo-user] dispatch-conf merge

2009-06-02 Thread Roy Wright


On Jun 3, 2009, at 12:21 AM, Graham Murray wrote:


Is there any way to improve the granularity in the merge function of
dispatch-conf, or make it more intelligent?

The particular situation where it gives me problems is in  
configuration

files where the value of an option has been manually changed following
initial installation, then on an upgrade a new option is added close  
to

the one previously changed. In this situation, dispatch-conf almost
invariably wants to reset the changed option line back to its default.
When selecting 'm' to merge changes it will present a left hand side
with the already existing value (often plus other lines) with the  
right

hand side with the default lines for both the existing line(s) and the
new ones.



My habit when manually tweaking a config file is to copy the line then  
comment

out the original, like:

original:

foo=some default

changed to:

#foo=some default
foo=bar

this seems to help dispatch-conf some.

For really ugly merges, I just skip in dispatch-conf, then merge using  
kdiff3.


HTH,
Roy




Re: [gentoo-user] Whats better for crossplatform applications?

2009-05-31 Thread Roy Wright


On May 31, 2009, at 2:04 AM, Volker Armin Hemmann wrote:


On Sonntag 31 Mai 2009, Alexander Pilipovsky wrote:
May be, it's not a only Gentoo question, but I want to write and  
start
applications under Gentoo and Windows. I saw Tcl/Tk library in work  
(as
example OOMMF: http://math.nist.gov/oommf/, but it, sometimes,  
unstable
under Windows XP). And it did not like me to look of buttons, lists  
etc.

Other way I saw in using wxPython (http://www.wxpython.org/) or
wxWidgets (http://www.wxwidgets.org/). I want to have as little as
possible differences in GUI of my program when it starts under GNOME,
KDE or Windows. May be some other libraries for crossplatform
development are exists.

What library better for unification of application look and  
developing?


P. S. Excuse my English, please :)


qt



There's a few to choose from.  Here's some:

java - portability was one of the original design goals
javafx - looks real interesting for 2D graphics
gtk - lots of language wrappers available
qt4 - some kde apps are starting to be portable
shoes - really simple UI, designed for learning
gosu - 2D cross platform library

I'm sure there are more...

Have fun,
Roy




Re: [gentoo-user] One of my cores sometimes sleeps

2009-05-14 Thread Roy Wright
Alex Schuster wrote:
 Hi there!
 Most KDE4 itself is always 
 responsive, but not the panel. Konqueror, Kontact and such sometimes freeze 
 when I open a new page/mail. In race cases konqueror also freezes while 
 displaying a page, after parts were already rendered.

I replaced my media lan's router the other day with a
gentoo+dnsmasq+shorewall homebrew and hit this behavior.  My observation
is that they freeze when you loose internet connection.  Two quick
tests:  1) pull you internet cable and see if that duplicates the
behavior you are experiencing; 2) try to ping an internet system while
you are experiencing the problem.

HTH,
Roy



Re: [gentoo-user] kde:3.5 how to phase out

2009-05-13 Thread Roy Wright
Dirk Heinrichs wrote:
 Am Dienstag, 12. Mai 2009 11:25:07 schrieb Helmut Jarausch:
 
 Furthermore, how to unmerge all of KDE:3.5, e.g.
 emerge --unmerge kde-base/kde-meta:3.5
 does not work.
 
 paludis --uninstall --with-dependencies =kdelibs-3.5.9
 

If you have openoffice installed, it will need to be compiled without
the kde use flag.  Also to compile it make sure you have a default boost
selected by using eselect boost.

Afterwards you may want to package.mask =kde-base/kdelibs-3.5*

A revdep-rebuild is probably in order too.

HTH,
Roy



Re: [gentoo-user] USB barcode scanner

2009-05-03 Thread Roy Wright
dhk wrote:
 I have a 2-dimensional usb bar code scanner that I'm trying to get
 working ( This is the exact one if interested:
 http://www.barcodesinc.com/metrologic/ms1690.htm ).  It scans, but
 nothing gets displayed.  How can I get the focused window/terminal to
 understand that the device should be treated as stdin?  The output from
 lsusb and lsusb -D is below.  Thanks,
 

It doesn't look like you have the HID keyboard version.  I have an ID
Tech IDT4439U which when plugged in behaves like a keyboard.  In the
following lsusb output, notice the iConfiguration and bInterfaceClass
parameters.  My wild guess is you will need a driver.  Also you may want
to verify you have CONFIG_HID* enabled in your kernel config.

HTH,
Roy

Bus 006 Device 003: ID 04b4:0101 Cypress Semiconductor Corp. Keyboard/Hub
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   1.00
  bDeviceClass0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 8
  idVendor   0x04b4 Cypress Semiconductor Corp.
  idProduct  0x0101 Keyboard/Hub
  bcdDevice0.01
  iManufacturer   1 Marson
  iProduct2 Marson Barcode/USB Link KDBv1.21
  iSerial 0
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength   34
bNumInterfaces  1
bConfigurationValue 1
iConfiguration  4 HID Keyboard / Mouse
bmAttributes 0xa0
  (Bus Powered)
  Remote Wakeup
MaxPower  100mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   1
  bInterfaceClass 3 Human Interface Device
  bInterfaceSubClass  1 Boot Interface Subclass
  bInterfaceProtocol  1 Keyboard
  iInterface  5 EP1 Interrupt
HID Device Descriptor:
  bLength 9
  bDescriptorType33
  bcdHID   1.00
  bCountryCode0 Not supported
  bNumDescriptors 1
  bDescriptorType34 Report
  wDescriptorLength  63
 Report Descriptors:
   ** UNAVAILABLE **
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81  EP 1 IN
bmAttributes3
  Transfer TypeInterrupt
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0008  1x 8 bytes
bInterval  10
Device Status: 0x0002
  (Bus Powered)
  Remote Wakeup Enabled

# grep HID /usr/src/linux/.config
CONFIG_HID_SUPPORT=y
CONFIG_HID=y
CONFIG_HID_DEBUG=y
CONFIG_HIDRAW=y
CONFIG_USB_HID=y
# CONFIG_HID_PID is not set
CONFIG_USB_HIDDEV=y
# Special HID drivers
CONFIG_HID_COMPAT=y
CONFIG_HID_A4TECH=y
CONFIG_HID_APPLE=y
CONFIG_HID_BELKIN=y
CONFIG_HID_BRIGHT=y
CONFIG_HID_CHERRY=y
CONFIG_HID_CHICONY=y
CONFIG_HID_CYPRESS=y
CONFIG_HID_DELL=y
CONFIG_HID_EZKEY=y
CONFIG_HID_GYRATION=y
CONFIG_HID_LOGITECH=y
CONFIG_HID_MICROSOFT=y
CONFIG_HID_MONTEREY=y
CONFIG_HID_PANTHERLORD=y
CONFIG_HID_PETALYNX=y
CONFIG_HID_SAMSUNG=y
CONFIG_HID_SONY=y
CONFIG_HID_SUNPLUS=y
# CONFIG_USB_PHIDGET is not set




Re: [gentoo-user] kdm 4.2.2 not configurable?

2009-04-23 Thread Roy Wright
Paul Hartman wrote:
 On Wed, Apr 22, 2009 at 6:22 AM, Roy Wright r...@wright.org wrote:
 But now when KDM start I get half a
 screen of garbage on the left half of the left monitor and on the right
 half of the right monitor.
 
 KDM does the same for me on a wide-screen monitor. In fact it could be
 a security risk because after logging out of KDE, random pieces of
 screen from the last session sometimes show up on the garbage parts on
 the sides, including potentially sensitive information. It does not
 appear to support any kind of screen size detection. What you need to
 do is find (or make) a theme that is the same size/aspect ratio as
 your display setup and then it'll be okay. It's trying to use a 4:3
 theme on a 8:3 or 16:9 or whatever and apparently the KDM people
 haven't gotten around to dealing with that yet.

For now, I simply edited kdmrc and set UseTheme to false.

Still haven't figured out how to use System Settings, Advanced, Login
Manager.  Can't get anything to be enabled for editing.  I've tried:

* chmod -R 755 the config directories (/usr/share/config 
/usr/kde/4.2/share/config)

* reset the config files with: genkdmconf --no-old

The ownership of the conf files is root:root, so am thinking the
permissions should be 775, but I've found multiple sources that state
the perms should be 755, which would make since if I had an Admin button
like they refer to.  Maybe a sudo setup or something...

Thank you,
Roy



Re: [gentoo-user] kdm 4.2.2 not configurable?

2009-04-23 Thread Roy Wright
Paul Hartman wrote:
 
 For now you can open a run dialog and type kdesu systemsettings to
 have the admin options enabled for editing.

That works great!

Thank you,
Roy




[gentoo-user] kdm 4.2.2 not configurable?

2009-04-22 Thread Roy Wright
Howdy,

Well I just went back to using two monitors in twinview mode after a few
months of single monitor suffering.  But now when KDM start I get half a
screen of garbage on the left half of the left monitor and on the right
half of the right monitor.  OK, should just need to set the background
image.  So head over to Computer, System Settings, Advanced, Login
Manager but got a problem, everything there is disabled.  Docs imply
there should be an Admin button but it's not there (Have: Help,
Defaults, Reset(disabled),  Apply(disabled)).

Thinking, oh well, off to /usr/kde/4.2/share/config/kdm, edit kdmrc and
set GreeterScreen to -1 (the only multi display setting I saw) to see
what happens.  Ran genkdmconf.  Restarted xdm.  No change.

Any ideas?

TIA,
Roy




Re: [gentoo-user] KDE 4.2.1 : beta is as beta does

2009-04-14 Thread Roy Wright
Alan McKinnon wrote:
 On Tuesday 14 April 2009 02:19:47 Paul Hartman wrote:
 On Mon, Apr 13, 2009 at 11:28 AM, Paul Hartman

 paul.hartman+gen...@gmail.com wrote:
 The only app I am really disappointed with is Amarok 2. 

Glad I'm not the only one who doesn't get Amarok 2...

Personally the change over to dolphin is disappointing.  So far I've
been able to mostly ignore it and use konqueror with one major
exception, fish and sftp no longer work in konqueror.  Only sftp works
in dolphin.  In the past (3.x), I always found fish to be bulletproof
while sftp occasionally would flake.

A minor gripe with Konsole is it not remembering the Show in Menu
setting for profiles.  Makes working with several custom profiles a pain.

On using the plasmoids on the desktop, dock the Show Plasmoids Desktop
plasmoid.  Basically one click and you have access to all your
plasmoids.  Almost as good as the mac...

One trick that I do with the plasmoids is place the CPU monitor on the
right edge of my screen, then when I place windows I leave about a half
inch uncovered on the right so I can see the most recent processor load.

Overall I'm liking KDE4.  Just need to get k3b ported over then I can
finally ditch kdelibs-3.5...

Have fun,
Roy



Re: [gentoo-user] VLC use flags request

2009-04-10 Thread Roy Wright
Paul Hartman wrote:
 On Thu, Apr 9, 2009 at 2:52 PM, Roy Wright r...@wright.org wrote:
 Howdy,

 I've been having trouble with VLC (saving from disc, h264+a52) and think
 it's related to the set of use flags so was hoping some kind soul with a
 functional VLC wouldn't mind posting their USE flags.
 
 I don't know if mine will do what you're trying to do, but it seems to
 work for what I've tried to do. Here are my USE flags:
 

A quick thank you.  I have vlc almost working now but got distracted
when I found the new ebuild for handbrake over on b.g.o.  FYI handbrake
rocks and is 3x faster on my gentoo desktop than my macbook. ;)

Thank you,
Roy




[gentoo-user] VLC use flags request

2009-04-09 Thread Roy Wright
Howdy,

I've been having trouble with VLC (saving from disc, h264+a52) and think
it's related to the set of use flags so was hoping some kind soul with a
functional VLC wouldn't mind posting their USE flags.

TIA,
Roy



Re: [gentoo-user] simple firewall

2009-04-04 Thread Roy Wright
gigli wrote:
 I wonder if there is any easy firewall for gentoo. I tried ubuntu for a
 while and used their ufw, which was very simple.
 
 My needs:
 
 Block incoming traffic except for sshd and https (and sometimes
 bittorrent) and allow my lan to connect to my samba share, mythtv and
 mysql when i use openvpn or allways, which would be easyist. My box is
 usually protected by pfsense.

I'll second the request.  What I'd really like is one similar to what's
on the mac where basically when an app attempts to connect to a port, a
popup asks if you want to allow it.

In the meantime I've been using shorewall which is way more complicated
than I like.




Re: [gentoo-user] Time to move on? - snippage

2009-03-25 Thread Roy Wright
AllenJB wrote:
 Can you ALL please take this off-topic conversation off list.

+1

 In addition, please keep language clean on this list.

+1

Well said.





Re: [gentoo-user] Konqueror crash on Red Hat site

2009-03-20 Thread Roy Wright

Alan McKinnon wrote:

On Friday 20 March 2009 10:54:13 Nikos Chantziaras wrote:

Trying to navigate this:

http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Cluster_Lo
gical_Volume_Manager/index.html

crashes konqueror-4.2.1-r1.

Can anyone confirm?  Please click a few links in the table of contents.


Confirmed.



Did NOT crash for me on ~x86.

Installed versions:  4.2.1-r1(4.2)!t(05:43:21 AM 03/17/2009)(auth 
bookmarks kdeprefix -debug -thumbnail)





Re: [gentoo-user] Konqueror crash on Red Hat site

2009-03-20 Thread Roy Wright

Roy Wright wrote:

Alan McKinnon wrote:

On Friday 20 March 2009 10:54:13 Nikos Chantziaras wrote:

Trying to navigate this:

http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Cluster_Lo 


gical_Volume_Manager/index.html

crashes konqueror-4.2.1-r1.

Can anyone confirm?  Please click a few links in the table of contents.


Confirmed.



Did NOT crash for me on ~x86.

Installed versions:  4.2.1-r1(4.2)!t(05:43:21 AM 03/17/2009)(auth 
bookmarks kdeprefix -debug -thumbnail)






Argh!  Spoke too soon.  Konqueror proceed to crash when I closed it 
immediately after viewing the page...


HTH





Re: [gentoo-user] Access Windows XP running in VirtualBox

2009-03-14 Thread Roy Wright

Joseph wrote:

I need a solution to access Windows XP program running on VirtualBox.

I've Windows XP running via VB and I need to run one of Windows XP 
program from few other machines.

I was thinking maybe I'll install run LTSP but I'm not sure it will work. I
think I could create VPN between Windows and Linux but in this case I need
to run full OS on other machines.
What are my other options?



* Install cygwin's openssh server
* Write a web app to launch the programs
* VNC?

You will need bridge networking or some port forwarding rules 
(http://en.gentoo-wiki.com/wiki/Virtualbox) to allow connection to the VM.


Now a days, web apps can be pretty easy.  Personally I probably create a 
merb very flat app assuming all you are wanting is to launch a few known 
programs.


HTH



Re: [gentoo-user] KDE 4.2.1 lancelot using 100% of a core

2009-03-07 Thread Roy Wright

Alan McKinnon wrote:

On Saturday 07 March 2009 09:03:30 Roy Wright wrote:

Howdy,

Recently upgraded to kde 4.2.1 and noticed that lancelot is reported by
top as 100% cpu.  Looking at system monitor - cpu settings plasmoid, it
looks like 2 of the cores (quad core cpu) are optioning off at 100%.

I'm curious if anyone else is seeing something similar?


Hi Roy,

By your wording I'd assume that Lancelot was fine with version 4.2.0? Are you 
having trouble with any other plasmoids? I get similar behaviour with some of 
the eye-candy compiz-style plugins, but Lancelot itself is solid (and vastly 
superior to that default menu thing).


It's unlikely to be plasma itself, I see very little reports about that. It's 
more likely to be X related or drivers or some such.


Please post back with details of your hardware, drivers, kde USE settings etc 
etc 



Yes, no issues with kde 4.2.0.  What happened is I'd upgraded to the bad 
nvidia-drivers-180.35, downgraded to 180.29, then upgraded kde from 
4.2.0 to 4.2.1.  One weird side-effect of the 4.2.1 upgrade is that I 
lost my plasma desktop layout.  No biggy, I just added the plasmoids 
back.  Then I noticed the lancelot cpu usage issue.  I have not noticed 
any behavior problems.  Kde 4.2 has been rock solid.


~x86 system

emerge --info at http://pastebin.com/m6914fe90 (1 month duration)

lshw at http://pastebin.com/m5a355800 (1 month duration)

All I can think to try is to move my ~/.kde4.2 directory and let it 
regenerate.


Thank you,
Roy



Re: [gentoo-user] KDE 4.2.1 lancelot using 100% of a core

2009-03-07 Thread Roy Wright

Alan McKinnon wrote:

On Saturday 07 March 2009 10:12:42 Roy Wright wrote:



Yes, no issues with kde 4.2.0.  What happened is I'd upgraded to the bad
nvidia-drivers-180.35, downgraded to 180.29, then upgraded kde from
4.2.0 to 4.2.1.  One weird side-effect of the 4.2.1 upgrade is that I
lost my plasma desktop layout.  No biggy, I just added the plasmoids
back.  Then I noticed the lancelot cpu usage issue.  I have not noticed
any behavior problems.  Kde 4.2 has been rock solid.


I followed the exact same steps (even the nvidia upgrade-downgrade cycle) on 
my notebook with no problems whatsoever. The only difference is I have ~amd64



~x86 system

emerge --info at http://pastebin.com/m6914fe90 (1 month duration)

lshw at http://pastebin.com/m5a355800 (1 month duration)

All I can think to try is to move my ~/.kde4.2 directory and let it
regenerate.


That's a good quick easy check. At least we'll know if it's a code or a config 
issue




Looks like it was a config type issue with something in ~/.kde4.2.

Thank you for helping me work thru it.

Roy



Re: [gentoo-user] KDE 4.2.1 lancelot using 100% of a core

2009-03-07 Thread Roy Wright

Volker Armin Hemmann wrote:

On Samstag 07 März 2009, Roy Wright wrote:

Howdy,

Recently upgraded to kde 4.2.1 and noticed that lancelot is reported by
top as 100% cpu.  Looking at system monitor - cpu settings plasmoid, it
looks like 2 of the cores (quad core cpu) are optioning off at 100%.

I'm curious if anyone else is seeing something similar?

TIA,
Roy


which qt version are you using?





Wow, that's interesting:  qt-3.3.8b-r1

Nothing is masking qt4, and both qt3 and qt4 USE flags are set, but 
apparently nothing is pulling qt4 in...


I was under the impression that kde4 required qt4.

Thank you,
Roy



Re: [gentoo-user] KDE 4.2.1 lancelot using 100% of a core

2009-03-07 Thread Roy Wright

Volker Armin Hemmann wrote:

On Samstag 07 März 2009, Roy Wright wrote:

Volker Armin Hemmann wrote:

which qt version are you using?

Wow, that's interesting:  qt-3.3.8b-r1

Nothing is masking qt4, and both qt3 and qt4 USE flags are set, but
apparently nothing is pulling qt4 in...

I was under the impression that kde4 required qt4.


yes it does. How have you checked which qt versions are installed? qt-3.3.8 
and 4.4 or 4.5 can happily exist next to each other. Have a look into 
/var/db/pkg and check which qt versions you have.


With kde 4.2.1 you should use 4.5 really - you should


OK, I think I've figured out the qt issue.  In a nutshell, it's not an 
issue.  I was checking the version of x11-libs/qt which is what reported 
only 3.3.8 being installed.  But when I look for all qt-* packages I 
find that version 4.5 of them are installed.  So not understanding why 
there apparently wasn't a dependency on x11-libs/qt, I went ahead and 
emerged it.  The merge note said that this was a meta package that was 
going away in the future.  Light bulb illuminates.  The qt4 USE flag was 
pulling in the qt-*:4 packages, just not the meta package.


Thank you,
Roy



[gentoo-user] KDE 4.2.1 lancelot using 100% of a core

2009-03-06 Thread Roy Wright

Howdy,

Recently upgraded to kde 4.2.1 and noticed that lancelot is reported by 
top as 100% cpu.  Looking at system monitor - cpu settings plasmoid, it 
looks like 2 of the cores (quad core cpu) are optioning off at 100%.


I'm curious if anyone else is seeing something similar?

TIA,
Roy




Re: [gentoo-user] Re: opengl - howto get rid of Nvidia

2009-02-21 Thread Roy Wright

James wrote:

Pupino pupinux at gmail.com writes:


have you also checked /etc/make.conf to ensure that there's 

not a line like this

VIDEO_CARDS=nvidia
in it's options?


Also check in /etc/X11/xorg.conf and remove all references to nvidia.



Also check it's not in your module-rebuild list.





Re: [gentoo-user] hal-hell - please help

2009-02-21 Thread Roy Wright

Arttu V. wrote:

On 2/21/09, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote:

To make it even work I had to put
Option AutoAddDevices no

to my xorg.conf file

What am I missing?


During my short-lived and generally moderately clueless
experimentation with the latest xorg-server, evdev and a hal-enabled
PS/2 keyboard and a hal-enabled Logitech USB mouse, the mouse was not
the problem, but the keyboard layouts were the killer which prompted
me to disable hal altogether (ref: earlier CTRL+C kills
korganizer-thread).

Those changes gave me a functional USB mouse pointer with xorg-server
1.5.x, but my keyboard problems went away only after I disabled acpid
and hal, and re-emerged xorg-server with USE=-hal. Wasted nearly
three good weeks' nights and weekends there with kde 4.2.0 upgrade, so
you can understand my above-average grumpiness about hal -- just
disable it unless you really really need it. :(



I've felt the pain (MS natural keyboard) until recently.  For my two 
~x86 systems, here's the procedure that worked to get hal/xorg working.


* set INPUT_DEVICES and VIDEO_CARDS in make.conf
* set hal use flag in make.conf
* emerge -uDNav world
* emerge xorg-x11
* emerge xf86-input-evdev
* create a default xorg.conf (Xorg --configure)
* remove all InputDevice sections in xorg.conf
* remove all references to InputDevice in the ServerLayout section
* configure your video in xorg.conf
* test using X -config path/to/new/xorg.conf

Here's my xorg.conf:  http://gist.github.com/68202

HTH,
Roy



Re: [gentoo-user] Grub broke out of the blue

2009-02-17 Thread Roy Wright

Nikos Chantziaras wrote:
I've no idea how it broke, but after an emerge --sync, a kernel 
(gentoo-sources) update was there.  After I compiled the kernel, I did 
the usual make modules_install  make install.  I edited grub.conf 
only to the point of changing the booted kernel to the new one (just a 
matter of changing -r1 to -r2 at the end of the kernel filename).  I 
reboot, Grub stops working.  It just displays GRUB and hangs there.


I normally don't edit my grub.conf, instead I have entries for
vmlinuz and vmlinuz.old (make install updates these).

When I do edit grub.conf, I always run grub-install afterwards.
I don't know if this is necessary, but it's my habit...

HTH,
Roy



Re: [gentoo-user] Re: ALSA config problem

2009-02-10 Thread Roy Wright

Mick wrote:

On Monday 09 February 2009, James wrote:

Roy Wright roy at wright.org writes:



On my new install using 2.6.28-gentoo-r1, alsa kernel, sound as modules
(recommended), 
[snip...] 


* enable alsa in the kernel
* enable as modules device drivers/sound card support/...

[snip...]


I appreciate these steps and refs

I'm good for now.


As was suggested above you may get better luck building the alsa drivers as 
modules.  Although I had my sound card driver built in the kernel for the 
last 2-3 years, I had to revert to building it as a module to get it to work 
with kernel 2.6.27-gentoo-r6/8.


The main reason for building the sound drivers as modules is so that 
alsaconf can find and setup your sound card for you.





Re: [gentoo-user] The Linux Ecosystem (with funny references to Gentoo vs Canonical)

2009-02-10 Thread Roy Wright

Mick wrote:

On Tuesday 10 February 2009, Joshua D Doll wrote:

Saphirus Sage wrote:

Nikos Chantziaras wrote:

http://video.linuxfoundation.org/video/1069

I found it quite interesting that even Gentoo beat Canonical in the
amount of patches contributed upstream...

Good find, I actually didn't know about E-Trade using Gentoo servers. I
don't think it should be too surprising that Gentoo would contribute
more patches than Conical, as until today, I'd only actually heard of
one of them.

This video brought up an interesting question by my friend (an ubuntu
user). How would one go about getting Canonical or the ubuntu community
to change their practice of not contributing fixes back upstream?
Without having to change distributions.


Gentoo involves you more with what goes bad under the bonnet and the average 
Gentoo user is more interested in the workings of their OS to attempt 
troubleshooting it and filing bugs.  Your average Ubuntu user is less likely 
to get their hands dirty, unless they are a dev.  So, essentially we are 
talking about different user profiles here.  To answer your friend's 
hypothetical question - he would either have to change your average Ubuntu's 
user technical aptitude, or change the user.  Either attempt may mean the end 
of Ubuntu as we know it.


The ubuntus are targeted at disgruntled windows users while gentoo is 
targeted at unix users.  The former are used to complaining and getting 
no response while the later know it's their responsibility to help make 
it better...


Have fun,
Roy



Re: [gentoo-user] vncviewer Recommendation

2009-02-09 Thread Roy Wright

Drew Tomlinson wrote:

I've installed the TightVNC viewer on my Gentoo box and it does not
appear to have any of these features.  I'm looking for recommendations.



Under KDE, there's krdc.  Supports VNC and you can bookmark connections.

I'll second freenx, assuming you have control of the server so can 
install it.


HTH,
Roy



Re: [gentoo-user] Re: ALSA config problem

2009-02-09 Thread Roy Wright

James wrote:

Naga nagatoro at gmail.com writes:


In the 2.6.28 kernel alsa is broken for hda-intel. Either use 2.6.27 series 
kernel or use a live alsa ebuild.



Makes sense, but, it's does not work for *26 or *27 kernels:


Linux sliver 2.6.27-gentoo-r8 #12 SMP Mon Feb 9 13:04:18 EST 2009 x86_64 AMD
Athlon(tm) 64 X2 Dual Core Processor 4600+ AuthenticAMD GNU/Linux


It's a new install, and it has never worked. It works find under XP.



Start with:

http://www.gentoo.org/doc/en/alsa-guide.xml
/usr/src/linux/Documentation/sound/alsa/ALSA-Configuration.txt

On my new install using 2.6.28-gentoo-r1, alsa kernel, sound as modules 
(recommended), snd_intel_hda, ~x86, I have both analog and SPDI/F 
working, but the kernel is not recognizing HDMI device.


In a nut shell,

* enable alsa in the kernel
* enable as modules device drivers/sound card support/...
* do not install alsa-drivers.
* emerge alsa-utils
* follow the alsa-guide
* if digital device not recognized, specify option name from 
ALSA-Configuration.txt


HTH,
Roy



Re: [gentoo-user] Re: Using portage through NFS

2009-02-09 Thread Roy Wright

Chris Lieb wrote:

Neil Bothwick wrote:

On Fri, 06 Feb 2009 10:57:58 -0600, Chris Lieb wrote:


I don't want to do UnionFS since that requires me to patch the kernel,
which is more work than I have the time for.

cd /usr/src/linux
patch -p1 /path/to/patchfile

You must be *really* short of time ;-)


My concern is more about making my own ebuild (based off of
gentoo-sources) that will patch the kernel source for me so that I can
easily distribute this patched kernel source to all of my computers.  I
need the process to be easy so that whom ever succeeds me doesn't have
to learn much more than just running a couple of scripts that I wrote.
Even how, I catch enough crap from my boss already for spending so much
time tinkering with servers instead of programming :)

Is there a guide out there for rolling my own kernel ebuild?

Chris


Take a peek at aufs on the sunrise overlay.  It has a section that 
patches the kernel, dependent on kernel version and USE flags.  It looks 
like it just informs the user that the kernel was patched.


HTH,
Roy




[gentoo-user] kernel install question

2009-02-06 Thread Roy Wright

Howdy,

Setting up a new system and want to do the simple grub setup where I 
have grub menu of:


* Current Gentoo Kernel (/boot/vmlinuz)
* Previous Gentoo Kernel (/boot/vmlinuz.old)
* Gentoo 2.6.28-r1 (/boot/vmlinuz-2.6.28-gentoo-r1)

Then when I rebuild the kernel I can use the following command:

$ make  make modules_install  make install

The make install should handle moving /boot/vmlinuz to /boot/vmlinuz.old 
and copying the current image to /boot/vmlinuz.


I found what I think is the instructions I used before:

  http://www.gentoo-wiki.info/Kernel/Installing

which basically say to emerge debianutils

The problem I'm seeing is that make install is including the version 
number in the vmlinuz filenames:


# ls -1 /boot
System.map-2.6.28-gentoo-r1
System.map-2.6.28-gentoo-r1.old
boot
config-2.6.28-gentoo-r1
config-2.6.28-gentoo-r1.old
grub
vmlinuz-2.6.28-gentoo-r1
vmlinuz-2.6.28-gentoo-r1.old


Any ideas or better instructions for getting the versionless vmlinuz files?


TIA,
Roy




Re: [gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-06 Thread Roy Wright

Harry Putnam wrote:

Dirk Heinrichs dirk.heinri...@online.de writes:


Am Freitag, 6. Februar 2009 22:27:12 schrieb Sebastian Günther:


Did you ever read anything the Windows Installer

What the heck is a Windows Installer?

*SCNR*



Thirty five reboots and several hours



Sorry, can't resist as I am currently setting up another gentoo box.  A 
few reboots are kind of expected during a normal gentoo install.


1) after following directions need to reboot into your new system.
2) after updating gcc to the latest and recompiling the system.
3) after finding stupid oversight in fstab (replace ROOT,BOOT,SWAP with 
real devices - embarrassed that I missed that one)

4) while installing X and find that kernel has nvidia FB enabled.
5) while installing kde-meta and find that kernel doesn't have HWMON 
enabled.


Admittedly #3 was oversight and the last two are optional but serve as 
an example that you probably will not get your kernel config right the 
first time.


As for the hours to set up, if you include compile time for X and KDE, 
several hours starts to look really optimistic for a BE-2400, even when 
using distcc to a OC (3GHz) Q9300.  LEt's face it, it's a two day job to 
install gentoo desktop.


The time savings come later, like trying to get HD Audio over HDMI (at 
least that's my hope).  Using this real world example, I originally 
tried kubuntu 8.10 but that didn't have alsa 0.18 (it had 0.17 while 
gentoo ~x86 has 0.19), so had to use two different package management 
systems (dpkg and apt) to get their toolchain installed, then used a 
third package to try to build alsa, which naturally failed.  Instead of 
trying to hack around with their inconsistent system, I said time for 
gentoo...



Have fun,
Roy



Re: [gentoo-user] kernel install question

2009-02-06 Thread Roy Wright

Volker Armin Hemmann wrote:

On Freitag 06 Februar 2009, Roy Wright wrote:

I found what I think is the instructions I used before:

   http://www.gentoo-wiki.info/Kernel/Installing

which basically say to emerge debianutils

The problem I'm seeing is that make install is including the version
number in the vmlinuz filenames:




Any ideas or better instructions for getting the versionless vmlinuz files?


create them once and you have them in the future.

also
 make all modules_install  install

is shorter and gives you the same result.




Thank you, twice...




Re: [gentoo-user] meta-packages and buildpkgonly

2009-02-02 Thread Roy Wright

Neil Bothwick wrote:

On Mon, 02 Feb 2009 11:14:34 +0100 (CET), Helmut Jarausch wrote:


nice -19 emerge -j4 --buildpgkonly kde-base/kde-meta

but it takes next to no time instead of hours and
hasn't build the binary packages without any error messages.
What am I missing?


--buildpkg only works if the dependent packages are installed, you cannot
build kmail-4.2 (for package or install) if kdelibs-4.2 is not installed.
That's a long way round of saying that you can't do what you want and
build all the KDE4 packages in advance.

To minimise downtime, even though it increases the overall install time,
you could upgrade you your KDE3 install to 3.5.10. Then you can install
KDE 4.x alongside it.


KDE 4.2 is slotted so I just built it as normal from within kde 4.1.4 
while continuing to use the system.  When the emerge finished, I 
continued in 4.1.4 for about an hour until I hit a stopping point, then 
dispatched-conf (no kde conf changes) logged out and chose 4.2 and 
logged back in (didn't even restart X).  This was smoothest kde upgrade 
that I can recall, big kudos to the devs!


A few hours into using 4.2 and no glitches!  I'm actually able to use
plasmoids without 10 second UI freezes.  Whoop!  And that's on nvidia 
8600GTS and ~x86.  First impression is 4.2 is ready for prime time.


Have fun,
Roy





Re: [gentoo-user] Re: Thanks and bye for now

2008-12-27 Thread Roy Wright
Nikos Chantziaras wrote:
 Gentoo is difficult to install.  Also, if it's left un-updated for
 longer periods of time, it tends to break on the next update.  I guess
 that's the downside of being versionless.  Debian on the other hand, due
 to it being versioned, doesn't have that problem.

When I ran an internal gentoo server at my last job, I would try to
schedule an update about once a month.  That was a lesson learned after
the box just worked great for 7 months, then we wanted to add a new
application that needed newer libraries, that turned into a 2 day
marathon to update the server (it was old, slow hardware).

I will predict that you will most miss portage after having to deal with
the brain dead apt package manager.

Good Luck




Re: [gentoo-user] [OT] filesystems

2008-11-23 Thread Roy Wright

W.Kenworthy wrote:

On Sun, 2008-11-23 at 19:06 -0600, Dale wrote:

Kobboi wrote:

On Mon, 2008-11-24 at 07:31 +0900, William Kenworthy wrote:
  

Currently I have around 3 terrabytes of storage across a number of
gentoo machines (4 at the moment) - at any one time 1/2 to 1 terrabyte
is unused, but mostly in scattered chunks.  Some space is exported via
NFS and samba for backups and shared files.



maybe ZFS?

http://en.wikipedia.org/wiki/ZFS




Re: [gentoo-user] nvidia driver 177.80 + xorg 1.5.1 + Compiz

2008-10-22 Thread Roy Wright
Nicola wrote:
 Excuse me, could you write down your system configuration?
 
 Xorg version, Kernel version, Gcc, Nvidia-drivers, Hal version, compiz-fusion 
 version.

Basically just a ~x86 system with dual monitors (twinview).

royw-gentoo ~ # cat /etc/portage/package.mask/monolithic
# packages that currently fail to compile
=sys-fs/encfs-1.4.2
=media-video/mplayer-1.0_rc2_p27725
=sys-apps/util-linux-2.14.1

royw-gentoo ~ # eix -Ic xorg

[I] app-doc/xorg-docs ([EMAIL PROTECTED]/30/2008)
[I] app-doc/xorg-sgml-doctools ([EMAIL PROTECTED]/14/2008)
[I] x11-base/xorg-server ([EMAIL PROTECTED]/16/2008)
[I] x11-base/xorg-x11 ([EMAIL PROTECTED]/06/2008)
[I] x11-misc/xorg-cf-files ([EMAIL PROTECTED]/30/2008)


royw-gentoo ~ # cat /proc/version

Linux version 2.6.25-gentoo-r6 ([EMAIL PROTECTED]) (gcc version 4.3.1
(Gentoo 4.3.1 p1.0) ) #7 SMP Thu Sep 25 03:52:13 CDT 2008



royw-gentoo ~ # eix -Ice gcc

[U] sys-devel/gcc (3.3.6-r1(3.3)@06/22/2008 4.3.1(4.3)@06/29/2008

royw-gentoo ~ # eix -Ic nvidia

[I] media-video/nvidia-settings ([EMAIL PROTECTED]/13/2008)
[I] x11-drivers/nvidia-drivers ([EMAIL PROTECTED]/19/2008)


royw-gentoo ~ # eix -Ice hal

[I] sys-apps/hal ([EMAIL PROTECTED]/19/2008)

compiz not installed.

royw-gentoo ~ # cat /etc/X11/xorg.conf | grep -vP ^\s*#
Section ServerLayout
Identifier Layout0
Screen  0  Screen0
EndSection

Section Files
ModulePath   /usr/lib/xorg/modules
FontPath/usr/share/fonts/misc/
FontPath/usr/share/fonts/Type1/
FontPath/usr/share/fonts/TTF/
FontPath/usr/share/fonts/OTF/
FontPath/usr/share/fonts/corefonts
FontPath/usr/share/fonts/freefonts
FontPath/usr/share/fonts/terminus
FontPath/usr/share/fonts/ttf-bitstream-vera
FontPath/usr/share/fonts/unifont
FontPath/usr/share/fonts/75dpi
FontPath/usr/share/fonts/100dpi
FontPath/usr/share/fonts/cyrillic/
EndSection

Section Module
Load   dbe
Load   extmod
Load   freetype
Load   glx
Load   xtrap
Load   wfb
Load   dri
EndSection

Section Monitor
Identifier Monitor0
VendorName Unknown
ModelName  Unknown
HorizSync   30.0 - 110.0
VertRefresh 50.0 - 150.0
Option DPMS
EndSection

Section Device
Identifier Device0
Driver nvidia
VendorName NVIDIA Corporation
Option TwinView
Option UseEdidFreqs true
Option UseEDID true
Option UseDisplayDevice DFP-0, DFP-1
Option MetaModes DFP-0: 1920x1200, DFP-1: 1920x1200;
DFP-0: 1920x1200, DFP-1: NULL; DFP-0: NULL, DFP-1: 1920x1200
Option MonitorHorizSync   UseEdidFreqs
Option MonitorVertRefresh UseEdidFreqs
Option SecondMonitorHorizSync   UseEdidFreqs
Option SecondMonitorVertRefresh UseEdidFreqs
Option TwinViewOrientation DFP-1 RightOf DFP-0
Option TwinViewXineramaInfoOrder DFP-0
Option TripleBuffer  false
Option RandRRotation true
Option RenderAccel   true
Option AddARGBGLXVisuals true
Option UseEvents false
Option PixmapCacheSize   200
Option OnDemandVBlankInterrupts True
Option NvAGP 0  # disable AGP
Option DamageEvents 1
Option InitialPixmapPlacement 2
Option DPMS TRUE
Option NoLogo 1  # disable drawing of NVidia logo
Option AllowIndirectPixmaps false
Option AllowSHMPixmaps 0
Option Coolbits 1
EndSection

Section Screen
Identifier Screen0
Device Device0
MonitorMonitor0
DefaultDepth24
SubSection Display
Depth   24
EndSubSection
EndSection

Section Extensions
Option Composite   enable
EndSection


Also after kde startup running:

  nvidia-settings -a InitialPixmapPlacement=2 -a GlyphCache=1

still seems to help.

HTH,
Roy



Re: [gentoo-user] nvidia driver 177.80 + xorg 1.5.1 + Compiz

2008-10-20 Thread Roy Wright
Nicola wrote:
 Hi!
 Somebody out there try to set up the latest xorg server (and all the ~x86 
 dependency) the latest nvidia driver and compiz? 
 I would like to try, but my latest attempt three weeks ago caused same crazy 
 problems (X didn't start at all), and I am not so crazy to do the same 
 mistake twice in a row, without some prior advices. Well in my latest attempt 
 I used xorg 1.4.2 and 173.14 nvidia drivers (I don't like Marked beta 
 software).

After more hours than I like to think about without X, found a warning in:

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

 --- Comment #13 From Dan Coats 2008-10-10 14:47:42  [reply] ---
 
 on a side note, nvidia-drivers ebuilds should now warn that backingstore
 should be set to false or not specified in xorg.conf at all now. kde4 will 
 bail out with backingstore enabled.


Commenting out the BackingStore option fixed my problem with KDE 4.1.2
crashing on logging in.

Also I was finally successful in using the latest version of HAL, so
that was not the problem.

The only other gotcha I'm looking into is that KDE 3.5.10 recently
disappeared on my system, leaving just KDE 4.1.2 available.

HTH,
Roy



[gentoo-user] preserved lib question

2008-10-20 Thread Roy Wright
Howdy,

I have some preserved libs that just don't want to go away.  I've ran
emerge @preserved-rebuild several times to no avail.  I think the
problem is with portage not recognizing that one of the libraries is
symbolically linked to the other.  Here they are:

!! existing preserved libs:
 package: kde-base/libplasma-4.1.2
 *  - /usr/lib/libplasma.so.2
 *  - /usr/lib/libplasma.so.2.0.0
 *  used by /usr/kde/4.1/bin/krunner (kde-base/krunner-4.1.2)
 *  used by /usr/kde/4.1/bin/ksmserver (kde-base/ksmserver-4.1.2)
 *  used by /usr/kde/4.1/bin/ksysguard (kde-base/ksysguard-4.1.2)
 *  used by 82 other files
 package: kde-base/libkcompactdisc-4.1.2
 *  - /usr/lib/libkcompactdisc.so.4
 *  - /usr/lib/libkcompactdisc.so.4.1.0
 *  used by /usr/kde/4.1/bin/amarok (media-sound/amarok-1.90-r1)
 *  used by /usr/kde/4.1/bin/kscd (kde-base/kscd-4.1.2)
 *  used by /usr/kde/4.1/lib/kde4/amarok_containment_context.so
(media-sound/amarok-1.90-r1)
 *  used by 28 other files
 package: kde-base/libkonq-4.1.2
 *  - /usr/lib/libkonq.so.5
 *  - /usr/lib/libkonq.so.5.1.0
 *  used by /usr/kde/4.1/bin/dolphin (kde-base/dolphin-4.1.2)
 *  used by /usr/kde/4.1/bin/keditbookmarks
(kde-base/keditbookmarks-4.1.2)
 *  used by /usr/kde/4.1/bin/konqueror (kde-base/konqueror-4.1.2)
 *  used by 15 other files
 package: kde-base/libkworkspace-4.1.2
 *  - /usr/lib/libkworkspace.so.4
 *  - /usr/lib/libkworkspace.so.4.1.0
 *  used by /usr/kde/4.1/bin/khotkeys (kde-base/khotkeys-4.1.2)
 *  used by /usr/kde/4.1/bin/krunner (kde-base/krunner-4.1.2)
 *  used by /usr/kde/4.1/bin/ksmserver (kde-base/ksmserver-4.1.2)
 *  used by 15 other files
Use emerge @preserved-rebuild to rebuild packages using these libraries

 # ls -l /usr/lib/libplasma*
lrwxrwxrwx 1 root root  18 2008-10-20 01:58 /usr/lib/libplasma.so.2
- libplasma.so.2.0.0
-rwxr-xr-x 1 root root 1563820 2008-10-11 09:39 /usr/lib/libplasma.so.2.0.0
 # ls -l /usr/lib/libkcompactdisc.*
lrwxrwxrwx 1 root root 24 2008-10-20 01:24
/usr/lib/libkcompactdisc.so.4 - libkcompactdisc.so.4.1.0
-rwxr-xr-x 1 root root 100740 2008-10-11 09:15
/usr/lib/libkcompactdisc.so.4.1.0
 # ls -l /usr/lib/libkonq.*
lrwxrwxrwx 1 root root 16 2008-10-20 01:21 /usr/lib/libkonq.so.5 -
libkonq.so.5.1.0
-rwxr-xr-x 1 root root 195888 2008-10-11 09:14 /usr/lib/libkonq.so.5.1.0
 # ls -l /usr/lib/libkworkspace.*
lrwxrwxrwx 1 root root22 2008-10-20 01:21
/usr/lib/libkworkspace.so.4 - libkworkspace.so.4.1.0
-rwxr-xr-x 1 root root 71620 2008-10-11 09:13
/usr/lib/libkworkspace.so.4.1.0

Any ideas on how to clean this up?

TIA,
Roy




Re: [gentoo-user] nvidia driver 177.80 + xorg 1.5.1 + Compiz

2008-10-14 Thread Roy Wright
Nicola wrote:
 Hi!
 Somebody out there try to set up the latest xorg server (and all the ~x86 
 dependency) the latest nvidia driver and compiz? 
 I would like to try, but my latest attempt three weeks ago caused same crazy 
 problems (X didn't start at all), and I am not so crazy to do the same 
 mistake twice in a row, without some prior advices. Well in my latest attempt 
 I used xorg 1.4.2 and 173.14 nvidia drivers (I don't like Marked beta 
 software).

I may have had the same problem a week ago.  X would start, kdm would
let me log in, but just about when the kde desktop would finish loading
kde would quit back to kdm.  Couldn't find any hint in /var/log.
Started backing out various things ended up getting the system working
again by masking hal 0.5.11:

# cat /etc/portage/package.mask/monolithic
=sys-fs/encfs-1.4.2
~sys-apps/hal-0.5.11
=media-video/mplayer-1.0_rc2_p27725


At the time I was suspecting that hal 0.5.11 was requiring evdev (which
with 20+ hours of unsuccessfully trying to get it to work over the last
year, I wouldn't be surprised if it's the culprit).

Haven't had time to dig further.

HTH,
Roy



Re: [gentoo-user] KDE 4.1.2... a winner!

2008-10-06 Thread Roy Wright
Neil Bothwick wrote:
 On Sun, 05 Oct 2008 20:08:23 +0200, b.n. wrote:
 
 Could you share your relevant package.mask and package.keywords, for
 the laziest of us? :)
 
 emerge autounmask
 autounmask kde-meta

On my ~x86, I had to add:

~app-misc/strigi-0.5.11

to etc/portage/package.unmask/autounmask-kde-meta to resolve a blocking
issue between strigi-0.5.10 and strigi-0.5.11

app-misc/strigi:0

  ('installed', '/', 'app-misc/strigi-0.5.11', 'nomerge') pulled in by
('ebuild', '/', 'kde-base/libplasma-4.1.2', 'merge')

  ('ebuild', '/', 'app-misc/strigi-0.5.10', 'merge') pulled in by
('ebuild', '/', 'kde-base/kdebase-kioslaves-4.1.2', 'merge')
('ebuild', '/', 'kde-base/nepomuk-4.1.2', 'merge')
('ebuild', '/', 'kde-base/kdegraphics-strigi-analyzer-4.1.2', 'merge')
(and 4 more)


BTW, I also changed all of the '=' to '~' to catch any future revs...

Compiling now...

HTH,
Roy



  1   2   3   >