morgano wrote:Now, can anybody tell my why command line urpmi found it, but when i enter gtk2-devel in MCC add/remove programs, only packages with longer names shows up?
(Yes i have both dropdowns set to "all")
Bug?
Nope. gtk+2-devel is a virtual Provide, which is taken into account by urpmi. It is no package name, so you won't find it if you search for package names.
This is often a problem when novices try to compile software, and the configure script throws out errors that it needs f.ex. libfoo_bar.
Usually it boils down to searching for the basename of the package and grepping for the corresponding -devel packages (-devel packages contain source code and the libraries which you need to link against with the program you want to compile, after this is done it only needs the library packages to run) like with (for the libfoo_bar example)
- Code: Select all
urpmf -f --name foobar | grep devel
or in your particular case
- Code: Select all
urpmf -f --name gtk+2 | grep devel
Unfortunately there is no easy way to automatize this, you can only manually apply some heuristics.
Another option would be to log in configure.log files or similar, where you can sometimes see similar messages to "libfoo_bar.1.2.3.so missing."
You can search for particular file names in all currently enabled package repositories via urpmf, so
urpmf libfoo_bar.1.2.3.sowould show you in which Mageia package this file is contained, which you need can install then.
If you become familiar with compiling, then you mostly know the relevant, commonly used -devel packages that you need.
For the verbose output, this may be related to recent perl updates or something the like, and should probably be reported
so that this can either be suppressed if it's no problem or fixed in the code if this poses a problem. Anyways,
the relevant maintainer/developer should take a look at this, so please report it.