Re: [HACKERS] VPATH problems in ECPG again

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] VPATH problems in ECPG again
Date: 2006-11-29 12:33:05
Message-ID: 20061129123305.GA2785@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Alvaro Herrera wrote:
> Hi,
>
> I just noticed a VPATH problem in the ecpg_config.h file that was just
> set up to be installed:
>
> $ pwd
> /pgsql/build/80_rel/src/interfaces/ecpg/include
>
> $ make install
> for i in ecpgerrno.h ecpglib.h ecpgtype.h sqlca.h sql3types.h ecpg_informix.h ecpg_config.h pgtypes_error.h pgtypes_numeric.h pgtypes_timestamp.h pgtypes_date.h pgtypes_interval.h; do /bin/sh /pgsql/source/80_rel/config/install-sh -c -m 644 /pgsql/source/80_rel/src/interfaces/ecpg/include/$i '/pgsql/install/80_rel/include' || exit; done
> /pgsql/source/80_rel/config/install-sh: /pgsql/source/80_rel/src/interfaces/ecpg/include/ecpg_config.h does not exist.
> make: *** [install-headers] Error 1
>
> This is natural, since ecpg_config.h lives in builddir, not in srcdir,
> unlike the rest of the headers.

I think this patch fixes it.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

Attachment Content-Type Size
ecpg-makefile.fix text/plain 2.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2006-11-29 12:48:41 Re: Integrating Replication into Core
Previous Message soni de 2006-11-29 12:32:09 Re: Regarding PQputline and PQendcopy

Browse pgsql-patches by date

  From Date Subject
Next Message Zdenek Kotala 2006-11-29 13:39:31 Re: small patch with czech translations for names of months
Previous Message Alvaro Herrera 2006-11-29 12:28:24 VPATH problems in ECPG again