[opensuse-buildservice] Mandriva_2008: sqlite3-devel >= 3.0 misses libsqlite3_0-devel
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. Thanks Norbert -- OpenPGP public key http://www.linuxnetworks.de/norbert.pubkey.asc
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@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Thu September 3 2009 09:14:06 you wrote:
So you need to do something like
%if 0%{?mandriva_version} BuildRequires: sqlite3-devel %else BuildRequires: sqlite-devel %endif
in your spec file.
Thanks, that helped. Norbert -- OpenPGP public key http://www.linuxnetworks.de/norbert.pubkey.asc
participants (2)
-
Adrian Schröter
-
Norbert Sendetzky