[postgis-devel] WKT Raster: Why havingtocompilePostgreSQL&PostGISfirst?
Pierre Racine
Pierre.Racine at sbf.ulaval.ca
Tue Mar 3 11:31:51 PST 2009
So I could build everything but now when I try to execute postgis.sql in
a database I get:
NOTICE: type "spheroid" is not yet defined
DETAIL: Creating a shell type definition.
ERROR: could not load library
"C:/msys/1.0/local/pgsql/lib/postgis-1.4.dll": unknown error 126
Any idea?
I compiled postgresql-8.3.6, postgis-svn, geos\trunk and proj-4.6.1
Pierre
From: postgis-devel-bounces at postgis.refractions.net
[mailto:postgis-devel-bounces at postgis.refractions.net] On Behalf Of Obe,
Regina
Sent: 2 mars 2009 12:45
To: PostGIS Development Discussion
Subject: RE: [postgis-devel] WKT Raster: Why
havingtocompilePostgreSQL&PostGISfirst?
Pierre,
I cheated on that part as Mark said. I used my OpenSUSE VM downloaded
from http://www.go-mono.com/mono-downloads/download.html (which I use
for .NET testing on Linux and just happened to come in handy for postgis
development as well)
below to do the autogen stuff and then sftp to my windows desktop with
filezilla (though I suppose I could have used a file share, but seemed
just as easy to use sftp).
Alternatively for just compiling postgis you can download from the daily
svn snapshot and pull out the configure stuff.
Are we going to have an svn snapshot for WKT Raster? Would be nice if
we did.
Hope that helps,
Regina
-----Original Message-----
From: postgis-devel-bounces at postgis.refractions.net on behalf of Pierre
Racine
Sent: Mon 3/2/2009 11:40 AM
To: PostGIS Development Discussion
Subject: RE: [postgis-devel] WKT Raster: Why
havingtocompilePostgreSQL&PostGIS first?
I got GEOS built. Last is PostGIS (and then WKT Raster). I get:
racinep at DESROCHERSA-02 /wktrasterdevel/postgis/trunk
$ ./autogen.sh
/usr/share/aclocal/autoopts.m4:22: warning: underquoted definition of
AG_PATH_AUTOOPTS
run info '(automake)Extending aclocal'
or see
http://sources.redhat.com/automake/automake.html#Extending%20aclocal
Regina already had this problem
(http://www.nabble.com/Compile-issues-on-MingW-trunk-td21626492.html)
but I don't understand the fix.
Pierre
>-----Original Message-----
>From: postgis-devel-bounces at postgis.refractions.net
[mailto:postgis-devel-
>bounces at postgis.refractions.net] On Behalf Of Mateusz Loskot
>Sent: 2 mars 2009 10:40
>To: PostGIS Development Discussion
>Subject: RE: [postgis-devel] WKT Raster: Why having
tocompilePostgreSQL&PostGIS first?
>
>Pierre Racine wrote:
>> >> ---------------------------------------------------------------
>> >> 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"
>> >
>> >Googling for the error message confirms this is a known bug and
small
>> >fix is explained here:
>> >
>> >http://archives.postgresql.org/pgsql-bugs/2009-02/msg00092.php
>>
>> Thanks. However if I can live with a released version of PostgreSQL,
>> I'll be happy.
>>
>> >> 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?
>> >
>> >GEOS can be build with both. However, I have no idea if you can
safely
>> >mix binaries built with MinGW and Visual C++.
>> >
>> >> ./configure doesn't seems to be an option.
>> >
>> >Why?
>>
>> racinep at DESROCHERSA-02 /wktrasterdevel/geos/trunk
>> $ ./configure
>> sh: ./configure: No such file or directory
>>
>> racinep at DESROCHERSA-02 /wktrasterdevel/geos/trunk
>> $ autogen
>>
>> Autogen hang without doing anything...
>
>You can't use autogen.bat script which is dedicated to bootstrapping
for Visual C++.
>You need to use autotools-dedicated one:
>
>$ ./autogen.sh
>
>Here it is explained:
>
>http://trac.osgeo.org/geos/#BuildandInstall
>
>Mateusz
________________________________
The substance of this message, including any attachments, may be
confidential, legally privileged and/or exempt from disclosure pursuant
to Massachusetts law. It is intended solely for the addressee. If you
received this in error, please contact the sender and delete the
material from any computer.
________________________________
Help make the earth a greener place. If at all possible resist printing
this email and join us in saving paper.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20090303/c9e94fbc/attachment.html>
More information about the postgis-devel
mailing list