Hello
I have in aop.spec
BuildRequires: ncurses-devel
https://build.opensuse.org/package/show/home:nemysis/aop
All good build for openSUSE_13.2, openSUSE_Factory and openSUSE_Tumbleweed
And not find ncurses for older Versions.
How to fix this?
On Wed 02 Dec 2015 07:11:10 PM CST, Rusmir Duško wrote:
Hello
I have in aop.spec
BuildRequires: ncurses-devel
https://build.opensuse.org/package/show/home:nemysis/aop
All good build for openSUSE_13.2, openSUSE_Factory and openSUSE_Tumbleweed
And not find ncurses for older Versions.
How to fix this?
Hi Your patch uses pkgconfig, the versions for SLE12, 13.1 and SLE 11 SP3 don't have a ncurses.pc file....
Hello,
On Wed, 02 Dec 2015, Malcolm wrote:
On Wed 02 Dec 2015 07:11:10 PM CST, Rusmir Duško wrote:
I have in aop.spec
[..]
And not find ncurses for older Versions.
Your patch uses pkgconfig, the versions for SLE12, 13.1 and SLE 11 SP3 don't have a ncurses.pc file....
NB: additionally there's a nice little "asneeded" linking problem too, if you don't cater for it ;) But I guess I found it, the export SUSE_ASNEEDED comment in my submitted spec is a relic from debugging that ;)
-dnh
Hello,
On Wed, 02 Dec 2015, Rusmir Duško wrote:
I have in aop.spec
BuildRequires: ncurses-devel
https://build.opensuse.org/package/show/home:nemysis/aop
All good build for openSUSE_13.2, openSUSE_Factory and openSUSE_Tumbleweed
And not find ncurses for older Versions.
How to fix this?
Use 'ncurses[56]{,w}-config [--cflags|--libs]' to set your CFLAGS/LIBS, those older packages did not use pkgconfig, and also, you got a problem with the asneeded linking flag. First of all though, you should have read these lines:
==== [ 55s] Package ncurses was not found in the pkg-config search path. [ 55s] Perhaps you should add the directory containing `ncurses.pc' [ 55s] to the PKG_CONFIG_PATH environment variable ====
Anyway, you got a submit-request.
https://build.opensuse.org/request/show/347232
Study it carefully, to learn, I'm not reading this list much anymore (and am mostly "gone away" from Suse, but feel free to mail me via PM if you need help understanding my SR.).
Ooops, darn, I wanted to sed PREFIX to /usr/local and and use PREFIX=/usr in the spec. Oh, whatever ;)
-dnh
buildservice@lists.opensuse.org