Displaying 1 result from an estimated 1 matches for "oldpython".
Did you mean:
modpython
2010 Aug 22
1
Difficulty compiling 4.0.0alpha11 on RHEL 5, "Py_ssize_t" undeclared in net.c
...vironment. (I've tried that: it causes dependency
hell in RHEL.)
So, I suggest adding this patch to allow successful compilation with
older RHEL versions. The code is duplicated from wml_wrap.c, and seems
to behave correctly in my casual testing.
--- samba-4.0.0alpha11/source4/utils/net/net.c.oldpython 2010-01-11
00:35:28.000000000 -0500
+++ samba-4.0.0alpha11/source4/utils/net/net.c 2010-08-22
11:44:59.000000000 -0400
@@ -52,6 +52,15 @@
#include <Python.h>
#include "scripting/python/modules.h"
+/* Py_ssize_t for old Pythons */
+/* This code is as recommended by: */
+/* http://...