Skip site navigation (1) Skip section navigation (2)

Re: No source files from which to build Postgis extension

From: Jason Tishler <jason(at)tishler(dot)net>
To: Norman Vine <nhv(at)cape(dot)com>
Cc: "Mailing List: pgsql-cygwin" <pgsql-cygwin(at)postgresql(dot)org>,"Postgis-Users(at)Postgis(dot)Refractions(dot)Net" <postgis-users(at)postgis(dot)refractions(dot)net>
Subject: Re: No source files from which to build Postgis extension
Date: 2003-04-08 20:06:02
Message-ID: 20030408200602.GA968@tishler.net (view raw or flat)
Thread:
Lists: pgsql-cygwin
Norman,

On Mon, Apr 07, 2003 at 10:02:51AM -0400, Norman Vine wrote:
> for a link to the binary package and the changes I had to make see
> http://postgis.refractions.net/pipermail/postgis-users/2003-March/002260.html

Please submit a patch to <pgsql-patches(at)postgresql(dot)org> to add the
missing DLLIMPORT for cpu_index_tuple_cost to
src/include/optimizer/cost.h.

BTW, under 7.3.2-1, I get the following link errors:

    dllwrap -o postgis.dll --dllname postgis.dll --def postgis.def postgis_debug.o postgis_ops.o postgis_fn.o postgis_inout.o postgis_proj.o postgis_chip.o postgis_transform.o postgis_gist_72.o postgis_estimate.o ../../src/utils/dllinit.o -L/usr/local/lib -L/usr/local/lib                                                    postgis_debug.o(.text+0x2e0): In function `mem_size':
    /home/jt/src/postgresql-7.3.2-1/contrib/postgis/postgis_debug.c:101: undefined reference to `_pg_detoast_datum'
    ...

The above error is due to the dllwrap command missing the following
arguments:

    -L ../../src/backend -lpostgres

I used the attached patch to the PostGIS Makefile to workaround this
"problem." Is this cockpit error on my part?  Or, is the patch really
necessary?

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

Attachment: Makefile-postgis.diff
Description: text/plain (419 bytes)

In response to

Responses

pgsql-cygwin by date

Next:From: Norman VineDate: 2003-04-08 20:33:26
Subject: Re: No source files from which to build Postgis extension
Previous:From: Henshall, Stuart - Design & PrintDate: 2003-04-08 11:22:29
Subject: Re:

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group