CVS User Account cvsuser
Thu Apr 14 21:46:17 PDT 2005
Log Message:
-----------
A user submitted the following report:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Building for 7.4.6

I didn't do a make install-all-headers, hence no include/server directory,
no postgres.h file, and a very unhappy slony config:

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>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Modifications made to README and to faq.sgml to document clearly that
you need to "make install-all-headers"

Modified Files:
--------------
    slony1-engine:
        README (r1.9 -> r1.10)
    slony1-engine/doc/adminguide:
        faq.sgml (r1.26 -> r1.27)

-------------- next part --------------
Index: README
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/README,v
retrieving revision 1.9
retrieving revision 1.10
diff -LREADME -LREADME -u -w -r1.9 -r1.10
--- README
+++ README
@@ -37,6 +37,11 @@
 --with-pgpkglibdir=<dir>        Location of the PostgreSQL pkglibs. E.g. plpgsql.so
 --with-pgsharedir=<dir>         Location of the PostgreSQL share dir. E.g. postgresql.conf.sample
 
+PostgreSQL version 8 installs the server header #include files by
+default; with version 7.4 and earlier, you need to make sure that the
+build included doing "make install-all-headers", otherwise the server
+headers will not be installed.
+
 The complete list of files installed is:
 
     * $bindir/slon
Index: faq.sgml
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/doc/adminguide/faq.sgml,v
retrieving revision 1.26
retrieving revision 1.27
diff -Ldoc/adminguide/faq.sgml -Ldoc/adminguide/faq.sgml -u -w -r1.26 -r1.27
--- doc/adminguide/faq.sgml
+++ doc/adminguide/faq.sgml
@@ -3,6 +3,25 @@
 <indexterm><primary> Frequently Asked Questions about &slony1;</primary></indexterm>
 
 <qandaentry>
+<question><para> I tried building &slony1; 1.1 and got the following
+error message:
+<screen>
+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=&lt;dir&gt;
+</screen>
+</para></question>
+
+<answer><para> You are almost certainly running version &postgres; 7.4
+or earlier, where server headers are not installed by default if you
+just do a <command>make install</command> of &postgres;.</para>
+
+<para> You need to install server headers when you install &postgres;
+via the command <command>make install-all-headers</command>.
+
+</para> </answer> </qandaentry>
+
+<qandaentry>
 
 <question><para>I looked for the <envar>_clustername</envar> namespace, and
 it wasn't there.</para></question>


More information about the Slony1-commit mailing list