From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 82829 invoked by alias); 27 Jan 2017 18:45:18 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 82816 invoked by uid 89); 27 Jan 2017 18:45:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.1 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:2055, Francis, francis, H*i:sk:w@mail. X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 27 Jan 2017 18:45:01 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 726EC8EB3F; Fri, 27 Jan 2017 18:45:01 +0000 (UTC) Received: from t540p.usersys.redhat.com (ovpn-119-11.rdu2.redhat.com [10.10.119.11]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id v0RIixfr011825 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 27 Jan 2017 13:45:00 -0500 Subject: Re: trouble with installation of systemtap3-0 on Ubuntu 14.04 To: Arkady References: <7875673e-8680-ef8a-42ca-bf9f3352599b@redhat.com> <8707db55-c499-43ec-9708-0612933d5751@redhat.com> Cc: systemtap@sourceware.org From: David Smith Message-ID: <8cfa0769-679b-1c29-cb1b-7f9862df6029@redhat.com> Date: Fri, 27 Jan 2017 18:45:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-q1/txt/msg00081.txt.bz2 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 Date: Mon May 9 14:12:07 2016 -0700 Link monitor libs to stapio only commit 34d254a44720b285f36194c2fa9206232f78d202 Author: Felix Lu 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 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)