Re: Has anyone built Top?
Re: Has anyone built Top?
- Subject: Re: Has anyone built Top?
- From: Thomas Inskip <email@hidden>
- Date: Mon, 14 May 2007 01:28:19 -0400
I recently built top-17.4 (<http://www.opensource.apple.com/
darwinsource/tarballs/apsl/top-17.4.tar.gz>) from the command line
using make with no problems, just a few warnings. The included Xcode
project does appear to be broken, though. It is missing some
framework (CoreFoundation, IOKit) and other dynamic (panel, curses)
libraries. If you add those, it should be fine.
The make command needs to be run as root (sudo make), because it
sets the final binary's owner to root, as well as the set-user-id-on-
execution bit. So if you build the executable via xCode you will
still have to do those last two steps manually afaik.
On May 14, 2007, at 12:26 AM, Jason Rusoff wrote:
Has anyone built the top command line tool? I downloaded it and
tried to build from the command line and in a new XCode command
line tool project, and both fail. There seem to be quite a few
undefined symbols. Is there some other file that defines a bunch of
symbols for lots of tools? I don't know how else to tackle this,
and running top in the debugger seems to be the most sensible way
to follow how it gets and displays info on process memory usage.
Getting the memory usage for a process is turning out to be a royal
pain in the butt.
Jason
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden