[Prev][Next][Index][Thread]

Installing OSKit on Linux



I am having trouble configuring and installing the oskit-0.96.tar.gz file
on a Debian 1.3 Linux kernel version 2.0.29 with an i486 CPU.

For some reason "./configure" will not automatically guess my machine type
and o/s.  (This is supposed to be done with the "config.guess" script I
believe.)
I get the error message: "cannot guess host type; you must specify one"

The following bash commands get this results when run on my machine:
         uname -m :  i486
         uname -r :  2.0.29
         uname -s :  Linux
         uname -v :  #3 Sat May 31 13:35:27 EST 1997


I instead ran the command: "./configure --host=i486-unknown-linux".  The
configure script then ran with no errors.  Hopefully this is the correct
configuration.

The second problem is when I run "make" I get the following errors:

     make[1] Entering /usr/local/os2/oskit-0.96/linux/dev
     cc -0 aic 7xxx_asm../../linux/src/drivers/scsi/aic7xxx_asm.c
     ../../linux/..asm.c: ctype.h: No such file or directory
     ../../linux/..asm.c: stdio.h: No such file or directory
     ../../linux/..asm.c: string.h: No such file or directory
     ../../linux/..asm.c: stdlib.h: No such file or directory
     ../../linux/..asm.c: unistd.h: No such file or directory
     ../../linux/..asm.c: fcntl.h: No such file or directory
      make[1]  ***[aic7xxx_asm] error 1
      make[1]: Leaving directory "usr/local/os2/oskit0.96/linux/dev"
      make:   *** [linux/dev/all.MAKE] error 2
 
Upon closer inspection, if you look at the file:
"/linux/src/drivers/scsi/aic7xxx_asm.c"

It seems that the include commands are missing a directory reference.
For example:
       "#include   <ctype.h>"  should read "#include <linux/ctype.h>"

For 4 of the files that "aic7xxx_asm.c" can't find I believe this would work
fine.
But for "stdlib.h" and "stdio.h" these files aren't in "linux/src/include".
There are 2 files in "oskit/c" (and also "freebsd/src/include") which I am
tempted to copy over into "linux/src/include", however they in turn depend
on "types.h", "compiler.h", and "config.h".  

At this point things get a bit messy.  Possibly someone familiar with the OSKit
would know the correct way to fix this bug, assuming I've followed the
correct line of reasoning here.

Thanks for any help.  
Dennis Dixon
P.O. Box 1896 
Fort Bragg, CA  95437

(707) 964-2979
ddixon@mcn.org
http://www.dixonadvise.com



Follow-Ups: