I was trying to build an RPM today and the compilation errored out because the file glibconfig.h couldn’t be found. I managed to track it down to the package glib2-devel.
The problem is that I couldn’t find a way to do this via zypper. In Mandriva I would’ve just done ‘urpmf glibconfig.h’ and it would’ve told me that it’s provided by the package glib2-devel.
Is there equivalent functionality in zypper? (glibconfig.h is an easy pick as being related to glib, but some header file names might be more obscure for example)
This is not what I’m after as that will only find the package that a pre-existing file belongs to.
What I’m looking for is when a compiler spits out an error message that says ‘missing someheaderfile.h’ I can ask zypper which package that file comes from so that I know which package to install to solve the problem.
tk83 wrote:
> What I’m looking for is when a compiler spits out an error message that
> says ‘missing someheaderfile.h’ I can ask zypper which package that file
> comes from
as far as i know that feature is not in zypper (yet?)…
the urpmf command you used in Mandriva seems to come from a package
called URPMI which is apparently (i say after googling) the Mandriva’s
package management system…