Bug 6448 says the embedded Python stuff does not really work.
And if I run Valgrind with Python enabled, I get pages of errors related to it. So: disable Python by default. svn path=/trunk/; revision=40602
This commit is contained in:
parent
b83e1b218f
commit
0a6eca4097
|
@ -228,7 +228,7 @@ endif()
|
|||
# - set HAVE_XXX
|
||||
|
||||
#The minimum package list
|
||||
set(PACKAGELIST GLIB2 GMODULE2 GTHREAD2 M LEX YACC Perl SH PythonInterp)
|
||||
set(PACKAGELIST GLIB2 GMODULE2 GTHREAD2 M LEX YACC Perl SH)
|
||||
set(GLIB2_FIND_REQUIRED)
|
||||
set(GLIB2_MIN_VERSION 2.14.0)
|
||||
set(GTHREAD2_REQUIRED)
|
||||
|
@ -338,7 +338,7 @@ endforeach()
|
|||
#packaging
|
||||
include(CPackConfig.txt)
|
||||
|
||||
if(HAVE_LIBPYTHON)
|
||||
if(PYTHON_FOUND)
|
||||
set(HAVE_PYTHON 1)
|
||||
set(PYTHON_DIR "${CMAKE_INSTALL_PREFIX}/lib/wireshark/python/${CPACK_PACKAGE_VERSION}")
|
||||
endif()
|
||||
|
|
|
@ -36,7 +36,7 @@ option(ENABLE_ADNS "Build with adns support" ON)
|
|||
option(ENABLE_PORTAUDIO "Build with portaudio support" ON)
|
||||
option(ENABLE_ZLIB "Build with zlib compression support" ON)
|
||||
option(ENABLE_LUA "Build with lua dissector support" ON)
|
||||
option(ENABLE_PYTHON "Build with python dissector support" ON)
|
||||
option(ENABLE_PYTHON "Build with python dissector support" OFF)
|
||||
option(ENABLE_SMI "Build with smi snmp support" ON)
|
||||
option(ENABLE_GNUTLS "Build with GNU TLS support" ON)
|
||||
option(ENABLE_GCRYPT "Build with GNU crypto support" ON)
|
||||
|
|
11
configure.in
11
configure.in
|
@ -1620,7 +1620,7 @@ AC_MSG_CHECKING(whether to use the Python interpreter for scripting)
|
|||
|
||||
AC_ARG_WITH(python,
|
||||
AC_HELP_STRING( [--with-python@<:@=DIR@:>@],
|
||||
[use Python interpreter (installed in DIR, if supplied) @<:@default=yes, if available@:>@ (EXPERIMENTAL)]),
|
||||
[use Python interpreter (installed in DIR, if supplied) @<:@default=no@:>@ (EXPERIMENTAL)]),
|
||||
[
|
||||
pythondir='${libdir}/wireshark/python/${VERSION}'
|
||||
if test "x$withval" = "xno"
|
||||
|
@ -1634,12 +1634,11 @@ AC_ARG_WITH(python,
|
|||
pythondir="$withval"
|
||||
fi
|
||||
],[
|
||||
# By default (user didn't explicitly enable Python), don't enable
|
||||
# Python support.
|
||||
#
|
||||
# Use the embeddable Python interpreter if it's present,
|
||||
# otherwise don't.
|
||||
#
|
||||
want_pythin=ifavailable
|
||||
pythondir='${libdir}/wireshark/python/${VERSION}'
|
||||
want_python=no
|
||||
#pythondir='${libdir}/wireshark/python/${VERSION}'
|
||||
])
|
||||
if test "x$want_python" = "xno" ; then
|
||||
AC_MSG_RESULT(no)
|
||||
|
|
Loading…
Reference in New Issue