[gentoo-user] Re: Why so many duplicate entries in K menu?

2009-08-27 Thread Francesco Talamona
On Wednesday 26 August 2009, Dirk Heinrichs wrote:
 Am Mittwoch 26 August 2009 20:21:27 schrieb Nikos Chantziaras:
  On 08/26/2009 09:04 PM, Dirk Heinrichs wrote:
   Hi all,
  
   the subject says it all: I've got multiple multiple duplicate
   entries in KDE's (4.3.0) K menu. Any idea how to get rid of them?
   Google doesn't give a definitive answer :(
 
  Looks like you have KDE3 installed too?

 Nope. It's gone since a long time now.

 Bye...

   Dirk

I'd check for a .kde3.5 leftover folder in user home.

Ciao
Francesco

-- 
Linux Version 2.6.30-gentoo-r5, Compiled #1 SMP PREEMPT Sat Aug 15 
09:51:20 CEST 2009
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4019.06 Bogomips Total
aemaeth




[gentoo-user] How to set udev rule?

2009-08-27 Thread Song Zhiwei
Hi all,

I complied a driver esdcan_usb331.so. I'd like use udev to create
character devices /dev/can0 and /dev/can1 with major 50 and minor 0/1
for the driver. How to write the udev rule for it?

The dmesg is:
esd CAN driver: CAN_USB331
esd CAN driver: baudrate not set
esd CAN driver: mode = 0x, major = 50, verbose = 0x0001
esd CAN driver: version 3.8.3 06:03:32 Aug 24 2009: successfully loaded
usbcore: registered new interface driver CAN_USB331



Re: [gentoo-user][awesome] where can i find a default rc.lua

2009-08-27 Thread Xi Shen
thanks you guys ;)

to Gladly:
what is the 'qlist' tool? a file index tool?


On Thu, Aug 27, 2009 at 1:24 AM, Marc Jolietmar...@gmx.de wrote:
 Am Wed, 26 Aug 2009 18:35:28 +0800
 schrieb Xi Shen davidshe...@googlemail.com:

 Hi,

 i am new to awesome, after i have successfully emerged
 awesome-3.2.1-r3, and started the X, i cannot find the default rc.lua.
 i tried right-clicking on the blank area and choose 'awesome'-'edit
 config', but it gives me a file with nothing; actually, the file which
 the editor trying to open '/root/.config/awesome/rc.lua' does not
 exist at all.

 please point me to the right direction.

 Gladly:

 mar...@marcec ~ % qlist awesome | grep rc.lua
 /etc/xdg/awesome/rc.lua

 HTH
 --
 Marc Joliet
 --
 Lt. Frank Drebin: It's true what they say: cops and women don't mix. Like
 eating a spoonful of Drāno; sure, it'll clean you out, but it'll leave you
 hollow inside.




-- 
Best Regards,
David Shen

http://twitter.com/davidshen84



Re: [gentoo-user][awesome] where can i find a default rc.lua

2009-08-27 Thread Dale
Xi Shen wrote:
 thanks you guys ;)

 to Gladly:
 what is the 'qlist' tool? a file index tool?


   

emerge app-portage/portage-utils and then man q.  It has some helpful tools.

Dale

:-)  :-) 



[gentoo-user] Regenerating package db

2009-08-27 Thread Xavier Parizet
Hi everyone,

I had some problem with /var/db/pkg : it's empty. So, how can i fix this without
rebuilding world and system from scratch ?

Thanks a lot for your help.

-- 
  Xavier Parizet
YaGB :   http://gentooist.com
GPG  :DC81 6FEE 6EBE FCE4
1C18 202F E575 4A5D 036D 1408





Re: [gentoo-user] Regenerating package db

2009-08-27 Thread Dale
Xavier Parizet wrote:
 Hi everyone,

 I had some problem with /var/db/pkg : it's empty. So, how can i fix this 
 without
 rebuilding world and system from scratch ?

 Thanks a lot for your help.

   

I'm not sure but does emerge --metadata do this?  You may want to man
emerge and see if anything else can do what you want to.

Dale

:-)  :-) 



Re: [gentoo-user] Regenerating package db

2009-08-27 Thread Xavier Parizet
Dale a écrit :
 Xavier Parizet wrote:
 Hi everyone,

 I had some problem with /var/db/pkg : it's empty. So, how can i fix this 
 without
 rebuilding world and system from scratch ?

 Thanks a lot for your help.

   
 
 I'm not sure but does emerge --metadata do this?  You may want to man
 emerge and see if anything else can do what you want to.

