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

Configure/Make Oskit-20000202 problems



I am trying to "configure", "make", and "make install" Oskit-20000202 on an
Intel 486 computer with RedHat Linux 6.1.  The compiler is GCC 2.9.5.3,
binutils 2.9.5.0.37, and cpp 2.95.3.  I created a sub-directory in the
directory "oskit-20000202" and entered the command
"/oskit/oskit-20000202/configure", which gives me the error message:
  
"configure error: can not guess host type: you must specify one".

I tried entering several host options manually, such as:
  "/oskit/oskit-20000202/configure -host=i486-pc-linux-gnu".  
The configure script then runs successfully, but when I run "make" I always
get the following errors:

  A bunch of "can't find file or directory" messages such as-
  /oskit/oskit-20000202/config1/unix/native_errno.h:3:errno.h: No such file
or directory
 then-
 make[1]: ****  [crt.0] Error 1
 make[1]:  Leaving directory /oskit/oskit-20000202/config1/unix
 make:  ***** [unix/all.MAKE] Error 2

     First, it seems odd that config.guess can't determine the host machine.
The following commands entered manually yield:
  >uname -m      i486
  >uname -r      2.2.12-20
  >uname -s      Linux
  >uname -v      #1 Mon Sep 27 10:07:24 EDT 1999
  >ld --help     .......supported emulations: elf_i386 i386linux i386coff ...
  >gcc -v       gcc version 2.9.5.3 20000503/Linux (prerelease)
Plus, it appears to have glibc-2.1.2, since there's documentation for this
version on the machine.
Regardless of why config.guess isn't working, what is the correct host type
that I should enter in the "configure" command?

     Second, in regards to the "make" errors, I assume these messages mean
that the "make" script didn't function correctly and aborted prematurely.
For instance, shouldn't there be a hello.o file and a hello kernel image
file somewhere?

     At first, I thought these errors were due to using the egcs-1.1.2-24
compiler, which comes with RedHat 6.1.  However, after installing the following:
           gcc-2.95.3-0.20000503.1.i386.rpm
           cpp-2.95.3-0.20000503.1.i386.rpm
           binutils-2.9.5.0.37-1.i386.rpm,
downloaded from the ftp site "ftp.varesearch.com/pub/support/hjl/", I still
received the same error messages for "make".  Do you have any idea as to
what might be causing these errors?

     As a side issue, prior to installing "gcc-2.95.3...rpm" I tried
unsuccessfully to install "GCC-2.95" which I downloaded from the Oskit ftp
site.  Curiously, the "configure" script also wouldn't run to install the
program.  It couldn't determine the machine host either.  When I entered the
host tupe manually, such as:
   oskit/compiler> oskit/gcc/gcc-2.95/configure -host=i486-pc-linux-gnu" I
received the following error messages:
     /usr/bin/ld: cannot open crt.o: No such file or directory
     collect2: ld returned 1 exit status
     **** The command 'cc -0 conftest -g conftest.c' failed
    ***** You must set the environmnet variable CC to a working compiler

But the files /usr/bin/cc and /usr/bin/gcc do exist and are in the Path, as
shown by:
   >echo $PATH
   >/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
Should I set the environment to CC somehow?  How would I do this?

In brief, my questions are the following:

-What is the correct host type to use in the configure command?  Also, why
can't config.guess determine my machine?

-Why does't "make" execute successfully?  Should there be a hello.o
somewhere?  Am I using the correct GCC compiler?

-If it's not too much trouble, do you have any idea why "configure" for GCC
2.9.5 can't determine the host tupe either and can't find cc even though
it's in the path?


Thanks for your help with this.  I actually attempted to install an earlier
version of oskit about a year ago on the same machine and had I believe
pretty much the same problems.  It would be very satisfying if I could
overcome this hurdle this time.  

Thanks again.    


Dennis Dixon
P.O. Box 1896 
Fort Bragg, CA  95437

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


Follow-Ups: