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


I have pulled the latest code

commit 675838c2b2b97ca84ad6e561404426e7065da907
Author: David Smith <dsmith@redhat.com>
Date:   Thu Jan 26 09:25:32 2017 -0600
    Updated a comment in runtime/time.c.

PKG_CONFIG=/usr/bin/pkg-config
./configure  --prefix=/home/arkady/systemtap/
reports that both json (I compiled and installed json from
https://github.com/json-c/json-c) and ncurses exist


make finishes fine and symbol HAVE_MONITOR_LIBS is defined

$export PATH=/home/arkady/systemtap/bin:$PATH
$which stap
/home/arkady/systemtap/bin/stap
sudo stap --monitor -e 'probe begin { println("Hello World!"); }'
stap: unrecognized option '--monitor'
Try '--help' for more information.

Still something is missing?

On Fri, Jan 27, 2017 at 8:44 PM, David Smith <dsmith@redhat.com> wrote:
> OK, I think I know what is going on here. Release 3.0 doesn't include
> the latest 2 commits to staprun/Makefile.am. That's why you didn't have
> '-lpanel' in your link line.
>
> HEAD systemtap includes the following 2 commits that moved the json-c
> and ncurses libraries from AM_CFLAGS (causing them to appear too early
> in the link line) to stapio_LDADD (causing them to appear properly at


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