Thread: building 8.0.1 on OS X

building 8.0.1 on OS X

From
Ben
Date:
I'm trying to build 8.0.1 on OS X, and after a simple ./configure
without any options, the build progresses smoothly until, when building
pg_ctl:

pg_ctl.c: In function `test_postmaster_connection':
pg_ctl.c:439: error: `PQnoPasswordSupplied' undeclared (first use in
this function)
pg_ctl.c:439: error: (Each undeclared identifier is reported only once
pg_ctl.c:439: error: for each function it appears in.)



Any thoughts?


Re: building 8.0.1 on OS X

From
Tom Lane
Date:
Ben <bench@silentmedia.com> writes:
> I'm trying to build 8.0.1 on OS X, and after a simple ./configure
> without any options, the build progresses smoothly until, when building
> pg_ctl:

> pg_ctl.c: In function `test_postmaster_connection':
> pg_ctl.c:439: error: `PQnoPasswordSupplied' undeclared (first use in
> this function)

That should be defined in libpq-fe.h.  I suspect your build is picking
up an old version of libpq-fe.h from somewhere.  Check include paths.

            regards, tom lane

Re: building 8.0.1 on OS X

From
Ben
Date:
Just to follow up on this, yes, it was an include path thing.

On Mar 24, 2005, at 7:33 PM, Tom Lane wrote:

> Ben <bench@silentmedia.com> writes:
>> I'm trying to build 8.0.1 on OS X, and after a simple ./configure
>> without any options, the build progresses smoothly until, when
>> building
>> pg_ctl:
>
>> pg_ctl.c: In function `test_postmaster_connection':
>> pg_ctl.c:439: error: `PQnoPasswordSupplied' undeclared (first use in
>> this function)
>
> That should be defined in libpq-fe.h.  I suspect your build is picking
> up an old version of libpq-fe.h from somewhere.  Check include paths.
>
>             regards, tom lane
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to
> majordomo@postgresql.org