From: Zdenek Kabelac <zkabelac@redhat.com>
To: lvm-devel@redhat.com
Subject: libcunit not found but installed [was Re: more complex example_cmdlib.c ? ]
Date: Mon, 25 Nov 2013 17:20:51 +0100 [thread overview]
Message-ID: <529378E3.10603@redhat.com> (raw)
In-Reply-To: <529377F8.9090905@redhat.com>
Dne 25.11.2013 17:16, Zdenek Kabelac napsal(a):
> Dne 25.11.2013 16:41, Oliver Rath napsal(a):
>> Hi Zdenek!
>>
>> Am 25.11.2013 16:11, schrieb Zdenek Kabelac:
>>> [..] Maybe look at test subdir - there are some API tests and
>>> also some python scripts which are trying to exercise some
>>> supported pieces.
>>
>> I tried to install lvm with --enable-testing , but the needed cunit
>> seems not to be found on my ubuntu 12.04.3 System:
>>
>> lvm2# dpkg-query -l libcunit1
>> 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 2.1-0.dfsg-9 Unit Testing
>> Library for C
>>
>> lvm2# dpkg-query -L libcunit1
>> /.
>> /usr
>> /usr/share
>> /usr/share/doc
>> /usr/share/doc/libcunit1
>> /usr/share/doc/libcunit1/changelog.gz
>> /usr/share/doc/libcunit1/copyright
>> /usr/share/doc/libcunit1/changelog.Debian.gz
>> /usr/share/CUnit
>> /usr/share/CUnit/CUnit-List.dtd
>> /usr/share/CUnit/CUnit-List.xsl
>> /usr/share/CUnit/CUnit-Run.dtd
>> /usr/share/CUnit/CUnit-Run.xsl
>> /usr/share/CUnit/Memory-Dump.dtd
>> /usr/share/CUnit/Memory-Dump.xsl
>> /usr/lib
>> /usr/lib/libcunit.so.1.0.1
>> /usr/lib/libcunit.so.1
>>
>>
>> lvm2# ./configure --with-thin=internal --with-replicators=internal
>> --enable-udev_sync --enable-udev_rules --enable-python_bindings
>> --enable-applib --enable-cmdlib --enable-testing
>>
>> [..]
>>
>> checking pkg-config is at least version 0.9.0... yes
>> checking for PKGCONFIGINIT... no
>> pkg-config initialized
>> checking for CUNIT... no
>> configure: error: Package requirements (cunit >= 2.0) were not met:
>>
>> No package 'cunit' found
>>
>> Consider adjusting the PKG_CONFIG_PATH environment variable if you
>> installed software in a non-standard prefix.
>>
>> Alternatively, you may set the environment variables CUNIT_CFLAGS
>> and CUNIT_LIBS to avoid the need to call pkg-config.
>> See the pkg-config man page for more details.
>>
>>
>> What is going wrong here? TFH!
>>
>>
>
> Google:
>
> https://launchpad.net/ubuntu/+source/cunit
>
You need devel packages for cunit if you want to link it.
Zdenek
next prev parent reply other threads:[~2013-11-25 16:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-25 14:28 more complex example_cmdlib.c ? Oliver Rath
2013-11-25 15:11 ` Zdenek Kabelac
2013-11-25 15:41 ` libcunit not found but installed [was Re: more complex example_cmdlib.c ? ] Oliver Rath
2013-11-25 16:16 ` Zdenek Kabelac
2013-11-25 16:20 ` Zdenek Kabelac [this message]
2013-11-25 16:25 ` Oliver Rath
2013-11-25 16:28 ` Zdenek Kabelac
2013-11-25 16:30 ` Zdenek Kabelac
2013-11-25 16:59 ` SOLVED [was libcunit not found but installed ] Oliver Rath
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=529378E3.10603@redhat.com \
--to=zkabelac@redhat.com \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.