How to build V 1.22 on Linux step by step

The V library does not use the standard GNU build system (configure-make-make install). Because of this it can be a little puzzling to build V if you have not done so before. I have put this sloppy little page together to help whomever might need it.

1.Download the V 1.22 source code

2.Unpack the V 1.22 distribution:

  zcat v-1.22.tar.gz | tar xvf -

3.Change directory into the source directory:

  cd v

4. Decide if you want to use the Athena or Motif (lesstif) widget sets, then select the correct Config.mk file

  Athena:
   cp Configs/ConfigX.mk Config.mk

  Motif (You must have Motif or Lesstif libraries installed on your system):
   cp Configs/ConfigM.mk Config.mk

5. Edit Config.mk for your environment

  Set the HOMEV variable so that it points to the root directory of the V source tree - most likely your current working directory right now.

  Set the ARCH variable for your target architecture. If you are using an even remotely modern linux distribution (kernel >= 2.0) set it to linuxelf.

6. Compile the V libraries:

   make

7. Become root and install the V library.

   su -l root
   password
   make installv

This will install the V library and headers under /usr/local.

If you do not have root privleges, or just want to install at a different location you will need to hack the Makefile and set your preferred install location.



document version 1.1 Oct 11 1999