Re: No source files from which to build Postgis extension - Mailing list pgsql-cygwin

From Jason Tishler
Subject Re: No source files from which to build Postgis extension
Date
Msg-id 20030408200602.GA968@tishler.net
Whole thread Raw
In response to Re: No source files from which to build Postgis extension  ("Norman Vine" <nhv@cape.com>)
Responses Re: No source files from which to build Postgis extension  ("Norman Vine" <nhv@cape.com>)
List 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@postgresql.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.opostgis_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

pgsql-cygwin by date:

Previous
From: Saravanan Bellan
Date:
Subject: Postgres/Cygwin - Semaphores
Next
From: "Norman Vine"
Date:
Subject: Re: No source files from which to build Postgis extension