Re: [gentoo-user] Use and removal of binary packages

2006-06-13 Thread Kevin O'Gorman
On 6/13/06, Neil Bothwick [EMAIL PROTECTED] wrote:
On Tue, 13 Jun 2006 09:40:47 -0700, Kevin O'Gorman wrote: I may have a need to install one or more binary packages to fix a problem I'm having.These are ones that have been made for my system during normal emerges, but have since been pruned from
 the system. My question: how to clean up when I'm done?A cursory look at the packages makes me think they're plain tar archives with no metadata.How do I get rid of them when I'm done with them?
There is metadata appended to the end of the file. If you try unpackingone, you'll see a warning about extraneous data, this is the metadata. Or must I install them using some tool that creates the metadata?
What's wrong with installing with portage? Provided the packages are in$PKGDIR, you can install with emerge --usepkgonly packagename. You canthen unmerge in the usual way.If the package is one that prevents you from using portage, unpack it to
the root of your filesystem, then immediately use the above command toemerge it properly.--Neil BothwickFailure is not an option...it is integrated with every Microsoft product.
Something about this is just not clicking with me. I restored my backup toan empty directory, chrooted to that directory, ran quickpkg on some of thepackages I've been trying to re-emerge, and was feeling good. But...
I got out of chroot, copied these to $PKGDIR (/usr/portage/packages) likethe other packages there, and tried to emerge. No joy. Examples ofwhat I tried:
treat Backups # emerge -v --usepkgonly =glib-1.2.10-r5Calculating dependencies!!! There are no packages available to satisfy: =glib-1.2.10-r5!!! Either add a suitable binary package or compile from an ebuild.
treat Backups #and treat dev-libs # emerge -v --usepkgonly ./glib-
1.2.10-r5.tbz2emerging by path implies --oneshot... adding --oneshot to options.*** emerging by path is broken and may not always work!!!Calculating dependencies*** You need to adjust PKGDIR to emerge this package.
treat dev-libs # But this one, for instance, was/usr/portage/packages/dev-libs/glib-1.2.10-r5.tbz2and PKGDIR is 
/usr/portage/packagesso what am I doing wrong now?This is getting demoralizing.++ kevin-- Kevin O'Gorman, PhD


Re: [gentoo-user] A gentoo kind of dependency heck

2006-06-12 Thread Kevin O'Gorman
On 6/11/06, Bo Ørsted Andresen [EMAIL PROTECTED] wrote:
On Sunday 11 June 2006 23:32, Kevin O'Gorman wrote: That sounds interesting, but I have no idea what to do about it. I think once upon a time, when I was first installing gentoo, I opted for KDE.I haven't done a thing about it since KDE 
3.2.Now all of a sudden I've got  this conflict. What do I need to change?And --tree to the command to see what's pulling things in. Post command withthe output here.--
Bo Andresen
--tree does not seem to do much. Here's what I get with an emerge -aDvu and an equery depends kdepim:

[EMAIL PROTECTED] kde # emerge -aDvu --tree world

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

Calculating world dependencies
!!! Packages for the following atoms are either all
!!! masked or don't exist:
games-roguelike/noegnud-nethack games-roguelike/nethack

...done!
[blocks B ] =kde-base/libkcal-3.5* (is blocking kde-base/kdepim-3.5.2-r2)
[blocks B ] =kde-base/libkdenetwork-3.5* (is blocking kde-base/kdepim-3.5.2-r2)
[blocks B ] =kde-base/certmanager-3.5* (is blocking kde-base/kdepim-3.5.2-r2)
[blocks B ] =kde-base/ktnef-3.5* (is blocking kde-base/kdepim-3.5.2-r2)
[blocks B ] =kde-base/libkdepim-3.5* (is blocking kde-base/kdepim-3.5.2-r2)
[blocks B ] =kde-base/kalarm-3.5* (is blocking kde-base/kdepim-3.5.2-r2)
[blocks B ] =kde-base/libkpimidentities-3.5* (is blocking kde-base/kdepim-3.5.2-r2)
[blocks B ] =kde-base/libkmime-3.5* (is blocking kde-base/kdepim-3.5.2-r2)
[blocks B ] =kde-base/libkpgp-3.5* (is blocking kde-base/kdepim-3.5.2-r2)
[nomerge ] media-plugins/gst-plugins-esd-0.8.11
[ebuild N ]
kde-base/kdepim-3.5.2-r2 +arts +crypt -debug -gnokii
-kdeenablefinal -kdehiddenvisibility -pda -xinerama 0 kB

Total size of downloads: 0 kB

!!! Error: The above package list contains packages which cannot be installed
!!! on the same system.

[EMAIL PROTECTED] kde # equery depends kde-base/kdepim-3.5.2-r2
[ Searching for packages depending on kde-base/kdepim-3.5.2-r2... ]
kde-base/kde-3.5.2
kde-base/kdeaddons-3.5.2-r1
[EMAIL PROTECTED] kde #

The only ebuild I can see that I rely on directly is kalarm. All the others must
be dependencies. And I got in this mess because kalarm was broken.

Since I last wrote, I found I can get emerge to shut up by adding kdepim to
packages.provided. Which means it's not really there, but we're lying about it.It lets me do emerges again, but I'd like to stop lying.
++ kevin-- Kevin O'Gorman, PhD


[gentoo-user] A gentoo kind of dependency heck

2006-06-11 Thread Kevin O'Gorman
Once again... portage is mad at me, I guess... unless I'm not alonekdepim is required by KDE: treat ~ # equery --nocolor depends kdepim-3.5.2-r2 [ Searching for packages depending on kdepim-3.5.2-r2... ]
 kde-base/kde-3.5.2 kde-base/kdeaddons-3.5.2-r1 treat ~ # BUT is blocked by other pieces of KDE [blocks B ] =kde-base/libkpgp-3.5* (is blocking kde-base/kdepim-3.5.2-r2) [blocks B ] =kde-base/libkmime-
3.5* (is blocking kde-base/kdepim-3.5.2-r2) [blocks B ] =kde-base/libkpimidentities-3.5* (is blocking kde-base/kdepim-3.5.2-r2) [blocks B ] =kde-base/kalarm-3.5* (is blocking kde-base/kdepim-3.5.2-r2)
 [blocks B ] =kde-base/libkdepim-3.5* (is blocking kde-base/kdepim-3.5.2-r2) [blocks B ] =kde-base/ktnef-3.5* (is blocking kde-base/kdepim-3.5.2-r2) [blocks B ] =kde-base/certmanager-3.5* (is blocking kde-base/kdepim-
3.5.2-r2) [blocks B ] =kde-base/libkdenetwork-3.5* (is blocking kde-base/kdepim-3.5.2-r2) [blocks B ] =kde-base/libkcal-3.5* (is blocking kde-base/kdepim-3.5.2-r2)I find it especially charming that libkdepim is blocking kdepim, both being of the 
3.5 flavor.Can anyone tell me where to turn?-- Kevin O'Gorman, PhD


Re: [gentoo-user] A gentoo kind of dependency heck

2006-06-11 Thread Kevin O'Gorman
On 6/11/06, Raymond Lewis Rebbeck [EMAIL PROTECTED] wrote:
On Monday, 12 June 2006 3:17, Kevin O'Gorman wrote: Once again... portage is mad at me, I guess...unless I'm not alone kdepim is required by KDE: treat ~ # equery --nocolor depends kdepim-3.5.2-r2
 [ Searching for packages depending on kdepim-3.5.2-r2... ] kde-base/kde-3.5.2 kde-base/kdeaddons-3.5.2-r1 treat ~ # BUT is blocked by other pieces of KDE[blocks B ] =kde-base/libkpgp-
3.5* (is blocking kde-base/kdepim- 3.5.2-r2)[blocks B ] =kde-base/libkmime-3.5* (is blocking kde-base/kdepim- 3.5.2-r2)[blocks B ] =kde-base/libkpimidentities-3.5* (is blocking
 kde-base/kdepim-3.5.2-r2)[blocks B ] =kde-base/kalarm-3.5* (is blocking kde-base/kdepim- 3.5.2-r2)[blocks B ] =kde-base/libkdepim-3.5* (is blocking kde-base/kdepim- 
3.5.2-r2)[blocks B ] =kde-base/ktnef-3.5* (is blocking kde-base/kdepim- 3.5.2-r2)[blocks B ] =kde-base/certmanager-3.5* (is blocking kde-base/kdepim- 3.5.2-r2)[blocks B ] =kde-base/libkdenetwork-
3.5* (is blocking kde-base/kdepim-3.5.2-r2)[blocks B ] =kde-base/libkcal-3.5* (is blocking kde-base/kdepim- 3.5.2-r2) I find it especially charming that libkdepim is blocking kdepim, both being
 of the 3.5 flavor. Can anyone tell me where to turn?You can't mix and match monolithic and split ebuilds. kdepim-meta is the oneyou're after.That sounds interesting, but I have no idea what to do about it. I think once
upon a time, when I was first installing gentoo, I opted for KDE. I haven't donea thing about it since KDE 3.2. Now all of a sudden I've got this conflict.What do I need to change?++ kevinb
-- Kevin O'Gorman, PhD


Re: [gentoo-user] A gentoo kind of dependency heck

2006-06-11 Thread Kevin O'Gorman
On 6/11/06, Kevin O'Gorman [EMAIL PROTECTED] wrote:
On 6/11/06, Raymond Lewis Rebbeck 
[EMAIL PROTECTED] wrote:

On Monday, 12 June 2006 3:17, Kevin O'Gorman wrote: Once again... portage is mad at me, I guess...unless I'm not alone kdepim is required by KDE: treat ~ # equery --nocolor depends kdepim-3.5.2-r2

 [ Searching for packages depending on kdepim-3.5.2-r2... ] kde-base/kde-3.5.2 kde-base/kdeaddons-3.5.2-r1 treat ~ # BUT is blocked by other pieces of KDE[blocks B ] =kde-base/libkpgp-
3.5* (is blocking kde-base/kdepim- 3.5.2-r2)[blocks B ] =kde-base/libkmime-3.5* (is blocking kde-base/kdepim- 3.5.2-r2)[blocks B ] =kde-base/libkpimidentities-3.5* (is blocking
 kde-base/kdepim-3.5.2-r2)[blocks B ] =kde-base/kalarm-3.5* (is blocking kde-base/kdepim- 3.5.2-r2)[blocks B ] =kde-base/libkdepim-3.5* (is blocking kde-base/kdepim- 
3.5.2-r2)[blocks B ] =kde-base/ktnef-3.5* (is blocking kde-base/kdepim- 3.5.2-r2)[blocks B ] =kde-base/certmanager-3.5* (is blocking kde-base/kdepim- 3.5.2-r2)[blocks B ] =kde-base/libkdenetwork-
3.5* (is blocking kde-base/kdepim-3.5.2-r2)[blocks B ] =kde-base/libkcal-3.5* (is blocking kde-base/kdepim- 3.5.2-r2) I find it especially charming that libkdepim is blocking kdepim, both being
 of the 3.5 flavor. Can anyone tell me where to turn?You can't mix and match monolithic and split ebuilds. kdepim-meta is the oneyou're after.That sounds interesting, but I have no idea what to do about it. I think once
upon a time, when I was first installing gentoo, I opted for KDE. I haven't donea thing about it since KDE 3.2. Now all of a sudden I've got this conflict.What do I need to change?++ kevin
In case it helps, this is all my world file says about KDE: treat ~ # grep kde /var/lib/portage/world dev-util/kdevelop kde-base/kdegraphics kde-base/kdegames
 kde-base/kde kde-base/arts treat ~ # I have to say I don't see what I would want to change here...-- Kevin O'Gorman, PhD


Re: [gentoo-user] A gentoo kind of dependency heck

2006-06-11 Thread Kevin O'Gorman
On 6/11/06, b.n. [EMAIL PROTECTED] wrote:
 That sounds interesting, but I have no idea what to do about it. I think once upon a time, when I was first installing gentoo, I opted for KDE.I haven't done a thing about it since KDE 
3.2.Now all of a sudden I've got this conflict. What do I need to change?Here you will find everything you need to know:http://www.gentoo.org/doc/en/kde-split-ebuilds.xml
Things are changed since kde 3.2 ...m.--Hmm.. I read this. It's *very far* from being everything I need to know.It says portage protects me from an illegal state. I surmise this is false, because
I cannot now do a simple emerge -aDvu world. I need to know how to get toa legal state, and all that page provides is background; it leaves figuring it outup to me. And frankly, it looks like a lot of work just to figure out. Besides
being scary because it seems likely I'll have to emerge everything the eyecan normally see and hope that it will come up working again.I first guess is to unmerge everything KDE, but even then, I'm not quite sure
what I should emerge in its place. kde-meta? And what will my system becapable of in the meantime? Is there some subset that will get my desktopback in working order relatively quickly (would emerge konsole kalarm do?
What's the name of the app that displays a panel/taskbar). Dang, but thisis a lot to figure out and trust that I've got it right while I destroy my ability toask for help if I get it wrong.What's the name of the gizmo that puts the clock in my panel/taskbar? Is that
a panel or a taskbar, and will a mistake in terminology prevent my system fromever looking like this again? Is there some little gizmo I'm used to using thatwill suddenly disappear, and how will I know what its name anyway when I can
no longer see it?Does this communicate my premonitions of impending doom?Would some kind soul who understands such stuff spell out the steps to getto a useable and maintainable system. I no longer have a maintainable one.
That web page said that if one prefers the monolithic KDE one should tellthem why. I think I just did (I submitted a bug).++ kevin-- Kevin O'Gorman, PhD


[gentoo-user] kalarm still broken -- revdep-rebuild fails; need mass unmerge of old KDE things

2006-06-10 Thread Kevin O'Gorman
whingingRevdep-rebuild seems to be the poor stepchild of the portage system. There'sprobably a good reason for it, but it sure is annoying. Moreover, my pastexperiences with it were that it was never entirely happy and I always had
to leave my system in a state I considered unsatisfactory./whingingThis time it's kalarm causing me to try it. Kalarm apparently had a disagreementwith kdepim about who would be emerged, resulting in 200-some error dialogs
greeting me each morning. So I unmerged them both and emerged only kalarm,and thought things were fixed. But sure enough, this morning there were 215such crash dialogs complaining about SIGFPE. I have no clue why the first
one didn't just kill off kalarm, but that's a different issue. The bright side is thataside from issuing all these dialogs, kalarm seems to be functioning. How odd.Anyway, in pursuit of getting it cleaned up, I tried revdep-rebuild, which can
catch some of those odd dependency thingies.It reported a bunch of problems with KDE itself. Mostly with old versions,so I'd like to unmerge them. But I'm a bit unsure how to do that. Do I have tounmerge the component packages one by one, or is there some way to
name all of the components of KDE 3.2, 3.3 and 3.4 with one or three collectivenames?Even if I do this, there remain some current complaints from revdep-rebuild: broken /usr/kde/3.5/lib/kde3/libkaddrbk_geo_xxport.so (requires 
libkabinterfaces.so.1) broken /usr/kde/3.5/lib/kde3/libkaddrbk_gmx_xxport.so (requires libkabinterfaces.so.1)Plus some relating to openoffice-bin (I'm going to see if switching to plain openoffice helps)and one relating to perl that stumps me because it comes from the imagemagick package
itself, and so presumably should know what version of its own libraries to use: broken /usr/lib/perl5/vendor_perl/5.8.7/i686-linux/auto/Image/Magick/Magick.so (requires libMagick.so.6)I guess I'll re-emerge imagemagick and see if it helps.
more complainingThis whole area seems a lot less automated than most of the portage stuff.I know gentoo is a DIY type distribution, but this proceedure looks to me likea magnet for operator error (not to mention confusion) and could use some attention.
/more complainingAnyway, I could use some more help diagnosing problems with Kalarm,and in figuring out how to ditch old slotted packages.++ kevin-- Kevin O'Gorman, PhD


Re: [gentoo-user] KAlarm now broken -- suffers many SIGFPE alarms

2006-06-09 Thread Kevin O'Gorman
On 6/8/06, Jesse Hannah [EMAIL PROTECTED] wrote:
Kevin O'Gorman wrote: It doesn't die.And it usually doesn't do it when I'm around, but when I come back to my system in the morning there are usually 200 or so crash dialogs waiting for me, all indicating the application suffered a SIGFPE (floating
 point error?).But it keeps on working anyway. Am I alone with this? ++ kevinProbably not, depends on the version of KAlarm that you're using. But morelikely than anything else is that something didn't quite compile right when
you were emerging whatever KAlarm's parent package (kdepim?) is. I've hadthat happen with other things such as xine-lib, and I've discovered that ifsomething keeps crashing re-emerging it (or its parent package, in KAlarm's
case) usually fixes the problem. And, a SIGFPE is the sort of thing that abuild problem would be the cause of.General rule of thumb: If it crashes, rebuild it. :D--Jesse Hannah

That sounds like really good advice, so I investigated a bit. There indeed
seems some sort of conflict between kdepim and kalarm. There's something
familiar about the pattern of blocking I saw with emerge -pe kalarm kdepim
that made me try unmerging both of them first . I'm doing a new emerge
--oneshot now. Wish me luck. Maybe my list of alarms will survive?
-- Kevin O'Gorman, PhD


Re: [gentoo-user] KAlarm now broken -- suffers many SIGFPE alarms

2006-06-09 Thread Kevin O'Gorman
Yep, that did it. Kalarm is now happy and behaving itself.Thanks, Jesse.++ kevinOn 6/8/06, Kevin O'Gorman 
[EMAIL PROTECTED] wrote:
On 6/8/06, Jesse Hannah [EMAIL PROTECTED] wrote:

Kevin O'Gorman wrote: It doesn't die.And it usually doesn't do it when I'm around, but when I come back to my system in the morning there are usually 200 or so crash dialogs waiting for me, all indicating the application suffered a SIGFPE (floating
 point error?).But it keeps on working anyway. Am I alone with this? ++ kevinProbably not, depends on the version of KAlarm
 that you're using. But morelikely than anything else is that something didn't quite compile right when
you were emerging whatever KAlarm's parent package (kdepim?) is. I've hadthat happen with other things such as xine-lib, and I've discovered that ifsomething keeps crashing re-emerging it (or its parent package, in 
KAlarm's
case) usually fixes the problem. And, a SIGFPE is the sort of thing that abuild problem would be the cause of.General rule of thumb: If it crashes, rebuild it. :D--Jesse Hannah


