Christopher Browne cbbrowne at ca.afilias.info
Tue Apr 28 07:51:31 PDT 2009
Philipp Haselwarter <admin at bitnoize.co.cc> writes:
> checking for pg_config... /c/postgresql/8.3/bin/pg_config
> checking for correct version of PostgreSQL... 8.3
> 8.3
> checking for PQunescapeBytea in -lpq... yes
> checking libpq-fe.h usability... yes
> checking libpq-fe.h presence... yes
> checking for libpq-fe.h... yes
> checking postgres.h usability... no
> checking postgres.h presence... no
> checking for postgres.h... no
> checking for utils/typcache.h... no
> configure: error: Headers for libpqserver are not found in the includeserverdir.
>     This is the path to postgres.h. Please specify the includeserverdir with
>     --with-pgincludeserverdir=<dir>
> Adding --with-pgincludeserverdir=/c/postgresql/8.3/include/server does not make any difference, changing the order of the two parameters or
> putting only the includeserverdir returns the same as above exept for a different end:
> overriding pgincludeserverdir with /c/postgresql/8.3/include/server
> checking for pg_config... configure: error: Cannot find pg_config.
>     Please specify correct installation path for pg_config
> So what can I do now? Are PostgreSQL 8.3 and Slony 2.0.1 actually compatible? Is there a different way for installing it? Or what's wrong with
> the compiling?
> Thanks a lot!!

I'd suggest taking a look in the file config.log, which has more
details as to what's going on.

Specifically, search for "checking postgres.h usability".

You'll see exactly what commands configure was trying to run to check
this, and that is quite likely to improve the ability to diagnose
what's breaking.

It's almost certainly NOT related to an "includeserverdir" issue; that
*used* to be an issue back in the PostgreSQL 7.x days, when "server
includes" were separate from "client includes," and it took a special
option to request installing the "server bits."

I'm not sure what the specific issue is; I don't have access to any
Windows systems, and I expect that the issue has something to do with
that.
-- 
(reverse (concatenate 'string "gro.mca" "@" "enworbbc"))
http://linuxfinances.info/info/advocacy.html
Rules of the Evil Overlord #208.  "Members of my Legion of Terror will
attend seminars  on Sensitivity  Training. It's good  public relations
for them to  be kind and courteous to the  general population when not
actively engaged in sowing chaos and destruction."
<http://www.eviloverlord.com/>


More information about the Slony1-general mailing list