build error

From: vanek <vanek(at)acd(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: build error
Date: 2009-08-16 15:58:29
Message-ID: 4A882CA5.9020200@acd.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

The fmgroids.h file was incorrectly being generated by shell script
Gen_fmgrtab.sh, so I had to fix
the makefile so that instead of the shell script generating the .h
file, perl generated it:

#fmgroids.h fmgrtab.c: Gen_fmgrtab.sh
$(top_srcdir)/src/include/catalog/pg_proc.h
# AWK='$(AWK)' $(SHELL) $<
$(top_srcdir)/src/include/catalog/pg_proc.h
fmgroids.h fmgrtab.c: Gen_fmgrtab.pl
$(top_srcdir)/src/include/catalog/pg_proc.h
perl $< $(top_srcdir)/src/include/catalog/pg_proc.h

in the /usr/local/src/pgsql/src/backend/utils/ directory.
The fmgroids.h was being created with the basic template, but none
of the DEFINES were
populated, aside from the wrap-around defines:
#ifndef FMGROIDS_H
#define FMGROIDS_H

Make check showed no errors and everything seems ok now after that
one fix. This is
working off of today's cvs.

> gawk --version
GNU Awk 3.1.5

> uname -a
Linux gnulou 2.6.17-co-0.8.0 #2 PREEMPT Wed Apr 25 22:15:57 CEST 2007
i686 GNU/Linux

> /usr/local/pgsql/bin/psql -U gnulou test
psql (8.5devel)

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Boszormenyi Zoltan 2009-08-16 15:59:46 Re: Split-up ECPG patches
Previous Message Michael Meskes 2009-08-16 13:32:38 Re: Split-up ECPG patches