From: callison@uokmax.ecn.uoknor.edu (James P. Callison) Subject: Problems compiling 0.96c (was Re: questions about psdatabase) Date: Wed, 15 Jul 1992 00:02:42 GMT
In article <1992Jul10.084436.7801@pool.info.sunyit.edu> ujlh@pool.info.sunyit.edu (James Henrickson) writes:
>In article <1992Jul9.224116.29645@amhux2.amherst.edu> pfcouvar@amhux1.amherst.edu (Peter Couvares) writes:
>> 'ps' does not work with the .96c kernel (I realize this is not new
>>news), but while it says to run "ps -U" to generate a new one, nothing
>>happens...is there anywhere I can get a new psdatabase? Or is there
>>something I'm doing wrong? In other words, how can I get ps to work with
>>.96c ? Thanks in advance for any help...
>
>This should be in the FAQ. I see it every time a new version of Linux
>comes out.
It is. It didn't help. See below.
>It happened to me several versions ago. :-) If you compile the kernel
>yourself, do a "ps U" (as root) before you do a "make clean". If you are
>using a boot image, you will have to get a copy of /usr/src/linux/tools/system
>from someone. ps uses this file to build the psdatabase, and this file
>is made while compiling the kernel.
This is strange...ps comes with the .96 root image...why distribute something
that doesn't work? Especially something dependent upon something _not_
included in the distribution...
I have a Dell System 333P I'm installing Linux on right now, and the install
script just installed ps, yet it doesn't work...
Also, I got the source for .96c, compiled it, recompiled ps, and I still
get the message "psdatabase is out of date, run ps -U or recompile ps"
or soemthing to that effect right before it does the process listing.
I tried "ps -U", "ps -u", "ps U" and other variations, but I still came
up with the same message...
Perhaps this has something to do with the .96c source not compiling
properly on my machine. It says "date: command not found" at the
beginning, and it says "can't creat" some file or other near the end...
(tools/system come out of it, unless I apply the .96c patch 1, in which case
it does most of the stuff in the Makefile, then craps out at the end,
and near the beginning say "no way to make irq.c"...)
I'm using gcc 2.2.2, and using the Makefile unaltered (Like I said, I tried
applying the patches, but it just royally fornicated vertically on those :-(.
So what am I doing wrong? I've tried deleting the source code and
reinstalling it from the tar file; I've tried applying the patches. I
don't know what to do next....
The hardware is Northgate SlimLine 333 (aka SlimCache) with an Am386DX-33,
no 387, 8M ram, ATI onboard SVGA, on a Seagate ST147 42M IDE (slaved to
a Conner 40M IDE until my new drive comes in...).
James
James P. Callison Microcomputer Coordinator OU Law Library
Callison@aardvark.ucs.uoknor.edu /\ Callison@uokmax.ecn.uoknor
constellation!biglaw!callison@mailhost.ecn.uoknor.edu
DISCLAIMER: I'm not an engineer, but I play one at work...
Lawyers get you out'n the kind of trouble you'd never get in
if there was no lawyers. -- Cowboy logic