On Fri, Nov 27, 2009 at 9:41 AM, Chris Staub <[email protected]> wrote: > 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...
vim is just one of the apps missing. Like I said earlier the only things that appear to be there are Linux kernel, bash, coreutils and grub. 90% of the apps in the book are not there. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
