Giuseppe Laccone giuseppe.laccone at gmail.com
Sun May 4 13:09:52 PDT 2008
Thanks a lot Christopher for your attention!!

  I will try to recompile it again, even if I have specifyed the
  location with --with-pgincludeserverdir=/usr/local/pgsql/include/server,
  it seems to me that here there aren't  some requested server headers.

  Do you know if there is somone who has compiled PG8.1.15 with slony1
  1.1.5 for Windows?

  I need this particular version on the master because the linux client
  is supporting just this version of slony and as I know from the
  documentation it's not possible to synchronize 2 diffenrent slony
  versions. Do you have any suggestion?


  Thanks a lot in advance!

  regards
  Giuseppe




  On Fri, May 2, 2008 at 10:36 PM, Christopher Browne
  <cbbrowne at ca.afilias.info> wrote:
  > "Giuseppe Laccone" <giuseppe.laccone at gmail.com> writes:
  >  > hi all,
  >  > I am trying to compile slony1 with PG8.1.11 for win32 with mingwin32
  >  > and msys as suggested in the
  >  > documentation:
  >  >
  >  > ./configure --with-pgbindir=/usr/local/pgsql/bin
  >  > --with-pgincludedir=/usr/local/pgsql/include
  >  > --with-pgincludeserverdir=/usr/local/pgsql/include/server
  >  > --with-pgconfigdir=/usr/local/pgsql/bin
  >  >
  >  > Unfortunately I  receive always the same error even is I specify
  >  > pgincludeserverdir:
  >
  >  Well, in looking at the config log (thanks for including it!), the
  >  following seems to be suggesting that:
  >
  >  a) Yes, you *do* have the server #includes installed (I can see it
  >    referencing PostgreSQL server includes, successfully).
  >
  >    So the problem *isn't* relating to not having properly referenced
  >    pgincludeserverdir.
  >
  >  b) ERROR being redefined seems troublesome.
  >
  >  It seems as though you have some extra #includes being drawn in that
  >  are causing a conflict.
  >
  >  In particular, you probably ought to see what is in
  >  ".../include/wingdi.h", as that is evidently in conflict with
  >  definitions in PostgreSQL #include <server/utils/elog.h>.  I have no
  >  idea what "wingdi.h" is; evidently it's not compatible...
  >
  >
  >
  >  > C:/msys/1.0/local/pgsql/include/server/utils/elog.h:40:1: warning:
  >  > "ERROR" redefined
  >  >
  >  > In file included from
  >  > c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h:52,
  >  >
  >  >                  from
C:/msys/1.0/local/pgsql/include/server/pg_config_os.h:7,
  >  >
  >  >                  from C:/msys/1.0/local/pgsql/include/server/c.h:85,
  >  >
  >  >                  from
C:/msys/1.0/local/pgsql/include/server/postgres.h:48,
  >  >
  >  >                  from conftest.c:71:
  >  >
  >  > c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/wingdi.h:313:1:
  >  > warning: this is the location of
  >  > the previous definition
  >
  >  --
  >  (format nil "~S@~S" "cbbrowne" "ca.afilias.info")
  >  <http://dba2.int.libertyrms.com/>
  >  Christopher Browne
  >  (416) 673-4124 (land)
  >


More information about the Slony1-general mailing list