Jan Wieck JanWieck
Fri Jun 11 13:27:48 PDT 2004
On 6/11/2004 8:42 AM, Niels Breet wrote:

> I have been working on building Slony against an installed version of
> PostgreSQL. The goal is to build Slony without the sources being installed.
> I have converted Configure.ac and related sources to make use of the
> installed libs and headers on your system.
> 
> xxid and backend have a dependency on functions which reside in
> libpgport.a, as far as I can figure out. The problem is that this is
> a PostgreSQL server internal lib. It is compiled into the server as far
> as I can figure out.

The xxid and backend directories contain user defined C functions that 
will be loaded into the database server at runtime (loadable modules). 
As such, they link against the postgres executable and its componentes. 
In very early stages of the slony development this was done against the 
installed headers and libraries, and we need to get back to that. The 
problem was that I needed to compile on various platforms that have 
rather screwed linkage procedures for loadable modules, and at that time 
there was nobody in the team who had any time to commit to the configure 
and build environment. The pragmatic solution to this was to change the 
build process to that of a contrib module and depend entirely on the 
sourcetree.

This is not considered a good solution, but it is the one we currently 
have. If you have the time to change this back, I would be very happy to 
incorporate those changes into the sourcetree right after the 1.0 
release, and this would for sure be a reason for an extreme short follow 
up with a 1.1 release.


Jan

-- 
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck at Yahoo.com #



More information about the Slony1-general mailing list