That sounds like really good advice, so I investigated a bit. There indeed
seems some sort of conflict between kdepim and kalarm. There's something
familiar about the pattern of blocking I saw with emerge -pe kalarm kdepim
that made me try unmerging both of them first . I'm doing a new emerge
--oneshot now. Wish me luck. Maybe my list of alarms will survive?
-- Kevin O'Gorman, PhD

-- Kevin O'Gorman, PhD


[gentoo-user] KAlarm now broken -- suffers many SIGFPE alarms

2006-06-07 Thread Kevin O'Gorman
It doesn't die. And it usually doesn't do it when I'm around, but when I come
back to my system in the morning there are usually 200 or so crash dialogs
waiting for me, all indicating the application suffered a SIGFPE (floating
point error?). But it keeps on working anyway.

Am I alone with this?

++ kevin-- Kevin O'Gorman, PhD


Re: [gentoo-user] SSH hosed, only rubble remains

2006-05-30 Thread Kevin O'Gorman
On 5/29/06, Bo Ørsted Andresen [EMAIL PROTECTED] wrote:
Tuesday 30 May 2006 06:48 skrev Iain Buchanan: I see this [ x != x$BLAH ] test all over the place, especially in the /etc/init.d scripts.Maybe -z is not standardised or something?
 Dunno why people use it.Having searched a little further I have been able to locate a few scripts thatuses this in my bin folders. Common for those scripts are that they are shscripts and not bash scripts. Looking at 'man sh' you find no -z or -n but
they are in 'man bash'.I think it's safe to say that .bashrc is a bash script and to make it evenmore amusing (or whatever) Kevin does use both -z and -n a little furtherdown in his script.

All true. I do translations like this when I want to make it clear what's going on.
I worry that in the future seeing a test on $PS1 will baffle me, even if I wrote
it. So I create a variable whose name indicates the motivation. I'm never
going to save enough time optimizing a .bashrc script to pay for one minutes'
worth of floundering later on.

I have no defense for the variance in coding style. I didn't notice it so I didn't
change it. I may still not do so -- I don't see the point.

It's a matter of taste.

++ kevin
-- Kevin O'Gorman, PhD


Re: [gentoo-user] Email-based games

2006-05-29 Thread Kevin O'Gorman
On 5/29/06, JimD [EMAIL PROTECTED] wrote:
Does anyone have any suggestions for some fun email based games?I havenever played any before, I don't know if any exist.I guess I have some turn-based strategy like game in mind.I wanted tosee If I could get a friend to play across the Net.
The requirements are it needs to run on Gentoo(me) and Windows(him) (orbe able to run fine in vmware for me).Oh, and it needs to be fun : )Thanks,Jim
There's an entire website devoted to over a hundred such games.
Check out Richard Rognlie's gamerz.net. In particular the PlayByEMail
(PBEM) section at http://www.gamerz.net/pbmserv/
Some of the games are pretty active -- renju often has a score of games
starting or ending each day. You'l also have no problem finding
chess or go opponents.

For a similar turn-based experience, you can try the web-based 
LittleGolem at http://www.littlegolem.net/jsp/index.jsp -- the pace
is very similar, and you can get email notifications when it's your
turn, but viewing the game and making moves is done via a browser.
There are not as many distinct games as exist on gamerz, because
that system allows third parties to write the game engine, so there
are contributors who've added to the collection.

Enjoy!

++ kevin-- Kevin O'Gorman, PhD


Re: [gentoo-user] Problems installing Opera 8.54

2006-05-28 Thread Kevin O'Gorman
On 5/28/06, Alexander Kirillov [EMAIL PROTECTED] wrote:
 I tried upgrading my Opera 8.52 to 8.54. That gave me severa ACCESS DENIED errors, as well as a ACCESS VIOLATION SUMMARY and stop in emerge even though more packages were ready to install.As a workaround you may temporarily mask 
opera-8.54.I have same problem and syncing didn't help so far.
I had the same problem, and sync was no help, so I just dropped
=www-client/opera-8.54
into /etc/portage/package.mask, so that the current version won't get emerged.
Hopefully, a new version will go stable soon, and it will be emerged in the normal
course of things.


++ kevin
-- Kevin O'Gorman, PhD


Re: [gentoo-user] SSH hosed, only rubble remains

2006-05-28 Thread Kevin O'Gorman
On 5/27/06, John Jolet [EMAIL PROTECTED] wrote:
That does not work for ssh/scp sessions.I usually test $PS1 to tell if it's really a shell -- the variable does not even exist for an scp session, although .bashrc gets called.can you give us an example of what your .bashrc looks like?

Well, the whole thing is kinda long, but the part I was fooling with lately
now looks like this, and partly automates the use of ssh-agent for my
(very frequent) use of ssh from home to some machines at work. The
problem was probably either the echo commands or that this actually
proceeds within a subshell.


if [ x != x$PS1 ] ; then
 SHELL_LOGIN=1
else
 # Probably scp; empty string is false
 SHELL_LOGIN=
fi

if [ -n $SHELL_LOGIN ]
then
 if [ -z $SSH_AGENT_PID ]
 then
 # not yet running in ssh-agent
 ssh-agent /bin/bash
 r=$?
 echo Done with ssh-agent
 sleep 1
 exit $r
 else
 # this is an ssh-agent subshell
 echo You may want to run ssh-add.
 fi
fi
-- Kevin O'Gorman, PhD


Re: [gentoo-user] SSH hosed, only rubble remains

2006-05-28 Thread Kevin O'Gorman
On 5/28/06, John Jolet [EMAIL PROTECTED] wrote:
On May 28, 2006, at 11:21 AM, Kevin O'Gorman wrote: On 5/27/06, John Jolet [EMAIL PROTECTED] wrote: That does not work for ssh/scp sessions.I usually test $PS1 to tell
  if it's really a shell -- the variable does not even exist for an  scp session,  although .bashrc gets called. can you give us an example of what your .bashrc looks like?
 Well, the whole thing is kinda long, but the part I was fooling with lately now looks like this, and partly automates the use of ssh-agent for my (very frequent) use of ssh from home to some machines at work.The
 problem was probably either the echo commands or that this actually proceeds within a subshell. if [ x != x$PS1 ] ; then SHELL_LOGIN=1
 else # Probably scp; empty string is false SHELL_LOGIN= fi if [ -n $SHELL_LOGIN ] then if [ -z $SSH_AGENT_PID ] then
 # not yet running in ssh-agent ssh-agent /bin/bash r=$? echo Done with ssh-agent sleep 1 exit $r else # this is an ssh-agent subshell
 echo You may want to run ssh-add. fi fi -- Kevin O'Gorman, PhDwell, you could comment out the echo commands and try it.personally, I try to stay away from things happening automatically
for me.just my preference.I would rename .bashrc to somethingelse, like old.bashrc and do the scp and see if that works.depending on what your needs are, you could also add a second userwith the same uid, but a different home directory and use that other
user for scp. shrug.not a big fan of ssh_agent (or anythingthat caches credentials).
Sorry, I didn't make myself clear. PROBLEM SOLVED, and the .bashrc
I quoted works fine. What I had to do was create the SHELL_LOGIN
variable, and use it to protect the code that interfered with scp.

I normally don't use that kind of automation either, but for security reasons
I use a passphrase on my ssh identity, and it's long. Typing it a lot
got real old, so I started using ssh_agent, but I use it in a lot of windows,
so I'm just trying to balance convenience and security. Some days
I do 20 or more scp operations.

That's the usual balancing act -- if it's too inconvenient, I'll ditch the
security and hope for the best. So this is what I came up with.

What I'd really like is a way to get this set up when I log into KDE,
so that all the windows I open under that login have an agent. I'm not
worried about physical security on this system, but the possibility of
a hacker break-in giving automatic access to other hosts. Thus the
long passphrase on my private keyrings.

I was also reluctant to use ssh-agent, but on reflection I don't see a
real vulnerability. I use it on my home system, which is not exposed
to others in the usual course of things. If somebody steals the computer,
the loss of power un-caches the credentials, so I'm only vulnerable to
someone physically sneaking in to *use* my computer and finding
me logged in. Very unlikely, because when I leave the house I'm either
logged off or my session is locked. I'm simply not a big enough fish
for it to be reasonable anyone would do this.

Of course, security issues are always a balancing act and you may
figure the balance however you like.

++ kevin
-- Kevin O'Gorman, PhD


Re: [gentoo-user] SSH hosed, only rubble remains

2006-05-27 Thread Kevin O'Gorman
On 5/27/06, John Jolet [EMAIL PROTECTED] wrote:
 Password: debug1: packet_send2: adding 32 (len 25 padlen 7 extra_pad 64) debug2: input_userauth_info_req debug2: input_userauth_info_req: num_prompts 0 debug1: packet_send2: adding 48 (len 10 padlen 6 extra_pad 64)
 debug1: ssh-userauth2 successful: method keyboard-interactive debug3: clear hostkey 0 debug3: clear hostkey 1 debug3: clear hostkey 2 debug1: fd 4 setting O_NONBLOCK debug1: fd 5 setting O_NONBLOCK
 debug1: channel 0: new [client-session] debug3: ssh_session2_open: channel_new: 0 debug1: send channel open 0 debug1: Entering interactive session. debug2: callback start debug1: ssh_session2_setup: id 0
 debug1: Sending command: scp -v -t . debug1: channel request 0: exec debug2: callback done debug1: channel 0: open confirm rwindow 0 rmax 32768 debug2: channel 0: rcvd adjust 131072
okay, so in this instance, you're trying an scp...what happens whenyou do an ssh?and does anything at all show up in the logs on theserver?In the /etc/ssh/sshd_config file, there can be a LogLevelentry.try DEBUG2 or DEBUG3
--gentoo-user@gentoo.org mailing listOkay, I set LogLevel=DEBUG3 and reloaded sshd, but I got no more
output than usual:
May 27 09:14:55 treat sshd[11739]: Received SIGHUP; restarting.
May 27 09:14:55 treat sshd[2352]: Server listening on 0.0.0.0 port 22.
May 27 09:15:31 treat sshd[2356]: Connection from 64.166.164.53 port 32776
May 27 09:15:36 treat sshd[2356]: Accepted keyboard-interactive/pam for kevin from 64.166.164.53 port 32776 ssh2
May 27 09:15:36 treat sshd(pam_unix)[2361]: session opened for user kevin by (uid=0)

And when it's ssh instead of scp, I get:

May 27 09:20:53 treat sshd[2392]: Connection from 64.166.164.53 port 32777
May 27 09:20:57 treat sshd[2392]: Accepted keyboard-interactive/pam for kevin from 64.166.164.53 port 32777 ssh2
May 27 09:20:57 treat sshd(pam_unix)[2402]: session opened for user kevin by (uid=0)
May 27 09:21:01 treat sshd[2402]: Connection closed by 64.166.164.53
May 27 09:21:01 treat sshd(pam_unix)[2402]: session closed for user kevin
May 27 09:21:01 treat sshd[2402]: Closing connection to 64.166.164.53

Which covers a simple login-logout sequence.-- Kevin O'Gorman, PhD


Re: [gentoo-user] SSH hosed, only rubble remains

2006-05-27 Thread Kevin O'Gorman
On 5/27/6, John Jolet [EMAIL PROTECTED] wrote:
 Okay, I set LogLevel=DEBUG3 and reloaded sshd, but I got no more output than usual: May 27 09:14:55 treat sshd[11739]: Received SIGHUP; restarting. May 27 09:14:55 treat sshd[2352]: Server listening on 
0.0.0.0 port 22. May 27 09:15:31 treat sshd[2356]: Connection from 64.166.164.53 port 32776 May 27 09:15:36 treat sshd[2356]: Accepted keyboard-interactive/pam
 for kevin from 64.166.164.53 port 32776 ssh2 May 27 09:15:36 treat sshd(pam_unix)[2361]: session opened for user kevin by (uid=0) And when it's ssh instead of scp, I get:
 May 27 09:20:53 treat sshd[2392]: Connection from 64.166.164.53 port 32777 May 27 09:20:57 treat sshd[2392]: Accepted keyboard-interactive/pam for kevin from 
64.166.164.53 port 32777 ssh2 May 27 09:20:57 treat sshd(pam_unix)[2402]: session opened for user kevin by (uid=0) May 27 09:21:01 treat sshd[2402]: Connection closed by 
64.166.164.53 May 27 09:21:01 treat sshd(pam_unix)[2402]: session closed for user kevin May 27 09:21:01 treat sshd[2402]: Closing connection to 
64.166.164.53 Which covers a simple login-logout sequence. -- Kevin O'Gorman, PhDwell, it really looks from both ends like it's working.what is theshell for the given user?in /etc/passwd, if you're using local
authentication.
That was the hint I needed. It's /bin/bash, which reminded me I just changed something
in .bashrc which outputs a message and does some other stuff which must be
confusing scp. In fact, I just confirmed that by commenting it out. Now scp works too.
So: PROBLEM SOLVED.

Now I just have to figure out how to tailor it some more so the offending code is skipped
for 'scp'. That I can do.

Thanks for the help.

++ kevin-- Kevin O'Gorman, PhD


Re: [gentoo-user] SSH hosed, only rubble remains

2006-05-27 Thread Kevin O'Gorman
On 5/27/06, John Jolet [EMAIL PROTECTED] wrote:
 That was the hint I needed.It's /bin/bash, which reminded me I just changed something in .bashrc which outputs a message and does some other stuff which must be confusing scp.In fact, I just confirmed that by commenting it
 out.Now scp works too. So: PROBLEM SOLVED. Now I just have to figure out how to tailor it some more so the offending code is skipped for 'scp'.That I can do.
bash has a built-in variable that tells you what the commandwasshould be able to test for scp in your scripti'venever tried to get that fancy with .bashrc.--
gentoo-user@gentoo.org mailing listThat does not work for ssh/scp sessions. I usually test $PS1 to tell
if it's really a shell -- the variable does not even exist for an scp session,
although .bashrc gets called.

++ kevin-- Kevin O'Gorman, PhD


Re: [gentoo-user] bash wizardry needed: PATH and MANPATH grow and grow and grow

2006-05-26 Thread Kevin O'Gorman
On 5/25/06, znx [EMAIL PROTECTED] wrote:
 This _does_ help.It's mysterious enough that I tested it, and it seems to work except that it removes . from any path.This is not quite what I want.Glad it was almost a success ;) Interesting, thats not something I
noticed before, I have never wished . in my PATH, I should point outof course that . in your PATH is a security risk waiting to happen;)
Open to debate. I'd think it's not very dangerous at the *end* of the PATH.
The usual worry is a Trojan masquerading as a normal utility, chosen
early because of the order of things in the searchpath. When I use ., I
put it at the end. It's no worse than the fairly common ~/bin in a searchpath,
which I'd actually rate more dangerous -- 
 1) It's just as hard/easy to put something in ~/bin as in ~/
 2) It's more likely to go unnoticed in ~/bin

And, since I do lots of development of itsy-bitsy scripts and C programs,
I'm using such stuff all the time.
Nevertheless it should not be removing the entry unless its a dup. Ihave quickly confirmed the behaviour it is defn stripping all .
entries.*sigh* the script needs some work .. I'll play with it again tomorrowThanks for the feedback,Mark
Thanks...

++ kevin 
-- Kevin O'Gorman, PhD


Re: [gentoo-user] SSH hosed, only rubble remains

2006-05-26 Thread Kevin O'Gorman
On 5/25/06, John Jolet [EMAIL PROTECTED] wrote:
On May 25, 2006, at 1:07 PM, Kevin O'Gorman wrote: Somewhere along the line, ssh and ssh2 have gotten conflated, confused or just downright broken.I have been running ssh daemon(s) for so long I
 don't even remember how I set them up.They Just Ran (TM). For a short while, ssh connections to here (home) from work have taken an unusually long time to establish.I thought it was something to do
 with my domain registration, which was changing at the same time, but that has settled down (I think).And I've been too busy surviving a car crash and attendant medical problems to be exactly on top of the situation.
 Now I cannot seem to make a connection at all, and I can't make much sense out of the setup I have. First, I have both an /etc/init.d/sshd -- Kevin O'Gorman, PhD
