summaryrefslogtreecommitdiffstats
path: root/encap/src/encap-profiles/bcfg2-swig-1.3.31.ep
diff options
context:
space:
mode:
authorDaniel Joseph Barnhart Clark <dclark@pobox.com>2007-07-20 00:09:19 +0000
committerDaniel Joseph Barnhart Clark <dclark@pobox.com>2007-07-20 00:09:19 +0000
commit27afe92d3622cf424203ca56e915f5ef55125294 (patch)
tree47a9df89d51579b4996a2f3426363beedef53388 /encap/src/encap-profiles/bcfg2-swig-1.3.31.ep
parent6e1286016d9e4aca87415ddb4266e26db1d32af9 (diff)
downloadbcfg2-27afe92d3622cf424203ca56e915f5ef55125294.tar.gz
bcfg2-27afe92d3622cf424203ca56e915f5ef55125294.tar.bz2
bcfg2-27afe92d3622cf424203ca56e915f5ef55125294.zip
EncapPackages: How's this for fun: If you have 2 seperate python binaries at different locations, both named "python", then somehow they both pick up the same python shared libraries, but if you call the second one using a different name, you get the shared library it's supposed to be using. This hit me when I installed a non-bcfg2 python in /usr/local, and suddenly bcfg2 stopped working with:
Traceback (most recent call last): File "/usr/local/bin/bcfg2", line 14, in ? import Bcfg2.Options ImportError: No module named Bcfg2.Options Because it was using the python that thought modules were under /usr/local/lib instead of /usr/local/lib/bcfg2/lib This patch should fix it. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3511 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'encap/src/encap-profiles/bcfg2-swig-1.3.31.ep')
-rw-r--r--encap/src/encap-profiles/bcfg2-swig-1.3.31.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/encap/src/encap-profiles/bcfg2-swig-1.3.31.ep b/encap/src/encap-profiles/bcfg2-swig-1.3.31.ep
index 77fe058e0..2bfaf8497 100644
--- a/encap/src/encap-profiles/bcfg2-swig-1.3.31.ep
+++ b/encap/src/encap-profiles/bcfg2-swig-1.3.31.ep
@@ -81,7 +81,7 @@ url="http://encapsrcdist/mirror/swig/swig-1.3.31.tar.gz
--prefix="${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2" \
--without-x \
--without-tcl \
- --with-python=/usr/local/lib/bcfg2/bin/python \
+ --with-python=/usr/local/bin/b2-python \
--without-perl5 \
--without-java \
--without-gcj \