Changes between Version 17 and Version 18 of UsersWikiWinCompile


Ignore:
Timestamp:
04/15/09 13:08:29 (16 years ago)
Author:
nicklas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UsersWikiWinCompile

    v17 v18  
    3030     2. untar them and copy all content to c:\msys\1.0 and and click ok to overwrite existing files and folders.
    3131     
    32 '''5. Download and install the following from gnuwin32.sourceforge.net/packages.html'''[[BR]]
    33 Change install directory to c:\mingw
     32'''5. Download and install the following from gnuwin32.sourceforge.net/packages.html'''
    3433     1. Bison, http://kent.dl.sourceforge.net/sourceforge/gnuwin32/bison-2.1.exe
    3534     2. zlib, http://kent.dl.sourceforge.net/sourceforge/gnuwin32/zlib-1.2.3.exe
     
    3736     4. !GetText, http://kent.dl.sourceforge.net/sourceforge/gnuwin32/gettext-0.14.4.exe
    3837     5. !LibIconv, http://kent.dl.sourceforge.net/sourceforge/gnuwin32/libiconv-1.9.2-1.exe
     38Change install directory to c:\mingw
    3939
    4040'''6. update m4'''[[BR]]
     
    8787if you just see a new folder called autoconf-2.63 you have to go into that one to:[[BR]]
    8888''cd autoconf-2.63''[[BR]]
    89   when you se a lot of folders like bin and lib and a lot of files, then you are right[[BR]]
    90  now we shall configure and make this tool[[BR]]
    91  print:
     89when you se a lot of folders like bin and lib and a lot of files, then you are right[[BR]]
     90now we shall configure and make this tool[[BR]]
     91print:
    9292      4. ''configure --prefix-/c/mingw && make && make install''
    93  
    94  now a lot of text shall appear in the window and after a while you will hopefully get no error-messages but jut get back to your prompt.[[BR]]
    95  
    96  now go to the other source-code directories and do the same[[BR]]
    97 
     93now a lot of text shall appear in the window and after a while you will hopefully get no error-messages but jut get back to your prompt.[[BR]]
     94now go to the other source-code directories and do the same[[BR]]
    9895      5. ''cd ..'' (backing to the directory c:\thesrc)
    9996      6. ''cd automake-1.10.2''
     
    105102 
    106103 
    107 '''9. Compiling PostgreSQL'''
    108    
     104'''9. Compiling PostgreSQL'''[[BR]]   
    109105Download latest PostgreSQL source from http://www.postgresql.org/ftp/source/ and untar in C:\thesrc[[BR]]
    110106move to folder[[BR]]
    111       1. ''cd /c/thesrc/postgresql-8.3.7'' (the version of today)[[BR]]
    112       2. ''configure --prefix-/c/postgres && make && make install''[[BR]]
    113 
     107      1. ''cd /c/thesrc/postgresql-8.3.7'' (the version of today)
     108      2. ''configure --prefix-/c/postgres && make && make install''
    114109note that we now have changed the install-directory from mingw to postgres
    115110
     
    141136
    142137'''10. Compiling GEOS'''[[BR]]
    143 Download latest GEOS -- from trac.osgeo.org/geos/ (download.osgeo.org/geos/geos-3.1.0rc2.tar.bz2)[[BR]]
     138Download latest GEOS-source from trac.osgeo.org/geos/ (http://download.osgeo.org/geos/geos-3.1.0rc2.tar.bz2)[[BR]]
    144139Do the same as with postgresql, extract to c:\thesrc[[BR]]
    145 in msys terminal print[[BR]]
    146      1. ''configure --prefix-/c/postgres && make && make install''[[BR]]
     140in msys terminal move to the GEOS source-code directory[[BR]]
     141     1. ''configure --prefix-/c/postgres && make && make install''
    147142
    148143'''11. Compiling Proj'''[[BR]]
    149 Download latest Proj -- from trac.osgeo.org/proj/ (download.osgeo.org/proj/proj-4.6.1.zip)[[BR]]
    150 in msys terminal print[[BR]]
    151 configure --prefix-/c/postgres && make && make install
     144Download latest Proj from trac.osgeo.org/proj/ (http://download.osgeo.org/proj/proj-4.6.1.zip)[[BR]]
     145in msys terminal move to the Proj source-code directory[[BR]]
     146     1. ''configure --prefix-/c/postgres && make && make install''
    152147
    153 '''Compiling PostGIS SVN 1.4'''
     148'''12. Compiling PostGIS SVN 1.4'''
    154149       1. Download postgis.refractions.net/download/postgis-1.4.0SVN.tar.gz and put in C:/thesrc
    155        2. cd /c/thesrc
    156        3. gzip -d -c postgis-1.4.0SVN.tar.gz | tar xvf -
    157        4. cd postgis-svn
    158        5. configure --prefix=/c/postgresql --with-pgconfig=/c/postgresql/bin/pg_config -with-geosconfig=/c/postgresql/bin/geos-config --with-projdir=/c/postgresql
    159        6. make
    160        7. make install
    161        8. copy postgis-1.4.dll from C:\postgresql\lib to your windows PostgreSQL lib folder
    162        9. copy C:\postgresql\bin\libgeos-3-1-0.dll and libgeos_c-1.dll to your PostgreSQL bin folder
     150       2. ''cd /c/thesrc''
     151       3. ''gzip -d -c postgis-1.4.0SVN.tar.gz | tar xvf -''
     152       4. ''cd postgis-svn''
     153       5. ''configure --prefix=/c/postgresql --with-pgconfig=/c/postgresql/bin/pg_config -with-geosconfig=/c/postgresql/bin/geos-config --with-projdir=/c/postgresql''
     154       6. ''make''
     155       7. ''make install''
     156
     157'''13. To use your new postgis'''
     158       1. copy postgis-1.4.dll from C:\postgresql\lib to your windows PostgreSQL lib folder
     159       2. copy C:\postgresql\bin\libgeos-3-1-0.dll and libgeos_c-1.dll to your PostgreSQL bin folder
     160       3. open PGAdmin and make a new database without any template
     161       4. open a new query-window to your new database
     162       5. run postgis.sql and spatial_ref_sys.sql from C:\postgresql\share\contrib\
     163
     164Hopefully you now have a database running your recently compiled postgis.
     165
    163166       
    164167