[Bug 524119] Review Request: nmon - Nigel's performance MONitor for Linux

bugzilla at redhat.com bugzilla at redhat.com
Fri Sep 18 13:51:32 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=524119





--- Comment #4 from Jussi Lehtola <jussi.lehtola at iki.fi>  2009-09-18 09:51:31 EDT ---
Yes, but IMHO that patch does not fix the brokenness of the upstream makefile,
it's still hopelessly complicated. (Actually, I'm missing -lncurses in the
compile command in comment #2).

Just a simple makefile would do:

**

CC=cc
CFLAGS=-g -O2 -Wall
LDFLAGS=-lncurses
EXTRADEFS=

default: nmon
nmon: nmon.c
        $(CC) $(CFLAGS) -D JFS -D GETUSER -D LARGEMEM $(EXTRADEFS) $(LDFLAGS)
-o nmon nmon.c

**


Normally, one would just run
 $ make
and if one is on special architectures, like power or mainframe which need
special definitions, one would run e.g.
 $ make EXTRADEFS="-D POWER"

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the Fedora-package-review mailing list