External builds need tsearch include files

From: "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com>
To: "Patches" <pgsql-patches(at)postgresql(dot)org>
Subject: External builds need tsearch include files
Date: 2007-09-10 20:00:21
Message-ID: 46E5A255.7080703@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

I tried to compile a custom tsearch dictionary as an external module,
but it couldn't find the tsearch include files in the server
installation. tsearch subdirectory needs to be added to
src/include/Makefile, otherwise they don't get installed:

*** src/include/Makefile 9 Dec 2005 21:19:35 -0000 1.21
--- src/include/Makefile 10 Sep 2007 19:53:54 -0000
***************
*** 18,24 ****

# Subdirectories containing headers for server-side dev
SUBDIRS = access bootstrap catalog commands executor lib libpq mb \
! nodes optimizer parser regex rewrite storage tcop utils \
port port/win32 port/win32/arpa port/win32/netinet port/win32/sys

# Install all headers
--- 18,24 ----

# Subdirectories containing headers for server-side dev
SUBDIRS = access bootstrap catalog commands executor lib libpq mb \
! nodes optimizer parser regex rewrite storage tcop tsearch utils \
port port/win32 port/win32/arpa port/win32/netinet port/win32/sys

# Install all headers

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

Browse pgsql-patches by date

  From Date Subject
Next Message Simon Riggs 2007-09-10 20:05:58 Re: HOT patch - version 15
Previous Message Simon Riggs 2007-09-10 19:55:44 Re: HOT patch - version 15