Re: postgresql HEAD build failure

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: John Summerfield <postgres(at)herakles(dot)homelinux(dot)org>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: postgresql HEAD build failure
Date: 2007-09-10 01:01:47
Message-ID: 20070910010147.GA12075@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

John Summerfield wrote:
> I have, for some months, been running this daily, but not taking notice
> of the results:
> [pgtest(at)numbat ~]$ cat bin/pg_build
> #!/bin/bash
> set -xe
> cd /home/pgtest/pgsql/pgsql-2007-04-23/
> ping -c4 2>/dev/null anoncvs.postgresql.org | grep -q 'bytes from'\
> && {
> make distclean || :
> cvs -q update
> ./configure --prefix=${HOME}//postgres --with-pgport=5433 --with
> -pam --with-openssl \
> --enable-depend \
> --with-gnu-ld --with-python --with-perl
> }
> time make -j3 -s && time make -j3 -s install
> [pgtest(at)numbat ~]$
>
> It fails thus:
> config.status: linking ./src/makefiles/Makefile.linux to src/Makefile.port
> + make -j3 -s
> tsearchcmds.c:38:30: error: tsearch/ts_cache.h: No such file or directory
> tsearchcmds.c:39:31: error: tsearch/ts_public.h: No such file or directory
> tsearchcmds.c:40:30: error: tsearch/ts_utils.h: No such file or directory

Hmm, try deleting the build tree and start again. Sometimes, what
happens to me is that somebody adds a new directory, and my build tree
does not contain it. It's easy to fix: when I had a slower computer
what I did was create the offending directory and symlink the makefile.
Nowadays I just wipe the whole thing and let the build directory be
constructed again by configure. That gets things in sync.

Now that I look closer, however, this was always with source dirs, not
include dirs. I think the problem here is that you're not passing -d to
"cvs update".

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message John Summerfield 2007-09-10 01:36:59 Re: postgresql HEAD build failure
Previous Message John Summerfield 2007-09-10 00:52:25 postgresql HEAD build failure