User Tools

Site Tools


installing_from_source_on_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
Next revision Both sides next revision
installing_from_source_on_debian [2009/03/26 12:21]
morten Update for Debian Lenny and NAV 3.5
installing_from_source_on_debian [2009/03/26 13:06]
morten lenny has a sitecustomize pre-installed under /etc
Line 38: Line 38:
 </​code>​ </​code>​
  
-**OR**, check out Morten Werner Forsbring'​s dummy NAV package, which depends on all of the above. ​ See the following nav-users posting for details: https://​postlister.uninett.no/​sympa/​arc/​nav-users/​2008-02/​msg00001.html . Be aware that NAV doesn'​t run well under the //kaffe// Java VM, which is why you should confirm that Sun's Java JDK is installed (''​sun-java6-jdk''​).+**OR**, check out Morten Werner Forsbring'​s dummy NAV package, which depends on all of the above. ​ See the following nav-users posting for details: https://​postlister.uninett.no/​sympa/​arc/​nav-users/​2008-02/​msg00001.html . Be aware that NAV doesn'​t run well under the //kaffe// Java VM, which is why you should confirm that Sun's Java JDK is installed (''​sun-java6-jdk''​) ​and is the active alternative for the ''​java''​ and ''​javac''​ commands: 
 + 
 +<​code>​ 
 +sudo update-alternatives --config java 
 +sudo update-alternatives --config javac 
 +</​code>​
  
 Next, NAV's build time dependencies:​ Next, NAV's build time dependencies:​
Line 87: Line 92:
 :!: Then, take the password you chose for the database user and put this as the value to the ''​userpw_nav''​ option in ''/​usr/​local/​nav/​etc/​db.conf''​. :!: Then, take the password you chose for the database user and put this as the value to the ''​userpw_nav''​ option in ''/​usr/​local/​nav/​etc/​db.conf''​.
  
-===== Fixing Python =====+===== Fixing Python ​library path =====
 We do this because we don't install the libraries to the systemwide Python library directories. ​ We do however want them available for use systemwide: We do this because we don't install the libraries to the systemwide Python library directories. ​ We do however want them available for use systemwide:
 <​code>​ <​code>​
-sudo bash -c 'cat << EOF > /usr/​local/​lib/python2.5/​site-packages/​sitecustomize.py+sudo bash -c 'cat << EOF >> /etc/​python2.5/​sitecustomize.py 
 import sys import sys
 __navpath = "/​usr/​local/​nav/​lib/​python"​ __navpath = "/​usr/​local/​nav/​lib/​python"​
installing_from_source_on_debian.txt · Last modified: 2011/06/24 08:05 by vegardv