Steve Singer ssinger at ca.afilias.info
Wed Jul 21 07:20:34 PDT 2010
Scott Marlowe wrote:
> I added the previous repos to get pgsql 8.3 on this ubuntu 10.04
> machine, but now I'm close to installing pgsql from source to get the
> latest version as well and see if compiling will then work.
> 
> wget http://www.slony.info/downloads/1.2/source/slony1-1.2.21.tar.bz2
> tar xvjf slony1-1.2.21.tar.bz2
> cd slony1-1.2.21/
> ./configure --with-pgpkglibdir=/usr/lib/postgresql/8.3/lib/
> make
> 
> I get this at the end:
> 


> xxid.c: In function '_Slony_I_xxid_ge_snapshot':
> xxid.c:409: warning: cast to pointer from integer of different size
> make[2]: *** [xxid.o] Error 1

This is just the warning, the compiler probably printed an error a few 
lines above.  If your still interested in getting it to compile against 
your pgsql binaries then send the entire compiler output for xxid.c 
including the gcc command it invoked.

My guess is that it isn't finding a header file.


> make[2]: Leaving directory `/home/dgish/slony1-1.2.21/src/xxid'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/dgish/slony1-1.2.21/src'
> make: *** [all] Error 2
> 
> and it doesn't seem to install after that.  In the past I've seen
> complaints about xxid, but it still finished compiling.
> 
> I think I'll just try source compiling both pgsql and slony1
> 


-- 
Steve Singer
Afilias Canada
Data Services Developer
416-673-1142


More information about the Slony1-general mailing list