Changes between Initial Version and Version 1 of 1.x/MakeDebPackage

Show
Ignore:
Timestamp:
01/15/08 08:20:23 (3 years ago)
Author:
takubo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 1.x/MakeDebPackage

    v1 v1  
     1= Making debian package = 
     2If you need only shortest path functionality, you can make pgRouting-core Debian package. 
     3 
     4== 1. Install required packages == 
     5{{{ 
     6sudo apt-get install build-essential subversion cmake debhelper fakeroot 
     7sudo apt-get install libboost-graph-dev 
     8sudo apt-get install postgresql-8.2-postgis postgresql-server-dev-8.2  
     9}}} 
     10 
     11== 2. Making package == 
     12Currently debian files are included in only trunk. 
     13{{{ 
     14svn checkout http://pgrouting.postlbs.org/svn/pgrouting/trunk pgrouting 
     15 
     16cd pgrouting/ 
     17dpkg-buildpackage -b -rfakeroot -uc -us 
     18}}} 
     19 
     20-uc and -us option means to unsign package,  
     21it is ok if you need not distribute package. 
     22 
     23== 3. Create routing database == 
     24{{{ 
     25createdb -U postgres routing 
     26createlang -U postgres plpgsql routing 
     27 
     28# Add PostGIS functions 
     29psql -U postgres -f /usr/share/postgresql-8.2-postgis/lwpostgis.sql routing 
     30psql -U postgres -f /usr/share/postgresql-8.2-postgis/spatial_ref_sys.sql routing 
     31 
     32# Add pgRouting functions 
     33psql -U postgres -f /usr/share/postlbs/routing_core.sql routing 
     34psql -U postgres -f /usr/share/postlbs/routing_core_wrappers.sql routing 
     35}}}