Changes between Version 6 and Version 7 of UsersWikiWinCompile
- Timestamp:
- 04/15/09 12:01:27 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TabularUnified UsersWikiWinCompile
v6 v7 1 A step by step guide how I managed with compiling Postgis in windows 1 A step by step guide how I managed with compiling Postgis in windows XP SP3 2 2 3 3 '''I have used this installdirectories''':[[BR]] … … 72 72 19. make a folder c:\thesrc and untar the source-files there 73 73 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]] 75 now you get a terminal-window that understands a bunch of unix/linux-commands (at least enough for compiling)[[BR]] 76 print: 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 82 83 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 91 93 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]] 93 95 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 95 105 96 97 cd .. (backing to the directory c:\thesrc)98 cd automake-1.10.299 configure --prefix-/c/mingw && make && make install100 101 cd .. (backing to the directory c:\thesrc)102 cd libtool-2.2.4103 configure --prefix-/c/mingw && make && make install104 106 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 109 Download latest PostgreSQL source and untar in C:\thesrc[[BR]] 110 move to folder[[BR]] 111 cd /c/thesrc/postgresql-8.3.7 (the version of today)[[BR]] 112 configure --prefix-/c/postgres && make && make install[[BR]] 112 113 113 114 note that we now have changed the install-directory from mingw to postgres