This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: trouble with installation of systemtap3-0 on Ubuntu 14.04


Hi,


----- Original Message -----
> From: "FOPA Leon constantin" <leonconstantin.fopa@enseeiht.fr>
> To: systemtap@sourceware.org
> Sent: Friday, 19 August, 2016 12:26:33 AM
> Subject: trouble with installation of systemtap3-0 on Ubuntu 14.04
> 
> 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.
> 

I have just tested this on Ubuntu 14.04 and was able to reproduce this error.
As David mentioned, removing libjson-c is probably the easiest workaround. This
was recently fixed in the latest git version of systemtap if you would like to
go for the alternative approach of not removing libjson-c.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]