Changes between Version 40 and Version 41 of UsersWikiWinCompile
- Timestamp:
- 06/30/09 06:04:46 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UsersWikiWinCompile
v40 v41 91 91 1. ''cd /c/thesrc'' 92 92 2. ''ls'' 93 Now you will get the f Olders you have copied to the directory listed.[[BR]]93 Now you will get the folders you have copied to the directory listed.[[BR]] 94 94 The names of the folders will be different than in this example if you have newer releases of the tools.[[BR]] 95 95 move into one of the folders: … … 125 125 if you get an error something like:[[BR]] 126 126 e:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sspi.h:60: error: syntax error before SECURITY_STRING[[BR]] 127 In file included from e:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/security.h:39, [[BR]]128 from libpq-int.h:57, [[BR]]129 from fe-auth.h:18, [[BR]]130 from fe-auth.c:48: [[BR]]127 In file included from e:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/security.h:39, [[BR]] 128 from libpq-int.h:57, [[BR]] 129 from fe-auth.h:18, [[BR]] 130 from fe-auth.c:48: [[BR]] 131 131 e:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:123: error: syntax error before SECURITY_STRING 132 132 133 133 the solution is to edit two of the source-files.[[BR]] 134 In both files: [[BR]]135 postgresql-8.3.7/src/include/libpq/libpq-be.h [[BR]]136 and [[BR]]134 In both files: [[BR]] 135 postgresql-8.3.7/src/include/libpq/libpq-be.h [[BR]] 136 and [[BR]] 137 137 postgresql-8.3.7/src/interfaces/libpq/libpq-int.h: 138 138 … … 145 145 146 146 you can read about this here:[[BR]] 147 http://pgolub.wordpress.com/2008/12/15/building-postgresql-client-library-using-mingw-under-winxp-sp3/ [[BR]]147 http://pgolub.wordpress.com/2008/12/15/building-postgresql-client-library-using-mingw-under-winxp-sp3/ [[BR]] 148 148 and[[BR]] 149 http://postgresqlorg.blogspot.com/2008/09/hackers-83-4-vista-mingw-initdb.html [[BR]]149 http://postgresqlorg.blogspot.com/2008/09/hackers-83-4-vista-mingw-initdb.html [[BR]] 150 150 151 151 '''10. Compiling GEOS'''[[BR]] 152 Download latest GEOS-source from trac.osgeo.org/geos/ ( http://download.osgeo.org/geos/geos-3.1.1.tar.bz2)152 Download latest GEOS-source from trac.osgeo.org/geos/ ( http://download.osgeo.org/geos/geos-3.1.1.tar.bz2 ) 153 153 and copy into C:\thesrc 154 154 … … 159 159 160 160 161 Do the same as with postgresql, extract to c:\thesrc [[BR]]161 Do the same as with postgresql, extract to c:\thesrc [[BR]] 162 162 in msys terminal move to the GEOS source-code directory[[BR]] 163 163 1. ''configure --prefix=/c/postgres && make && make install'' … … 168 168 169 169 '''11. Compiling Proj'''[[BR]] 170 Download latest Proj from trac.osgeo.org/proj/ (http://download.osgeo.org/proj/proj-4.6.1.zip )[[BR]]170 Download latest Proj from trac.osgeo.org/proj/ (http://download.osgeo.org/proj/proj-4.6.1.zip ) [[BR]] 171 171 in msys terminal move to the Proj source-code directory[[BR]] 172 172 1. ''configure --prefix=/c/postgres && make && make install''