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 <stdio.h>\ +#include <readline/readline.h>\ +@' configure +diff -u configure~ configure || : ######################################## # configure ######################################## -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.