hmmm, i imagine you meant there to be more there.if you haveconsole access to the box, tail -f on the messages log whileattempting to do an ssh -v -v -v ip_address from another client.that might tell you something.

Yeh. Fumblefingers sent it on its way before it was ready. You got
the gist though, it seems.

Anyway, I tried what you asked (fortunately I have multiple hosts here).
The ssh -v -v -v brokenhost command produces a raft of info. Below I included
just what's after entering the password, but I doubt it will help. I need
to get the daemon to be similarly prolix. This host fails to complete
ssh requests from all comers -- Windows running SSH Secure Shell
or Linux or Solaris running whatever ssh they have, so I need the
info from this gentoo server.

So how do I get that?

Password:
debug1: packet_send2: adding 32 (len 25 padlen 7 extra_pad 64)
debug2: input_userauth_info_req
debug2: input_userauth_info_req: num_prompts 0
debug1: packet_send2: adding 48 (len 10 padlen 6 extra_pad 64)
debug1: ssh-userauth2 successful: method keyboard-interactive
debug3: clear hostkey 0
debug3: clear hostkey 1
debug3: clear hostkey 2
debug1: fd 4 setting O_NONBLOCK
debug1: fd 5 setting O_NONBLOCK
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug1: send channel open 0
debug1: Entering interactive session.
debug2: callback start
debug1: ssh_session2_setup: id 0
debug1: Sending command: scp -v -t .
debug1: channel request 0: exec
debug2: callback done
debug1: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel 0: rcvd adjust 131072

++ kevin

-- Kevin O'Gorman, PhD


Re: [gentoo-user] SSH hosed, only rubble remains

2006-05-26 Thread Kevin O'Gorman
On 5/26/06, Kevin O'Gorman [EMAIL PROTECTED] wrote:
On 5/25/06, John Jolet [EMAIL PROTECTED]
 wrote:

On May 25, 2006, at 1:07 PM, Kevin O'Gorman wrote: Somewhere along the line, ssh and ssh2 have gotten conflated, confused or just downright broken.I have been running ssh daemon(s) for so long I
 don't even remember how I set them up.They Just Ran (TM). For a short while, ssh connections to here (home) from work have taken an unusually long time to establish.I thought it was something to do
 with my domain registration, which was changing at the same time, but that has settled down (I think).And I've been too busy surviving a car crash and attendant medical problems to be exactly on top of the situation.
 Now I cannot seem to make a connection at all, and I can't make much sense out of the setup I have. First, I have both an /etc/init.d/sshd -- Kevin O'Gorman, PhD
hmmm, i imagine you meant there to be more there.if you haveconsole access to the box, tail -f on the messages log whileattempting to do an ssh -v -v -v ip_address from another client.that might tell you something.

  
Yeh. Fumblefingers sent it on its way before it was ready. You got
the gist though, it seems.

Anyway, I tried what you asked (fortunately I have multiple hosts here).
The ssh -v -v -v brokenhost command produces a raft of info. Below I included
just what's after entering the password, but I doubt it will help. I need
to get the daemon to be similarly prolix. This host fails to complete
ssh requests from all comers -- Windows running SSH Secure Shell
or Linux or Solaris running whatever ssh they have, so I need the
info from this gentoo server.

So how do I get that?

Password:
debug1: packet_send2: adding 32 (len 25 padlen 7 extra_pad 64)
debug2: input_userauth_info_req
debug2: input_userauth_info_req: num_prompts 0
debug1: packet_send2: adding 48 (len 10 padlen 6 extra_pad 64)
debug1: ssh-userauth2 successful: method keyboard-interactive
debug3: clear hostkey 0
debug3: clear hostkey 1
debug3: clear hostkey 2
debug1: fd 4 setting O_NONBLOCK
debug1: fd 5 setting O_NONBLOCK
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug1: send channel open 0
debug1: Entering interactive session.
debug2: callback start
debug1: ssh_session2_setup: id 0
debug1: Sending command: scp -v -t .
debug1: channel request 0: exec
debug2: callback done
debug1: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel 0: rcvd adjust 131072

++ kevin

I should also have clarified: the contents of /var/log/messages is the same as for an ssh
login: just two lines of basic information that the client has been accepted. So what I
need is the magic incantation to put in sshd_config. I don't know what it is for sure, but
the following appear to be prime suspects, I just don't know what to change them to:

# Logging
# obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
#LogLevel INFO


-- Kevin O'Gorman, PhD


[gentoo-user] SSH hosed, only rubble remains

2006-05-25 Thread Kevin O'Gorman
Somewhere along the line, ssh and ssh2 have gotten conflated, confused or just
downright broken. I have been running ssh daemon(s) for so long I don't even
remember how I set them up. They Just Ran (TM).

For a short while, ssh connections to here (home) from work have taken an
unusually long time to establish. I thought it was something to do with my
domain registration, which was changing at the same time, but that has settled
down (I think). And I've been too busy surviving a car crash and attendant
medical problems to be exactly on top of the situation.

Now I cannot seem to make a connection at all, and I can't make much sense
out of the setup I have.

First, I have both an
/etc/init.d/sshd-- Kevin O'Gorman, PhD


[gentoo-user] SSH/SSH2 hosed, partially fixed, some rubble remains

2006-05-25 Thread Kevin O'Gorman
I've been using ssh and/or ssh2 daemons on this gentoo system for so long I've forgottenhow I had it set up. Now it's broken, and I have no idea how it got that way.

At first, it was just taking a long time to connect to this system (home) from work and ask
for a password. Now it is still slow, but it just does not respond at all after the password is
entered. Also at first, I imagined that I was really having a problem relating to my domain
registration being changed, but now that has pretty much settled down. To make things
just a bit more difficult, I've been too busy surviving a car crash and dealing with associated
medical issues to pay enough attention to this.

Anyway, here is some of what I find in the rubble:
I have both
 /etc/init.d/sshd
and /etc/init.d/sshd2

I can start and stop sshd, but not sshd2, which complains it's not configured. File
timestamps indicate that sshd2 stuff has not changed since some time in 2004.
Moreover, equery belongs cannot locate any package that owns the sshd2 files.
The sshd files belong to net-misc/openssh-4.3_p2-r1.

AHAH! I've already solved part of the problem, because when I start sshd, I get this:

treat init.d # ./sshd start
ldap_simple_bind_s(): Can't contact LDAP server (-1)
[LDAP] could not initialize ldap connection
* Starting sshd ...
ldap_simple_bind_s(): Can't contact LDAP server (-1)
[LDAP] could not initialize ldap
connection
[ ok ]
treat init.d #

This baffled me a bit. I'm not aware of having or running or using any LDAP server.
I never have. I notice that there are some LDAP-related things in sshd_config.

SOLVED speed problems when I commented these out. There's still a mystery to
me though. I'm quite sure I did not change them myself and the last emerge was
2 years ago according to /var/log/emerge/log. What I may have done is to adjust X11
forwarding.

STILL TROUBLING:
why did LDAP get turned on? Whodunnit?
why do I have orphaned sshd2 things?

STILL BROKEN:
Although I can now ssh to my system, with no noticeable delays, I cannot scp because
it still hangs after the password is entered. (I can just ssh and then do the scp backwards,
however).

Can anyone help me debug this? What else should I be looking at?

--Kevin O'Gorman, PhD


[gentoo-user] Re: SSH hosed, only rubble remains

2006-05-25 Thread Kevin O'Gorman
IGNORE this posting. It was a fumble-fingers. Corrected and completed posting follows.On 5/25/06, Kevin O'Gorman 
[EMAIL PROTECTED] wrote:Somewhere along the line, ssh and ssh2 have gotten conflated, confused or just

downright broken. I have been running ssh daemon(s) for so long I don't even
remember how I set them up. They Just Ran (TM).

For a short while, ssh connections to here (home) from work have taken an
unusually long time to establish. I thought it was something to do with my
domain registration, which was changing at the same time, but that has settled
down (I think). And I've been too busy surviving a car crash and attendant
medical problems to be exactly on top of the situation.

Now I cannot seem to make a connection at all, and I can't make much sense
out of the setup I have.

First, I have both an
/etc/init.d/sshd-- Kevin O'Gorman, PhD

-- Kevin O'Gorman, PhD


[gentoo-user] Ghost of vmware workstation haunts player?

2006-05-25 Thread Kevin O'Gorman
I had a trial license for vmware workstation. I decided to work just with
vmware player, so I did an emerge -C on workstation, and an emerge
of player.

