On 12/05/2009 04:21 PM, Manfred Hollstein wrote:
Hi Dave,
On Sat, 05 Dec 2009, 12:26:28 +0100, Dave Plater wrote:
Hi, I have a problem with python scripts built in package bacula-3.0.3 the header in the script comes out with a double "//" in "#!/usr/bin//python" can anybody tell me where I can patch this error, the header in the .in file is "#!@PYTHON@"
Could it be you've configured the packages using "--prefix=/usr/bin/"?
It uses "--prefix=%{_prefix}"
Note the trailing slash!
Thanks Dave P
Cheers.
l8er manfred
The only reference to python in the spec file before %configure is "export LDFLAGS="${LDFLAGS} -L/usr/{_libdir}/python%{pyver}"" I fixed the problem by patching the .in files replacing "#!@PYTHON@" with "#!/usr/bin/python". I hacked the spec file from the upstream packages spec file so I really don't know where the problem came from. Thanks Dave P -- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org