Deke Clinger wrote:
> On Thu, 13 Dec 2007, James G. Sack (jim) wrote:
> 
>> Deke Clinger wrote:
>>> yum whatprovides g++
>>> <install package(s) based on output>
>> What do you get on your system from your suggested command? I get
>> nothing on my F7.
> 
> My box is RHEL4 with yum, but would think it would work the same:
> 
> tux:~$ yum whatprovides g++
> Searching Packages: 
> Setting up Repos
> Reading repository metadata in from local files
> rhel-4-U5-: ##################################################
> 1505/1505
> Excluding Packages in global exclude list
> Finished
> Importing Additional filelist information for packages
> rhel-4-U5-: ##################################################
> 1505/1505
> 
> 
> perl.i386                                3:5.8.5-36.RHEL4
> rhel-4-U5-i386-a
> Matched from:
> /usr/lib/perl5/5.8.5/i386-linux-thread-multi/g++
> 
> 
> gcc-c++.i386                             3.4.6-8
> rhel-4-U5-i386-a
> Matched from:
> /usr/bin/i386-redhat-linux-g++
> /usr/bin/g++
> /usr/bin/i386-redhat-linux-g++
> /usr/bin/g++
> ...
> <snip>
> 
> Are you missing some repos maybe?
> 
> -Deke
> 
>

Nope. I think we are just re-describing the very problem that RS is
struggling with. The configure file expects "whatprovides" that are
named different to the names my system  "provides"

yum whatprovides g++
"""
Loading "fastestmirror" plugin
Loading "skip-broken" plugin
Loading mirror speeds from cached hostfile
No Matches found
"""

rpm -qa gcc*
"""
gcc-gfortran-4.1.2-27.fc7
gcc-java-4.1.2-27.fc7
gcc-c++-4.1.2-27.fc7
gcc-4.1.2-27.fc7
"""

rpm -q --provides 'gcc-c++'
"""
gcc-c++ = 4.1.2-27.fc7
"""

You see, nothing I have provides g++.

Regards,
..jim


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to