[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse-packaging
Subject:    Re: [opensuse-packaging] perl-Gnome2-Wnck / perl-Gtk2-Uniqueq
From:       Dimstar / Dominique Leuenberger <dimstar () opensuse ! org>
Date:       2011-05-29 13:33:38
Message-ID: 1306676019.2580.5.camel () 3120-3560 ! ams ! tmf-group ! com
[Download RAW message or body]

On Sun, 2011-05-29 at 15:07 +0200, Sascha Manns wrote:

> Now i have the old error:
> Package libwnck-1.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `libwnck-1.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'libwnck-1.0' found
>  at Makefile.PL line 46
> *** can not find package libwnck-1.0 >= 2.20.0
> *** check that it is properly installed and available in PKG_CONFIG_PATH
>  at Makefile.PL line 46
> 
> Maybe i have to patch the Makefile?

The point there is that configure is looking for a package libwnck-1.0
So you actually want to BuildRequire: pkgconfig(libwnck-1.0).

If you offer the package libwcnk-3.0, you will have to adapt the package
to the new library version.

Using pkgconfig() style buildRequires helps you out of the misery to
care about how a package is actually named; renamed -devel packages are
just not a problem anymore.

And in plus, configure always tells you what it's missing, in your case:
*** can not find package libwnck-1.0 >= 2.20.0

Hth,
Dominique

-- 
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-packaging+help@opensuse.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic