Changes between Version 14 and Version 15 of UsersWikiWinCompile


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

Legend:

Unmodified
Added
Removed
Modified
  • UsersWikiWinCompile

    v14 v15  
    3333Change install directory to c:\mingw
    3434 
    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
    4040
    4141
     
    5959   6. press OK -> OK -> OK and you are done.   
    6060----
    61      Set the environment variable HOME to C:\msys\1.0\home
     61Set the environment variable HOME to C:\msys\1.0\home
    6262
    63 '''8. Now, download the sourcecode of :'''[[BR]]
     63'''8. Installing Autoconf, Automake and Libtool'''[[BR]]
     64download the sourcecode of :[[BR]]
    6465    1. autoconf from ftp.gnu.org/gnu/autoconf
    6566    2. automake  from ftp.gnu.org/gnu/automake
     
    7677now you get a terminal-window that understands a bunch of unix/linux-commands (at least enough for compiling)[[BR]]
    7778print:
    78        1. cd /c/thesrc
    79        2. ls
    80   Now you will get the fOlders you have copied to the directory listed.[[BR]]
    81   The names of the folders will be different than in this example if you have newer releases of the tools.[[BR]]
    82   move into one of the folders:
    83        3. cd autoconf-2.63
     79       1. ''cd /c/thesrc''
     80       2. ''ls''
     81Now you will get the fOlders you have copied to the directory listed.[[BR]]
     82The names of the folders will be different than in this example if you have newer releases of the tools.[[BR]]
     83move into one of the folders:
     84       3. ''cd autoconf-2.63''
    8485 
    85   ok, now we are in the directory with the autoconf source-code[[BR]]
    86   print:[[BR]]
    87   ls[[BR]]
    88   if you just see a new folder called autoconf-2.63 you have to go into that one to:[[BR]]
    89   cd autoconf-2.63[[BR]]
     86ok, now we are in the directory with the autoconf source-code[[BR]]
     87print:[[BR]]
     88''ls''[[BR]]
     89if 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]]
    9091  when you se a lot of folders like bin and lib and a lot of files, then you are right[[BR]]
    9192 now we shall configure and make this tool[[BR]]
    9293 print:
    93       5. configure --prefix-/c/mingw && make && make install
     94      4. ''configure --prefix-/c/mingw && make && make install''
    9495 
    9596 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]]
     
    9798 now go to the other source-code directories and do the same[[BR]]
    9899
    99       6. cd .. (backing to the directory c:\thesrc)
    100       7. cd automake-1.10.2
    101       8. configure --prefix-/c/mingw && make && make install
     100      5. ''cd ..'' (backing to the directory c:\thesrc)
     101      6. ''cd automake-1.10.2''
     102      7. ''configure --prefix-/c/mingw && make && make install''
    102103
    103       9. cd .. (backing to the directory c:\thesrc)
    104       10. cd libtool-2.2.4
    105       11. configure --prefix-/c/mingw && make && make install
     104      8. ''cd ..'' (backing to the directory c:\thesrc)
     105      9. ''cd libtool-2.2.4''
     106      10. ''configure --prefix-/c/mingw && make && make install''
    106107 
    107108 
    108 '''Compiling PostgreSQL'''
     109'''9. Compiling PostgreSQL'''
    109110   
    110111Download latest PostgreSQL source from http://www.postgresql.org/ftp/source/ and untar in C:\thesrc[[BR]]
    111112move 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]]
    114115
    115116note that we now have changed the install-directory from mingw to postgres
     
    136137#undef SECURITY_WIN32[[BR]]
    137138
    138 read about this here:[[BR]]
     139you can read about this here:[[BR]]
    139140pgolub.wordpress.com/2008/12/15/building-postgresql-client-library-using-mingw-under-winxp-sp3/[[BR]]
    140141and[[BR]]
    141142postgresqlorg.blogspot.com/2008/09/hackers-83-4-vista-mingw-initdb.html[[BR]]
    142143
    143 '''Compiling GEOS'''[[BR]]
     144'''10. Compiling GEOS'''[[BR]]
    144145Download latest GEOS -- from trac.osgeo.org/geos/ (download.osgeo.org/geos/geos-3.1.0rc2.tar.bz2)[[BR]]
    145146Do the same as with postgresql, extract to c:\thesrc[[BR]]
    146147in msys terminal print[[BR]]
    147 configure --prefix-/c/postgres && make && make install[[BR]]
     148     1. ''configure --prefix-/c/postgres && make && make install''[[BR]]
    148149
    149 '''Compiling Proj'''[[BR]]
     150'''11. Compiling Proj'''[[BR]]
    150151Download latest Proj -- from trac.osgeo.org/proj/ (download.osgeo.org/proj/proj-4.6.1.zip)[[BR]]
    151152in msys terminal print[[BR]]