Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:eeich
ganglia
ganglia-python3.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ganglia-python3.patch of Package ganglia
Index: ganglia-3.7.2/configure.ac =================================================================== --- ganglia-3.7.2.orig/configure.ac +++ ganglia-3.7.2/configure.ac @@ -319,21 +319,25 @@ if test x"$enable_python" = xyes; then if test -n "$PYTHON_BIN"; then # find out python version AC_MSG_CHECKING(Python version) - PyVERSION=`$PYTHON_BIN -c ['import sys; print sys.version[:3]'`] - PyMAJVERSION=`$PYTHON_BIN -c ['import sys; print sys.version[:1]'`] + PyVERSION=`$PYTHON_BIN -c ['import sys; print(sys.version[:3])'`] + PyMAJVERSION=`$PYTHON_BIN -c ['import sys; print(sys.version[:1])'`] AC_MSG_RESULT($PyVERSION) PYTHON_VERSION=$PyVERSION AC_SUBST(PYTHON_VERSION) - PyEXEC_INSTALLDIR=`$PYTHON_BIN -c "import sys; print sys.exec_prefix"` + PyEXEC_INSTALLDIR=`$PYTHON_BIN -c "import sys; print(sys.exec_prefix)"` if test -f "$PyEXEC_INSTALLDIR/include/python/Python.h"; then PYTHON_INCLUDES="-I$PyEXEC_INSTALLDIR/include/python" else if test -f "$PyEXEC_INSTALLDIR/include/python$PyVERSION/Python.h"; then PYTHON_INCLUDES="-I$PyEXEC_INSTALLDIR/include/python$PyVERSION" else - PYTHON_INCLUDES="" - enable_python="no" + if test -f "$PyEXEC_INSTALLDIR/include/python${PyVERSION}m/Python.h"; then + PYTHON_INCLUDES="-I$PyEXEC_INSTALLDIR/include/python${PyVERSION}m" + else + PYTHON_INCLUDES="" + enable_python="no" + fi fi fi AC_SUBST(PYTHON_INCLUDES)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor