Package: libopenipmi-dev
Version: 2.0.7-1
Severity: important

Hi,

in order to determine if libopenipmi is installed, my software calls
 $ pkg-config --libs OpenIPMIpthread.
This fails with the following error:
-- 8< --
 Package pthread was not found in the pkg-config search path.
 Perhaps you should add the directory containing `pthread.pc'
 to the PKG_CONFIG_PATH environment variable
 Package 'pthread', required by 'OpenIPMIpthread', not found
-- >8 --

The problem isn't new: Both, version 2.0.7-1 (Etch) and version 2.0.13-1
(Lenny, Sid), have this problem.

According to `apt-file' `/usr/lib/pkgconfig/pthread.pc' is not provided
by any package.

I propose to remove `pthread' from the `Requires:' line of
`/usr/lib/pkgconfig/OpenIPMIpthread.pc' and add `-pthread' to the
`Cflags:' line instead.

I've tagged this bug `important' because
 $ pkg-config --exists OpenIPMIpthread
exits with a non-zero exit status, telling the calling process that the
library isn't installed. This renders the pthread OS handler unusable by
software that uses pkg-config to check if the library is installed. An
alternative *-config script doesn't exist.

Regards,
-octo

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-k7 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libopenipmi-dev depends on:
ii  libgdbm-dev                   1.8.3-3    GNU dbm database routines (develop
ii  libopenipmi0                  2.0.13-1   Intelligent Platform Management In

libopenipmi-dev recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to