Re: postgresql HEAD build failure
От | Alvaro Herrera |
---|---|
Тема | Re: postgresql HEAD build failure |
Дата | |
Msg-id | 20070910010147.GA12075@alvh.no-ip.org обсуждение исходный текст |
Ответ на | postgresql HEAD build failure (John Summerfield <postgres@herakles.homelinux.org>) |
Ответы |
Re: postgresql HEAD build failure
|
Список | pgsql-sql |
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.
В списке pgsql-sql по дате отправления: