linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: JoonSoo Kim <js1304@gmail.com>
To: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: linux-kernel@vger.kernel.org, Ingo Molnar <mingo@redhat.com>,
	Paul Mackerras <paulus@samba.org>,
	Peter Zijlstra <a.p.zijlstra@chello.nl>
Subject: Re: [PATCH] perf tools: Fix Makefile to clean auto-generated bison/flex files properly
Date: Fri, 4 May 2012 19:25:00 +0900	[thread overview]
Message-ID: <CAAmzW4Po_HS--AiVew9_afkD-WmzU37F+W4mhLEbB+Fpmd5p0w@mail.gmail.com> (raw)
In-Reply-To: <20120502191205.GG5745@infradead.org>

> Are you sure?
>
> [acme@sandy perf]$ make -j8 > /dev/null
> PERF_VERSION = 3.4.rc2.45.g89290d
>  * new build flags or prefix
> [acme@sandy perf]$ ls -la util/*bison*
> -rw-rw-r--. 1 acme acme  51448 May  2 16:10 util/parse-events-bison.c
> -rw-rw-r--. 1 acme acme   2553 May  2 16:10 util/parse-events-bison.h
> -rw-rw-r--. 1 acme acme 179488 May  2 16:10 util/parse-events-bison.o
> -rw-rw-r--. 1 acme acme  12484 May  2 16:10 util/parse-events-bison.output
> -rw-rw-r--. 1 acme acme  43849 May  2 16:10 util/pmu-bison.c
> -rw-rw-r--. 1 acme acme   2313 May  2 16:10 util/pmu-bison.h
> -rw-rw-r--. 1 acme acme  66064 May  2 16:10 util/pmu-bison.o
> -rw-rw-r--. 1 acme acme   3416 May  2 16:10 util/pmu-bison.output
> [acme@sandy perf]$ make clean > /dev/null
> [acme@sandy perf]$ ls -la util/*bison*
> ls: cannot access util/*bison*: No such file or directory
> [acme@sandy perf]$

Hmm...

I do more test on 4 types of environment(VM_x86_32_ubuntu10.04,
x86_32_ubuntu10.04,
x86_64_ubuntu11.10, x86_64_ubuntu12.04) and same result is occured.

All the GNU Make version is 3.81.
Below is my log.

So my conclusion is it relate to ubuntu.

js1304@ubuntu:~/Project/linux-torvalds/tools/perf$ make -j4 > /dev/null
Makefile:503: newt not found, disables TUI support. Please install
newt-devel or libnewt-dev
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
Makefile:533: GTK2 not found, disables GTK2 support. Please install
gtk2-devel or libgtk2.0-dev
Makefile:590: The path '/usr/bin/python-config' is not executable.
Makefile:594: No python-config tool was found
Makefile:594: Python support won't be built
Makefile:663: No bfd.h/libbfd found, install
binutils-dev[el]/zlib-static to gain symbol demangling
PERF_VERSION = 3.4.rc5
Makefile:503: newt not found, disables TUI support. Please install
newt-devel or libnewt-dev
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
Makefile:533: GTK2 not found, disables GTK2 support. Please install
gtk2-devel or libgtk2.0-dev
Makefile:590: The path '/usr/bin/python-config' is not executable.
Makefile:594: No python-config tool was found
Makefile:594: Python support won't be built
Makefile:663: No bfd.h/libbfd found, install
binutils-dev[el]/zlib-static to gain symbol demangling
    * new build flags or prefix
js1304@ubuntu:~/Project/linux-torvalds/tools/perf$ ls -al util/*-bison*
-rw-r--r-- 1 js1304 js1304  51448 2012-05-03 02:47 util/parse-events-bison.c
-rw-r--r-- 1 js1304 js1304   2553 2012-05-03 02:47 util/parse-events-bison.h
-rw-r--r-- 1 js1304 js1304 145340 2012-05-03 02:47 util/parse-events-bison.o
-rw-r--r-- 1 js1304 js1304  12484 2012-05-03 02:47
util/parse-events-bison.output
-rw-r--r-- 1 js1304 js1304  43849 2012-05-03 02:47 util/pmu-bison.c
-rw-r--r-- 1 js1304 js1304   2313 2012-05-03 02:47 util/pmu-bison.h
-rw-r--r-- 1 js1304 js1304  58240 2012-05-03 02:47 util/pmu-bison.o
-rw-r--r-- 1 js1304 js1304   3416 2012-05-03 02:47 util/pmu-bison.output
js1304@ubuntu:~/Project/linux-torvalds/tools/perf$ make clean > /dev/null
Makefile:503: newt not found, disables TUI support. Please install
newt-devel or libnewt-dev
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
Makefile:533: GTK2 not found, disables GTK2 support. Please install
gtk2-devel or libgtk2.0-dev
Makefile:590: The path '/usr/bin/python-config' is not executable.
Makefile:594: No python-config tool was found
Makefile:594: Python support won't be built
Makefile:663: No bfd.h/libbfd found, install
binutils-dev[el]/zlib-static to gain symbol demangling
Makefile:503: newt not found, disables TUI support. Please install
newt-devel or libnewt-dev
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
Makefile:533: GTK2 not found, disables GTK2 support. Please install
gtk2-devel or libgtk2.0-dev
Makefile:590: The path '/usr/bin/python-config' is not executable.
Makefile:594: No python-config tool was found
Makefile:594: Python support won't be built
Makefile:663: No bfd.h/libbfd found, install
binutils-dev[el]/zlib-static to gain symbol demangling
js1304@ubuntu:~/Project/linux-torvalds/tools/perf$ ls -al util/*-bison*
-rw-r--r-- 1 js1304 js1304 51448 2012-05-03 02:47 util/parse-events-bison.c
-rw-r--r-- 1 js1304 js1304  2553 2012-05-03 02:47 util/parse-events-bison.h
-rw-r--r-- 1 js1304 js1304 12484 2012-05-03 02:47 util/parse-events-bison.output
-rw-r--r-- 1 js1304 js1304 43849 2012-05-03 02:47 util/pmu-bison.c
-rw-r--r-- 1 js1304 js1304  2313 2012-05-03 02:47 util/pmu-bison.h
-rw-r--r-- 1 js1304 js1304  3416 2012-05-03 02:47 util/pmu-bison.output
js1304@ubuntu:~/Project/linux-torvalds/tools/perf$ grep RM.*bison Makefile
	$(RM) $(OUTPUT)util/*-{bison,flex}*
js1304@ubuntu:~/Project/linux-torvalds/tools/perf$ make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i486-pc-linux-gnu

      reply	other threads:[~2012-05-04 10:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-28  9:50 [PATCH] perf tools: Fix Makefile to clean auto-generated bison/flex files properly Joonsoo Kim
2012-05-03  9:08 ` Joonsoo Kim
2012-05-02 19:12   ` Arnaldo Carvalho de Melo
2012-05-04 10:25     ` JoonSoo Kim [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAAmzW4Po_HS--AiVew9_afkD-WmzU37F+W4mhLEbB+Fpmd5p0w@mail.gmail.com \
    --to=js1304@gmail.com \
    --cc=a.p.zijlstra@chello.nl \
    --cc=acme@ghostprotocols.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=paulus@samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).