Hello,

The default makefile does not seem to pass the prefix given to configure
to the Makefile.PL used to build the swig-pl bindings, and this seems to
cause the obvious problems with doing non-root installs.

Fixing the problem seems simple:

--- Makefile.in.orig    2010-11-25 17:55:59.000000000 +0000
+++ Makefile.in 2011-09-24 21:47:19.512442060 +0000
@@ -682,7 +682,7 @@
        ./config.status subversion/bindings/swig/perl/native/Makefile.PL
 
 $(SWIG_PL_DIR)/native/Makefile: $(SWIG_PL_DIR)/native/Makefile.PL
-       cd $(SWIG_PL_DIR)/native; $(PERL) Makefile.PL
+       cd $(SWIG_PL_DIR)/native; $(PERL) Makefile.PL PREFIX=$(prefix)
 
 # There is a "readlink -f" command on some systems for the same
purpose,
 # but it's not as portable (e.g. Mac OS X doesn't have it).  These
should

 -Hal

-- 
Hal Finkel
Postdoctoral Appointee
Leadership Computing Facility
Argonne National Laboratory

Reply via email to