Emerge --metadata is just updating the portage cache from the /var/db/pkg to
speedup dependencies calculation... I was thinking about doing an emerge
--pretend --empty world with some kind of sed/awk to get a list of what would
normally be installed on my system, but circular dependencies kill the idea in
the egg... because actually, portage think that nothing is installed on my 
system...

Any other idea ?

 Dale
 
 :-)  :-) 
 

-- 
  Xavier Parizet
YaGB :   http://gentooist.com
GPG  :C7DC B10E FC21 63BE
B453 D239 F6E6 DF65 1569 91BF




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Regenerating package db

2009-08-27 Thread Dale
Xavier Parizet wrote:
 Dale a écrit :
   
 Xavier Parizet wrote:
 
 Hi everyone,

 I had some problem with /var/db/pkg : it's empty. So, how can i fix this 
 without
 rebuilding world and system from scratch ?

 Thanks a lot for your help.

   
   
 I'm not sure but does emerge --metadata do this?  You may want to man
 emerge and see if anything else can do what you want to.
 

 Emerge --metadata is just updating the portage cache from the /var/db/pkg to
 speedup dependencies calculation... I was thinking about doing an emerge
 --pretend --empty world with some kind of sed/awk to get a list of what would
 normally be installed on my system, but circular dependencies kill the idea in
 the egg... because actually, portage think that nothing is installed on my 
 system...

 Any other idea ?

   
 Dale

 :-)  :-) 

 

I don't but I'd wait until some other guru that has ran into this
problem comes along with a fix or advice on something to try.

What happened anyway?  Get a little happy with rm -rf or something?

Dale

:-)  :-)



Re: [gentoo-user] Regenerating package db

2009-08-27 Thread Xavier Parizet
Dale a écrit :
 Xavier Parizet wrote:
 Dale a écrit :
   
 Xavier Parizet wrote:
 
 Hi everyone,

 I had some problem with /var/db/pkg : it's empty. So, how can i fix this 
 without
 rebuilding world and system from scratch ?

 Thanks a lot for your help.

 I'm not sure but does emerge --metadata do this?  You may want to man
 emerge and see if anything else can do what you want to.
 
 Emerge --metadata is just updating the portage cache from the /var/db/pkg to
 speedup dependencies calculation... I was thinking about doing an emerge
 --pretend --empty world with some kind of sed/awk to get a list of what would
 normally be installed on my system, but circular dependencies kill the idea 
 in
 the egg... because actually, portage think that nothing is installed on my 
 system...

 Any other idea ?

 I don't but I'd wait until some other guru that has ran into this
 problem comes along with a fix or advice on something to try.
 
 What happened anyway?  Get a little happy with rm -rf or something?

I was trying to write a script that speedup portage putting those kind of
cache/dependencies/databases into memory, then to sync them on disk from time to
times... it worked until i crash my system, without recovering the db...

 Dale
 
 :-)  :-)

-- 
  Xavier Parizet
YaGB :   http://gentooist.com
GPG  :C7DC B10E FC21 63BE
B453 D239 F6E6 DF65 1569 91BF




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] How to set udev rule?

2009-08-27 Thread KH
Song Zhiwei schrieb:
 Hi all,
 
 I complied a driver esdcan_usb331.so. I'd like use udev to create
 character devices /dev/can0 and /dev/can1 with major 50 and minor 0/1
 for the driver. How to write the udev rule for it?
 
 The dmesg is:
 esd CAN driver: CAN_USB331
 esd CAN driver: baudrate not set
 esd CAN driver: mode = 0x, major = 50, verbose = 0x0001
 esd CAN driver: version 3.8.3 06:03:32 Aug 24 2009: successfully loaded
 usbcore: registered new interface driver CAN_USB331
 

Hi,

there are two good guides for this:

http://www.gentoo.org/doc/en/udev-guide.xml
http://www.reactivated.net/writing_udev_rules.html

Regards kh



Re: [gentoo-user] Regenerating package db

