Peter Eisentraut peter_e at gmx.net
Mon Jul 2 04:54:45 PDT 2007
The altperl tools use

require '@@PGLIBDIR@@/slon-tools.pm';

and that is set to

-e "s#@@PGLIBDIR@@#$(pglibdir)#;" \

but the module is actually installed at

$(INSTALL_DATA)   slon-tools           $(DESTDIR)$(perlsharedir)/slon-tools.pm

So if these are different, then nothing will work.

The required change is

-                       -e "s#@@PGLIBDIR@@#$(pglibdir)#;" \
+                       -e "s#@@PGLIBDIR@@#$(perlsharedir)#;" \

in tools/altperl/Makefile.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


More information about the Slony1-bugs mailing list