Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
doc:installationguide:basic-install [2011/04/12 23:16]
gradator
doc:installationguide:basic-install [2016/10/03 22:40] (current)
gradator [Install VHFFS from source]
Line 1: Line 1:
 +====== Fetch and install VHFFS ======
 +
 You can install VHFFS from source or using our Debian packages, depending on your current mood or system ;-) You can install VHFFS from source or using our Debian packages, depending on your current mood or system ;-)
  
Line 4: Line 6:
 ===== Install VHFFS from source ===== ===== Install VHFFS from source =====
  
-To get the source of VHFFS 4.3, in a terminal window type:+To get the source of VHFFS 4.6, in a terminal window type:
  
-  wget http://​download.tuxfamily.org/​vhffs4/​releases/​4.3.0/vhffs-4.3.0.tar.gz+  wget http://​download.tuxfamily.org/​vhffs4/​releases/​4.6.0/vhffs-4.6.0.tar.gz
  
-Then cd into vhffs-4.3:+Uncompress it:
  
-  cd vhffs-4.3+  ​tar xzf vhffs-4.6.0.tar.gz 
 + 
 +Then cd into vhffs-4.6.0: 
 + 
 +  cd vhffs-4.6.0
  
 <​note>​ <​note>​
-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. ​+If you fetched the source code from Git, 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   apt-get install autoconf automake gettext libglib2.0-dev
Line 21: Line 27:
 There is some dependencies,​ here is what you'll need to build VHFFS: There is some dependencies,​ here is what you'll need to build VHFFS:
  
-  apt-get install gcc gettext ​libglib2.0-dev ​make subversion+  apt-get install gcc gettext make
  
 Then, run the classical autotool command line: Then, run the classical autotool command line:
Line 31: Line 37:
 Nonetheless,​ there is also runtime dependencies for the VHFFS base, which are much more numerous than build dependencies:​ 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+  apt-get install libdbd-pg-perl libmime-lite-perl libcrypt-gpg-perl libcrypt-passwdmd5-perl libemail-valid-perl libconfig-general-perl liblockfile-simple-perl libquota-perl libintl-xs-perl
  
 If the VHFFS base is correctly installed as well as dependencies,​ you will have something like that: If the VHFFS base is correctly installed as well as dependencies,​ you will have something like that:
  
-  # /​usr/​lib/​vhffs/​bots/​user_create.pl  +  # /​usr/​lib/​vhffs/​bots/​user.pl  
-  DBI connect('​dbname=vhffs;​host=localhost;​port=5432','​vhffs',​...) failed: could not connect to server: Connection refused +  DBI connect('​database=vhffs;​host=localhost;​port=5432','​vhffs',​...) failed: could not connect to server: Connection refused 
-        Is the server running on host "​localhost"​ and accepting +          Is the server running on host "​localhost" ​(::1) and accepting 
-        TCP/IP connections on port 5432? at /​usr/​share/​vhffs/​api/​Vhffs/Functions.pm line 436+          ​TCP/​IP connections on port 5432? 
 +  could not connect to server: Connection refused 
 +          is the server running on host "​localhost"​ (127.0.0.1) and accepting 
 +          ​TCP/IP connections on port 5432? at /​usr/​share/​vhffs/​api/​Vhffs.pm line 154
  
 It does nothing and fail because nothing is configured yet, but this means that the VHFFS base can be compiled and run by perl. 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 ===== ===== 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 :  Add the following in your /​etc/​apt/​sources.list : 
  
Line 59: Line 67:
 ===== Install Perl dependencies ===== ===== Install Perl dependencies =====
  
-==== Perl modules ====+The documentation will tell you the necessary ​Perl dependencies each step as debian package names. But if you are not using Debian, you can play with our dependencies check script to pre-install all necessary dependencies.
  
 You can check the dependencies with the script ''​vhffs-test-dependencies''​ located in the root of the VHFFS source tree. You can check the dependencies with the script ''​vhffs-test-dependencies''​ located in the root of the VHFFS source tree.
Line 67: Line 75:
 You can then install missing packages: You can then install missing packages:
  
-If you are still missing perl modules packages, look for them with:+If you are still missing perl modules packages, if you are using Debian, look for them with:
  
   apt-cache search "name module perl"   apt-cache search "name module perl"
   apt-get install "exact name debian package"​   apt-get install "exact name debian package"​
  
-If you cannot find them, you can run the script:+Else or if you cannot find them, you can run the script:
  
   ./​vhffs-test-dependencies --verify=all --install   ./​vhffs-test-dependencies --verify=all --install
Recent changes RSS feed Creative Commons License Donate Minima Template by Wikidesign Driven by DokuWiki