From: | Philip Warner <pjw(at)rhyme(dot)com(dot)au> |
---|---|
To: | Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org, Jan Wieck <JanWieck(at)yahoo(dot)com> |
Subject: | Re: fcntl(F_SETLK) |
Date: | 2000-07-06 13:49:43 |
Message-ID: | 3.0.5.32.20000706234943.021f9c00@mail.rhyme.com.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
At 13:41 6/07/00 +0000, Thomas Lockhart wrote:
>
>The tree worked yesterday. Philip, what exactly did you do to "cause the
>configure test to fail"? Can I just go in a muck with Makefile.global?
>
I tried that, but it seemed not to work - rerunning configure seems to be
necessary. The solution I adopted is quite embarrasing, so if anyone wants
to give me a lesson in the best way to do this, feel free!
In 'configure' you will find a section:
echo $ac_n "checking for fcntl(F_SETLK)""... $ac_c" 1>&6
echo "configure:5598: checking for fcntl(F_SETLK)" >&5
cat > conftest.$ac_ext <<EOF
#line 5600 "configure"
#include "confdefs.h"
#include <tdio.h>
#include <fcntl.h>
I changed the last two lines to:
#include <pjwpjwstdio.h>
#include <pjwpjwfcntl.h>
(ie. two file names that I knew did not exist) - hence the test will fail.
It'd probably work if you just deleted them, but I like to leave
footprints, at least...
----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.C.N. 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 0500 83 82 82 | ___________ |
Http://www.rhyme.com.au | / \|
| --________--
PGP key available upon request, | /
and from pgp5.ai.mit.edu:11371 |/
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2000-07-06 13:58:02 | Re: oidvector problem, latest version- has read other oidvector notes |
Previous Message | Thomas Lockhart | 2000-07-06 13:44:25 | Re: 2nd update on TOAST |