Mailing List Archive



Back to the month index Back to the list index

Sol Katz (skatz@blm.gov)
Tue, 18 Nov 1997 15:14:06 -0700 (MST)


Date: Tue, 18 Nov 1997 15:14:06 -0700 (MST)
From: Sol Katz <skatz@blm.gov>
Subject: Re: install problem
Message-ID: <Pine.LNX.3.93.971117085630.19266A-100000@dsc.blm.gov>

i checked all your suggestions. i have everything as you suggested except
yacc/bison, which i'll go looking for. i updated my linux link to

lrwxrwxrwx 1 root root 12 Nov 17 09:43 linux->linux-2.0.28/

and check my include links

lrwxrwxrwx 1 root root 26 Jul 25 01:20 asm -> /usr/src/linux/include/asm/
lrwxrwxrwx 1 root root 28 Jul 25 01:20 linux ->/usr/src/linux/include/linux/
lrwxrwxrwx 1 root root 27 Nov 17 10:06 scsi ->/usr/src/linux/include/scsi/

any other suggestions.
 
sol-- skatz@blm.gov 303-236-0101

On Sun, 16 Nov 1997, Marc Thomas wrote:

> First thing you should check is whether or not you do have the kernel
> source. Take a look in '/usr/src'
>
> You should have a directory named something like 'linux-2.0.xx' (although
> the name doesn't really matter). What does matter is that you have a
> directory called 'linux' (or better still, a symlink which points to the
> linux-2.0.xx directory.)
>
> I recommend the symlink option, so on my system:
> lrwxrwxrwx 1 root root 12 Oct 28 22:30 linux -> linux-2.0.31
>
> If you don't have the linux kernel source, then you'll need to ftp a copy
> from your local mirror site (or get it from your distribution CD-ROM). You
> should get the 2.0.28 version (unless you fancy upgrading your kernel as
> well). You won't need to actually compile the kernel.
>
> You also need to check a few other symlinks. The following is an extract
> from the README file supplied with the kernel source.
>
> -----------
>
> - make sure your /usr/include/asm, /usr/include/linux, and /usr/include/scsi
> directories are just symlinks to the kernel sources:
>
> cd /usr/include
> rm -rf asm linux scsi
> ln -s /usr/src/linux/include/asm-i386 asm
> ln -s /usr/src/linux/include/linux linux
> ln -s /usr/src/linux/include/scsi scsi
>
> -----------
>
> Another problem you seem to be having is that mSQL can't find yacc. This
> is usually a shell script in /usr/bin, and looks like:
>
> #/bin/sh
> # emulate yacc
> bison -y $*
>
> However, on my system mSQL figured out that it needed to use bison
> anyway, so I suspect that you don't have bison. (Look for it in /usr/bin)
>
> If you don't have bison and you got Linux on a CD-Rom, its likely that all
> the bits you need are on that CD. Tell it to install the kernel source,
> all the C development tools, and all the libraries. Your first problem
> could be due to some missing libraries, not missing header files.
>
> Hope that's of some use. Feel free to mail me directly if you have any
> more problems.
>