[gentoo-user] depend/use problet

2003-08-26 Thread Mike Williams
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Allo all,

Since installing mythtv on my desktop I have come across a possibly fairly 
major defect with portage.
The mythtv ebuild depends on, among other things, QT (should also depend on 
mysql, but that's another matter).
If the ebuild did depend on mysql *before* QT on a system without QT already 
installed I believe there would be no problem.

My desktop already had QT installed, and no mysql. So QT didn't have mysql 
support, which mythbackend and some of the other tools it seems require.
I imagine some of you are now seeing the problem.

Obviously QT needs to have mysql installed before it's built to enable it's 
support, simply adding a dependancy to mysql before QT (in mythtv for 
example) will have no effect on QT if it's already installed.
The current state of dependancies, as I understand them, have no way to know 
the USE flag settings those dependancies were built with.

For those developers/gurus among us, is this even a remote possibility?

Cheers

- -- 
Mike Williams
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/SqaIInuLMrk7bIwRAlHNAJwP7+GFUfqsdtE/QBudBiMjs/30TgCglf2+
4JYT3OOOqXXXy8LVMkVlaVA=
=hm9O
-END PGP SIGNATURE-

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] depend/use problet

2003-08-26 Thread Jason Stubbs
On Tuesday 26 August 2003 09:15, Mike Williams wrote:
 My desktop already had QT installed, and no mysql. So QT didn't have mysql
 support, which mythbackend and some of the other tools it seems require.
 I imagine some of you are now seeing the problem.

That is a definate problem if I understand you correctly, Basically what you 
are saying is that mythtv *requires* both QT and mysql and *requires* mysql 
support in QT but mysql support in QT is *optional*. Is that correct? To 
further add to the problem, even if QT wasn't installed prior to mysql it 
still would not be built with mysql support because it is not in the USE 
flags. Well spotted!

Sounds like another deficiency of the blanket USE flags system. Any devs care 
to comment?

Jason

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] depend/use problet

2003-08-26 Thread Mike Williams
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 26 August 2003 01:38, Jason Stubbs wrote:
 On Tuesday 26 August 2003 09:15, Mike Williams wrote:
  My desktop already had QT installed, and no mysql. So QT didn't have
  mysql support, which mythbackend and some of the other tools it seems
  require. I imagine some of you are now seeing the problem.

 That is a definate problem if I understand you correctly, Basically what
 you are saying is that mythtv *requires* both QT and mysql and *requires*
 mysql support in QT but mysql support in QT is *optional*. Is that correct?
 To further add to the problem, even if QT wasn't installed prior to mysql
 it still would not be built with mysql support because it is not in the USE
 flags. Well spotted!

That is correct.
While I was writing and QT was recompiling I did a separate manual configure 
of QT using the basic configure string from the ebuild, sans any USE optional 
flags. It picked up the mysql client library, but not the header files (the 
mysql USE flag has to add another include path, /usr/include/mysql).
So I imagine you are correct again, mysql would need to be in USE as well.

 Sounds like another deficiency of the blanket USE flags system. Any devs
 care to comment?

 Jason

- -- 
Mike Williams
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/SrBbInuLMrk7bIwRAluCAJ4tZX9NPpwFaX5/Izn+raTrzMGnCgCgjEsb
ADalGtFIxpnpiNZDePKUGl0=
=eA8E
-END PGP SIGNATURE-

--
[EMAIL PROTECTED] mailing list