* [lttng-dev] Odd dependency for lttng-ust
@ 2013-01-21 14:52 Thibault, Daniel
2013-01-21 14:59 ` Mathieu Desnoyers
0 siblings, 1 reply; 13+ messages in thread
From: Thibault, Daniel @ 2013-01-21 14:52 UTC (permalink / raw)
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?
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/>
^ permalink raw reply [flat|nested] 13+ messages in thread
* [lttng-dev] Odd dependency for lttng-ust
2013-01-21 14:52 [lttng-dev] Odd dependency for lttng-ust Thibault, Daniel
@ 2013-01-21 14:59 ` Mathieu Desnoyers
2013-01-21 15:24 ` Thibault, Daniel
0 siblings, 1 reply; 13+ messages in thread
From: Mathieu Desnoyers @ 2013-01-21 14:59 UTC (permalink / raw)
* 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
^ permalink raw reply [flat|nested] 13+ messages in thread
* [lttng-dev] Odd dependency for lttng-ust
2013-01-21 14:59 ` Mathieu Desnoyers
@ 2013-01-21 15:24 ` Thibault, Daniel
2013-01-21 15:29 ` Mathieu Desnoyers
0 siblings, 1 reply; 13+ messages in thread
From: Thibault, Daniel @ 2013-01-21 15:24 UTC (permalink / raw)
-----Message d'origine-----
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.
Mathieu
-----Fin du message d'origine-----
But shouldn't the userspace RCU library be installed by the userspace-rcu package? That's the gist of my puzzlement. By the time I get to lttng-ust's configure, I've installed lttng-modules and userspace-rcu. Doing an install of git.lttng.org's userspace-rcu should be equivalent to installing the liburcu-dev package from repository, no?
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/>
^ permalink raw reply [flat|nested] 13+ messages in thread
* [lttng-dev] Odd dependency for lttng-ust
2013-01-21 15:24 ` Thibault, Daniel
@ 2013-01-21 15:29 ` Mathieu Desnoyers
2013-01-21 15:44 ` Thibault, Daniel
0 siblings, 1 reply; 13+ messages in thread
From: Mathieu Desnoyers @ 2013-01-21 15:29 UTC (permalink / raw)
* Thibault, Daniel (Daniel.Thibault at drdc-rddc.gc.ca) wrote:
> -----Message d'origine-----
> 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.
>
> Mathieu
> -----Fin du message d'origine-----
>
> But shouldn't the userspace RCU library be installed by the
> userspace-rcu package? That's the gist of my puzzlement. By the
> time I get to lttng-ust's configure, I've installed lttng-modules
> and userspace-rcu. Doing an install of git.lttng.org's
> userspace-rcu should be equivalent to installing the liburcu-dev
> package from repository, no?
No. Distribution packages usually lag behind the project upstream.
Ubuntu 12.04 has been released last year, and their policy don't allow
them to update the packages within this specific distribution version.
This is why you run into trouble when you try to mix distribution
packages (from last year) with the current development head.
Don't mix packages from distributions with packages built from sources
when version dependencies don't match. All the required dependency
information is found in the README files of each project.
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/>
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* [lttng-dev] Odd dependency for lttng-ust
2013-01-21 15:29 ` Mathieu Desnoyers
@ 2013-01-21 15:44 ` Thibault, Daniel
2013-01-21 15:47 ` Mathieu Desnoyers
2013-01-21 15:53 ` David Goulet
0 siblings, 2 replies; 13+ messages in thread
From: Thibault, Daniel @ 2013-01-21 15:44 UTC (permalink / raw)
-----Message d'origine-----
De?: Mathieu Desnoyers [mailto:mathieu.desnoyers at efficios.com]
Envoy??: 21 janvier 2013 10:30
No. Distribution packages usually lag behind the project upstream.
Ubuntu 12.04 has been released last year, and their policy don't allow them to update the packages within this specific distribution version.
This is why you run into trouble when you try to mix distribution packages (from last year) with the current development head.
Don't mix packages from distributions with packages built from sources when version dependencies don't match. All the required dependency information is found in the README files of each project.
Mathieu
-----Fin du message d'origine-----
But I'm not mixing old packages with new: I tried fetching everything from git.lttng.org. The README for lttng-ust reads in part:
PREREQUISITES:
- liburcu
Userspace RCU library, by Mathieu Desnoyers and Paul E. McKenney
-> This release depends on liburcu v0.7.2
* Debian/Ubuntu package: liburcu-dev
* Website: http://lttng.org/urcu
* Releases: http://lttng.org/files/urcu
* GitWeb: http://lttng.org/cgi-bin/gitweb.cgi?p=userspace-rcu.git;a=summary
* Git: git://lttng.org/userspace-rcu.git
Doesn't this say that I can get the required liburcu from git.lttng.org's userspace-rcu? Could it be version 0.7.6 is not retro-compatible with 0.7.2 (that is to say, lttng-ust requires 0.7.2, and 0.7.2 only, not "0.7.2 or later")?
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
[Valcartier]\\vsi-wdut-o980, [Secteur-SI]\\edge
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/>
LinkedIn: <http://ca.linkedin.com/in/daniel-u-thibault/>
Research Gate: <https://www.researchgate.net/profile/Daniel_Thibault/>
^ permalink raw reply [flat|nested] 13+ messages in thread
* [lttng-dev] Odd dependency for lttng-ust
2013-01-21 15:44 ` Thibault, Daniel
@ 2013-01-21 15:47 ` Mathieu Desnoyers
2013-01-21 15:53 ` David Goulet
1 sibling, 0 replies; 13+ messages in thread
From: Mathieu Desnoyers @ 2013-01-21 15:47 UTC (permalink / raw)
* Thibault, Daniel (Daniel.Thibault at drdc-rddc.gc.ca) wrote:
> -----Message d'origine-----
> De?: Mathieu Desnoyers [mailto:mathieu.desnoyers at efficios.com]
> Envoy??: 21 janvier 2013 10:30
>
> No. Distribution packages usually lag behind the project upstream.
> Ubuntu 12.04 has been released last year, and their policy don't allow them to update the packages within this specific distribution version.
>
> This is why you run into trouble when you try to mix distribution packages (from last year) with the current development head.
>
> Don't mix packages from distributions with packages built from sources when version dependencies don't match. All the required dependency information is found in the README files of each project.
>
> Mathieu
> -----Fin du message d'origine-----
>
> But I'm not mixing old packages with new: I tried fetching everything from git.lttng.org. The README for lttng-ust reads in part:
>
> PREREQUISITES:
> - liburcu
> Userspace RCU library, by Mathieu Desnoyers and Paul E. McKenney
> -> This release depends on liburcu v0.7.2
> * Debian/Ubuntu package: liburcu-dev
> * Website: http://lttng.org/urcu
> * Releases: http://lttng.org/files/urcu
> * GitWeb: http://lttng.org/cgi-bin/gitweb.cgi?p=userspace-rcu.git;a=summary
> * Git: git://lttng.org/userspace-rcu.git
>
> Doesn't this say that I can get the required liburcu from git.lttng.org's userspace-rcu? Could it be version 0.7.6 is not retro-compatible with 0.7.2 (that is to say, lttng-ust requires 0.7.2, and 0.7.2 only, not "0.7.2 or later")?
0.7.6 should work. You might want to check the list of packages
installed by your distribution to see if an old userspace RCU package is
installed into /usr/ and overrides the one you installed within
/usr/local/.
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
> [Valcartier]\\vsi-wdut-o980, [Secteur-SI]\\edge
> 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/>
> LinkedIn: <http://ca.linkedin.com/in/daniel-u-thibault/>
> Research Gate: <https://www.researchgate.net/profile/Daniel_Thibault/>
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* [lttng-dev] Odd dependency for lttng-ust
2013-01-21 15:44 ` Thibault, Daniel
2013-01-21 15:47 ` Mathieu Desnoyers
@ 2013-01-21 15:53 ` David Goulet
2013-01-21 16:50 ` Thibault, Daniel
1 sibling, 1 reply; 13+ messages in thread
From: David Goulet @ 2013-01-21 15:53 UTC (permalink / raw)
Also, I do still forget it still today but after installing URCU and UST:
$ sudo ldconfig
:)
David
Thibault, Daniel:
> -----Message d'origine-----
> De : Mathieu Desnoyers [mailto:mathieu.desnoyers at efficios.com]
> Envoy? : 21 janvier 2013 10:30
>
> No. Distribution packages usually lag behind the project upstream.
> Ubuntu 12.04 has been released last year, and their policy don't allow them to update the packages within this specific distribution version.
>
> This is why you run into trouble when you try to mix distribution packages (from last year) with the current development head.
>
> Don't mix packages from distributions with packages built from sources when version dependencies don't match. All the required dependency information is found in the README files of each project.
>
> Mathieu
> -----Fin du message d'origine-----
>
> But I'm not mixing old packages with new: I tried fetching everything from git.lttng.org. The README for lttng-ust reads in part:
>
> PREREQUISITES:
> - liburcu
> Userspace RCU library, by Mathieu Desnoyers and Paul E. McKenney
> -> This release depends on liburcu v0.7.2
> * Debian/Ubuntu package: liburcu-dev
> * Website: http://lttng.org/urcu
> * Releases: http://lttng.org/files/urcu
> * GitWeb: http://lttng.org/cgi-bin/gitweb.cgi?p=userspace-rcu.git;a=summary
> * Git: git://lttng.org/userspace-rcu.git
>
> Doesn't this say that I can get the required liburcu from git.lttng.org's userspace-rcu? Could it be version 0.7.6 is not retro-compatible with 0.7.2 (that is to say, lttng-ust requires 0.7.2, and 0.7.2 only, not "0.7.2 or later")?
>
> 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
> [Valcartier]\\vsi-wdut-o980, [Secteur-SI]\\edge
> 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/>
> LinkedIn: <http://ca.linkedin.com/in/daniel-u-thibault/>
> Research Gate: <https://www.researchgate.net/profile/Daniel_Thibault/>
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
^ permalink raw reply [flat|nested] 13+ messages in thread
* [lttng-dev] Odd dependency for lttng-ust
2013-01-21 15:53 ` David Goulet
@ 2013-01-21 16:50 ` Thibault, Daniel
2013-01-21 17:06 ` Mathieu Desnoyers
0 siblings, 1 reply; 13+ messages in thread
From: Thibault, Daniel @ 2013-01-21 16:50 UTC (permalink / raw)
-----Message d'origine-----
De?: David Goulet [mailto:dgoulet at efficios.com]
Envoy??: 21 janvier 2013 10:53
Also, I do still forget it still today but after installing URCU and UST:
$ sudo ldconfig
David
-----Fin du message d'origine-----
But 'sudo make install' invokes 'ldconfig -n /usr/local/lib'...
Tried again, without fetching liburcu-dev from the LTTng PPA. The packages added to the basic Ubuntu 12.04 install are:
automake 1:1.11.3-1ubuntu2
binutils-gold 2.22-6ubuntu1
bison 1:2.5.dsfg-2.1
flex 2.5.35-10ubuntu3
libpopt-dev 1.16-3ubuntu1
libtool 2.4.2-1ubuntu1
libuuid1 2.20.1-1ubuntu3
python-dev 2.7.3-0ubuntu2
swig2.0 2.0.4+really2.0.4-4ubuntu2
linux-headers-3.2.0-36-virtual
texinfo 4.13a.dfsg.1-8ubuntu2
g++ 4:4.6.3-1ubuntu5
This time I did sudo ldconfig after each install (both commands had nothing to say). After making and installing lttng-modules and userspace-rcu successfully, lttng-ust's configure fails about a dozen checks earlier than the liburcu-cds check with:
checking for uuid_generate in -luuid... no
checking for uuid_create in -lc... no
configure: error: Cannot find libuuid uuid_generate nor libc uuid_create. Use LDFLAGS=-Ldir to specify their location.
Even though libuuid1 (includes libuuid-perl, uuid-dev, uuid-runtime) is installed. I need to fix this new stumbling block before we can address the liburcu-cds problem.
Logs available.
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/>
^ permalink raw reply [flat|nested] 13+ messages in thread
* [lttng-dev] Odd dependency for lttng-ust
2013-01-21 16:50 ` Thibault, Daniel
@ 2013-01-21 17:06 ` Mathieu Desnoyers
2013-01-21 17:31 ` Thibault, Daniel
0 siblings, 1 reply; 13+ messages in thread
From: Mathieu Desnoyers @ 2013-01-21 17:06 UTC (permalink / raw)
* Thibault, Daniel (Daniel.Thibault at drdc-rddc.gc.ca) wrote:
> -----Message d'origine-----
> De?: David Goulet [mailto:dgoulet at efficios.com]
> Envoy??: 21 janvier 2013 10:53
>
> Also, I do still forget it still today but after installing URCU and UST:
>
> $ sudo ldconfig
>
> David
> -----Fin du message d'origine-----
>
> But 'sudo make install' invokes 'ldconfig -n /usr/local/lib'...
>
> Tried again, without fetching liburcu-dev from the LTTng PPA. The packages added to the basic Ubuntu 12.04 install are:
>
> automake 1:1.11.3-1ubuntu2
> binutils-gold 2.22-6ubuntu1
> bison 1:2.5.dsfg-2.1
> flex 2.5.35-10ubuntu3
> libpopt-dev 1.16-3ubuntu1
> libtool 2.4.2-1ubuntu1
> libuuid1 2.20.1-1ubuntu3
> python-dev 2.7.3-0ubuntu2
> swig2.0 2.0.4+really2.0.4-4ubuntu2
> linux-headers-3.2.0-36-virtual
> texinfo 4.13a.dfsg.1-8ubuntu2
> g++ 4:4.6.3-1ubuntu5
>
> This time I did sudo ldconfig after each install (both commands had nothing to say). After making and installing lttng-modules and userspace-rcu successfully, lttng-ust's configure fails about a dozen checks earlier than the liburcu-cds check with:
>
> checking for uuid_generate in -luuid... no
> checking for uuid_create in -lc... no
> configure: error: Cannot find libuuid uuid_generate nor libc uuid_create. Use LDFLAGS=-Ldir to specify their location.
>
> Even though libuuid1 (includes libuuid-perl, uuid-dev, uuid-runtime) is installed. I need to fix this new stumbling block before we can address the liburcu-cds problem.
Please provide the complete output of:
dpkg -l
on your system. (it is rather long, please attach it to an email)
Thanks,
Mathieu
>
> Logs available.
>
> 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/>
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* [lttng-dev] Odd dependency for lttng-ust
2013-01-21 17:06 ` Mathieu Desnoyers
@ 2013-01-21 17:31 ` Thibault, Daniel
2013-01-21 18:38 ` Mathieu Desnoyers
0 siblings, 1 reply; 13+ messages in thread
From: Thibault, Daniel @ 2013-01-21 17:31 UTC (permalink / raw)
-----Message d'origine-----
De?: Mathieu Desnoyers [mailto:mathieu.desnoyers at efficios.com]
Envoy??: 21 janvier 2013 12:07
> Even though libuuid1 (includes libuuid-perl, uuid-dev, uuid-runtime) is installed. I need to fix this new stumbling block before we can address the liburcu-cds problem.
Please provide the complete output of:
dpkg -l
on your system. (it is rather long, please attach it to an email)
Mathieu
-----Fin du message d'origine-----
Concerning the uuid problem, uuid-dev had not been installed; it needs to be specified separately from libuuid1. Now lttng-ust's configure ends with:
checking for uuid_generate in -luuid... yes
checking for inline... inline
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for gettimeofday... yes
checking for munmap... yes
checking for socket... yes
checking for strerror... yes
checking for strtol... yes
checking for sched_getcpu... yes
checking for sysconf... yes
checking urcu-bp.h usability... yes
checking urcu-bp.h presence... yes
checking for urcu-bp.h... yes
checking for _cds_lfht_new in -lurcu-cds... no
configure: error: Cannot find
liburcu-cds lib, part of Userspace RCU 0.7 or better. Use LDFLAGS=-Ldir to specify its location.
dpkg -l output attached.
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/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dpkg.txt.tar.gz
Type: application/x-gzip
Size: 37333 bytes
Desc: dpkg.txt.tar.gz
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20130121/54b5a599/attachment-0001.bin>
^ permalink raw reply [flat|nested] 13+ messages in thread
* [lttng-dev] Odd dependency for lttng-ust
2013-01-21 17:31 ` Thibault, Daniel
@ 2013-01-21 18:38 ` Mathieu Desnoyers
2013-01-21 19:34 ` Thibault, Daniel
0 siblings, 1 reply; 13+ messages in thread
From: Mathieu Desnoyers @ 2013-01-21 18:38 UTC (permalink / raw)
* Thibault, Daniel (Daniel.Thibault at drdc-rddc.gc.ca) wrote:
> -----Message d'origine-----
> De?: Mathieu Desnoyers [mailto:mathieu.desnoyers at efficios.com]
> Envoy??: 21 janvier 2013 12:07
>
> > Even though libuuid1 (includes libuuid-perl, uuid-dev, uuid-runtime) is installed. I need to fix this new stumbling block before we can address the liburcu-cds problem.
>
> Please provide the complete output of:
> dpkg -l
> on your system. (it is rather long, please attach it to an email)
>
> Mathieu
> -----Fin du message d'origine-----
>
> Concerning the uuid problem, uuid-dev had not been installed; it needs to be specified separately from libuuid1. Now lttng-ust's configure ends with:
>
> checking for uuid_generate in -luuid... yes
> checking for inline... inline
> checking for stdlib.h... (cached) yes
> checking for GNU libc compatible malloc... yes
> checking for gettimeofday... yes
> checking for munmap... yes
> checking for socket... yes
> checking for strerror... yes
> checking for strtol... yes
> checking for sched_getcpu... yes
> checking for sysconf... yes
> checking urcu-bp.h usability... yes
> checking urcu-bp.h presence... yes
> checking for urcu-bp.h... yes
> checking for _cds_lfht_new in -lurcu-cds... no
> configure: error: Cannot find
> liburcu-cds lib, part of Userspace RCU 0.7 or better. Use LDFLAGS=-Ldir to specify its location.
As the error messages suggests, please try:
LDFLAGS=-L/usr/local/lib ./configure
instead of "./configure"
Thanks,
Mathieu
>
> dpkg -l output attached.
>
> 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
^ permalink raw reply [flat|nested] 13+ messages in thread
* [lttng-dev] Odd dependency for lttng-ust
2013-01-21 18:38 ` Mathieu Desnoyers
@ 2013-01-21 19:34 ` Thibault, Daniel
2013-01-21 20:06 ` Christian Babeux
0 siblings, 1 reply; 13+ messages in thread
From: Thibault, Daniel @ 2013-01-21 19:34 UTC (permalink / raw)
-----Message d'origine-----
De?: Mathieu Desnoyers [mailto:mathieu.desnoyers at efficios.com]
Envoy??: 21 janvier 2013 13:39
As the error messages suggests, please try:
LDFLAGS=-L/usr/local/lib ./configure
instead of "./configure"
Mathieu
-----Fin du message d'origine-----
Interesting, that prefix does allow configure to complete successfully. lttng-tools runs into the same problem as lttng-ust, and requires the same LDFLAGS prefix for its configure. No other problems arise.
So how do we fix userspace-rcu so the bootstrap -configure - make - install sequence doesn't run into this problem? I'm presuming here that userspace-rcu's install needs to be touched up. Or maybe lttng-ust's (and lttng-tools's) bootstrap.
(It's a problem because the ReadMe for the lttng-ust and lttng-tools packages stipulate a plain ./configure invocation: as they currently stand, the instructions fail)
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/>
^ permalink raw reply [flat|nested] 13+ messages in thread
* [lttng-dev] Odd dependency for lttng-ust
2013-01-21 19:34 ` Thibault, Daniel
@ 2013-01-21 20:06 ` Christian Babeux
0 siblings, 0 replies; 13+ messages in thread
From: Christian Babeux @ 2013-01-21 20:06 UTC (permalink / raw)
Hi Daniel,
Could you make sure that all previous liburcu versions are properly
uninstalled (e.g. no liburcu* in /usr/lib)?
I think that you might have an old version installed and that
configure is looking up the library via the default LD_LIBRARY_PATH
which contains /usr/lib before /usr/local/lib and hence you see the
error that "checking for _cds_lfht_new in -lurcu-cds no" even though a
newer version is present in /usr/local/lib.
As a general guideline, make sure when you install packages from
source that you uninstall previous version that might have been
installed by your package manager in order to minimize potential
conflicts.
Christian
On Mon, Jan 21, 2013 at 2:34 PM, Thibault, Daniel
<Daniel.Thibault at drdc-rddc.gc.ca> wrote:
> -----Message d'origine-----
> De : Mathieu Desnoyers [mailto:mathieu.desnoyers at efficios.com]
> Envoy? : 21 janvier 2013 13:39
>
> As the error messages suggests, please try:
> LDFLAGS=-L/usr/local/lib ./configure
> instead of "./configure"
>
> Mathieu
> -----Fin du message d'origine-----
>
> Interesting, that prefix does allow configure to complete successfully. lttng-tools runs into the same problem as lttng-ust, and requires the same LDFLAGS prefix for its configure. No other problems arise.
>
> So how do we fix userspace-rcu so the bootstrap -configure - make - install sequence doesn't run into this problem? I'm presuming here that userspace-rcu's install needs to be touched up. Or maybe lttng-ust's (and lttng-tools's) bootstrap.
>
> (It's a problem because the ReadMe for the lttng-ust and lttng-tools packages stipulate a plain ./configure invocation: as they currently stand, the instructions fail)
>
> 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
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2013-01-21 20:06 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-21 14:52 [lttng-dev] Odd dependency for lttng-ust Thibault, Daniel
2013-01-21 14:59 ` Mathieu Desnoyers
2013-01-21 15:24 ` Thibault, Daniel
2013-01-21 15:29 ` Mathieu Desnoyers
2013-01-21 15:44 ` Thibault, Daniel
2013-01-21 15:47 ` Mathieu Desnoyers
2013-01-21 15:53 ` David Goulet
2013-01-21 16:50 ` Thibault, Daniel
2013-01-21 17:06 ` Mathieu Desnoyers
2013-01-21 17:31 ` Thibault, Daniel
2013-01-21 18:38 ` Mathieu Desnoyers
2013-01-21 19:34 ` Thibault, Daniel
2013-01-21 20:06 ` Christian Babeux
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox