Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 9DB669F9C6F for ; Sun, 9 Sep 2007 22:01:59 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 99417-09 for ; Sun, 9 Sep 2007 22:01:55 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from lists.commandprompt.com (host-254.commandprompt.net [207.173.203.254]) by postgresql.org (Postfix) with ESMTP id 398009F97B5 for ; Sun, 9 Sep 2007 22:01:54 -0300 (ADT) Received: from perhan.alvh.no-ip.org ([190.95.8.15]) (authenticated bits=0) by lists.commandprompt.com (8.13.7/8.13.6) with ESMTP id l8A11o3O012806; Sun, 9 Sep 2007 18:01:51 -0700 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 5036147C64; Sun, 9 Sep 2007 21:01:47 -0400 (CLT) Date: Sun, 9 Sep 2007 21:01:47 -0400 From: Alvaro Herrera To: John Summerfield Cc: pgsql-sql@postgresql.org Subject: Re: postgresql HEAD build failure Message-ID: <20070910010147.GA12075@alvh.no-ip.org> References: <46E49549.8070408@herakles.homelinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46E49549.8070408@herakles.homelinux.org> User-Agent: Mutt/1.5.16 (2007-06-11) X-Virus-Scanned: ClamAV version 0.91.1, clamav-milter version 0.91.1 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (lists.commandprompt.com [192.168.2.159]); Sun, 09 Sep 2007 18:01:52 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/71 X-Sequence-Number: 29284 John Summerfield wrote: > I have, for some months, been running this daily, but not taking notice > of the results: > [pgtest@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@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.