User Tools

Site Tools


install:3.2.x:debian

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
install:3.2.x:debian [2011/10/31 16:45]
193.0.26.151
install:3.2.x:debian [2013/04/24 12:04] (current)
klaus3000
Line 24: Line 24:
 This instructs the build process to use pkg/kamailio/deb/debian/rules for creating the Debian packages. This instructs the build process to use pkg/kamailio/deb/debian/rules for creating the Debian packages.
  
 +===== 3. Choose the Debian version =====
  
-===== 3. (optional) Add build options to the rules file =====+Some new modules require libraries which are not in all Debian version. For example libjson0-dev is not available for Debian Lenny (5.0). In this case you either have to backport the required libraries to your Debian version or use the respective packaging files. In the second case, the respective modules will automatically disabled. 
 + 
 +For example if you want to build for Debian Squeeze and do not need the troublesome modules: 
 + 
 +  cd pkg/kamailio/deb 
 +  mv debian debian-orig 
 +  ln -s squeeze debian 
 +  cd ../../.. 
 + 
 +===== 4. (optional) Add build options to the rules file =====
  
 If you want to activate certain build features, you can specify them in the Debian rules file. If you want to activate certain build features, you can specify them in the Debian rules file.
Line 39: Line 49:
  
 For example in above example the custom build parameter "STUN=1" was added. For example in above example the custom build parameter "STUN=1" was added.
- 
-===== 4. Choose the Debian version ===== 
- 
-Some new modules require libraries which are not in all Debian version. For example libjson0-dev is not available for Debian Lenny (5.0). In this case you either have to backport the required libraries to your Debian version or use the respective packaging files. In the second case, the respective modules will automatically disabled. 
- 
-For example if you want to build for Debian Lenny and do not need the troublesome modules: 
- 
-  cd pkg/kamailio/deb 
-  mv debian debian-orig 
-  ln -s lenny debian 
-  cd ../../.. 
  
 ===== 5. Build the packages ===== ===== 5. Build the packages =====
Line 57: Line 56:
 If the build process fails due to missing dependencies install them via "apt-get install ....." and try "make deb" again. If the build process fails due to missing dependencies install them via "apt-get install ....." and try "make deb" again.
  
-===== 5. Done ===== +If the build succeeds, the packages are located in ''../''
- +
-The packages are located in ''../''+
  
 ===== 6. Install Kamailio ===== ===== 6. Install Kamailio =====
install/3.2.x/debian.1320075904.txt.gz · Last modified: 2011/10/31 16:45 by 193.0.26.151