[lttng-dev] Odd dependency for lttng-ust

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Mon Jan 21 09:59:54 EST 2013


* Thibault, Daniel (Daniel.Thibault at drdc-rddc.gc.ca) wrote:
> I'm starting from a clean Ubuntu 12.04 installation after adding the various prerequisites of the git.lttng.org LTTng 2 packages:
> 
> LTTng 2 Packages (in the proper dependency order):
> 
> lttng-modules (2.1.0+-c6403de)
> userspace-rcu (0.7.6-da9bed2)
> lttng-ust (2.1.0+-340f776)
> lttng-tools (2.1.1+-281047b)
> 
> Prerequisites installed:
> 
> automake
> binutils-gold
> bison
> flex
> libpopt-dev
> libtool
> libuuid1
> python-dev
> swig2.0
> kernel's headers (i.e. linux-headers-generic)
> texinfo
> g++
> 
> After making and installing lttng-modules and userspace-rcu successfully, lttng-ust's configure fails with:
> 
> checking for _cds_lfht_new in -lurcu-cds... no
> configure: error: Cannot find
> liburcu-cds lib, part of Userspace RCU 0.7 or better.
> 
> This occurs even though userspace-rcu installed
> /usr/local/lib/liburcu-cds.  It seems I must install liburcu-dev from
> the LTTng PPA (because the current Ubuntu liburcu-dev is 0.6.7 while
> lttng-ust requires 0.7 or better) before I can configure lttng-ust
> properly.  This is a weird bootstrapping problem: could the
> userspace-rcu package's install be incomplete?

Quoting the lttng-tools README file:

"    - liburcu
      Userspace RCU library, by Mathieu Desnoyers and Paul E. McKenney

      -> Tested with liburcu >= v0.7.2"

Therefore you need to install Userspace RCU 0.7.2 or later.

A dependency is not only on a package, but also on a range of versions.

Thanks,

Mathieu


> 
> Daniel U. Thibault
> R & D pour la défense Canada - Valcartier (RDDC Valcartier) / Defence R&D Canada - Valcartier (DRDC Valcartier)
> Cyber sécurité pour les missions essentielles (CME) / Mission Critical Cyber Security (MCCS)
> Protection des systèmes et contremesures (PSC) / Systems Protection & Countermeasures (SPC)
> 2459 route de la Bravoure
> Québec, QC  G3J 1X5
> CANADA
> Vox : (418) 844-4000 x4245
> Fax : (418) 844-4538
> NAC : 918V QSDJ <http://www.travelgis.com/map.asp?addr=918V%20QSDJ>
> Gouvernement du Canada / Government of Canada
> <http://www.valcartier.drdc-rddc.gc.ca/>
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list