Gareth Hastings wrote:
Did the package you tried to re-emerge actually use any of the USE
flags
you changed? The most common use for --newuse is emerge --newuse
(--update) world, to re-emerge all packages that use the new flags.

Yes it did or at least I'm sure it should! Is there anyway to find out?



emerge -pv php.

The -v stands for "verbose" and will list the USE flags for the package, as well as indicating their status (enabled or disabled). The -p is of course "pretend", so you don't have to actually do the emerge before making any adjustments you might want.


I was re-emerging PHP and mod_php with the use flag mssql.

I checked afterwards with

# equery uses php

[ Searching for packages matching php... ]
[ Colour Code : set unset ]
[ Legend    : Left column  (U) - USE flags from make.conf              ]
[           : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for dev-php/php-4.3.10 ]
 U I
+ + mssql       : Adds support for Microsoft SQL Server database

The mssql bit shows up red.

If there's a + in both the use flags from make.conf, and in the use flags the package was installed with, then naturally --newuse wouldn't have done anything, because the flag hasn't changed (equery indicates that the package was already installed with mssql support).



But if I do a phpinfo(); it shows me the configure statement had '--without-mssql' in it.

So maybe php is unaffected by the use flag mssql?

It should be affected; I just looked at the eclass that the ebuild inherits and mssql is certainly there. I wonder if some more fundamental aspect of mssql is not present for this to be happening. But don't take my word for it; I know nothing about php or any form of SQL. It just seems like something else must be broken for this to have happened to you.


I don't use equery so much that I know what its color scheme is supposed to mean, but my guess is that equery is saying something similar-- the support was compiled, but isn't working for some reason (maybe mssql support was not *successfully* compiled, though the application as a whole was).

Holly

--
[email protected] mailing list



Reply via email to