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:25]
morten add bit about java alternatives
installing_from_source_on_debian [2010/02/10 12:15]
lkarsten don't use make -jX
Line 26: Line 26:
  
 <​code>​ <​code>​
-sudo aptitude install perl python sun-java6-jdkapache2-mpm-prefork \+sudo aptitude install perl python sun-java6-jdk apache2-mpm-prefork \
                       cricket postgresql-8.3 libapache2-mod-python \                       cricket postgresql-8.3 libapache2-mod-python \
                       libpg-java libpg-perl libsnmp1.4-java \                       libpg-java libpg-perl libsnmp1.4-java \
Line 61: Line 61:
 sudo make install sudo make install
 </​code>​ </​code>​
- +Note: avoid using -j when calling make. It will break the build, since make tries to run many ant processes with interdependencies at the same time.
- +
  
  
Line 92: Line 90:
 :!: 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