From mboxrd@z Thu Jan 1 00:00:00 1970 From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers) Date: Mon, 21 Jan 2013 09:59:54 -0500 Subject: [lttng-dev] Odd dependency for lttng-ust In-Reply-To: <3CA1A65C03C1A34C81BBC6272782E696987880@valcartierex01.valcartier.drdc-rddc.gc.ca> References: <3CA1A65C03C1A34C81BBC6272782E696987880@valcartierex01.valcartier.drdc-rddc.gc.ca> Message-ID: <20130121145954.GA1472@Krystal> * 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 > Gouvernement du Canada?/ Government of Canada > > > _______________________________________________ > 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