This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: trouble with installation of systemtap3-0 on Ubuntu 14.04
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
the end of the link line).
====
commit a578c65480294276fa7a082fb2ed21ac92d6ab2c
Author: Francis Giraldeau <francis.giraldeau@gmail.com>
Date: Mon May 9 14:12:07 2016 -0700
Link monitor libs to stapio only
commit 34d254a44720b285f36194c2fa9206232f78d202
Author: Felix Lu <flu@redhat.com>
Date: Mon Apr 25 13:54:44 2016 -0400
monitor mode: Use pop up panel for help message
====
I'd suggest getting HEAD systemtap if you need monitor mode. Your other
option would be to be to try to cherry pick those commits, but they
might depend on other commits.
On 01/27/2017 12:02 PM, Arkady wrote:
> I am doing
> arkady@ubuntu:~/systemtap-3.0$ PKG_CONFIG=/usr/bin/pkg-config
> ./configure --prefix=/home/arkady/systemtap/
>
> I had to define PKG_CONFIG=/usr/bin/pkg-config because otherwise
> ./configure failed to discover json-c and ncurses.
>
> I attached the output of the ./configure
>
> On Fri, Jan 27, 2017 at 6:28 PM, David Smith <dsmith@redhat.com> wrote:
>> On 01/27/2017 10:00 AM, Arkady wrote:
>>> I tried to figure out how to patch the Makefile and I could not figure out.
>>> I would appreciate any tip.
>>> Thanks.
>>
>> I don't really see how your Makefile got in that state. In my
>> staprun/Makefile, I see this:
>>
>> am__append_7 = $(jsonc_LIBS) -lpanel $(ncurses_LIBS)
>>
>> But in your link line '-lpanel' didn't appear at all. How did you run
>> configure?
>>
>> --
>> David Smith
>> dsmith@redhat.com
>> Red Hat
>> http://www.redhat.com
>> 256.217.0141 (direct)
>> 256.837.0057 (fax)
--
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)