Changes between Version 14 and Version 15 of UsersWikiWinCompile
- Timestamp:
- 04/15/09 12:40:47 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UsersWikiWinCompile
v14 v15 33 33 Change install directory to c:\mingw 34 34 35 1. Bison (kent.dl.sourceforge.net/sourceforge/gnuwin32/bison-2.1.exe)36 2. zlib (kent.dl.sourceforge.net/sourceforge/gnuwin32/zlib-1.2.3.exe)37 3. Flex (kent.dl.sourceforge.net/sourceforge/gnuwin32/flex-2.5.4a-1.exe)38 4. GetText (kent.dl.sourceforge.net/sourceforge/gnuwin32/gettext-0.14.4.exe)39 5. LibIconv (kent.dl.sourceforge.net/sourceforge/gnuwin32/libiconv-1.9.2-1.exe)35 1. Bison, http://kent.dl.sourceforge.net/sourceforge/gnuwin32/bison-2.1.exe 36 2. zlib, http://kent.dl.sourceforge.net/sourceforge/gnuwin32/zlib-1.2.3.exe 37 3. Flex, http://kent.dl.sourceforge.net/sourceforge/gnuwin32/flex-2.5.4a-1.exe 38 4. GetText, http://kent.dl.sourceforge.net/sourceforge/gnuwin32/gettext-0.14.4.exe 39 5. LibIconv, http://kent.dl.sourceforge.net/sourceforge/gnuwin32/libiconv-1.9.2-1.exe 40 40 41 41 … … 59 59 6. press OK -> OK -> OK and you are done. 60 60 ---- 61 61 Set the environment variable HOME to C:\msys\1.0\home 62 62 63 '''8. Now, download the sourcecode of :'''[[BR]] 63 '''8. Installing Autoconf, Automake and Libtool'''[[BR]] 64 download the sourcecode of :[[BR]] 64 65 1. autoconf from ftp.gnu.org/gnu/autoconf 65 66 2. automake from ftp.gnu.org/gnu/automake … … 76 77 now you get a terminal-window that understands a bunch of unix/linux-commands (at least enough for compiling)[[BR]] 77 78 print: 78 1. cd /c/thesrc79 2. ls80 81 82 83 3. cd autoconf-2.6379 1. ''cd /c/thesrc'' 80 2. ''ls'' 81 Now you will get the fOlders you have copied to the directory listed.[[BR]] 82 The names of the folders will be different than in this example if you have newer releases of the tools.[[BR]] 83 move into one of the folders: 84 3. ''cd autoconf-2.63'' 84 85 85 86 87 ls[[BR]]88 89 cd autoconf-2.63[[BR]]86 ok, now we are in the directory with the autoconf source-code[[BR]] 87 print:[[BR]] 88 ''ls''[[BR]] 89 if you just see a new folder called autoconf-2.63 you have to go into that one to:[[BR]] 90 ''cd autoconf-2.63''[[BR]] 90 91 when you se a lot of folders like bin and lib and a lot of files, then you are right[[BR]] 91 92 now we shall configure and make this tool[[BR]] 92 93 print: 93 5. configure --prefix-/c/mingw && make && make install94 4. ''configure --prefix-/c/mingw && make && make install'' 94 95 95 96 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]] … … 97 98 now go to the other source-code directories and do the same[[BR]] 98 99 99 6. cd ..(backing to the directory c:\thesrc)100 7. cd automake-1.10.2101 8. configure --prefix-/c/mingw && make && make install100 5. ''cd ..'' (backing to the directory c:\thesrc) 101 6. ''cd automake-1.10.2'' 102 7. ''configure --prefix-/c/mingw && make && make install'' 102 103 103 9. cd ..(backing to the directory c:\thesrc)104 10. cd libtool-2.2.4105 1 1. configure --prefix-/c/mingw && make && make install104 8. ''cd ..'' (backing to the directory c:\thesrc) 105 9. ''cd libtool-2.2.4'' 106 10. ''configure --prefix-/c/mingw && make && make install'' 106 107 107 108 108 ''' Compiling PostgreSQL'''109 '''9. Compiling PostgreSQL''' 109 110 110 111 Download latest PostgreSQL source from http://www.postgresql.org/ftp/source/ and untar in C:\thesrc[[BR]] 111 112 move to folder[[BR]] 112 cd /c/thesrc/postgresql-8.3.7(the version of today)[[BR]]113 configure --prefix-/c/postgres && make && make install[[BR]]113 1. ''cd /c/thesrc/postgresql-8.3.7'' (the version of today)[[BR]] 114 2. ''configure --prefix-/c/postgres && make && make install''[[BR]] 114 115 115 116 note that we now have changed the install-directory from mingw to postgres … … 136 137 #undef SECURITY_WIN32[[BR]] 137 138 138 read about this here:[[BR]]139 you can read about this here:[[BR]] 139 140 pgolub.wordpress.com/2008/12/15/building-postgresql-client-library-using-mingw-under-winxp-sp3/[[BR]] 140 141 and[[BR]] 141 142 postgresqlorg.blogspot.com/2008/09/hackers-83-4-vista-mingw-initdb.html[[BR]] 142 143 143 ''' Compiling GEOS'''[[BR]]144 '''10. Compiling GEOS'''[[BR]] 144 145 Download latest GEOS -- from trac.osgeo.org/geos/ (download.osgeo.org/geos/geos-3.1.0rc2.tar.bz2)[[BR]] 145 146 Do the same as with postgresql, extract to c:\thesrc[[BR]] 146 147 in msys terminal print[[BR]] 147 configure --prefix-/c/postgres && make && make install[[BR]]148 1. ''configure --prefix-/c/postgres && make && make install''[[BR]] 148 149 149 ''' Compiling Proj'''[[BR]]150 '''11. Compiling Proj'''[[BR]] 150 151 Download latest Proj -- from trac.osgeo.org/proj/ (download.osgeo.org/proj/proj-4.6.1.zip)[[BR]] 151 152 in msys terminal print[[BR]]