2009-08-27 Thread Dale
Xavier Parizet wrote:
 Dale a écrit :
   

 I don't but I'd wait until some other guru that has ran into this
 problem comes along with a fix or advice on something to try.

 What happened anyway?  Get a little happy with rm -rf or something?
 

 I was trying to write a script that speedup portage putting those kind of
 cache/dependencies/databases into memory, then to sync them on disk from time 
 to
 times... it worked until i crash my system, without recovering the db...

   
 Dale

 :-)  :-)
 

   

Well that sucked.  :-(  Do you have buildpkg or something of that nature
in make.conf?  I wonder if a emerge -k or -K would help with this?  I
have never ran into this before so I'm clueless. 

Dale

:-)  :-) 



Re: [gentoo-user] Regenerating package db

2009-08-27 Thread Alan McKinnon
On Thursday 27 August 2009 11:07:24 Xavier Parizet wrote:
 Hi everyone,

 I had some problem with /var/db/pkg : it's empty. So, how can i fix this
 without rebuilding world and system from scratch ?

You need to rebuild world from scratch :-)

Portage has now no way of knowing what you had. If emerge world does not work 
for some reason, you will have to:

1. download a recent suitable stage tarball
2. Back up everything that tarball might want to overwrite
3. Unpack that tarball to /
4. Put critical files back that the stage overwrote
5. emerge world

You might also want to do all this in a chroot off a LiveCD

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Regenerating package db

2009-08-27 Thread Xavier Parizet
Dale a écrit :
 Xavier Parizet wrote:
 Dale a écrit :
   
 I don't but I'd wait until some other guru that has ran into this
 problem comes along with a fix or advice on something to try.

 What happened anyway?  Get a little happy with rm -rf or something?
 
 I was trying to write a script that speedup portage putting those kind of
 cache/dependencies/databases into memory, then to sync them on disk from 
 time to
 times... it worked until i crash my system, without recovering the db...

 
 Well that sucked.  :-(  Do you have buildpkg or something of that nature
 in make.conf?  I wonder if a emerge -k or -K would help with this?  I
 have never ran into this before so I'm clueless. 
 

As you said, that sucked ! And i've no buildpkg in my features :-( So i think
i'll will have to rebuild world from scratch... on a C2D 2GHz which heats up so
much that the processur is slowing to 800MHz when getting to hot... let's say,
around 2 days full :-(

Maybe another idea without going into such a pain ?

-- 
  Xavier Parizet
YaGB :   http://gentooist.com
GPG  :C7DC B10E FC21 63BE
B453 D239 F6E6 DF65 1569 91BF




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Regenerating package db

2009-08-27 Thread Xavier Parizet
Alan McKinnon a écrit :
 On Thursday 27 August 2009 11:07:24 Xavier Parizet wrote:
 Hi everyone,

 I had some problem with /var/db/pkg : it's empty. So, how can i fix this
 without rebuilding world and system from scratch ?
 
 You need to rebuild world from scratch :-)
 
 Portage has now no way of knowing what you had. If emerge world does not work 
 for some reason, you will have to:
 
 1. download a recent suitable stage tarball
 2. Back up everything that tarball might want to overwrite
 3. Unpack that tarball to /
 4. Put critical files back that the stage overwrote
 5. emerge world
 
 You might also want to do all this in a chroot off a LiveCD
 

I think this would be the last option of course... it will take me 2 days to
rebuild my world (i had already done this one week ago...)

So thanks for your solution, i'll keep it under my hand ;)

-- 
  Xavier Parizet
YaGB :   http://gentooist.com
GPG  :C7DC B10E FC21 63BE
B453 D239 F6E6 DF65 1569 91BF




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Regenerating package db

2009-08-27 Thread Mickaël Bucas
2009/8/27 Alan McKinnon alan.mckin...@gmail.com

 On Thursday 27 August 2009 11:07:24 Xavier Parizet wrote:
  Hi everyone,
 
  I had some problem with /var/db/pkg : it's empty. So, how can i fix this
  without rebuilding world and system from scratch ?

 You need to rebuild world from scratch :-)

 Portage has now no way of knowing what you had. If emerge world does not
 work
 for some reason, you will have to:

 1. download a recent suitable stage tarball
 2. Back up everything that tarball might want to overwrite
 3. Unpack that tarball to /
 4. Put critical files back that the stage overwrote
 5. emerge world

 You might also want to do all this in a chroot off a LiveCD

 --
 alan dot mckinnon at gmail dot com


You may find some useful informations in /var/log/emerge.log : all lines
containing ::: show a succesful emerge.

