This is an old revision of the document!

You can install VHFFS from source or using our Debian packages, depending on your current mood or system ;-)

Install VHFFS from source

To get the source of VHFFS 4.3, in a terminal window type:


Then cd into vhffs-4.3:

cd vhffs-4.3

If you fetched the source code from subversion, you have to build all autogenerated autotool files which are obviously not included in the repository. This is accomplished by installing the bootstrap's dependencies then by running the bootstrap script.

apt-get install autoconf automake gettext libglib2.0-dev

There is some dependencies, here is what you'll need to build VHFFS:

apt-get install gcc gettext libglib2.0-dev make subversion

Then, run the classical autotool command line:

make install

Nonetheless, there is also runtime dependencies for the VHFFS base, which are much more numerous than build dependencies:

apt-get install libdbd-pg-perl libmime-lite-perl libcrypt-gpg-perl libcrypt-passwdmd5-perl libemail-valid-perl libconfig-general-perl liblockfile-simple-perl

If the VHFFS base is correctly installed as well as dependencies, you will have something like that:

# /usr/lib/vhffs/bots/ 
DBI connect('dbname=vhffs;host=localhost;port=5432','vhffs',...) failed: could not connect to server: Connection refused
      Is the server running on host "localhost" and accepting
      TCP/IP connections on port 5432? at /usr/share/vhffs/api/Vhffs/ line 436

It does nothing and fail because nothing is configured yet, but this means that the VHFFS base can be compiled and run by perl.

Install VHFFS base using APT

FIXME: create debian package of the current trunk and update that Add the following in your /etc/apt/sources.list :

deb stable main

Then :

apt-get update

FIXME: errr, install only common and API

apt-get install vhffs*

Debian packages have the required dependencies set correctly, so you don't need to manually install other packages.

Install Perl dependencies

Perl modules

You can check the dependencies with the script vhffs-test-dependencies located in the root of the VHFFS source tree.

./vhffs-test-dependencies --verify=all

You can then install missing packages:

If you are still missing perl modules packages, look for them with:

apt-cache search "name module perl"
apt-get install "exact name debian package"

If you cannot find them, you can run the script:

./vhffs-test-dependencies --verify=all --install

This script will try to install them from CPAN.

If CPAN is not configured yet, you can do this with: perl -MCPAN -e shell

doc/installationguide/basic-install.1302650198.txt.gz · Last modified: 2011/04/12 23:16 by gradator
Recent changes RSS feed Creative Commons License Donate Minima Template by Wikidesign Driven by DokuWiki