build problem LFS 6.5

Baho Utot baho-utot at columbus.rr.com
Sat Nov 28 12:42:22 PST 2009


stosss wrote:
> On Fri, Nov 27, 2009 at 9:24 AM, Chris Staub <chris at beaker67.com> wrote:
>   
>   
[putolin]

> 1st half of one of my scripts
>
>   
[putolin]

Here is my script that works

#!/tools/bin/bash -
CURRDIR=$(pwd)
SRC=/sources

tar xvf $SRC/vim-7.2.tar.bz2
cd vim72

patch -Np1 -i $SRC/vim-7.2-fixes-5.patch
echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h
./configure --prefix=/usr --enable-multibyte
make
make test | tee $CURRDIR/06.58.Check.log
make install | tee $CURRDIR/06.58.Install.log
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 $CURRDIR
rm -rf vim72
echo "Completed"


Read it over and see if it helps




More information about the lfs-support mailing list