Changes between Version 23 and Version 24 of CompileOnWindows


Ignore:
Timestamp:
Mar 21, 2009, 6:40:14 AM (15 years ago)
Author:
cnielsen
Comment:

fixed postgre

Legend:

Unmodified
Added
Removed
Modified
  • CompileOnWindows

    v23 v24  
    204204char       *datadir = PGSHAREDIR;
    205205}}}
    206 to:
     206To:
    207207{{{
    208208char       *bindir = "/osgeo4w/apps/pgsql/bin";
    209209char       *libdir = "/osgeo4w/apps/pgsql/lib";
    210210char       *datadir = "/osgeo4w/apps/pgsql/share";
    211 }}}     
    212 5. In the msys console type:
     211}}}
     2125. Open c:\osgeo4w\postgresql-8.3.6\src\interfaces\libpq\crypt.c
     213
     2146. At line 108 change:
     215{{{
     216typedef int int32_t;
     217}}}
     218To:
     219{{{
     220/*typedef int int32_t;*/
     221}}}
     2227. In the msys console type:
    213223{{{
    214224cd /osgeo4w/postgresql-8.3.6
    215 ./configure --prefix=/osgeo4w/apps/pgsql \
     225./configure --prefix=/osgeo4w \
    216226--with-includes=/osgeo4w/include \
    217227--with-libraries=/osgeo4w/lib \
     
    229239
    230240{{{
    231 ./configure --prefix=/osgeo4w/apps/sqlite
     241./configure --prefix=/osgeo4w
    232242make
    233243make install