slony1-bugs at lists.slony.info slony1-bugs at lists.slony.info
Thu Nov 29 08:15:40 PST 2007
http://www.slony.info/bugzilla/show_bug.cgi?id=17

           Summary: slony doesn't build with a 'virtual' postgresql
                    installation done with DESTDIR
           Product: Slony-I
           Version: devel
          Platform: PC
               URL: http://lists.slony.info/pipermail/slony1-hackers/2007-
                    November/000109.html
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: medium
         Component: core scripts
        AssignedTo: slony1-bugs at lists.slony.info
        ReportedBy: cbbrowne at ca.afilias.info
                CC: slony1-bugs at lists.slony.info
   Estimated Hours: 0.0


Created an attachment (id=1)
 --> (http://www.slony.info/bugzilla/attachment.cgi?id=1)
Patch to config/acx_libpq.m4

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.


-- 
Configure bugmail: http://www.slony.info/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Slony1-bugs mailing list