If you have kept the contents of this file since you installed your system,
you could then get the list of all packages you have installed. It would be
a start that you could cleanup afterwards. However, this will include system
packages and dependencies. And if you have uninstalled many packages (as
with any update), they would also still be present in that list.

Mickaël


Re: [gentoo-user] Regenerating package db

2009-08-27 Thread Xavier Parizet
Mickaël Bucas a écrit :

 You may find some useful informations in /var/log/emerge.log : all lines
 containing ::: show a succesful emerge.
 
 If you have kept the contents of this file since you installed your
 system, you could then get the list of all packages you have installed.
 It would be a start that you could cleanup afterwards. However, this
 will include system packages and dependencies. And if you have
 uninstalled many packages (as with any update), they would also still be
 present in that list.
 

Thanks for the tip :) Now, is it mandatory to run emerge package to get the
/var/db/pkg/package thinks, or just do something like emerge --noreplace
package will do the trick ?

-- 
  Xavier Parizet
YaGB :   http://gentooist.com
GPG  :C7DC B10E FC21 63BE
B453 D239 F6E6 DF65 1569 91BF




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] fc-cache

2009-08-27 Thread Stroller


On 25 Aug 2009, at 23:26, meino.cra...@gmx.de wrote:

...
I use Icewm and X.org as desktop environment.

Ending my work with a command like

   sudo halt

from a terminal window results in no problem at all.

But:

When I do something like:

   aunpack mysourceproject.tar.7z; cd mysourceproject; \
   ./configure  make  make install; sudo halt

switch off my monitor and go to sleep, cause this will run for an
hour, and start my box next morning again, all fonts, which are
defined via xorg.conf are displayed in a very tine shape.


Um sorry if this is a dumb question, but does the `sudo halt`  
actually run? Here that would be sitting waiting for me to enter a  
password (but your /etc/sudoers may be configured  differently).


Stroller.





Re: [gentoo-user] fc-cache

2009-08-27 Thread meino . cramer
Stroller strol...@stellar.eclipse.co.uk [09-08-27 20:28]:
 
 On 25 Aug 2009, at 23:26, meino.cra...@gmx.de wrote:
 ...
 I use Icewm and X.org as desktop environment.
 
 Ending my work with a command like
 
sudo halt
 
 from a terminal window results in no problem at all.
 
 But:
 
 When I do something like:
 
aunpack mysourceproject.tar.7z; cd mysourceproject; \
./configure  make  make install; sudo halt
 
 switch off my monitor and go to sleep, cause this will run for an
 hour, and start my box next morning again, all fonts, which are
 defined via xorg.conf are displayed in a very tine shape.
 
 Um sorry if this is a dumb question, but does the `sudo halt` 
 actually run? Here that would be sitting waiting for me to enter a 
 password (but your /etc/sudoers may be configured  differently).
 
 Stroller.
 
 

Hi

There are no dumb questions, Stroller, there are only dumb answers...
:)

You can configure /etc/sudoers to accept sudo without password and
execute a certain command via sudo with root rights or others.

On machines used by many users and or directly connected to a backbone
this may or is a security hole.

On my machine I am alone and sudoers is setup only to accept
passwordless sudos from me (my username)

The according line looks like this:
my usernameALL=(ALL)   NOPASSWD: ALL

Which means: accept any command without password compined with sudo.

This may or may not a discussable setting, though...

On the other side: A person who is able to crack my router and gain root
rights on my machine will not be stopped by sudoers-settings.
And the possibility to be able to crack a password is based on the
knowledge/tools to the attacker and the password but is not based
on the kind of user who owns it, whether it is a root password or
a users password does not matter...

Only my to photons...your light might be brighter... :o)

HTH!
Have a nice time of day you currently have ;)
Keep hacking!
mcc




-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




Re: [gentoo-user] How to set udev rule?

2009-08-27 Thread Song Zhiwei
Actually, I have read the guilds and tried, but it didnot work. So I asked here.

Two devices related with can usb were found when I used the udevadm:

#udevadm info -a -p /sys/devices/pci\:00/\:00\:0f.4/usb2/2-
2/2-2\:1.0
  looking at device '/devices/pci:00/:00:0f.4/usb2/2-2/2-2:1.0':
