Tue Jun 2 02:41:29 PDT 2009
- Previous message: [Slony1-general] Initial replication of sequences is failing
- Next message: [Slony1-general] How to shut-down slony replication
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jayadevan M schrieb: > Hi, > There is a mention of that error (configure: error: Your version of > libpq doesn't have PQunescapeBytea) here... > http://www.slony.info/documentation/faq.html > Regards, > Jay > > Hi, it seems that it's a 32/64 bit problem. I tried compiling it with some more flags: PATH=/opt/SUNWspro/bin/:/usr/postgres/8.3/bin:/usr/sfw/bin:/usr/bin:/usr/ucb:/usr/sbin/:. && export PATH CC=cc && export CC CFLAGS="-m64" export CFLAGS CPPFLAGS="-I/usr/postgres/8.3/include/ -I/usr/postgres/8.3/include/server/ -I../../src/slonik" && export CPPFLAGS But this resulted in pgport (libpgport.a) not being found anymore. I had compiled pgport previously out of the sources of postgres (from Solaris DVD). So, I went and recompiled it, too: (with -m64 and -xarch=native, as suggested here: http://blogs.sun.com/jkshah/entry/postgres_and_sun_studio_12 ) But now, the gmake of slony bombs out with: cc -m64 -I../.. -KPIC -I/usr/postgres/8.3/include/ -I/usr/postgres/8.3/include/server/ -I/usr/postgres/8.3/include/ -I/usr/postgres/8.3/include/server/ -I/usr/postgres/8.3/include/ -I/usr/postgres/8.3/include/server/ -I/usr/postgres/8.3/include/ -I/usr/postgres/8.3/include/server/ -I../../src/slonik -c -o slony1_funcs.o slony1_funcs.c "slony1_funcs.c", line 1029: warning: argument #1 is incompatible with prototype: prototype: pointer to const char : "/usr/postgres/8.3/include/server/mb/pg_wchar.h", line 351 argument : pointer to unsigned char ld -G -Bdynamic -o slony1_funcs.so slony1_funcs.o ld: warning: i386:x86-64 architecture of input file `slony1_funcs.o' is incompatible with i386 output Help, how can I fix this? Has anybody built slony on Solaris? Best Regards, Rainer
- Previous message: [Slony1-general] Initial replication of sequences is failing
- Next message: [Slony1-general] How to shut-down slony replication
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list