Bernd Helmle mailings at oopsware.de
Wed Nov 7 09:36:00 PST 2007
I found it quite annoying today that slony doesn't build properly with

./configure --prefix=/dba/special/dir <--some-other-foo-magic>
make
make install DESTDIR=/tmp/test/dir

when building against a 'virtual' postgresql installation done with DESTDIR 
as well. This leads to a totally broken install directory layout, ending up 
with files scattered in different directories. The attached diff shows the 
most important changes i've done against config/acx_libpq.m4 to get that 
running, mostly because it doesn't allow overriding pgpkglibdir with an 
non-existing directory.

There are some minor issues open, but i would like to hear opinions before 
continuing to prepare a general patch to make that work. It would be 
useful, since building PostgreSQL works quite well that way and i think 
it's a common task to build RPMs as well.

-- 
  Thanks

                    Bernd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: acx_libpq.m4.diff
Type: text/x-diff
Size: 2372 bytes
Desc: not available
Url : http://lists.slony.info/pipermail/slony1-hackers/attachments/20071107/0205cac6/acx_libpq.m4.bin


More information about the Slony1-hackers mailing list