L1g3r Logo           SignalQ Sites: NetAdminTools - Coprolite - SpotBridge - NAW
RoboCoop - AreWeDown - SysAdminTools
Xfig - Gold Loaf - GeekPapa - FixGMC - FixRambler
vim-7.3
Topic:MCJ GNU/Linux Reference OS   Date: 2009-05-24
Printer Friendly: Print   

spacerspacer
<<  <   >  >>

Base Reference GNU/Linux Build Sequence

Source code is available here.

Note that the 3.6 relase of the MCJ Root File System doesn't actually have vim 7.3, but I like to keep up to date on Vim, so I'm including it here, as part of the build steps.

To compile and install, run these commands:

cd /sources/  &&
rm -rf vim73 &&
tar -xjf vim-7.3.tar.bz2 &&
cd vim73 &&
echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h &&
./configure --prefix=/usr --enable-gnome-check --enable-rubyinterp --enable-multibyte &&
make install 

The output should look something like this:

configure: creating cache auto/config.cache
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for library containing strerror... none required
checking for gawk... gawk
checking for strip... strip
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
configure: checking for buggy tools...
- sh is	'GNU bash, version 3.2.48(1)-release (i686-pc-linux-gnu)
Copyright (C) 2007 Free Software Foundation, Inc.' - probably OK.
- sed is	'GNU sed version 4.2
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,
to the extent permitted by law.

GNU sed home page: .
General help using GNU software: .
E-mail bug reports to: .
Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.'.
checking for BeOS... no
checking for QNX... no
checking for Darwin (Mac OS X)... no
,
.
.
	  fi; \
	  dir=/usr/share/vim/vim73/lang/$lang/LC_MESSAGES; \
	  if test ! -x "$dir"; then \
	    mkdir $dir; chmod 755 $dir; \
	  fi; \
	  if test -r $lang.mo; then \
	    cp $lang.mo $dir/vim.mo; \
	    chmod 644 $dir/vim.mo; \
	  fi; \
	done
make[2]: Leaving directory `/sources/vim73/src/po'
if test -d ../runtime/lang; then \
	   cp ../runtime/lang/README.txt ../runtime/lang/*.vim /usr/share/vim/vim73/lang; \
	   chmod 644 /usr/share/vim/vim73/lang/README.txt /usr/share/vim/vim73/lang/*.vim; \
	fi
if test -d ../runtime/keymap; then \
	   cp ../runtime/keymap/README.txt ../runtime/keymap/*.vim /usr/share/vim/vim73/keymap; \
	   chmod 644 /usr/share/vim/vim73/keymap/README.txt /usr/share/vim/vim73/keymap/*.vim; \
	fi
if test -d /usr/share/icons/hicolor/48x48/apps -a -w /usr/share/icons/hicolor/48x48/apps \
		-a ! -f /usr/share/icons/hicolor/48x48/apps/gvim.png; then \
	   cp ../runtime/vim48x48.png /usr/share/icons/hicolor/48x48/apps/gvim.png; \
	fi
if test -d /usr/share/icons/locolor/32x32/apps -a -w /usr/share/icons/locolor/32x32/apps \
		-a ! -f /usr/share/icons/locolor/32x32/apps/gvim.png; then \
	   cp ../runtime/vim32x32.png /usr/share/icons/locolor/32x32/apps/gvim.png; \
	fi
if test -d /usr/share/icons/locolor/16x16/apps -a -w /usr/share/icons/locolor/16x16/apps \
		-a ! -f /usr/share/icons/locolor/16x16/apps/gvim.png; then \
	   cp ../runtime/vim16x16.png /usr/share/icons/locolor/16x16/apps/gvim.png; \
	fi
cp gvimtutor /usr/bin/gvimtutor
chmod 755 /usr/bin/gvimtutor
make[1]: Leaving directory `/sources/vim73/src'


People:
Places:
Things:
vim
Times:



None of this would be possible without the diligent work of the Linux From Scratch (LFS) project. A tip o' the hat to those intrepid hackers. Much of the OS buld configuration is taken directly from LFS and BLFS.