trouble with installation of systemtap3-0 on Ubuntu 14.04
David Smith
dsmith@redhat.com
Fri Aug 19 17:43:00 GMT 2016
On 08/18/2016 11:26 PM, FOPA Leon constantin wrote:
> Hi you all,
>
> I use to install systemtap simply as:
>
> apt-get install systemtap
>
> But I get and error while testing the cache-hit-rate.stp from the
> systemtap wiki.
>
> root@prt-sepia03:/home/kamikague/Bureau/zombie/TTT/scripts/systemtap#
> stap cache-hit-rate.stp
> semantic error: unable to find member 'bi_size' for struct bio
> (alternatives: bi_next bi_bdev bi_flags bi_rw bi_iter bi_phys_segments
> bi_seg_front_size bi_seg_back_size bi_remaining bi_end_io bi_private
> bi_ioc bi_css bi_integrity bi_vcnt bi_max_vecs bi_cnt bi_io_vec bi_pool
> bi_inline_vecs): operator '->' at
> /usr/share/systemtap/tapset/linux/ioblock.stp:113:20
> source: size = $bio->bi_size
> ^
>
> Pass 2: analysis failed. [man error::pass2]
> Tip: /usr/share/doc/systemtap/README.Debian should help you get started.
>
> The error look like it was fixed in the latest version of systemTap. So
> I uninstall the systemtap package to start all over again with a fresh
> installation
> from source code. I downloaded the latest version of
> systemtap-3.0.tar.gz (here
> http://fossies.org/linux/misc/systemtap-3.0.tar.gz/)
> and I get the following error output when trying to install it (see
> below).
>
> it seems that libjson is not referenced accurately, I confirm that
> libjson is on its latest version on my system.
The easiest workaround might be to remove libjson, then reconfigure
systemtap. It should realize libjson isn't there, then not compile in
the monitor feature that requires libjson.
--
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)
More information about the Systemtap
mailing list