[postgis-devel] WKT Raster: Why having to compile PostgreSQL& PostGIS first?
Pierre Racine
Pierre.Racine at sbf.ulaval.ca
Sat Feb 28 15:18:45 PST 2009
>> As a newcomer I really don't like the idea of having to compile
>> PostgreSQL & PostGIS before starting working on WKT Raster (I start
it
>> today!).
>
>There is no need to build PostgreSQL. You need to build PostGIS once.
>There is a requirement to use pretty fresh version of PostgreSQL and
>PostGIS.
Could not compile PostgreSQL 8.3.5. Spent the day on Paul's 20
minutes... Ended with:
---------------------------------------------------------------
make[4]: Entering directory
`/wktrasterdevel/postgresql-8.3.5/src/backend/access/common'
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
-fwrapv -I../../../../src/include -I./src/include/port/win32
-DEXEC_BACKEND "-I../../../../src/include/port/win32" -DBUILDING_DLL
-c -o printtup.o printtup.c
In file included from
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/security.h:38,
from ../../../../src/include/libpq/libpq-be.h:50,
from ../../../../src/include/libpq/libpq.h:21,
from printtup.c:19:
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sspi.h:60:
error: syntax error before "SECURITY_STRING"
In file included from
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/security.h:39,
from ../../../../src/include/libpq/libpq-be.h:50,
from ../../../../src/include/libpq/libpq.h:21,
from printtup.c:19:
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:123
: error: syntax error before "SECURITY_STRING"
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:125
: error: syntax error before "LogonServer"
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:127
: error: syntax error before '}' token
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:212
: error: syntax error before "SECPKG_NAME_TYPE"
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:225
: error: syntax error before "SECPKG_NAME_TYPE"
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:342
: error: syntax error before "PSecurityUserData"
make[4]: *** [printtup.o] Error 1
make[4]: Leaving directory
`/wktrasterdevel/postgresql-8.3.5/src/backend/access/common'
make[3]: *** [common-recursive] Error 2
make[3]: Leaving directory
`/wktrasterdevel/postgresql-8.3.5/src/backend/access'
make[2]: *** [access-recursive] Error 2
make[2]: Leaving directory
`/wktrasterdevel/postgresql-8.3.5/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/wktrasterdevel/postgresql-8.3.5/src'
make: *** [all] Error 2
------------------------------------------------------------------
So following your suggestion that "There is no need to build PostgreSQL"
I installed 8.3.6...
Can I compile Geos with gcc? Or I have to use VC?
./configure doesn't seems to be an option.
Pierre
More information about the postgis-devel
mailing list