[Bug 397929] New: python fails to find readlines rl_pre_input_hook() function
https://bugzilla.novell.com/show_bug.cgi?id=397929
Summary: python fails to find readlines rl_pre_input_hook()
function
Product: openSUSE 11.0
Version: RC 2
Platform: PowerPC
OS/Version: Linux
Status: NEW
Severity: Major
Priority: P5 - None
Component: Basesystem
AssignedTo: jmatejek@novell.com
ReportedBy: olh@novell.com
QAContact: qa@suse.de
Found By: ---
libreadline has a rl_pre_input_hook() pointer.
Some autoconf macro in configure.in gives an incorrect prototype for this
external function.
As a result, the conftest app fails to link due to the incorrect prototype, and
python gets no support for the pre_input_hook in the readline bindings.
I dont know wether the linker is too strict now, if autoconf has to put the
correct include files in the configure test app or if something else is going
on.
For 11.0 we need this patch to get orthos working, it relies on readline.
+++ python.spec 2008-06-06 14:33:39.000000000 +0200
@@ -230,6 +230,11 @@ export OPT="$RPM_OPT_FLAGS"
# regenerate
########################################
autoreconf -f -i . Modules/_ctypes/libffi
+sed -i~ 's@char rl_pre_input_hook.*@/* autoconf ... */\
+#include
https://bugzilla.novell.com/show_bug.cgi?id=397929
Jan Matejek
https://bugzilla.novell.com/show_bug.cgi?id=397929
User olh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=397929#c1
--- Comment #1 from Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=397929
User jmatejek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=397929#c2
--- Comment #2 from Jan Matejek
https://bugzilla.novell.com/show_bug.cgi?id=397929
User olh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=397929#c3
--- Comment #3 from Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=397929
User jmatejek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=397929#c4
--- Comment #4 from Jan Matejek
https://bugzilla.novell.com/show_bug.cgi?id=397929
User olh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=397929#c5
--- Comment #5 from Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=397929
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=397929
User jmatejek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=397929#c6
Jan Matejek
participants (1)
-
bugzilla_noreply@novell.com