Mon Apr 27 08:17:30 PDT 2009
- Previous message: [Slony1-general] Thanks for the slonyctl tools!
- Next message: [Slony1-general] Compiling Slony 2.0.1 for Windows Server 2003 R2 with PostgreSQL 8.3
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, I'm trying to get Slony 2.01 to work with Postgres 8.3 (which is up and running quite flawlessly actually) and as I couldn't find any precompiled binaries or installers for Windows (I'm on Server2003) I guess I'll have to compile it by myself. In order to do so downloaded and installed MinGW and MSYS as advised on the slony website (although wouldn't bet that they're configured properly). So I start MSYS and navigate to the folder I unpacked the Slony-1 2.0.1 engine into. Then I run ./configure --with-pgconfigdir=3D/c/postgresql/8.3/bin and get postgres at SRV-POSTGRE1 /c/slony1 $ ./configure --with-pgconfigdir=3D/c/postgresql/8.3/bin checking build system type... i686-pc-mingw32 checking host system type... i686-pc-mingw32 checking which template to use... win32 configure: using CFLAGS=3D checking for gcc... gcc checking for C compiler default output file name... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ld used by GCC... c:/mingw/mingw32/bin/ld.exe checking if the linker (c:/mingw/mingw32/bin/ld.exe) is GNU ld... yes checking for perl... no checking for tar... /bin/tar checking for flex... no checking for ,... no checking for lex... no checking for bison... no checking for ,... no checking for yacc... no checking for sed... sed checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... no checking whether pthreads work with -pthreads... no checking whether pthreads work with -mthreads... no checking for the pthreads library -lpthread... no checking whether pthreads work with --thread-safe... no checking whether pthreads work with -mt... no checking for pthread-config... no checking for the pthreads library -lpthreadgc2... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking sys/socket.h usability... no checking sys/socket.h presence... no checking for sys/socket.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for inttypes.h... (cached) yes checking for gettimeofday... yes checking for dup2... yes checking for alarm... no checking for memset... yes checking for select... no checking for strdup... yes checking for strerror... yes checking for strtol... yes checking for strtoul... yes checking for int32_t... yes checking for uint32_t... yes checking for u_int32_t... no checking for int64_t... yes checking for uint64_t... yes checking for u_int64_t... no checking for ssize_t... yes checking for POSIX signal interface... no checking if you have requested slony1-engine building... yes 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=3D<dir> Adding --with-pgincludeserverdir=3D/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!! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.slony.info/pipermail/slony1-general/attachments/20090427/= 54c570d8/attachment.htm
- Previous message: [Slony1-general] Thanks for the slonyctl tools!
- Next message: [Slony1-general] Compiling Slony 2.0.1 for Windows Server 2003 R2 with PostgreSQL 8.3
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list