The install was perfectly smooth, but it doesn't work. The symptoms
were pretty bizarre, so I did a careful by-hand deletion of the files that
the unmerge told me would remove all traces, then I rebooted the
system (there was a module that wouldn't unload).

Then I did an umerge and emerge again. I ran the configurations script.
But, it was schizophrenic about it. Below is what it said at the end of
the configure; you'll see it says the module loads perfectly, then it
says it has been installed correctly, but not configured (but this is while
*running* the configure script. Then it says I can go ahead and run
the player.

It cannot make up its mind, but the end result is nothing works any
more.

Help?

++ kevin

= running configure script =
Building for VMware Player 1.0.x or VMware Workstation 5.5.x.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmnet-only'
make -C /lib/modules/2.6.16-gentoo-r7-kosmanor/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.16-gentoo-r7'
 CC [M] /tmp/vmware-config0/vmnet-only/driver.o
 CC [M] /tmp/vmware-config0/vmnet-only/hub.o
 CC [M] /tmp/vmware-config0/vmnet-only/userif.o
 CC [M] /tmp/vmware-config0/vmnet-only/netif.o
 CC [M] /tmp/vmware-config0/vmnet-only/bridge.o
 CC [M] /tmp/vmware-config0/vmnet-only/procfs.o
 CC [M] /tmp/vmware-config0/vmnet-only/smac_compat.o
 CC [M] /tmp/vmware-config0/vmnet-only/smac_linux.x386.o
 LD [M] /tmp/vmware-config0/vmnet-only/vmnet.o
 Building modules, stage 2.
 MODPOST
 CC /tmp/vmware-config0/vmnet-only/vmnet.mod.o
 LD [M] /tmp/vmware-config0/vmnet-only/vmnet.ko
make[1]: Leaving directory `/usr/src/linux-2.6.16-gentoo-r7'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config0/vmnet-only'
The module loads perfectly in the running kernel.

* VMware Player is installed, but it has not been (correctly) configured
* for the running kernel. To (re-)configure it, invoke the
* following command: /opt/vmware/player/bin/vmware-config.pl.
* VMware is not properly configured! See
above.
[ !! ]

The configuration of VMware Player 1.0.1 build-19317 for Linux for this running
kernel completed successfully.

You can now run VMware Player by invoking the following command:
/opt/vmware/player/bin/vmplayer.

Enjoy,

--the VMware team

treat init.d # /opt/vmware/player/bin/vmplayer
vmware is installed, but it has not been (correctly) configured
for this system. To (re-)configure it, invoke the following command:
/opt/vmware/player/bin/vmware-config.pl.

treat init.d # -- Kevin O'Gorman, PhD


Re: [gentoo-user] bash wizardry needed: PATH and MANPATH grow and grow and grow

2006-05-24 Thread Kevin O'Gorman
On 5/23/06, znx [EMAIL PROTECTED] wrote:
On 21/05/06, Kevin O'Gorman [EMAIL PROTECTED] wrote:Does anyone know a nice little idiom for de-duping a colon-list like PATH or MANPATH?Yeah this is something that constantly annoyed me, I forget where I
found this (although I moved it to a function), it is not of mycreation.To ensure no confusion with the below paste, I have additionallyplaced this in a text file:
http://kutzooi.co.uk/cleanpath.sh.txtfunction cleanpath {#
Removes duplicates from PATH style variableslocal variable='PATH'if [ $# -eq 1 ]thenvariable=$1filocal var=${1:-${variable}} oldpath newpath=: entry
oldpath=${!var}:while [ -n $oldpath ]; doentry=${oldpath%%:*}oldpath=${oldpath#*:}[
${entry:0:1} = / ]  [ -n ${newpath##*:$entry:*} ]
 \[
-d $entry ]  newpath=$newpath$entry:donenewpath=${newpath#:}eval $var'=${newpath%:}'}cleanpath
# defaults to PATHcleanpath MANPATHcleanpath LD_LIBRARY_PATHHope this helps.Mark--gentoo-user@gentoo.org mailing list
This _does_ help. It's mysterious enough that I tested it, and it seems to work
except that it removes . from any path. This is not quite what I want.

++ kevin-- Kevin O'Gorman, PhD


Re: [gentoo-user] Ethics of vmware use

2006-05-21 Thread Kevin O'Gorman
On 5/20/06, Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED] wrote:
On May 20, 2006, at 11:00 AM, Kevin O'Gorman wrote:I like to be one of the good guys. I'm not always sure what that means in particular cases, so I'm going to ask what I should do here. Opinions
 welcome. Flames somewhat less so.  I got a 30-day trial license for vmware, thinking to replace my aging Win4Lin. It seems to work (thanks to folks on this list). But I notice that now that I've created my VMs, I may not need workstation any
 more. I could do very well with the player, which is free.I have not used it though I plan on getting the OS X version once my Mac Mini arrives...
There is this which fits your budgethttp://www.parallels.com
/
Yes, the price is right, but when I tried it I could not make it work.

++ kevin 
-- Kevin O'Gorman, PhD


[gentoo-user] bash wizardry needed: PATH and MANPATH grow and grow and grow

2006-05-21 Thread Kevin O'Gorman
I have inherited some pretty gnarly dotfiles that I don't really want to fool with too much,
but I'm also unhappy with what they do to my environment. They keep adding the
same things over and over to some of the variables.

Does anyone know a nice little idiom for de-duping a colon-list like PATH or MANPATH?
It has to retain one copy of each duplicate, preserving the order of *first* appearances.
I know how to avoid duplicates when I do the coding myself:
 case :$PATH: in
 *:mynewthing:*) ;;
 *) export PATH=$PATH:mynewthing
 esac

I'm just not sure how best to turn the colon-list into something I can iterate over.

Obviously, I use bash.

++ kevin-- Kevin O'Gorman, PhD


Re: [gentoo-user] VMware not running well

2006-05-20 Thread Kevin O'Gorman
On 5/17/06, Richard Fish [EMAIL PROTECTED] wrote:
On 5/17/06, Kevin O'Gorman [EMAIL PROTECTED] wrote:As things stand, I can start my virtual machine (the current one runsMinix) only as root. I can start vmware as a user, but any attempt to
start my VM brings up a message about it not being able to connectto its peer (whatever that is), and the VM does not start.Add your user to the 'vmware' group.
Thanks, Richard, that did the trick.  
When I run as root, things seem better, but it complains that it wasunable to extablish an IP number for the simulated ethernet card
(networking is set up for NAT).
I'm not sure I did anything for this, but the networking seems to have been
fixed, or fixed itself, or something. 
Did you use the portage installation of vmware-workstation, ordownload direct?IME, the portage installation works much better...

Using the portage version.
-Richard--gentoo-user@gentoo.org
 mailing list-- Kevin O'Gorman, PhD


[gentoo-user] Ethics of vmware use

2006-05-20 Thread Kevin O'Gorman
I like to be one of the good guys. I'm not always sure what that means
in particular cases, so I'm going to ask what I should do here. Opinions
welcome. Flames somewhat less so.

I got a 30-day trial license for vmware, thinking to replace my aging
Win4Lin. It seems to work (thanks to folks on this list). But I notice
that now that I've created my VMs, I may not need workstation any
more. I could do very well with the player, which is free.

I'm using VMware to virtualize my old Win98 that used to run on
a predecessor of the current host. On this, I run Quicken and I may
decide to run some games as well.

I'd just go ahead and buy Workstation except for the ~$200.-- price tag.
But somehow it seems more like a $50.00 item for what I'm doing
with it. I just feel a bit cheap using and ditching a trial version, since
I'm definitely getting a benefit from it I could not have gotten otherwise
(unless I could prevail on someone else to build the VM for me).

On that point, what are the ethics of building VMs for others?
What does VMware say about this?
-- Kevin O'Gorman, PhD


Re: [gentoo-user] Grrr: gentoo form of dependency hell was: [Bug 129864]

2006-05-17 Thread Kevin O'Gorman
That's an uncalled-for and hateful remark, besides being disingenuous.
Some of the details of masking are obscure and judging from other commentary
on this list, this is intentional. Or at least somewhat prized by the local experts.
I do read documentation, but I have a low tolerance for intentional obscurity.

That said, I probably push myself to use a lot more software than I can reasonably
be expert in, and I don't always remember where all the documentation bits are.
I do my best, but it's not unusual for the clear bits of documentation to be hard to 
find. Sometimes this is because finding those bits requires knowing the magic
search phrase that just happens to be defined only in the bit one needs to find.

++ kevin

On 5/14/06, Hemmann, Volker Armin [EMAIL PROTECTED] wrote:
On Sunday 14 May 2006 17:15, Kevin O'Gorman wrote: Thanks.That worked for me.I knew there should be something simple
 that I didn't know yet.Sorry if my ranting annoyed anybody.maybe you should start reading the documentation?Everything about the different forms of masking and how to unmask areexplained there.
--gentoo-user@gentoo.org mailing list-- Kevin O'Gorman, PhD


Re: [gentoo-user] Grrr: gentoo form of dependency hell was: [Bug 129864]

2006-05-14 Thread Kevin O'Gorman
Thanks. That worked for me. I knew there should be something simple
that I didn't know yet. Sorry if my ranting annoyed anybody.

++ kevinOn 5/13/06, Richard Fish [EMAIL PROTECTED] wrote:
On 5/13/06, Kevin O'Gorman [EMAIL PROTECTED] wrote:I really need this thing.I want it to be stable.But sorry, the old one can't bebuilt any more, and the new one is masked.So I'm just out of luck.
snip Clear-Text: http://bugs.gentoo.org/show_bug.cgi?id=129864 Secure: 
https://bugs.gentoo.org/show_bug.cgi?id=129864Do you need it with tcl/tk support?If not, add net-misc/suite3270-tcltk to /etc/portage/package.use and build it without.And it is only keyword masked, so unmasking should be a pretty simple
and safe operation.Just add one of the following to/etc/portage/package.keywords:=net-misc/suite3270-3.3.4_p6 ~x86=net-misc/suite3270-3.3.2_p1 ~x86net-misc/suite3270 ~x86Looking at the dependancy list in the 
3.3.2 and 3.3.4 ebuilds, youshould not need ~x86 for anything else.-Richard--gentoo-user@gentoo.org mailing list
-- Kevin O'Gorman, PhD


[gentoo-user] Grrr: gentoo form of dependency hell was: [Bug 129864]

2006-05-13 Thread Kevin O'Gorman
rant
The folks who work the gentoo bugzilla do us an enormous service, and I
suppose they're too busy to say more than they must in these communications,
but it sure gets frustrating.

I really need this thing. I want it to be stable. But sorry, the old one can't be
built any more, and the new one is masked. So I'm just out of luck.

Maybe I'll be able to figure out how to unmask one of them, and maybe it
will work for me, but I'm thinking again about my decision to go with gentoo
(partly) because of dependency hell. I guess there's just no escaping it.

/rant

++ kevin


--- [EMAIL PROTECTED] wrote:

 Subject: [Bug 129864] suite3270 does not configure
 To: [EMAIL PROTECTED]
 From: [EMAIL PROTECTED]
 Date: Sat, 13 May 2006 07:30:11 +
 
 
 Clear-Text: http://bugs.gentoo.org/show_bug.cgi?id=129864
 Secure: https://bugs.gentoo.org/show_bug.cgi?id=129864
 
 
 [EMAIL PROTECTED] changed:
 

What
|Removed
|Added
 

Status|NEW
|RESOLVED

Resolution|
|FIXED
 
 
 
 
 --- Comment #1 from [EMAIL PROTECTED] 2006-05-13 00:30 PST ---
 The old version does not work with TCL8.3 or newer, please use the 3.3 series.
 
 
 -- 
 Configure bugmail: http://bugs.gentoo.org/userprefs.cgi?tab=email
 --- You are receiving this mail because: ---
 You reported the bug, or are watching the reporter.
 
-- Kevin O'Gorman, PhD


[gentoo-user] USE flag oddity

2006-05-11 Thread Kevin O'Gorman
I don't know what I'm doing. It seems wise to admit that at the start.
Nobody needs to rub my nose in it that way.

I noticed that as constituted, I would see firefox and thunderbird
differing on the flag mozcalendar. It seemed like something I would
like, however, so I tried putting the flag into /etc/portage/package.keywords:

mail-client/mozilla-thunderbird mozcalendar
www-client/mozilla-firefox mozcalendar

but the subsequent emerge shows that this does not avoid the situation: notice
that TB has +moscalendar, but FB has -mozcalendar.[ebuild
R ] mail-client/mozilla-thunderbird-1.0.8 -debug
+gnome* +ipv6 +ldap +mozcalendar -moznoxft +truetype -xinerama -xprint
0 kB
[ebuild R ]
www-client/mozilla-firefox-1.0.8 -debug +gnome* +ipv6 +java
-mozcalendar -mozdevelop -moznoxft -mozsvg +truetype -xinerama -xprint
0 kB

Call me confused...


--Kevin O'Gorman


[gentoo-user] Suddenly, ssh is slow to connect

2006-05-04 Thread Kevin O'Gorman
In the last few days, connection takes a minute or so to my gentoo box.
It used to be no longer than a namespace lookup. It's not TCP, I think,
because connecting to apache is fast and my web pages bet served
as usual.

What happened to sshd???-- Kevin O'Gorman, PhD


Re: [gentoo-user] Suddenly, ssh is slow to connect

2006-05-04 Thread Kevin O'Gorman
On 5/4/06, John Jolet [EMAIL PROTECTED] wrote:
On Thursday 04 May 2006 13:57, Kevin O'Gorman wrote: In the last few days, connection takes a minute or so to my gentoo box. It used to be no longer than a namespace lookup.It's not TCP, I think,
 because connecting to apache is fast and my web pages bet served as usual. What happened to sshd???is UseDNS set to yes?maybe that value changed, or for whatever reason your
looksup are no longer working.sounds like a dns timeout.--
Hmmm. I'll look, but I did just change domain registrars. Maybe I've got a sluggish

nameserver. But then, why would it continue to be slow when I do it a second time --

doesn't anybody cache resolutions any more?



Anyway, this gives me some stuff to look at.



++ kevin
-- Kevin O'Gorman, PhD


Re: [gentoo-user] Suddenly, ssh is slow to connect

2006-05-04 Thread Kevin O'Gorman
On 5/4/06, John Jolet [EMAIL PROTECTED] wrote:
On Thursday 04 May 2006 17:18, Kevin O'Gorman wrote: On 5/4/06, John Jolet [EMAIL PROTECTED] wrote:  On Thursday 04 May 2006 13:57, Kevin O'Gorman wrote:   In the last few days, connection takes a minute or so to my gentoo box.
   It used to be no longer than a namespace lookup.It's not TCP, I   think, because connecting to apache is fast and my web pages bet served   as usual.  
   What happened to sshd???   is UseDNS set to yes?maybe that value changed, or for whatever reason  your  looksup are no longer working.sounds like a dns timeout.
  -- Hmmm.I'll look, but I did just change domain registrars.Maybe I've got a sluggish nameserver.But then, why would it continue to be slow when I do it a second time --
 doesn't anybody cache resolutions any more? Anyway, this gives me some stuff to look at.sometimes my isp gives me a bad or stale dns server on dhcpnot often, butsometimes...go in and restart networking, and it fixes.
--UseDNS is on for ssh, not for ssh2 (where it does not even appear)

I found that one of the nameservers for my domain was down, and it was listed early.
I've edited the zone file; I'll see what happens when the change propagates to the
universe.

++ kevin-- Kevin O'Gorman, PhD


Re: [gentoo-user] VMWare on Gentoo?

2006-05-02 Thread Kevin O'Gorman
Thanks to all who mentioned the ebuild. It hadn't occurred to me that there would be one.
I'll try setting it up when I get back to that machine tonight.

++ kevinOn 4/30/06, Dave Jones [EMAIL PROTECTED] wrote:
Kevin O'Gorman wrote on 04/30/06 06:51: I just got an evaluation copy of VMWare Workstation 5.5, and I'm momentarily glad I didn't pay for this thing.It seems to expect a RedHat style runlevel system.
 Has anybody successfully fooled with this thing to make it work on Gentoo? At the moment, its problems seem to be related to the daemon management features.I could clone them, but it would be a lot of work.
The 5.5.1.19175-r3 ebuild runs perfectly here,give it a go.You *must* run vmware-config.pl as root after the install.If vmware-config.pl complains about being unable to shutdown the vmwareservices, rerun it using the -skipstopstart switch.
rc-update add vmware defaultwill fix your redhat runlevel problems.Make sure that the userid you're going to run vmware under is a memberof the vmware group.Hope this helps.Dave--
gentoo-user@gentoo.org mailing list-- Kevin O'Gorman, PhD


[gentoo-user] VMWare on Gentoo?

2006-04-29 Thread Kevin O'Gorman
I just got an evaluation copy of VMWare Workstation 5.5, and I'm momentarily glad
I didn't pay for this thing. It seems to expect a RedHat style runlevel system.
Has anybody successfully fooled with this thing to make it work on Gentoo?

At the moment, its problems seem to be related to the daemon management
features. I could clone them, but it would be a lot of work.-- Kevin O'Gorman, PhD


[gentoo-user] Emerge sync says it's failing, but succeeds anyway. What's up with that?

2006-04-22 Thread Kevin O'Gorman
Every time I emerge sync I get pretty much the same first few lines:
 rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(189) Welcome to cockatoo.gentoo.org
   Server Address : 65.19.163.230 Contact Name   : 
[EMAIL PROTECTED] Hardware   : 2 x Intel(R) Pentium(R) 4 CPU 2.80GHz, 1024MB RAM ... [and it goes on at some length to sync up just fine] 
Everything works well, but the top two lines make me wonder if I'm doing something wasteful.
Clues, anyone?-- Kevin O'Gorman, PhD


Re: [gentoo-user] Emerge sync says it's failing, but succeeds anyway. What's up with that?

2006-04-22 Thread Kevin O'Gorman
Thanks for filing the bug. It now is counted as resolved, and it may well be
so, because I just tried emerge sync again, and the problem is gone.

Thanks. BTW, does anyone know how this magic is done? Where are
the site configurations kept -- is it all in the nameservers?

++ kevinOn 4/22/06, Jeremy Olexa [EMAIL PROTECTED] wrote:
Kevin O'Gorman wrote: Every time I emerge sync I get pretty much the same first few lines: rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at 
io.c(189) Welcome to cockatoo.gentoo.orghttp://cockatoo.gentoo.org Server Address : 
65.19.163.230 http://65.19.163.230 Contact Name : [EMAIL PROTECTED] 
http://us.f805.mail.yahoo.com/ym/[EMAIL PROTECTED]YY=14693order=upsort=datepos=0view=ahead=b Hardware : 2 x Intel(R) Pentium(R) 4 CPU 2.80GHz, 1024MB RAM
 ... [and it goes on at some length to sync up just fine] Everything works well, but the top two lines make me wonder if I'm doing something wasteful. Clues, anyone?
I just ran into this the other day. The rsync mirrors I was connectingto had an entry that didn't exist anymore. So, I filed this bug..http://bugs.gentoo.org/show_bug.cgi?id=130283
Take a look at it and I think you can figure out what to do. If you cantell which server is failing then submit a bug and let them know.HTH,Jeremy--
gentoo-user@gentoo.org mailing list-- Kevin O'Gorman, PhD


Re: [gentoo-user] [OT] vim c syntax

2006-04-13 Thread Kevin O'Gorman
You probably want something like this in your .vimrc:

set expandtab
set
tabstop=8 
ts, number of spaces that a tab *in the original file* is

equivalent to 
set softtabstop=4  how much a tab *that you type* is worth
set shiftwidth=4  sw, number of spaces shifted left and right when issuing

  commands
set autoindent
set smartindent

YMMV

++ kevinOn 4/13/06, Dan LaMotte [EMAIL PROTECTED] wrote:
really simple problem, but quite annoying.% vim --versionVIM - Vi IMproved 6.4 (2005 Oct 15, compiled Jan 12 2006 12:36:23)i am editing a C file and this is the problem i'm having:in vim i have set ts=4 to make my tabs 4 spaces instead of 8. I
really dislike 8 spaces for tabs. anyways...i type in vimvoid main ( void ){enterint c;The enter autoindent indents it 8 spaces ?!?my tabstop is 4 though !
I want thisvoid main ( void ){enterint c;If anyone knows how to fix this or if its like a bug or something...that'd be great.thanks.--# - dan lamotte -- lamotte {at} 
cs.umn.edu - ### - systems staff -- uofm -- cs department - ### fpr: 690F C162 4AE5 F85F FE94 88E5 D123 FBAC 0852 A280 ###--
gentoo-user@gentoo.org mailing list-- Kevin O'Gorman, PhD


[gentoo-user] Quo vadis nethack?

2006-04-01 Thread Kevin O'Gorman
I just noticed that emerge sync is complaining that there are no packages for
nethack. When and why did this venerable game get dropped?-- Kevin O'Gorman, PhD


Re: [gentoo-user] Is my postfix being used as a relay?

2006-03-17 Thread Kevin O'Gorman
On 3/16/06, Iain Buchanan [EMAIL PROTECTED] wrote:
On Thu, 2006-03-16 at 14:52 -0500, JimD wrote: On Thu, 16 Mar 2006 11:12:28 -0800 Kevin O'Gorman [EMAIL PROTECTED] wrote:  I get a lot of bounce messages from Postfix relating to emails
  that are not actually from me, and the mail q shows lots of  stuff I don't recognize.   I'd like to know how to interpret this, and if it is called-for,  to secure this daemon a bit more.
 Try this link: http://www.spamhelp.org/shopenrelay/ Just put in the IP and port and click the button.which automatically notifies a list of spammers that they can use your
mail server... no not really ;)Do you have a firewall?Should your box be accessible from outside?You could lock it down so _no_one_ outside can access it, or you couldrestrict it to certain ip's...
But I also get a few bounce messages from me about emails I neverwrote - once your email address is out there, spammers use it as theirfrom address, even if they're not using your mail server for a relay.
sucks.
Yes, I expose this machine's port 25 on purpose. So I would like to make
it a good netizen.

I had done this with sendmail in previous distros, but am a neophyte with
Postfix. Right now I want to verify if I have (or am) a problem.

++ kevin

-- Kevin O'Gorman, PhD


Re: [gentoo-user] Is my postfix being used as a relay?

2006-03-17 Thread Kevin O'Gorman
On 3/16/06, Gerhard Hoogterp [EMAIL PROTECTED] wrote:
On Thursday 16 March 2006 20:12, Kevin O'Gorman wrote: I get a lot of bounce messages from Postfix relating to emails that are not actually from me, and the mail q shows lots of stuff I don't recognize.
 I'd like to know how to interpret this, and if it is called-for, to secure this daemon a bit more. Can somebody point me in the right direction?I'll RTFM if it's not *too* big, if I know the appropriate FM to R.
You can check if your machine is an open relay by using telnet torelay-test.mail-abuse.org from the machine which runs the mail.An other alternative is to use their webinterface
(http://www.abuse.net/relay.html) but I have no experience with that one.
Thanks for the links. To my relief, they both reported all relay attempts
were blocked. So the bounces were spammers spoofing my address
as a return, I suppose. And there's nothing I can do to stop that.

Sigh.

++ kevin 
-- Kevin O'Gorman, PhD


Re: [gentoo-user] Is my postfix being used as a relay?

2006-03-17 Thread Kevin O'Gorman
On 3/17/06, John Jolet [EMAIL PROTECTED] wrote:
 Yes, I expose this machine's port 25 on purpose.So I would like to make it a good netizen. I had done this with sendmail in previous distros, but am a neophyte with
 Postfix.Right now I want to verify if I have (or am) a problem.with postfix, it will, by default ONLY accept mail for which itconsiders itself the final destination for, or destinations that arein relay_domains.typically, out of the box, it will not relay mail
for anyone, though it will accept mail for it, as resolved from thebox's fqdn, or mydestination.I have mine set up to also allow you to relay if you authenticate(using sasl, via pam...or pam via sasl, if you want to look at it
that way).basically that means I can send mail using this serverfrom any network, as long as I set my client up to authenticate onsend.but you can't randomly use it as a relay.--
gentoo-user@gentoo.org mailing listAlthough it seems this host is not a relay, that does not explain the
score or so of things languishing in my mail queue attempting to
contact sites I have no knowledge of, and which do not accept
the connection. Any hints how to explore this?

++ kevin-- Kevin O'Gorman, PhD


[gentoo-user] Is my postfix being used as a relay?

2006-03-16 Thread Kevin O'Gorman
I get a lot of bounce messages from Postfix relating to emails
that are not actually from me, and the mail q shows lots of
stuff I don't recognize.

I'd like to know how to interpret this, and if it is called-for,
to secure this daemon a bit more. Can somebody point
me in the right direction? I'll RTFM if it's not *too* big,
if I know the appropriate FM to R.

++ kevin-- Kevin O'Gorman, PhD


Re: [gentoo-user] create packages of every installed program

2006-03-15 Thread Kevin O'Gorman
On 3/14/06, Richard Fish [EMAIL PROTECTED] wrote:
On 3/14/06, Etaoin Shrdlu [EMAIL PROTECTED] wrote: On Tuesday 14 March 2006 18:50, Marco Calviani wrote:  Hi list,  i would like to ask how to create a package of EVERY program
  installed on the system, as a backup of everything. Just add buildpkg to your FEATURES in make.conf.That will work for new merges and updates.For current packages:
quickpkg /var/db/pkg/*/*
Where do they go when you do that? How do you use them later? 
-- Kevin O'Gorman, PhD


Re: [gentoo-user] firefox locks up when looking at flash

2006-02-13 Thread Kevin O'Gorman
On 2/13/06, Christoph Eckert [EMAIL PROTECTED] wrote:
 It didn't help me :( still crash soemtimes on flash movies. Sometimes it works, but others it just locks firefox up, only way out of it is to kill it and remove flash. Annoying, but not the end of the world.
kill all apps which use your OSS audio device /dev/dsp. I guess somesoundserver is blocking it and firefox simply waits for the device tobe freed.If this helps then ensure to have a recent ALSA version which does
softwaremixing by default and ask the firefox developers to switch fromOSS to ALSA.Best regardsce
I guess that's my problem too. How do I know what's using OSS? Can I just
disable it completely while leaving ALSA intact?

++ kevin 
-- Kevin O'Gorman, PhD


Re: [gentoo-user] emerge going weird

2006-01-01 Thread Kevin O'Gorman
Summary: I'm running java 1.5, I also have 1.4 emerged.On 12/31/05, Abhay Kedia [EMAIL PROTECTED] wrote:
On Saturday 31 December 2005 22:47, Kevin O'Gorman wrote: The question now seems to be: why doesn't db use Java 
1.5?Yup and it is weird. I have jdk 1.5 installed and when I tried to use +javafor db it didn't ask me to install older version.# USE=java emerge -pv sun-jdk dbThese are the packages that I would merge, in order:
Calculating dependencies ...done![ebuild Rf] dev-java/sun-jdk-1.5.0.06+X +alsa -browserplugin -doc-examples -jce +mozilla +nsplugin 0 kB[ebuild R ] sys-libs/db-4.2.52_p2-r1-bootstrap -doc +java* -nocxx -tcltk
0 kBTotal size of downloads: 0 kBCan you run the command on your system and make sure which version of jdk youare running?
Sure. I can even do a bit better.
treat ~ # USE=java emerge -pv sun-jdk db

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

Calculating dependencies ...done!
[ebuild Rf ] dev-java/sun-jdk-1.4.2.10 +X +alsa
-browserplugin +doc -examples -jce +mozilla +nsplugin 0 kB
[ebuild R ] sys-libs/db-4.2.52_p2-r1 -bootstrap +doc +java -nocxx +tcltk 0 kB

Total size of downloads: 0 kB
treat ~ # eix sun-jdk
* dev-java/sun-jdk
 Available versions: 1.2.2.017 1.3.1.16 1.3.1.17 1.4.2.10 [M]1.5.0.06
 Installed: 1.4.2.10 1.5.0.06

Homepage:
http://java.sun.com/j2se/1.5.0/

Description: Sun's J2SE
Development Kit, version 1.5.0.06


Found 1 matches
treat ~ # java-config --java
/opt/sun-jdk-1.5.0.06/bin/java
treat ~ #




-- Kevin O'Gorman, PhD


Re: [gentoo-user] emerge going weird

2006-01-01 Thread Kevin O'Gorman
On 12/31/05, Jason Stubbs [EMAIL PROTECTED] wrote:
On Sunday 01 January 2006 02:57, Kevin O'Gorman wrote: Oh, and yes, java is ~x86 both in unmask and in keywords.Can you list exactly what sun-jdk lines you have in/etc/portage/package.{unmask,keywords} please?

Of course.

Oops!!! I thought I checked this yesterday -- maybe I screwed it up,
but there's nothing in .unmask, although keywords is fine.
Anyway, after a quick edit, they are:

treat ~ # cat /etc/portage/package.unmask
dev-java/sun-jdk
dev-java/sun-jre-bin
dev-java/java-sdk-docs
treat ~ # cat /etc/portage/package.keywords
dev-java/sun-jdk ~x86
dev-java/sun-jre-bin ~x86
dev-java/java-sdk-docs ~x86
treat ~ # 

I'm not sure how to tell which virtuals of the great many in the /etc/portage
tree I'm using, but I know I have never edited any of that stuff.

Make.conf does not even mention virtual (according to grep -i virtual /etc/make.conf)

Anyway, I re-emerged the 1.4 Java, and at least my emerges are going
through now. That was my one bit worry, now resolved.

++ kevin
-- Kevin O'Gorman, PhD


Re: [gentoo-user] emerge going weird

2005-12-31 Thread Kevin O'Gorman
Synopsis: I do have java 1.5 unmasked. I need it for the classes I teach.
So why doesn't db use java 1.5?

On 12/31/05, Holly Bostick [EMAIL PROTECTED] wrote:
Jason Stubbs schreef: On Saturday 31 December 2005 21:57, Holly Bostick wrote: If you look atthe output
[nomerge]
sys-libs/db-4.2.52_p2-r1-bootstrap +doc +java -nocxx +tcltk the reason db is calling for java is because you have the java USE flag set for db.
 Do you really need db to use Java? If not, disable the flag (# echo'sys-libs/db -java'/etc/portage/package.use); problem solved. All the way up until the next package which depends on java. Only the
first package that is came across is listed as the parent. sys-libs/db doesn't call for any specific version of java. The complaint is that sun-jdk-1.5 is installed but emerge is wanting to install 
sun-jdk-1.4. This indicates that sun-jdk-1.5 is likely masked.Well that's all true, Jason, but my point was that this is an *option*,not a hard dependency, and many times people have USE flags enabled for
things they don't even need (or need for the specific program).So Kevin certainly could unmask sun-jdk 1.5 --and if it's installed, thenhow did that happen without it being unmasked? Sun-jdk-1.5 ishard-masked! The original post does not say that any version of the jdk
is actually installed: Anyway, my latest emerge world failed because of sun-jdk-1.4.2.10 (!!!).The current one is 1.5 something.Meaning (to me) that Kevin is referring to the current *available*
*version* of sun-jdk, not to any version he might have installed (and myimpression is that he does not in fact have any version of sun-jdkinstalled), and he's just concerned that an out-of-date version will
be installed rather than the latest.But if he doesn't need java support in the db at all, then disabling theUSE flag entirely (globally or for this package alone), then java won'tbe called by the emerge of db, which saves having to unmask a package
that Kevin may have concerns about installing in the first place if heruns stable, or even unstable-- sun-jdk-1.5 *is* hard-masked, after all,and one should rightfully think twice and then think again about
installing a hard-masked package-- and secondly does not install bloatonto the system (if he doesn't need java support in db, then he has noreason to install it, or spend the extra compile time installing db java
support).I've often solved similar issues on my own system by the simpleexpedient of disabling the USE flag that was calling the dependency thatwas giving me a problem. Helps keep the system clean.

This has been pretty informative. Perhaps I'm getting closer to understanding this.

Fact: I do have Java 1.5 unmasked. I teach java, and need to be
using the current version. I have the java USE flag on generally,
so there will probably be a number of packages that will call for
it. On the other hand, I don't have a specific need for it in
'db' which I never use explicitly -- I use gdbm or one of the SQL
products for what database stuff I do personally.

The question now seems to be: why doesn't db use Java 1.5?
Watching the emerge go by, it seemed to be doing just that -- the
filenames were all 1.5.
However, it's not just db. When I disable java in db using
package.use, the problem just switches to another dependency path:

[nomerge ] x11-terms/xterm-204 +Xaw3d -toolbar +truetype -unicode
[nomerge ] x11-libs/Xaw3d-1.5-r1
[nomerge ]
x11-base/xorg-x11-6.8.2-r6 -3dfx -3dnow +bitmap-fonts -cjk -debug
-dlloader -dmx +doc -font-server -insecure-drivers +ipv6 -minimal +mmx
+nls -nocxx +opengl +pam -sdk +sse -static +truetype-fonts +type1-fonts
(-uclibc) -xprint +xv
[nomerge
]
sys-apps/util-linux-2.12r-r1 +crypt +nls -old-crypt +pam +perl
(-selinux) -static
[nomerge
]
sys-apps/pam-login-3.17 -livecd +nls (-selinux)
[nomerge
]
sys-apps/shadow-4.0.7-r4 +nls -nousuid +pam (-selinux) -skey
[nomerge
]
sys-apps/portage-2.0.53 -build (-selinux)
[nomerge
]
app-misc/pax-utils-0.1.4 +caps
[nomerge
]
sys-libs/libcap-1.10-r5 -nocxx +python -static
[nomerge
]
dev-lang/swig-1.3.21 +X +doc +guile +java +perl -php +python
+ruby +tcltk
[ebuild NSF
]
dev-java/sun-jdk-1.4.2.10 +X +alsa -browserplugin +doc -examples
-jce +mozilla +nsplugin 35,592 kB

Of course, since Java is slotted, I should probably just go ahead and
re-emerge that older version. I was not clear when I
said that emerge failed, because there is the option to download the
file from Sun. It still seems weird, though, that these packages
are not satisfying their dependency with the Java that I have.

Sigh.
-- Kevin O'Gorman, PhD


Re: [gentoo-user] emerge going weird

2005-12-31 Thread Kevin O'Gorman
Oh, and yes, java is ~x86 both in unmask and in keywords.-- Kevin O'Gorman, PhD


Re: [gentoo-user] emerge going weird

2005-12-30 Thread Kevin O'Gorman
On 12/30/05, Jason Stubbs [EMAIL PROTECTED] wrote:
On Saturday 31 December 2005 13:58, Kevin O'Gorman wrote: Or should I say portage as a whole.Anyway, my latest emerge world failed because of sun-jdk-1.4.2.10 (!!!).The current one is 1.5 something. The weird part is that I cannot find any reason for that package
 to be emerged. 1) the world file contains just sun-jdk 2) equery depends =sun-jdk-1.4.2.10 shows nothing at all 3) sun-jdk does not appear at all in /etc/portage/package.* files
 How should I explore this further?Whatever command you used to update, add --tree --pretend to it.
This is interesting. sys-libs/db causes the old Java to be emerged.
However, I've deleted that version, and then I re-emerged sys-libs/db.
It still is calling for the old Java version.

There are 3 versions of sys-libs/db installed. Could it be mis-identifying
the culprit? I'm not entirely sure of the safest way to get rid of old
versions that don't automatically disappear with autoclean, so I tend
to leave things around.

++ kevin


treat ~ # emerge -aDvu --tree world

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

Calculating world dependencies ...done!
[nomerge ] app-text/docbook-sgml-dtd-4.4
[nomerge ] app-text/sgml-common-0.6.3-r4
[nomerge ] sys-devel/automake-1.9.6-r1
[nomerge ]
dev-lang/perl-5.8.6-r8 +berkdb -build -debug +doc +gdbm -ithreads
-minimal -perlsuid
[nomerge ]
sys-libs/db-4.2.52_p2-r1 -bootstrap +doc +java -nocxx +tcltk
[ebuild NSF ]
dev-java/sun-jdk-1.4.2.10 +X +alsa -browserplugin +doc -examples
-jce +mozilla +nsplugin 35,592 kB

Total size of downloads: 35,592 kB

Do you want me to merge these packages? [Yes/No] no

Quitting.

treat ~ # equery list sys-libs/db
[ Searching for package 'db' in 'sys-libs' among: ]
* installed packages
[I--] [ ] sys-libs/db-4.1.25_p1-r4 (4.1)
[I--] [ ] sys-libs/db-1.85-r2 (1)
[I--] [ ] sys-libs/db-4.2.52_p2-r1 (4.2)
treat ~ # -- Kevin O'Gorman, PhD


Re: [gentoo-user] Kernel error messages: gentoo-sources 2.6.13-r5

2005-10-31 Thread Kevin O'Gorman
This changed things, but not for the better. See below.

On 10/30/05, Richard Fish [EMAIL PROTECTED] wrote:
Kevin O'Gorman wrote: 2) The init scripts complain that the system doesn't support DEVFS or UDEV, but a) I thought I *did* have UDEV; I remember a big deal about converting to it.
 b) at the moment, I can't remember how I got it, and don't see an option for it in the kernel config.Where is it, or where else would it be?This message comes out during init scripts, but before logging
 starts, so I don'thave the exact text.There is no kernel option for udev.Make sure that the file/dev/.devfsd does not exist.If this file exists, /sbin/rc will disableudev.

I got rid of the file, and now X cannot see my mouse, and refuses to start.
I think the problem is that it used to be /dev/mouse and is now /dev/input/mouse0
or some such. I'm not sure. I don't know where the Xorg config file is,
so I don't know what to change. (I used to know when I used XFree, but
I didn't track the whole switchover). 
 3) Sound: I get this message, but sound works okay.Is it a problem? Can I or
should I make the message go away?I have run alsamixer, and set all slidersin the green. Oct 30 13:14:23 treat rc-scripts: Could not detect custom ALSA settings.Loading all detected alsa drivers.
Run alsaconf and save the results when prompted.
I never get prompted. It just says everything's okay, and quits. The message
remains.

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


[gentoo-user] Kernel error messages: gentoo-sources 2.6.13-r5

2005-10-30 Thread Kevin O'Gorman
When I boot I get several kinds of error messages. My system runs okay, but
I'd like confirmation or information that I do/don't need to fix something.

1) My 2-channel SCSI card (39160): should I worry about unable to reserve or already in use?

PCI: Enabling device :03:01.0 (0116 - 0117)
PCI: Unable to reserve mem region #2:[EMAIL PROTECTED] for device :03:01.0
aic7xxx: Adaptec AIC-7899 Ultra 160/m SCSI host adapter at PCI 3/1/0
aic7xxx: I/O ports already in use, ignoring.
PCI: Enabling device :03:01.1 (0116 - 0117)
PCI: Unable to reserve mem region #2:[EMAIL PROTECTED] for device :03:01.1
aic7xxx: Adaptec AIC-7899 Ultra 160/m SCSI host adapter at PCI 3/1/1
aic7xxx: I/O ports already in use, ignoring.


2) The init scripts complain that the system doesn't support DEVFS or UDEV, but
 a) I thought I *did* have UDEV; I remember a big deal about converting to it.
 b) at the moment, I can't remember how I got it, and don't see an option for it
 in the kernel config. Where is it, or where else would it be?
 This message comes out during init scripts, but before logging starts, so I don't
 have the exact text.

3) Sound: I get this message, but sound works okay. Is it a problem? Can I or
 should I make the message go away? I have run alsamixer, and set all sliders
 in the green.

 Oct 30 13:14:23 treat
rc-scripts: Could not detect custom ALSA settings. Loading all
detected alsa drivers.

Please advise.

++ kevin
-- Kevin O'Gorman, PhD


Re: [gentoo-user] Setting $TERM in Konsole (and others)

2005-10-16 Thread Kevin O'Gorman
I couldn't find it either. What bothers me is that in a Konsole, there's
a Settings - Configure Konsole - Session - $TERM
setting that looks like it should override anything X does. I would
expect that Konsole would be started, change the TERM environment
and start the indicated shell. This isn't happening.

I guess it's time to look in a bugs database for KDE.

++ kevinOn 10/15/05, Glenn Enright [EMAIL PROTECTED] wrote:
On Sun, 16 Oct 2005 03:06, Kevin O'Gorman wrote: I run Konsole for shell sessions, and things are going slightly wrong. I've tracked it down to the fact that although I've set the Konsole preferences to $TERM=linux, that variable is obdurately xterm.
 When I put an echo in .bashrc or .bash_profile, it's already xterm. How can I find the culprit? ++ kevinYou'll find if you log into a text console (ALT F1, F2 etc), $TERM should be
linux. However konsole and others in 'X' are set to xterm so something isbeing set as X loads. I couldn't find xterm in any of the /etc/env.d files,so its not being picked up there anyhow.--We shall take only the greatest minds, the finest soldiers,
the most faithful servants. We shall multiply them a thousandfoldand release them to usher in a new era of glory. -- Col. Corazon Santiago,The Council of War--
gentoo-user@gentoo.org mailing list-- Go back to the top: I almost always top-postKevin O'Gorman, PhD


Re: [gentoo-user] Setting $TERM in Konsole (and others)

2005-10-16 Thread Kevin O'Gorman
Okay, I did that. The bug is #114511, found at
http://bugs.kde.org/show_bug.cgi?id=114511

++ kevinOn 10/16/05, Kevin O'Gorman [EMAIL PROTECTED] wrote:
I couldn't find it either. What bothers me is that in a Konsole, there's
a Settings - Configure Konsole - Session - $TERM
setting that looks like it should override anything X does. I would
expect that Konsole would be started, change the TERM environment
and start the indicated shell. This isn't happening.

I guess it's time to look in a bugs database for KDE.

++ kevinOn 10/15/05, Glenn Enright 
[EMAIL PROTECTED] wrote:
On Sun, 16 Oct 2005 03:06, Kevin O'Gorman wrote: I run Konsole for shell sessions, and things are going slightly wrong. I've tracked it down to the fact that although I've set the Konsole preferences to $TERM=linux, that variable is obdurately xterm.
 When I put an echo in .bashrc or .bash_profile, it's already xterm. How can I find the culprit? ++ kevinYou'll find if you log into a text console (ALT F1, F2 etc), $TERM should be
linux. However konsole and others in 'X' are set to xterm so something isbeing set as X loads. I couldn't find xterm in any of the /etc/env.d files,so its not being picked up there anyhow.--We shall take only the greatest minds, the finest soldiers,
the most faithful servants. We shall multiply them a thousandfoldand release them to usher in a new era of glory. -- Col. Corazon Santiago,The Council of War--

gentoo-user@gentoo.org mailing list-- Go back to the top: I almost always top-postKevin O'Gorman, PhD

-- Go back to the top: I almost always top-postKevin O'Gorman, PhD


[gentoo-user] Fumblefingers corrupts an ebuild, plea for help

2005-10-15 Thread Kevin O'Gorman
I thought I was just looking, but after closing the editor my emerges are
complaining about a corrupted ebuild of xchat. Specifically,

 calculating world dependencies
-/usr/portage/net-irc/xchat/xchat-2.4.5.ebuild: line 24: syntax error
near unexpected token `'
 /usr/portage/net-irc/xchat/xchat-2.4.5.ebuild: line 24:
` !xchatnogtk? (
=x11-libs/gtk+-2.0.3 )'

 !!! ERROR: net-irc/xchat-2.4.5 failed.
 !!! Function , Line 1686, Exitcode 1
 !!! error sourcing ebuild
 !!! If you need support, post the topmost build error, NOT this status message.

Clearly, I did this to myself. But now I don't know how to set it right. I suspect
all the pieces are here, but a quick look at distfiles didn't even show that version
of xchat, so I don't know how to proceed. The syntax of the offending line
looks enough like the ones around it that I can't intuit a quick edit fix.
Maybe somebody could email the correct ebuild, or quick instructions for
forcing a new unpack or whatever seems best?

While I'm here: the reason I was looking was that I was wondering what the
USE flags xchatdccserver, xchatnogtk and xchattext do, and was hoping the
ebuild itself might tell me. It didn't, or at least not very well. Especially the
xchattext one.

++ kevin
-- Kevin O'Gorman, PhD


Re: [gentoo-user] Fumblefingers corrupts an ebuild, plea for help

2005-10-15 Thread Kevin O'Gorman
On 10/15/05, Holly Bostick [EMAIL PROTECTED] wrote:
Kevin O'Gorman schreef: I thought I was just looking, but after closing the editor my emerges are complaining about a corrupted ebuild of xchat. Specifically,calculating world dependencies -/usr/portage/net-irc/xchat/xchat-
 2.4.5.ebuild: line 24: syntax error near unexpected token `'/usr/portage/net-irc/xchat/xchat-2.4.5.ebuild: line 24: ` !xchatnogtk? (=x11-libs/gtk+-2.0.3 )'OK, here's line 23-29 of my ebuild:
(piped to prevent Thunderbird freaking out; ignore the first | symbol)|RDEPEND==dev-libs/glib-2.0.3|!xchatnogtk? ( =x11-libs/gtk+-2.0.3 )|ssl? ( =dev-libs/openssl-
0.9.6d )|perl? ( =dev-lang/perl-5.6.1 )|python? ( =dev-lang/python-2.2 )|tcltk? ( dev-lang/tcl )|!net-irc/xchat-gnomeHappens with editors; sometimes you get changed spacing or line wrap,
and it gets saved for some reason.Hope this helps,Holly
I put that in, but it made no difference (according to both diff and emerge). So it must be something
else. Is there a way to force a fresh copy?

++ kevin
-- Kevin O'Gorman, PhD


Re: [gentoo-user] Fumblefingers corrupts an ebuild, plea for help

2005-10-15 Thread Kevin O'Gorman
On 10/15/05, Jason Cooper [EMAIL PROTECTED] wrote:
Kevin O'Gorman ([EMAIL PROTECTED]) scribbled: I thought I was just looking, but after closing the editor my emerges are complaining about a corrupted ebuild of xchat. Specifically,
emerge sync :)hth,jason.--gentoo-user@gentoo.org mailing listD'Oh!! Of course. That worked. Thanks.

++ kevin-- Kevin O'Gorman, PhD


[gentoo-user] Setting $TERM in Konsole (and others)

2005-10-15 Thread Kevin O'Gorman
I run Konsole for shell sessions, and things are going slightly wrong.
I've tracked it down to the fact that although I've set the Konsole
preferences to $TERM=linux, that variable is obdurately xterm.

When I put an echo in .bashrc or .bash_profile, it's already xterm. 
How can I find the culprit?

++ kevin-- Kevin O'Gorman, PhD


Re: [gentoo-user] Managing FF/TB plugins in Gentoo

2005-09-18 Thread Kevin O'Gorman
On 9/18/05, Christoph Gysin [EMAIL PROTECTED] wrote:
Kevin O'Gorman wrote: I've just had a look at FireFox about:plugins and I'm both worried and confused. No surprise there; it happens a lot when I peek under the covers.:o) There are two versions of the Java plugin listed, with the same
 libjavaplugin_oji.so filename.The latest is Java 1.5.0_04b05. There are two versions of Flash listed, also with one and the same filename: libflashplayer.so.Don't know how this happend. You can check where they come from with:
$ locate libflashplayer.soor without slocate installed
That produces

treat ~ # slocate libflashplayer.so
/home/kevin/.mozilla/plugins/libflashplayer.so
/home/kevin/LinuxTools/install_flash_player_6_linux/libflashplayer.so
/home/kevin/.netscape/plugins/libflashplayer.so
/home/kevin/Plugins/install_flash_player_6_linux/libflashplayer.so
/home/kevin/Gentoo/install_flash_player_7_linux/libflashplayer.so
/u01/RH_HOMES/kevin/.netscape/plugins/libflashplayer.so
/u01/RH_HOMES/kevin/.mozilla/plugins/libflashplayer.so
/u01/RH_HOMES/kevin/plugins/install_flash_player_6_linux/libflashplayer.so
/u01/RH_HOMES/kevin/LinuxTools/install_flash_player_6_linux/libflashplayer.so
/usr/lib/nsbrowser/plugins/libflashplayer.so
/oldroot/usr/lib/nsbrowser/plugins/libflashplayer.so
treat ~ #
Some of these clearly have to do with old releases and distros. I should clean up
my act.



$ find / -name libflashplayer.so

This does somewhat the same:
treat ~ # find / -name libflashplayer.so
/home/kevin/.mozilla/plugins/libflashplayer.so
/home/kevin/LinuxTools/install_flash_player_6_linux/libflashplayer.so
/home/kevin/.netscape/plugins/libflashplayer.so
/home/kevin/Plugins/install_flash_player_6_linux/libflashplayer.so
/home/kevin/Gentoo/install_flash_player_7_linux/libflashplayer.so
/u01/RH_HOMES/kevin/.netscape/plugins/libflashplayer.so
/u01/RH_HOMES/kevin/.mozilla/plugins/libflashplayer.so
/u01/RH_HOMES/kevin/plugins/install_flash_player_6_linux/libflashplayer.so
/u01/RH_HOMES/kevin/LinuxTools/install_flash_player_6_linux/libflashplayer.so
/usr/lib/nsbrowser/plugins/libflashplayer.so
/oldroot/usr/lib/nsbrowser/plugins/libflashplayer.so

Perhaps you loaded an old version from /home/user/.mozilla/plugins ?

I have no idea what the history is. I've been doing this for a long time, and don't
keep records of everything that gets installed.
 Also: I would like the Adobe Acrobat plugin, but 1) I don't see it in 'eix' or 'emerge -s'.
 2) The instructions for installing from an existing Acrobat install are not effectivewith the portage-installed acrobat.I don't know what you're referring to here, but this should do the trick:
