[Samba] Quicktest Failure - Python Interpreter Version Mismatch
Stuart Wehrly
swehrly at gdeb.com
Tue Mar 9 10:56:18 MST 2010
Anyone?
Stuart Wehrly wrote on 03/04/2010 08:41:19 AM:
> We have two version of python install on our system. In /usr/bin we
> have python 2.4.3 and in /usr/local/bin we have python 2.5. Is there
> a way to force samba to use the version in /usr/local/bin? I tried
> setting PYTHON_VER=2.5
>
> make quicktest
> Samba will be compiled with flags:
> CPP = gcc -E
> CPPFLAGS = -I./include -I. -I./lib -I./../lib/replace -I./..
> /lib/talloc -I./.. -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H
> CC = gcc
> CFLAGS = -g -DDEBUG_PASSWORD -DDEVELOPER -Wall -Wshadow -
> Werror-implicit-function-declaration -Wstrict-prototypes -Wpointer-
> arith -Wcast-qual -Wcast-align -Wwrite-strings -Wmissing-format-
> attribute -Wformat=2 -Wdeclaration-after-statement -Wunused-macros -
> Wno-format-y2k -Wno-unused-parameter
> PICFLAG = -fPIC
> BNLD = gcc
> BNLD_FLAGS = -Wl,--export-dynamic
> STLD = /usr/local/bin/ar
> STLD_FLAGS = -rcs
> SHLD = gcc
> SHLD_FLAGS = -shared -Wl,-Bsymbolic
> MDLD = gcc
> MDLD_FLAGS = -shared -Wl,-Bsymbolic -Wl,--allow-shlib-undefined
> SHLIBEXT = so
> srcdir = .
> builddir = .
> pwd = /storage/LSP4/contrib/samba/samba-alpha12/source4
> ( rm -f ./st/st_done && LD_LIBRARY_PATH=./bin/shared:
> $LD_LIBRARY_PATH PYTHON=/usr/local/bin/python2.5 /usr/local/bin/perl
> -W ./../selftest/selftest.pl --prefix=./st --builddir=. --srcdir=.
> --exclude=./selftest/skip --testlist="./selftest/tests.sh|" --
> exclude=./selftest/slow --quick --include=./selftest/quick --socket-
> wrapper && touch ./st/st_done ) | /usr/local/bin/perl -W ./..
> /selftest/filter-subunit.pl --expected-failures=./selftest/knownfail
> | /usr/local/bin/perl -W ./../selftest/format-subunit.pl --prefix=.
> /st --format=plain --immediate
>
SOCKET_WRAPPER_DIR=/storage/LSP4/contrib/samba/samba-alpha12/source4/st/w
> Version 4.0.0alpha12-GIT-UNKNOWN
> OPTIONS --configfile=$SMB_CONF_PATH --maximum-runtime=1200 --
> target=samba4 --basedir=/storage/LSP4/contrib/samba/samba-
> alpha12/source4/st/s4client --option=torture:progress=no --
> format=subunit --option=torture:quick=yes
> Fatal Python error: Interpreter not initialized (version mismatch?)
> Unable to provision:
> NSS_WRAPPER_PASSWD="/storage/LSP4/contrib/samba/samba-
> alpha12/source4/st/dc/etc/passwd"
> NSS_WRAPPER_GROUP="/storage/LSP4/contrib/samba/samba-
> alpha12/source4/st/dc/etc/group" /usr/local/bin/python2.5 .
> /setup/provision --configfile=/storage/LSP4/contrib/samba/samba-
> alpha12/source4/st/dc/etc/smb.conf --host-name=localdc1 --host-
> ip=127.0.0.1 --quiet --domain=SAMBADOMAIN --realm=SAMBA.EXAMPLE.COM
> --adminpass=localdcpass --krbtgtpass=krbtgtlocaldcpass --
> machinepass=machinelocaldcpass --root=wehrly --server-role="domain
controller"
> PROVISIONING DC...
> A summary with detailed information can be found in:
> ./st/summary
>
> ALL OK (0 tests in 0 testsuites)
> SELFTEST FAILED
> make: *** [quicktest] Error 1
>
> Thanks,
>
> Stuart
More information about the samba-technical
mailing list