Changes between Version 6 and Version 7 of UsersWikiWinCompile


Ignore:
Timestamp:
Apr 15, 2009, 12:01:27 PM (15 years ago)
Author:
nicklas
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • UsersWikiWinCompile

    v6 v7  
    1 A step by step guide how I managed with compiling Postgis in windows
     1A step by step guide how I managed with compiling Postgis in windows XP SP3
    22
    33'''I have used this installdirectories''':[[BR]]
     
    7272   19. make a folder c:\thesrc and untar the source-files there
    7373
    74 Launch MSys from Start->Programs->MinGW->msys
    75 now you get a terminal-window that understands a bunch of unix/linux-commands (at least enough for compiling)
    76 print
    77      1. cd /c/thesrc
    78      2. ls
    79   Now you will get the filders you have copied to the directory listed.
    80   The names of the folders will be different than in this example if you have newer releases of the tools.
    81   4 cd autoconf-2.63
     74'''Launch MSys from Start->Programs->MinGW->msys'''[[BR]]
     75now you get a terminal-window that understands a bunch of unix/linux-commands (at least enough for compiling)[[BR]]
     76print:
     77       1. cd /c/thesrc
     78       2. ls
     79  Now you will get the fOlders you have copied to the directory listed.[[BR]]
     80  The names of the folders will be different than in this example if you have newer releases of the tools.[[BR]]
     81  move into one of the folders:
     82       3. cd autoconf-2.63
    8283 
    83   ok, now we are in the directory with the autoconf source-code
    84   print
    85   ls
    86   if you just see a new folder called autoconf-2.63 you have to go into that one to: cd autoconf-2.63
    87   when you se a lot of folders like bin and lib and a lot of files, then you are right
    88  now we shall configure and make this tool
    89  print
    90  5 configure --prefix-/c/mingw && make && make install
     84  ok, now we are in the directory with the autoconf source-code[[BR]]
     85  print:[[BR]]
     86  ls[[BR]]
     87  if you just see a new folder called autoconf-2.63 you have to go into that one to:[[BR]]
     88  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:
     92      5. configure --prefix-/c/mingw && make && make install
    9193 
    92  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.
     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]]
    9395 
    94  now go to the other source-code directories and do the same
     96 now go to the other source-code directories and do the same[[BR]]
     97
     98      6. cd .. (backing to the directory c:\thesrc)
     99      7. cd automake-1.10.2
     100      8. configure --prefix-/c/mingw && make && make install
     101
     102      9. cd .. (backing to the directory c:\thesrc)
     103      10. cd libtool-2.2.4
     104      11. configure --prefix-/c/mingw && make && make install
    95105 
    96 
    97  cd .. (backing to the directory c:\thesrc)
    98  cd automake-1.10.2
    99  configure --prefix-/c/mingw && make && make install
    100 
    101  cd .. (backing to the directory c:\thesrc)
    102  cd libtool-2.2.4
    103  configure --prefix-/c/mingw && make && make install
    104106 
    105  3. Compiling PostgreSQL
    106  
    107  
    108 Download latest PostgreSQL source and untar in C:\thesrc
    109 move to folder
    110 cd /c/thesrc/postgresql-8.3.7 (the version of today)
    111 configure --prefix-/c/postgres && make && make install
     107'''Compiling PostgreSQL'''
     108   
     109Download latest PostgreSQL source and untar in C:\thesrc[[BR]]
     110move to folder[[BR]]
     111cd /c/thesrc/postgresql-8.3.7 (the version of today)[[BR]]
     112configure --prefix-/c/postgres && make && make install[[BR]]
    112113
    113114note that we now have changed the install-directory from mingw to postgres