# mkdir -p /etc/portage/# echo app-text/acroread nsplugin  /etc/portage/package.use# emerge -avt acroread
Thanks. I'll try that. 
Christoph--echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 
[EMAIL PROTECTED]--gentoo-user@gentoo.org mailing list-- Kevin O'Gorman, PhD


Re: [gentoo-user] What to do about firefox

2005-09-17 Thread Kevin O'Gorman
On 9/17/05, Holly Bostick [EMAIL PROTECTED] wrote:
 And, I think with one of the tab extensions that you can download it'll save the current tabs you have open and recreate them all for you when you restart firefox.Why/How else do you think I have 30 tabs open constantly? Of *course* I
use Session Saver to maintain them, usually in groups of tabs related towhatever projects I'm working on at the moment, atm it's subtitling,Morrowind, fvwm, and a bunch on css and web page design, plus a couple
extra for random things like reading web comics and checkingpackages.gentoo.org. Since these are all related to long-term ongoingprojects, I wouldn't be able to manage the reference section at *all*
if I didn't have a way to maintain my currently-open tabs when closing FF.Session Saver, and the modular search engine bar, are such goodfeatures, which I find so essential, that Firefox would have to get a
whole lot closer to unuseable than this before I'd consider giving it up.Holly--gentoo-user@gentoo.org mailing list
I'm sure this is OT, so just send a pointer if you like, and I'll stop. But...

