[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: procps compilation problem



thanks, that helps!

At 09:49 AM 3/2/99 -0600, you wrote:
>On Tue, 02 Mar 1999, 187 leopard com wrote:
>//Hi trying to compile procps 1.2.9 and keep getting this error any ideas?
>//
>//[root core procps-1.2.9]# make
>//for dir in skill xproc ; do \
>//  [ -f $dir/Imakefile ] && (cd $dir; xmkmf) ; done
>//imake -DUseInstalled -I/usr/X11R6/lib/X11/config
>//gcc -D_GNU_SOURCE -O3 -I. -I/usr/include/ncurses -I/usr/X11R6/include -Wall
>//-Wno-unused -c ps.c
>//In file included from ps.c:24:
>//proc/ps.h:6: asm/param.h: No such file or directory
>//proc/ps.h:9: asm/page.h: No such file or directory
>//In file included from /usr/include/sys/ioctl.h:27,
>//                 from ps.c:40:
>///usr/include/ioctls.h:23: asm/ioctls.h: No such file or directory
>//In file included from /usr/include/sys/ioctl.h:30,
>//                 from ps.c:40:
>///usr/include/ioctl-types.h:24: asm/ioctls.h: No such file or directory
>//In file included from /usr/include/sys/resource.h:27,
>//                 from ps.c:41:
>///usr/include/resourcebits.h:20: asm/resource.h: No such file or directory
>//In file included from /usr/include/sys/param.h:25,
>//                 from ps.c:42:
>///usr/include/linux/param.h:4: asm/param.h: No such file or directory
>//make: *** [ps.o] Error 1
>
>You're missing kernel header files needed for procps.  You can install
>the kernel-headers RPM, and download a kernel tarball
>(linux-2.2.2.tar.gz) to /usr/src.
>
>tar -zxf linux-2.2.2.tar.gz
>mv linux linux-2.2.2
>ln -s linux-2.2.2 linux   //set up a symlink to the source
>cd /usr/include
>rm asm 			  //verify that asm is a link before this
>ln -s /usr/src/linux/include/asm  asm
>
>Now try again.  The missing files should appear.  And you'll be set up
>for building kernels as well.
>
>Hope that assists you in your endeavor.
>
>Eric CIfreo
>Austin, TX
>
>
>-- 
>  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
>		http://www.redhat.com http://archive.redhat.com
>         To unsubscribe: mail redhat-list-request redhat com with 
>                       "unsubscribe" as the Subject.
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]