KERNEL==2-2:1.0
SUBSYSTEM==usb
DRIVER==CAN_USB331
ATTR{bInterfaceNumber}==00
ATTR{bAlternateSetting}== 0
ATTR{bNumEndpoints}==04
ATTR{bInterfaceClass}==00
ATTR{bInterfaceSubClass}==00
ATTR{bInterfaceProtocol}==00
ATTR{modalias}==usb:v0AB4p0001d0002dc00dsc00dp00ic00isc00ip00

  looking at parent device '/devices/pci:00/:00:0f.4/usb2/2-2':
KERNELS==2-2
SUBSYSTEMS==usb
DRIVERS==usb
ATTRS{configuration}==
ATTRS{bNumInterfaces}== 1
ATTRS{bConfigurationValue}==1
ATTRS{bmAttributes}==80
ATTRS{bMaxPower}==500mA
ATTRS{urbnum}==20
ATTRS{idVendor}==0ab4
ATTRS{idProduct}==0001
ATTRS{bcdDevice}==0002
ATTRS{bDeviceClass}==00
ATTRS{bDeviceSubClass}==00
ATTRS{bDeviceProtocol}==00
ATTRS{bNumConfigurations}==1
ATTRS{bMaxPacketSize0}==16
ATTRS{speed}==12
ATTRS{busnum}==2
ATTRS{devnum}==2
ATTRS{version}== 1.00
ATTRS{maxchild}==0
ATTRS{quirks}==0x0
ATTRS{authorized}==1
ATTRS{manufacturer}==esd-gmbh
ATTRS{product}==CAN-USB 543
ATTRS{serial}==GD001494

The module was loaded by an alias in /etc/modules.d/esdcan:
alias char-major-50 esdcan-usb331
But I cannot find the major:minor informations in the udev info above.

I tried the rules:
SUBSYSTEM==usb, DRIVER==CAN_USB331, ATTR{serial}==GD001494, NAME=can0
SUBSYSTEM==usb, DRIVER==CAN_USB331, NAME=can0
DRIVER==CAN_USB331, NAME=can0
and
SUBSYSTEM==usb, ATTR{serial}==GD001494, NAME=can%n
But any one of them does not work.

Anyone can help me?


2009/8/27 KH gentoo-u...@konstantinhansen.de:
 Song Zhiwei schrieb:
 Hi all,

 I complied a driver esdcan_usb331.so. I'd like use udev to create
 character devices /dev/can0 and /dev/can1 with major 50 and minor 0/1
 for the driver. How to write the udev rule for it?

 The dmesg is:
 esd CAN driver: CAN_USB331
 esd CAN driver: baudrate not set
 esd CAN driver: mode = 0x, major = 50, verbose = 0x0001
 esd CAN driver: version 3.8.3 06:03:32 Aug 24 2009: successfully loaded
 usbcore: registered new interface driver CAN_USB331


 Hi,

 there are two good guides for this:

 http://www.gentoo.org/doc/en/udev-guide.xml
 http://www.reactivated.net/writing_udev_rules.html

 Regards kh





[gentoo-user] mythtv dependencies

2009-08-27 Thread Neal Hogan
I posted this to getoo-media@ mut the list looks to be . . . not-active.

I'm new to gentoo and the main reason for coming to gentoo is that I
have an extra machine that I'd like to use as a DVR. Thus, I've
installed mythtv.

In general, the experience has been pleasant. However, I wonder about
two things regarding emerge and mythtv's dependencies. The first is
that mythtv failed to fully compile the first time because unzip was
not installed. Next, is once mythtv finished compiling I tried to fire
it up (mythtv-setup) and it was apparent that X was not installed.

These are not major problems, since gentoo seems to be a friendly
distro (so far) and emerging unzip and X went/is going just fine. I
just found it odd that the mythtv package didn't make sure unzip and
X were present before it was installed.

Thoughts?



Re: [gentoo-user] How to set udev rule?

2009-08-27 Thread David Relson

Don't know if the following will help, but it's a rule that I
successfully use to mount a USB memory stick:

 BUS==usb, SYSFS{manufacturer}==STECH, SYMLINK+=STECH, run+=/bin/mount 
-a



Re: [gentoo-user] mythtv dependencies

2009-08-27 Thread Brandon Vargo
On Thu, 2009-08-27 at 20:51 -0500, Neal Hogan wrote:
 I posted this to getoo-media@ mut the list looks to be . . . not-active.
 
 I'm new to gentoo and the main reason for coming to gentoo is that I
 have an extra machine that I'd like to use as a DVR. Thus, I've
 installed mythtv.