This is great! I haven't paid much attention to FF/TB extensions up to now
because the few I tried early on got obsolete and/or didn't work well. I should
have known that things would get better, and they did -- with ratings and
other info about versions. So I got SessionSaver, and when I restart I'll
probably fall in love.

But: what's the modular search thingie? Moreover: what would you suggest
for backups/sharing of bookmarks? For control of popups/ads and script
vulnerabilities? 
Surely there's a list somewhere for asking these things?-- Kevin O'Gorman, PhD


[gentoo-user] Managing FF/TB plugins in Gentoo

2005-09-17 Thread Kevin O'Gorman
I've just had a look at FireFox about:plugins and I'm both worried and confused.
No surprise there; it happens a lot when I peek under the covers. :o)

There are two versions of the Java plugin listed, with the same libjavaplugin_oji.so
filename. The latest is Java 1.5.0_04b05.

There are two versions of Flash listed, also with one and the same filename:
libflashplayer.so.

The crux: are there really two versions installed? Should I clean this up? If so,
how? Is this a Gentoo portage artifact, or does this happen in other distros as well?



Also: I would like the Adobe Acrobat plugin, but
1) I don't see it in 'eix' or 'emerge -s'.
2) The instructions for installing from an existing Acrobat install are not effective
 with the portage-installed acrobat.

Should I make a separate version from the Acrobat tarball?

++ kevin-- Kevin O'Gorman, PhD


[gentoo-user] Cannot see my own posts: configuring gentoo-users in gmail

2005-09-17 Thread Kevin O'Gorman
When I start a new thread, I do not see my own posting, even after others
have responded. It gets put in the sent folder and stays there.
This is in gmail, where I do all my mailing lists in an account that I use for
nothing else. It's not hard to fix: for each thread I start, I find the mail in
Sent Mail and move to Inbox and all is well. But it's a nuisance, and
occasionally I forget.
Are there settings somewhere that's making this happen to me? I've looked
around and don't see anything offhand, but maybe my around isn't big
enough.
-- Kevin O'Gorman, PhD


Re: [gentoo-user] What to do about firefox

2005-09-17 Thread Kevin O'Gorman
On 9/17/05, Holly Bostick [EMAIL PROTECTED] wrote:
 But: what's the modular search thingie?Click on the G in your search bar, you'll get a drop-down list ofother search engines that you can use to search for whatever you'researching for. Installed by default are Google, ebay, 
Amazon.com,Creative Commons, and Yahoo.But there's also a Add More Engines which will take you tomozdev.org where you can install as many search engines as you like.
I have about 40 or more, including
Once again I must be doing something wrong. I see the Add more... and
I can navigate it okay, but nothing new ever shows up in the list of search
engines. I've tried 4 or 5, so it's not the particular one...

++ kevin
-- Kevin O'Gorman, PhD


[gentoo-user] What to do about firefox

2005-09-16 Thread Kevin O'Gorman
I thought firefox would become a good citizen, given adequate time,
but I still have to kill it off every day or so even on my dual Xeon with
2 GB memory -- it's just a huge CPU hog after a while. It restarts
okay, but it's a nuisance. I've waited over a year hoping the updated
versions would behave better. No luck.

I may have misconfigured it early on. Is there something in particular
I should look for?-- Kevin O'Gorman, PhD


Re: [gentoo-user] Here is an amazing thing re OpenOffice:

2005-09-08 Thread Kevin O'Gorman
Oh, um er, right. All that stuff is another distro. I'm an equal opportunity newbie,
and its making me crazier than usual.

And I guess I got over-impressed with the opening screen, which says 2.0.
I don't have admin priviliges there, and never asked what the package version is.

I'll try your formula and see what happens.

++ kevinOn 9/7/05, Michael Crute [EMAIL PROTECTED] wrote:
On 9/7/05, Kevin O'Gorman [EMAIL PROTECTED]
 wrote:
I am using gentoo because I want to be able to compile the latest and greatest.
How odd it is that I can only find OpenOffice 1.1.4, where the FedoraCore
machines at my school have had OpenOffice 2.0 all (Summer) term.

I've not done a lot with masked versions, but I do have universe, multiverse and
backports. I see no signs of 2.0.

How can this be, gen-too-ers? Surely, I'm missing something. What did I mess up?-- Kevin O'Gorman, PhD

Actually your Fedora boxes weren't
running 2.0 they where running 1.9 which is the beta for 2.0. If you
want to run that on Gentoo you need to add `app-office/openoffice-bin`
to your /etc/portage/package.unmask and `app-office/openoffice-bin
~x86` to your /etc/portage/package.keywords file then emerge
openoffice-bin. You didn't miss a thing, its just hard masked
development. because it's not stable and it does crash often enough but
its well worth the install.

Also as far as I know there is no such thing as universe, multiverse,
and backports gor Gentoo. In any case good luck getting it running,
once you get it unmasked its just as easy as the real deal (if you
will).

-Mike-- 


-- Go back to the top: I almost always top-postKevin O'Gorman, PhD


Re: [gentoo-user] Here is an amazing thing re OpenOffice:

2005-09-08 Thread Kevin O'Gorman
Actually, when I do what you say, I get

treat portage # emerge -a openoffice-bin

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

Calculating dependencies ...done!
[blocks B ] app-office/openoffice (is blocking app-office/openoffice-bin-1.9.122)
[ebuild N ] app-office/openoffice-bin-1.9.122

!!! Error: The above package list contains packages which cannot be installed
!!! on the same system.

treat portage # 
On 9/7/05, Michael Crute [EMAIL PROTECTED] wrote:
On 9/7/05, Kevin O'Gorman [EMAIL PROTECTED]
 wrote:
I am using gentoo because I want to be able to compile the latest and greatest.
How odd it is that I can only find OpenOffice 1.1.4, where the FedoraCore
machines at my school have had OpenOffice 2.0 all (Summer) term.

I've not done a lot with masked versions, but I do have universe, multiverse and
backports. I see no signs of 2.0.

How can this be, gen-too-ers? Surely, I'm missing something. What did I mess up?-- Kevin O'Gorman, PhD

Actually your Fedora boxes weren't
running 2.0 they where running 1.9 which is the beta for 2.0. If you
want to run that on Gentoo you need to add `app-office/openoffice-bin`
to your /etc/portage/package.unmask and `app-office/openoffice-bin
~x86` to your /etc/portage/package.keywords file then emerge
openoffice-bin. You didn't miss a thing, its just hard masked
development. because it's not stable and it does crash often enough but
its well worth the install.

Also as far as I know there is no such thing as universe, multiverse,
and backports gor Gentoo. In any case good luck getting it running,
once you get it unmasked its just as easy as the real deal (if you
will).

-Mike-- Michael E. CruteSoftware DeveloperSoftGroup Development CorporationLinux, because reboots are for installing hardware.
In a world without walls and fences, who needs windows and gates?

-- Go back to the top: I almost always top-postKevin O'Gorman, PhD


[gentoo-user] Here is an amazing thing re OpenOffice:

2005-09-07 Thread Kevin O'Gorman
I am using gentoo because I want to be able to compile the latest and greatest.
How odd it is that I can only find OpenOffice 1.1.4, where the FedoraCore
machines at my school have had OpenOffice 2.0 all (Summer) term.

I've not done a lot with masked versions, but I do have universe, multiverse and
backports. I see no signs of 2.0.

How can this be, gen-too-ers? Surely, I'm missing something. What did I mess up?-- Kevin O'Gorman, PhD


[gentoo-user] Where is the emerge history

2005-08-31 Thread Kevin O'Gorman
How can I find out the last few things I emerged? I've tried the docs, but I can't seem to find a helpful query, and
my attempts to browse my way to it have failed.

My reason is that I've been trying to track down the reasons why the latest ebuilds of libgphoto2 and of wine are
failing, and in the process, I think I omitted --oneshot on some of my emerges. I like to clean 'world' when I can.

Anyway, just a pointer would be good.-- Kevin O'Gorman


[gentoo-user] libghoto2 emerge fails -- what to do?

2005-08-31 Thread Kevin O'Gorman
The latest ebuild of this library fails for me. I'm not sure what to do,
or even if this is the right place to post the info. So I'm wondering what I should do next.

