build problem LFS 6.5

Chris Staub chris at beaker67.com
Fri Nov 27 06:41:11 PST 2009


On 11/27/2009 09:38 AM, stosss wrote:
>
> 1st half of one of my scripts
>
> #!/bin/bash
> tar -xvf vim-7.2.tar.bz2
> cd vim72
> patch -Np1 -i ../vim-7.2-fixes-5.patch
> echo '#define SYS_VIMRC_FILE "/etc/vimrc"'>>  src/feature.h
> ./configure --prefix=/usr --enable-multibyte
> make
> make test
>
> 2nd half of the script for the vim app
>
> #!/bin/bash
> cd vim72
> make install
> ln -sv vim /usr/bin/vi
> for L in  /usr/share/man/{,*/}man1/vim.1; do
>      ln -sv vim.1 $(dirname $L)/vi.1
> done
> ln -sv ../vim/vim72/doc /usr/share/doc/vim-7.2
> cat>  /etc/vimrc<<  "EOF"
> " Begin /etc/vimrc
>
> set nocompatible
> set backspace=2
> syntax on
> if (&term == "iterm") || (&term == "putty")
>    set background=dark
> endif
>
> " End /etc/vimrc
> EOF
> cd ..
> rm -rf vim72
>
> I copied these commands straight off the pages of the book and put
> them in shell scripts and ran the scripts.

Well that looks correct. If it's not installed then there probably must 
be errors given by make that you are overlooking. I suggest you simply 
look more closely at make's output...

Either that or the "2nd half" script is simply not being run...



More information about the lfs-support mailing list