Welcome to Gentoo.

 In general, the experience has been pleasant. However, I wonder about
 two things regarding emerge and mythtv's dependencies. The first is
 that mythtv failed to fully compile the first time because unzip was
 not installed. Next, is once mythtv finished compiling I tried to fire
 it up (mythtv-setup) and it was apparent that X was not installed.

I do not know anything about the unzip issue, as I have not run into it
in the past. However, regarding the second issue, an X server is not a
strict dependency of mythtv. As a result, it is not included in the list
of dependencies. On the other hand, certain X libraries such as libX11
and libXext are included in the dependency list, as they are necessary
to compile mythtv.

As an example, I run a mythtv server on a box that lacks any form of
video output. The box sits in a corner of a basement and streams video
over the network to my main workstation. The initial mythtv setup
process was performed by forwarding the X setup application over ssh. An
X server has never been installed, as it was never needed, nor could it
be used without adding hardware. Why have mythtv require an X server if
it is not strictly needed? That is software I would have to download,
compile, and install that would never be used. It would be great if
there were a text interface to configure mythtv, so I do not need all
those pesky X libraries and Qt, but that is another issue.

Sure, the argument could be made that many people will run the mythtv
frontend on their system, so X should be installed automatically when
mythtv is emerged to make it easy. The same could be said about firefox
or mplayer. But then again, there are those people who will install full
desktops for use in a VNC session and not on an X server, or those who
want to use mplayer right on the framebuffer instead of using the normal
GUI to watch a movie. For the most part, Gentoo tends to require opt-in
of features, rather than opt-out, so everyone can get exactly what they
want out of their system without any extra bloat. That is the purpose of
the use flags. There are packages with an X use flag, but this is
usually for features that require X libraries, not an X server itself.
For example, adding the X use flag to gkrellm builds both the desktop
application and gkrellmd, the server component; omitting the X use flag
builds only gkrellmd.

So an xserver use flag could be added to every package that could
possibly use X, such as mythtv, but then I could also say a vnc use flag
should be added for every package that uses X libraries in addition to
an NX use flag in addition to an ssh-forwarding use flag in addition to
whatever else might display X applications to the user. It is much
easier to install whatever software best displays X applications for
your particular setup, rather than trying to handle it through the
dependency system and use flags, even if the majority all install
xorg-server.

Having said that, X is about the only piece of software where this is
the case. Most everything else is handled by dependencies and use flags.
I can think of a few minor exceptions, but there are not many.

 These are not major problems, since gentoo seems to be a friendly
 distro (so far) and emerging unzip and X went/is going just fine. I
 just found it odd that the mythtv package didn't make sure unzip and
 X were present before it was installed.

Submit a bug report for the unzip if it caused the build to fail. The
zip files for the mythtv ebuild are fairly new according to the
changelog.

Regards,

Brandon Vargo




Re: [gentoo-user] mythtv dependencies

2009-08-27 Thread Albert Hopkins
On Thu, 2009-08-27 at 20:51 -0500, Neal Hogan wrote:
 I posted this to getoo-media@ mut the list looks to be . . . not-active.
 
 I'm new to gentoo and the main reason for coming to gentoo is that I
 have an extra machine that I'd like to use as a DVR. Thus, I've
 installed mythtv.
 
 In general, the experience has been pleasant. However, I wonder about
 two things regarding emerge and mythtv's dependencies. The first is
 that mythtv failed to fully compile the first time because unzip was
 not installed. Next, is once mythtv finished compiling I tried to fire
 it up (mythtv-setup) and it was apparent that X was not installed.
 
 These are not major problems, since gentoo seems to be a friendly
 distro (so far) and emerging unzip and X went/is going just fine. I
 just found it odd that the mythtv package didn't make sure unzip and
 X were present before it was installed.
 
 Thoughts?
 
X is too generic of a term but I'll assume you mean X server...

Firstly, you don't need an X server to run MythTV... some people
actually have the backend running headless.  Second, you don't need an X
server locally to run X apps (for example I used to XDMCP into a
headless virtual machine running test instances of KDE.  ssh -X xapp
is another example).

As for unzip, that sounds like a possible bug.  I know I ran into that
problem with another package = bugs.gentoo.org.

-a