The emerge output contains a lot of unusual stuff that looks like source code. I don't
generally see such stuff.
The tail end looks like this:
make[3]: Nothing to be done for `install-exec-am'.
/bin/install -c -d -m 0755 /var/tmp/portage/libgphoto2-2.1.6/image//usr/share/doc/libgphoto2_port/html/api/gphoto2-port
/bin/install -c -m 644 ./html/*.html
/var/tmp/portage/libgphoto2-2.1.6/image//usr/share/doc/libgphoto2_port/html/api/gphoto2-port
/bin/install: cannot stat `./html/*.html': No such file or directory
make[3]: *** [install-data-local] Error 1
make[3]: Leaving directory `/var/tmp/portage/libgphoto2-2.1.6/work/libgphoto2-2.1.6/libgphoto2_port/doc'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/libgphoto2-2.1.6/work/libgphoto2-2.1.6/libgphoto2_port/doc'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libgphoto2-2.1.6/work/libgphoto2-2.1.6/libgphoto2_port'
make: *** [install-recursive] Error 1

!!! ERROR: media-libs/libgphoto2-2.1.6 failed.
!!! Function src_install, Line 85, Exitcode 2
!!! install failed
!!! If you need support, post the topmost build error, NOT this status message.


-- Kevin O'Gorman, PhD


[gentoo-user] Emerge win fails -- what to do

2005-08-31 Thread Kevin O'Gorman
A second ebuild in the latest batch failed for me. This time it's wine.
Again, I'm not sure how to report such a thing; maybe someone could point me in
the right direction. Anyway, the tail end of the ebuild looks like:





Print Stylesheet//EN
jade:/usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl:19:39:E: no
style-specification or external-specification with ID DOCBOOK
This is pdfTeX, Version 3.14159-1.10b (Web2C 7.4.5)

(/var/tmp/portage/wine-20050111-r2/work/wine-20050111/documentation/wine-devel.
tex{/usr/share/texmf/pdftex/config/pdftex.cfg}
JadeTeX 2003/04/27: 3.13
(/usr/share/texmf/tex/latex/psnfss/t1ptm.fd)
Elements will be labelled

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type H return for immediate help.
...

l.8 {2}}W
 ine Developer's Guide\endNode{}\endNode{}\Node%
(/usr/share/texmf/tex/latex/amsfonts/umsa.fd)
(/usr/share/texmf/tex/latex/amsfonts/umsb.fd)
(/usr/share/texmf/tex/latex/wasysym/uwasy.fd)
(/usr/share/texmf/tex/latex/misc/ustmry.fd)
(/usr/share/texmf/tex/latex/psnfss/ts1ptm.fd)
The Unicode package knows about symbol textmu, but the font package is not load
ed
! TeX capacity exceeded, sorry [main memory size=101].
\newpage ...k [EMAIL PROTECTED] \everypar {}\fi \par

\vfil \penalty [EMAIL PROTECTED]
l.13889 ...{}\endNode{}\endNode{}\endNode{}\endFOT

{}
No pages of output.
Transcript written on wine-devel.log.
make: *** [wine-devel.pdf] Error 9
make: Leaving directory `/var/tmp/portage/wine-20050111-r2/work/wine-20050111/documentation'

!!! ERROR: app-emulation/wine-20050111-r2 failed.
!!! Function src_compile, Line 93, Exitcode 2
!!! docs
!!! If you need support, post the topmost build error, NOT this status message.

-- Kevin O'Gorman, PhD


Re: [gentoo-user] Where is the emerge history

2005-08-31 Thread Kevin O'Gorman
There is indeed. Thanks very much.

++ kevinOn 8/31/05, John Jolet [EMAIL PROTECTED] wrote:
there's /var/log/emerge.logOn Aug 31, 2005, at 10:23 PM, Kevin O'Gorman wrote: How can I find out the last few things I emerged?I've tried the docs, but I can't seem to find a helpful query, and
 my attempts to browse my way to it have failed. My reason is that I've been trying to track down the reasons why the latest ebuilds of libgphoto2 and of wine are failing, and in the process, I think I omitted --oneshot on some of
 my emerges.I like to clean 'world' when I can. Anyway, just a pointer would be good. -- Kevin O'Gorman--gentoo-user@gentoo.org
 mailing list-- Go back to the top: I almost always top-postKevin O'Gorman, PhD


Re: [gentoo-user] win4lin

2005-08-26 Thread Kevin O'Gorman
On 8/26/05, John Jolet [EMAIL PROTECTED] wrote:
 
 On Aug 26, 2005, at 2:46 AM, Neil Bothwick wrote:
 
  On Thu, 25 Aug 2005 21:20:11 -0500, John Jolet wrote:
 
 
  okay, I was wondering how to get the other kernel versions.  it's
  emerge gentoo-sources (space) 2.6.11 is it?
 
 
  emerge -av gentoo-sources-2.6.12
 
  will get you the latest version prior to 2.6.11, which is a 2.6.9
  revision for gentoo-sources. 2.6.11 is still in vanilla sources.
 
  emerge -av vanilla-sources-2.6.12
 Thanks guys.  One last question...what's the drawback to using the
 vanilla sources?  I'm assuming gentoo-sources were patched from them
 for a reason.

There is much here I don't understand.  Isn't it possible for someone
who actually
got one of the missing ebuilds to re-build an ebuild and pass it
around?  For instance,
I seem to have

linux-2.6.11-gentoo-r11
linux-2.6.11.11
linux-2.6.12-gentoo-r4
linux-2.6.12-gentoo-r6
linux-2.6.12-gentoo-r9
linux-2.6.7-gentoo-r11
linux-2.6.7-win4lin-r2
linux-2.6.7-win4lin-r5

of which I seem to be actually running (according to uname)
2.6.12-gentoo-r6-kosmanor #1 SMP

Isn't it possible to package one of these and share it?  (Provided anyone
would trust me not to be malicious).

++ kevin



-- 
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] win4lin

2005-08-26 Thread Kevin O'Gorman
On 8/26/05, Ron Bickers [EMAIL PROTECTED] wrote:
 On Thu August 25 2005 09:47 pm, John Jolet wrote:
 
  I've purchased the win4lin product, (the home version) to test out certain
  windows apps I need to run.  They claim that gentoo has a patched kernel
  available for this.  Does anyone know anything about this?
 
 I have a modified gentoo-sources-2.6.11-r11 ebuild that I've been using as an
 overlay and it's been working fine for me for months.  I'll be happy to
 share if anyone is interested.

Yes please.

-- 
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: DVD recorder recommendations

2005-08-21 Thread Kevin O'Gorman
On 8/21/05, Volker Armin Hemmann [EMAIL PROTECTED] wrote:
 On Sunday 21 August 2005 16:35, Thomas Kirchner wrote:
  * On Aug 21 15:37, Volker Armin Hemmann ([EMAIL PROTECTED])
 wrote:
   it has to, because all tests I read said, that Plextor burns a lot of
   errors onto the dvds... so they have to have a good error-correction,
   or they would not be able to read their own stuff.
 
  Not sure I buy that.  I've used my Plextor-burned discs in plenty of
  other computers and they haven't had any trouble reading them, either.
  They didn't earn their reputation for quality by making coasters.
  Tom
 
 I do not own a plextor, but I trust the c't magazine which did a lot of
 dvd-burner tests and Plextor is one of the burners which like to write fast,
 but with a lot of errors.
 
 Only because the dvdr does not make problems now, it does not mean, that it
 will not make problems in the future, when some scratches are accumulated.
 
 But... LG was much worse.. ;)

Hmmm.  While warnings about particular brands might be of some help, I would
much prefer to see the make/model of comparably priced items that were rated
good.  I'm trying to buy, after all, not discard existing stuff.

Nevertheless, this is helpful (I think) because I was starting to lean towards a
Plextor PX-740A-BP OEM drive.  Now I'll wait to see what others say. 

-- 
Kevin O'Gorman, PhD

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] DVD recorder recommendations

2005-08-18 Thread Kevin O'Gorman
It's time for me to get a DVD recorder for this system, so I went to Best Buy,
and started reading the boxes.  Every single one states that Windows in some
form is a requirement.  Surely this is FUD, right?  Nevertheless, with memories
of winmodems and winprinters, I fear to take the leap.

What's the real state of things?  Can I use any of them?  All of them?  What?

++ kevin


-- 
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: DVD recorder recommendations

2005-08-18 Thread Kevin O'Gorman
I should probably add, since processor speeds were listed on most boxes,
that this is a dual Xeon (P IV based), (2 hyperthreads each for a total of 4)
rated at 1.2 GHz.

++ kevin

On 8/18/05, Kevin O'Gorman [EMAIL PROTECTED] wrote:
 It's time for me to get a DVD recorder for this system, so I went to Best Buy,
 and started reading the boxes.  Every single one states that Windows in some
 form is a requirement.  Surely this is FUD, right?  Nevertheless, with 
 memories
 of winmodems and winprinters, I fear to take the leap.
 
 What's the real state of things?  Can I use any of them?  All of them?  What?
 
 ++ kevin


--
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Printing woes; firefox incompetent; cups printer disabled and cannot enable

2005-07-17 Thread Kevin O'Gorman
Okay, thanks, that helps clarify it.  I got the printer working anyway --
my printers.conf needed manual editing -- it had two different lp0
printers in it somehow, one of them badly mangled.

++ kevin

On 7/15/05, Edward Catmur [EMAIL PROTECTED] wrote:
 On Fri, 2005-07-15 at 08:30 -0700, Kevin O'Gorman wrote:
  I forget why, but I tried 'disable lp0' to see what it did to the
  output of 'lpstat -t', and
  got the results one would expect.  However, 'enable lp0' gives this
  odd error message:
 
  -/bin/bash: enable: lp0: not a shell builtin
 
  Now, this makes no sense to me at all.
 
 enable is a bash shell builtin (which acts on shell builtins,
 coincidentally; see bash(1)).
 
 Use '/usr/bin/enable lp0', or '`which enable` lp0', or 'enable -n
 enable; enable lp0'.
 
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 
Go back to the top: I almost always top-post
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Printing woes; firefox incompetent; cups printer disabled and cannot enable

2005-07-15 Thread Kevin O'Gorman
Woe is me.

First: Firefox 1.0.4 could not print.  It seemed to go through all the
motions,The printer command was some oddity involving ${MOZ_PRINTER}
or some such, and I just changed it to 'lpr', and it still wouldn't
work.

I forget why, but I tried 'disable lp0' to see what it did to the
output of 'lpstat -t', and
got the results one would expect.  However, 'enable lp0' gives this
odd error message:

-/bin/bash: enable: lp0: not a shell builtin

Now, this makes no sense to me at all.

So, now I have a completely unusable setup.  Any clues?

++ kevin

-- 
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] New KDE -- Konsole breaks ncurses

2005-07-08 Thread Kevin O'Gorman
Is anybody else seeing this, after a very recent emerge?

It's been a while since I rebooted the machine or restarted KDE, so I
cannot be sure when this broke.  Today, however, after doing both
I'm having trouble with character-mode programs.  I didn't write the
programs, so I'm having some trouble diagnosing any details.

However, here's what I do know:
KDE is 3.4.1

I have programs that are linked with -lncurses, and these do not
run in a Konsole (the window goes black and I never see anything),
but they run fine in an xterm.  Until the reboot today, they were
working fine both ways.

Clues, anyone?

++ kevin

-- 
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help interpreting top(1) display

2005-07-05 Thread Kevin O'Gorman
Okay, thanks.  They are indeed niced, because there are a lot of them, and
I would like my keystrokes echoed sometime today

OTOH, where can I read about the others?

++ kevin

On 7/5/05, Calvin Walton [EMAIL PROTECTED] wrote:
 On 7/5/05, Kevin O'Gorman [EMAIL PROTECTED] wrote:
  Cpu0  :  1.3% us,  1.9% sy, 96.0% ni,  0.8% id,  0.0% wa,  0.0% hi,  0.0% si
 
  I'm running a bunch of compute-bound tasks, so I suppose the 'ni' fields
  indicate heavy use, but what exactly does 'ni' mean?  And what do the other
  fields mean -- if the 'us' field means 'user' then I'm really baffled.
 
  The man page is most helpful in deciphering the task displays, but I was
  unable to find a part about the header fields.
  --
  Kevin O'Gorman, PhD
 
 The full names for the first three are user, system, and nice. It
 appears that the tasks your are running are being run 'niced', see man
 nice. The priority is set to lower (or possibly higher, i'm not
 sure...) than regular tasks in the system, and the cpu usage shows up
 under nice instead of user.
 
 --
 Calvin Walton
 
-- 
Go back to the top: I almost always top-post
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Crontab best practices: ideas anyone?

2005-07-03 Thread Kevin O'Gorman
I have a small number of logins on my gentoo box that I use for
automated chores.
I would prefer that they never have passwords, since they are run
solely by cron jobs.
However, if the login is locked then cron will no longer run the jobs
-- I presume
(without knowing for sure) that it's because of the warning messages
that  are issued
when you 'su' into such a login.

These logins are data gatherers for me, that send emails to other
automated systems
to get information.  They process the answers in various ways for
later harvesting by
other automated processes.

As it is, I have assigned passwords to these accounts, but as I said,
I'd prefer not to.

SO: is there a way to get cron(1) to run jobs for an account whose password is
disabled?  Perhaps by doing something to the shadow file that
passwd(1) would not
do?

++ kevin

-- 
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Weirdness emerging pkgconfig

2005-06-27 Thread Kevin O'Gorman
never mind.  The next emerge sync cleared up whatever the problem was.


On 6/24/05, Kevin O'Gorman [EMAIL PROTECTED] wrote:
 A new stable ebuild is refusing to emerge for security reasons: pkgconfig!
 
 Here's what it says:
 
  treat # emerge -aDvu world
 
  These are the packages that I would merge, in order:
 
  Calculating world dependencies ...done!
  [ebuild U ] dev-util/pkgconfig-0.17.2-r1 [0.15.0] -debug -hardened 0 kB
  [ebuild U ] dev-libs/glib-2.6.4 [2.6.3] -debug +doc -hardened -static 
  2,321 kB
 
  Total size of downloads: 2,321 kB
 
  Do you want me to merge these packages? [Yes/No] yes
   emerge (1 of 2) dev-util/pkgconfig-0.17.2-r1 to /
  !!! Security Violation: A file exists that is not in the manifest.
  !!! File: files/digest-pkgconfig-0.17.2
  treat # ls files
 
 What's a person to do?
 --
 Kevin O'Gorman, PhD
 


-- 
Go back to the top: I almost always top-post
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Weirdness emerging pkgconfig

2005-06-24 Thread Kevin O'Gorman
A new stable ebuild is refusing to emerge for security reasons: pkgconfig!

Here's what it says:

 treat # emerge -aDvu world

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

 Calculating world dependencies ...done!
 [ebuild U ] dev-util/pkgconfig-0.17.2-r1 [0.15.0] -debug -hardened 0 kB
 [ebuild U ] dev-libs/glib-2.6.4 [2.6.3] -debug +doc -hardened -static 
 2,321 kB

 Total size of downloads: 2,321 kB

 Do you want me to merge these packages? [Yes/No] yes
  emerge (1 of 2) dev-util/pkgconfig-0.17.2-r1 to /
 !!! Security Violation: A file exists that is not in the manifest.
 !!! File: files/digest-pkgconfig-0.17.2
 treat # ls files

What's a person to do?
-- 
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Firefox 1.0.4 certificate problem

2005-06-14 Thread Kevin O'Gorman
I'm having trouble with the Java Forums site, because Firefox cannot
deal with a certificate
it gets.  Try the login link on 
   http://forum.java.sun.com/forum.jspa?forumID=57
or any of the other fora.

If somebody can point me to the place to report Firefox problems, I'll
tell them too...

++ kevin

-- 
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Java java java, I miss my java

2005-06-14 Thread Kevin O'Gorman
Thaks, all -- I now have a new Java, and know about a few new
utilities.  But I'm probably still in trouble.  The rest at the bottom.

On 6/14/05, Peter Ruskin [EMAIL PROTECTED] wrote:
 On Tuesday 14 June 2005 12:48, Neil Bothwick wrote:
  On Tue, 14 Jun 2005 13:21:33 +0200, Holly Bostick wrote:
   Indeed it is as long as you remember to update-eix after an
   esync (or emerge sync). Gotta put that in as a cron job or
   something-- or is there a better way to keep the index current?
 
  I run this script as a cron job in the early hours
 
  #!/bin/bash
 
  emerge --sync
  emerge world --update --deep --newuse --pretend --verbose \
 
| Mail -s Updated packages for $(hostname) neil
 
  glsa-check 2/dev/null --test all | Mail -s GLSA check on
  $(hostname) neil update-eix
  emerge world -uDNf /dev/null
 
 I like the esync output. so my cron job looks like this:
 
 # sync Gentoo nightly and check for updates
 0 0 * * 1-6 /usr/sbin/esync -ns  /usr/bin/update-eix -q
  /usr/bin/emerge world -uNvpl
 
 ...and for Sunday:
 # sync Gentoo weekly and check (deep) for updates
 0 0 * * 7 /usr/sbin/esync -ns  /usr/bin/update-eix -q
  /usr/bin/emerge world -uNDvtpl
 
 --
 Peter

I got Java 1.5 to install.  Now the nifty new tools (thanks for eix!)
tell me that 1.5 is all I have.   Of course, when I look in /opt, I get
a different impression of things.  Am I right in surmising that
I have all those old versions, and I just need java-config to point
to various places to get other things to happen?

If so, I'm in good shape, because I just did a user-only config
to 1.5 so presumably 'root' is still using 1.4.2.

++ kevin

-- 
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Firefox 1.0.4 certificate problem

2005-06-14 Thread Kevin O'Gorman
On 6/14/05, Zac Medico [EMAIL PROTECTED] wrote:
 Kevin O'Gorman wrote:
  I'm having trouble with the Java Forums site, because Firefox cannot
  deal with a certificate
  it gets.  Try the login link on
 http://forum.java.sun.com/forum.jspa?forumID=57
  or any of the other fora.
 
  If somebody can point me to the place to report Firefox problems, I'll
  tell them too...
 
  ++ kevin
 
 
 The page loads fast for me with JavaScript disabled (firefox noscript 
 extension).  After I enabled JavaScript for sun.com I experienced the delay 
 that you reported.
 
 Zac

Except I didn't report a delay -- I reported outright failure.  I very
quickly get a dialog reporting
Alert -- Error trying to validate certificate from
sofrwarereg.sun.com using OCSP - directory lookup failure.

I guess it's a local configuration issue, which in Firefox can be very
hard to figure out.  Sigh.

-- 
Go back to the top: I almost always top-post
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Java java java, I miss my java

2005-06-14 Thread Kevin O'Gorman
On 6/14/05, Zac Medico [EMAIL PROTECTED] wrote:
 Kevin O'Gorman wrote:
 
 
  I got Java 1.5 to install.  Now the nifty new tools (thanks for eix!)
  tell me that 1.5 is all I have.   Of course, when I look in /opt, I get
  a different impression of things.  Am I right in surmising that
  I have all those old versions, and I just need java-config to point
  to various places to get other things to happen?
 
 
 Yes,  java-config -L will list every installed java vm.  The actual portage 
 database for installed packages is located in /var/db/pkg.
 
 Zac

Great!

Thanks one and all -- this is a good result.

The best part is that under 1.5 a persistent problem I'd been having
with Swing layout managers
has gone away: now when I pack() a JFrame multiple times, I get a
proper layout with no anomalous regions.  (Sample on request).

To me, that's better than the rest of 1.5's features combined!

++ kevin


-- 
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Firefox 1.0.4 certificate problem

2005-06-14 Thread Kevin O'Gorman
On 6/14/05, Zac Medico [EMAIL PROTECTED] wrote:
 Kevin O'Gorman wrote:
  On 6/14/05, Zac Medico [EMAIL PROTECTED] wrote:
 
 Kevin O'Gorman wrote:
 
 I'm having trouble with the Java Forums site, because Firefox cannot
 deal with a certificate
 it gets.  Try the login link on
http://forum.java.sun.com/forum.jspa?forumID=57
 or any of the other fora.
 
 If somebody can point me to the place to report Firefox problems, I'll
 tell them too...
 
 ++ kevin
 
 
 The page loads fast for me with JavaScript disabled (firefox noscript 
 extension).  After I enabled JavaScript for sun.com I experienced the delay 
 that you reported.
 
 Zac
 
 
  Except I didn't report a delay -- I reported outright failure.  I very
  quickly get a dialog reporting
  Alert -- Error trying to validate certificate from
  sofrwarereg.sun.com using OCSP - directory lookup failure.
 
  I guess it's a local configuration issue, which in Firefox can be very
  hard to figure out.  Sigh.
 
 
 It shoudn't be that hard.  What version is it?  Do you have the same problem 
 for all users/profiles.  Did you remerge it already?
 
 Zac
 

It's Firefox 1.0.4.  I have no other profiles.  I haven't done anything but
complain, so far, sorry.

++ kevin

-- 
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Firefox 1.0.4 certificate problem

2005-06-14 Thread Kevin O'Gorman
Bottom line: that solved it.  Thanks.

++ kevin

On 6/14/05, Zac Medico [EMAIL PROTECTED] wrote:
 Paul Varner wrote:
  On Tue, 2005-06-14 at 18:44 -0700, Kevin O'Gorman wrote:
 
 Except I didn't report a delay -- I reported outright failure.  I very
 quickly get a dialog reporting
 Alert -- Error trying to validate certificate from
 sofrwarereg.sun.com using OCSP - directory lookup failure.
 
 I guess it's a local configuration issue, which in Firefox can be very
 hard to figure out.  Sigh.
 
 
  I didn't see that error when I skimmed through your first message.  I
 
 Me neither, because it wasn't there. I've got proof :-)
 http://marc.theaimsgroup.com/?t=11187623313r=1w=2
 
  have had nothing but problems with the OCSP protocol. To turn it off go
  to Edit-Preferences and click on Advanced.  Down near the bottom under
  Validation is a box concerning OCSP.  In my case, I have completely
  turned it off.
 
 
 AFAICT the default setting is off for mozilla-firefox-1.0.4.  I haven't tried 
 mozilla-firefox-bin though.
 
 Zac
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 

Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Java java java, I miss my java

2005-06-13 Thread Kevin O'Gorman
It's been about 9 months now that Java 1.5 has been an official release from Sun
and I see no ebuilds, masked or not.  I'm going to be teaching this
puppy starting
in September, and I need to start using it.  This raises two questions:

1) Is there a simple way to install the current release without damaging the
ebuild-installed ones I have, or should I just blunder ahead and mangle my
own PATH and such in .bashrc_local (or whereever -- this is a
one-user machine).

2) Better yet, is there a way to integrate such a release with
java-config.  I took
a very brief look at the Python, and java-config is just cryptic
and undocumented
enough for me to prefer to *not* learn it well enough to answer this myself.

-- 
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Java java java, I miss my java

2005-06-13 Thread Kevin O'Gorman
To answer several questions from several people:
1) I thought java 1.5 wasn't there because it was not found by
emerge -s java
emerge -s jre
emerge -s blackdown

At that point I just figured it wasn't there.  I'm glad to discover
I was wrong.

2) I'm not so much itching to use the features, as I am required
to teach them.  But the significant ones seem to be
- Scanner class which smooths one of the major bumps for
  beginning Java programmers: how to do input without learning
  the whole language first.
- Autoboxing which allows a looser typing of functionally similar
  entities (the primitives and their wrapper classes).
- Generics (type-safe containers) (not really an intro topic, but
  I'll be teaching a second course too).
- True enum
- C-style printf, and varargs (ya!)

++ kevin
- Iterator for-loop 

-- 
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Java java java, I miss my java

2005-06-13 Thread Kevin O'Gorman
Bottom line: I still cannot get these.  Details at the bottom.

On 6/13/05, Kevin O'Gorman [EMAIL PROTECTED] wrote:
 To answer several questions from several people:
 1) I thought java 1.5 wasn't there because it was not found by
 emerge -s java
 emerge -s jre
 emerge -s blackdown
 
 At that point I just figured it wasn't there.  I'm glad to discover
 I was wrong.
 
 2) I'm not so much itching to use the features, as I am required
 to teach them.  But the significant ones seem to be
 - Scanner class which smooths one of the major bumps for
   beginning Java programmers: how to do input without learning
   the whole language first.
 - Autoboxing which allows a looser typing of functionally similar
   entities (the primitives and their wrapper classes).
 - Generics (type-safe containers) (not really an intro topic, but
   I'll be teaching a second course too).
 - True enum
 - C-style printf, and varargs (ya!)
 
 ++ kevin
 - Iterator for-loop

What's more, I just retried looking for the jdk, and got (in part):
*  dev-java/sun-jdk
  Latest version available: 1.4.2.08
  Latest version installed: [ Not Installed ]
  Size of downloaded files: 35,576 kB
  Homepage:http://java.sun.com/j2se/1.4.2/
  Description: Sun's J2SE Development Kit
  License: sun-bcla-java-vm

This surely doesn't look like 1.5 to me.  So I tried 'etcat' (which is
new to me)
and got it.  I had to unmask it before emerge -s would show it.  Weird,
because it shows other masked packages.

Anyway, I still cannot load it.   This in spite of efforts to unmask:

My package.keywords and package.unmask:
 treat 1.5-bundles # cat /etc/portage/package.keywords
 app-office/gnucash quotes
 dev-java/sun-jdk ~x86
 dev-java/sun-jre-bin ~x86
 treat 1.5-bundles # cat /etc/portage/package.unmask
 =dev-java/sun-jdk-1.4.99
 =dev-java/sun-sdk-docs-1.4.99


Here's what it looks like:

treat 1.5-bundles # emerge -av sun-jdk sun-sdk-docs

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

Calculating dependencies -
!!! All ebuilds that could satisfy =dev-java/java-sdk-docs-1.5.0*
have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-java/java-sdk-docs-1.5.0 (masked by: package.mask, ~x86 keyword)
# [EMAIL PROTECTED]
# lotsa things in the tree don't compile with 1.5 yet
# 1.5 defaults too -target 1.5 making downgrading to a 1.4(/1.3)
# impossible, see bug 65937 for more information/discussion


For more information, see MASKED PACKAGES section in the emerge man page or
section 2.2 Software Availability in the Gentoo Handbook.
!!!(dependency required by dev-java/sun-jdk-1.5.0.03 [ebuild])


-- 
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Java java java, I miss my java

2005-06-13 Thread Kevin O'Gorman
As I pointed out before, I already did those.   Again, here are 'cat's
of the files,
which nevertheless do not allow an emerge:

treat 1.5-bundles # cat /etc/portage/package.keywords
app-office/gnucash quotes
dev-java/sun-jdk ~x86
dev-java/sun-jre-bin ~x86
treat 1.5-bundles # cat /etc/portage/package.unmask
=dev-java/sun-jdk-1.4.99
=dev-java/sun-sdk-docs-1.4.99
treat 1.5-bundles #  

Did I miss something?



On 6/13/05, Holly Bostick [EMAIL PROTECTED] wrote:
 Zac Medico schreef:
  Kevin O'Gorman wrote:
 
 Here's what it looks like:
 
 treat 1.5-bundles # emerge -av sun-jdk sun-sdk-docs
 
 These are the packages that I would merge, in order:
 
 Calculating dependencies -
 !!! All ebuilds that could satisfy =dev-java/java-sdk-docs-1.5.0*
 have been masked.
 !!! One of the following masked packages is required to complete your 
 request:
 - dev-java/java-sdk-docs-1.5.0 (masked by: package.mask, ~x86 keyword)
 # [EMAIL PROTECTED]
 # lotsa things in the tree don't compile with 1.5 yet
 # 1.5 defaults too -target 1.5 making downgrading to a 1.4(/1.3)
 # impossible, see bug 65937 for more information/discussion
 
 
 For more information, see MASKED PACKAGES section in the emerge man page or
 section 2.2 Software Availability in the Gentoo Handbook.
 !!!(dependency required by dev-java/sun-jdk-1.5.0.03 [ebuild])
 
 
 
 
  They're hard masked inside /usr/portage/profiles/package.mask.  For the 
  full story see http://bugs.gentoo.org/show_bug.cgi?id=65937.
 
  Short story:
 
  echo =dev-java/sun-jdk-1.4.99  /etc/portage/package.unmask
  echo =dev-java/java-sdk-docs-1.4.99  /etc/portage/package.unmask
  emerge sun-jdk sun-sdk-docs
 
 You also have to echo to /etc/portage/package.keywords-- both packages
 are twice-masked.
 
 So in addition to the above:
 
 echo dev-java/sun-jdk ~x86  /etc/portage/package.keywords
 echo dev-java/java-sdk-docs ~x86  /etc/portage/package.keywords
 
 You can unmask just the specific version using Zac's syntax, but you can
 just unmask this and all future versions on general principle.
 
 
  After that you may want to use java-config to set java-1.4 as the default 
  system compiler.
 
  Zac
 
 On my system, the previously-installed system default VM did not change
 when I installed a new one-- what you might want to do is change the
 *user* VM with java-config, in order to actually use the newly-installed
 one. I'm sure there's a way to set the user VM permanently, but I don't
 know what it is, and it doesn't seem to 'stick' (once I close the
 program using Java, the user VM seems to go back to the default).
 
 Holly
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 
Go back to the top: I almost always top-post
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Java java java, I miss my java

2005-06-13 Thread Kevin O'Gorman
On 6/13/05, Zac Medico [EMAIL PROTECTED] wrote:
 Kevin O'Gorman wrote:
  As I pointed out before, I already did those.   Again, here are 'cat's
  of the files,
  which nevertheless do not allow an emerge:
 
  treat 1.5-bundles # cat /etc/portage/package.keywords
  app-office/gnucash quotes
  dev-java/sun-jdk ~x86
  dev-java/sun-jre-bin ~x86
  treat 1.5-bundles # cat /etc/portage/package.unmask
 
 =dev-java/sun-jdk-1.4.99
 =dev-java/sun-sdk-docs-1.4.99
 
  treat 1.5-bundles #
 
  Did I miss something?
 
 
 echo dev-java/sun-sdk-docs ~x86  /etc/portage/package.keywords
 
 You have sun-jre-bin in there instead of sun-sdk-docs :P
 
 Zac

Thanks, I *did* miss that.  Unfortunately, it doesn't fix the problem.
Below, I try an emerge, then dump the files again.
Maybe I missed two things?

++ kevin



treat 1.5-bundles # emerge -av sun-jdk sun-sdk-docs

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

Calculating dependencies -
!!! All ebuilds that could satisfy =dev-java/java-sdk-docs-1.5.0*
have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-java/java-sdk-docs-1.5.0 (masked by: package.mask, ~x86 keyword)
# [EMAIL PROTECTED]
# lotsa things in the tree don't compile with 1.5 yet
# 1.5 defaults too -target 1.5 making downgrading to a 1.4(/1.3)
# impossible, see bug 65937 for more information/discussion


For more information, see MASKED PACKAGES section in the emerge man page or
section 2.2 Software Availability in the Gentoo Handbook.
!!!(dependency required by dev-java/sun-jdk-1.5.0.03 [ebuild])

treat 1.5-bundles # cat /etc/portage/package.unmask
=dev-java/sun-jdk-1.4.99
=dev-java/sun-sdk-docs-1.4.99
treat 1.5-bundles # cat /etc/portage/package.keywords
app-office/gnucash quotes
dev-java/sun-jdk ~x86
dev-java/sun-jre-bin ~x86
dev-java/sun-sdk-docs ~x86
treat 1.5-bundles #  

-- 
Go back to the top: I almost always top-post
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Emerge suddenly blocked

2005-06-07 Thread Kevin O'Gorman
On 6/7/05, Robert Crawford [EMAIL PROTECTED] wrote:
 On Tuesday 07 June 2005 12:24 pm, Kevin O'Gorman wrote:
  This morning I can no longer emerge world.  It says (in part)
 
   treat root # emerge -aDvu world  etc-update
  
   These are the packages that I would merge, in order:
  
   Calculating world dependencies ...done!
   [blocks B ] =x11-themes/gnome-themes-2.8.2 (is blocking
   x11-themes/gtk-engines-2.6.3)
 
  and later
 
   Total size of downloads: 45,079 kB
  
   !!! Error: The above package list contains packages which cannot be
   installed !!!on the same system.
  
   treat root #
 
  Now since my package.mask and package.keywords are both empty, I don't
  think it's anything I did.  How can I get this working again, or is this a
  momentary glitch
  that will go away by itself?
 
  ++ kevin
 
 Remove the blocking package (emerge -C =(the blocking package), then do emerge
 -aDvu world again. This is a very common procedure. Afterwards, if needed,
 remerge the package you unmerged. Sometimes an updated package for the one
 you removed shows up in the list AFTER the blocked package is emerged.
 
 I'd question doing the  etc-update, as if it runs etc-update automatically
 with the -5 option, you might be screwed. I always back up my entire /etc
 directory (at the very least) before a major emerge system or world. Then I
 always go through etc-update manually. If you know what to look for, and
 don't blindly update files that don't need it, it doesn't take that long.
 
 Robert Crawford
 --
 gentoo-user@gentoo.org mailing list
 
 

Thanks.  I'll try it this way; I've not had to deal with this before.

Not to fear.  This is not in a script, it's in the console.  It's just
a way to make
sure I don't *forget* to do etc-update.  This way, when it's all done
and I finally
go back to the desktop where it was happening, it's sitting there reminding me
to play with my config files again.

I'm a disorganized person in general, but I cope by having procedures with
the important reminders in place.

++ kevin

-- 
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Python kerflooie = portage kaboom; need help or advice

2005-05-27 Thread Kevin O'Gorman
Nevermind.  It seems to have fixed itself.  I have no idea how, because
I did not emerge anything and I did not reboot or restart anything.  Go figure.

++ kevin

On 5/26/05, Kevin O'Gorman [EMAIL PROTECTED] wrote:
 I think the portage here just died of a python bite.  Skipping to the
 bottom line,
 Python is complaining there's no package named path.  However, I can
 import os.path which is what I usually do.  So I'm not sure what's actually
 broken, or how to fix it.
 
 Help please?  I've put some brief details below.
 
 ++ kevin
 
 I did my usual
 emerge -aDvu world
 and there was nothing to do, so I said no, and expected a prompt.  Nope.
 I hit control-C and got the following:
 
  Nothing to merge; do you want me to auto-clean packages? [Yes/No] no
 
  Quitting.
 
 
 
  treat root # !!! global name 'portageexit' is not defined in //etc/make.conf
  !!! Incorrect multiline literals can cause this. Do not use them.
 
  treat root #
 
 I didn't (and still don't) know what that really means.  I didn't
 worry about it too much.
 But later, I went to do the same command, and it died almost
 immediately, telling
 me that Python had bit the dust (or just bit portage).  I haven't
 explored much else
 yet.
 
  treat root #  emerge -aDvu world; etc-update
 
  These are the packages that I would merge, in order:
 
  Calculating world dependencies ...done!
 
  Total size of downloads: 0 kB
 
  Nothing to merge; do you want me to auto-clean packages? [Yes/No] no
 
  Quitting.
 
 
  treat root # 'import site' failed; use -v for traceback
 
 
  !!! Failed to complete python imports. There are internal modules for
  !!! python and failure here indicates that you have a problem with python
  !!! itself and thus portage is no able to continue processing.
 
  !!! You might consider starting python with verbose flags to see what has
  !!! gone wrong. Here is the information we got for this exception:
 No module named path
 
 
 
 
 
 --
 Go back to the top: I almost always top-post
 Kevin O'Gorman, PhD
 


-- 
Go back to the top: I almost always top-post
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



<    1   2   3   4   5   6   7   >