Mailinglist Archive: opensuse-buildservice (171 mails)

< Previous Next >
Re: [opensuse-buildservice] Mandriva_2008: sqlite3-devel >= 3.0 misses libsqlite3_0-devel
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Thu, 3 Sep 2009 09:14:06 +0200
  • Message-id: <200909030914.06219.adrian@xxxxxxx>
Am Donnerstag, 3. September 2009 08:32:47 schrieb Norbert Sendetzky:
Dear Build Server maintainers

A package requires SQLite3 and specifies the following required packages in
the spec file:

Requires: sqlite >= 3.0
BuildRequires: sqlite-devel >= 3.0


The build log for Mandriva_2008 installs these packages:

preinstalling libsqlite3_0...
installing libsqlite0-2.8.17-6mdv2008.0
installing libsqlite3_0-3.4.2-1mdv2008.0
installing libsqlite0-devel-2.8.17-6mdv2008.0


The configure run fails with this message:

checking sqlite3.h usability... no
checking sqlite3.h presence... no
checking for sqlite3.h... no
configure: error: sqlite3 header (sqlite3.h) not found


Seems, that the Mandriva libsqlite3_0-devel package isn't installed when
"BuildRequires" is "sqlite-devel >= 3.0".
The same is true for x86_64 architecture. There seems to be the
lib64sqlite3_0-devel package missing.
"BuildRequires sqlite-devel >= 3.0" works on all SuSE and Redhat targets.

indeed, that package provides only sqlite3-devel. sqlite-devel is always
sqlite 2 on Mandriva.

So you need to do something like

%if 0%{?mandriva_version}
BuildRequires: sqlite3-devel
%else
BuildRequires: sqlite-devel
%endif

in your spec file.
--

Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@xxxxxxx

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References