[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [lvm-devel] libcunit not found but installed [was Re: more complex example_cmdlib.c ? ]



Dne 25.11.2013 17:25, Oliver Rath napsal(a):
Hi Zdenek!

Am 25.11.2013 17:20, schrieb Zdenek Kabelac:
Dne 25.11.2013 17:16, Zdenek Kabelac napsal(a):
[..]
You need devel packages for cunit if you want to link it.

was already installed:

lvm2$ dpkg-query -l libcunit1-dev
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
          Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler:
GROSS=schlecht)
||/ Name                     Version                  Beschreibung
+++-========================-========================-================================================================
ii  libcunit1-dev            2.1-0.dfsg-9             Unit Testing
Library for C -- development files

lvm2$ dpkg-query -L libcunit1-dev
/.
/usr


Whats now?




look into    config.log  output from configure for a problem.

Seems there is no support for  pk config in  Ubuntu package like in Fedora:

i.e.:
/usr/lib64/pkgconfig/cunit.pc

---
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib64
includedir=/usr/include

Name: CUnit
Description: C Unit Testing Framework
Version: 2.1
Libs: -L${libdir} -lcunit
Cflags: -I${includedir}
---


So either write something like this for you systems - or send a patch
with enhanced detection for CUnit  for configure.in

Zdenek


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]