Mailinglist Archive: opensuse-buildservice (175 mails)
| < Previous | Next > |
Re: [opensuse-buildservice] Installing on Mandriva via OBS repo
- From: Rüdiger Meier <sweet_f_a@xxxxxx>
- Date: Wed, 19 Oct 2011 09:33:21 +0200
- Message-id: <201110190933.21218.sweet_f_a@gmx.de>
On Wednesday 19 October 2011, alexander barakin wrote:
Try something like this
if ! pkg-config --libs rpms &>/dev/null ;then
export rpm_LIBS="-lrpm -lrpmio";
fi
%configure ...
(in doubt see configure --help whether rpm_LIBS is supported)
or you could ship such rpm.pc with your rpm sources and set
PKG_CONFIG_PATH="." before configure.
cu,
Rudi
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx
i understand that rpm-devel package from sle11 does not contain
/usr/lib/pkgconfig/rpm.pc and therefore command "pkg-config --libs
rpm" failes·
in what package can be this file?
or how else can i get LDFLAGS for rpm in sle11?
jfyi: in opensuse.11.4 and opensuse.factory command "pkg-config
--libs rpm" returns "-lrpm -lrpmio"
Try something like this
if ! pkg-config --libs rpms &>/dev/null ;then
export rpm_LIBS="-lrpm -lrpmio";
fi
%configure ...
(in doubt see configure --help whether rpm_LIBS is supported)
or you could ship such rpm.pc with your rpm sources and set
PKG_CONFIG_PATH="." before configure.
cu,
Rudi
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx
| < Previous | Next > |