[IPython-user] yet another leopard/readline question

Stephen Uhlhorn stephenlists@gmail....
Mon Feb 25 08:51:00 CST 2008


On Fri, Feb 22, 2008 at 12:38 PM, Stephen Uhlhorn
<stephenlists@gmail.com> wrote:
> Just an update:
>
>  I started reinstalling the OS to start from scratch and ran into
>  strange errors. The machine is dying mid-install and so maybe the
>  build errors have nothing to do with the eggs or build scripts. When I
>  learn more, I will post more information.
>
>  -stephen

Got a new HD installed and the machine is OK now. Tried to install the
readline egg from
http://ipython.scipy.org/moin/InstallationOSXLeopard and the install
failed thusly:

============ Building the readline extension module ============

Modules/readline.c: In function 'py_remove_history':
Modules/readline.c:316: warning: passing argument 1 of 'free' discards
qualifiers from pointer target type
Modules/readline.c: In function 'py_replace_history':
Modules/readline.c:353: warning: passing argument 1 of 'free' discards
qualifiers from pointer target type
Modules/readline.c: In function 'py_remove_history':
Modules/readline.c:316: warning: passing argument 1 of 'free' discards
qualifiers from pointer target type
Modules/readline.c: In function 'py_replace_history':
Modules/readline.c:353: warning: passing argument 1 of 'free' discards
qualifiers from pointer target type
Modules/readline.c: In function 'flex_complete':
Modules/readline.c:681: warning: implicit declaration of function
'rl_completion_matches'
Modules/readline.c:681: error: 'rl_compentry_func_t' undeclared (first
use in this function)
Modules/readline.c:681: error: (Each undeclared identifier is reported only once
Modules/readline.c:681: error: for each function it appears in.)
Modules/readline.c:681: error: syntax error before ')' token
Modules/readline.c:681: warning: return makes pointer from integer
without a cast
Modules/readline.c: In function 'readline_until_enter_or_signal':
Modules/readline.c:758: error: 'rl_catch_signals' undeclared (first
use in this function)
Modules/readline.c: In function 'py_remove_history':
Modules/readline.c:316: warning: passing argument 1 of 'free' discards
qualifiers from pointer target type
Modules/readline.c: In function 'py_remove_history':
Modules/readline.c:316: warning: passing argument 1 of 'free' discards
qualifiers from pointer target type
Modules/readline.c: In function 'py_replace_history':
Modules/readline.c:353: warning: passing argument 1 of 'free' discards
qualifiers from pointer target type
Modules/readline.c: In function 'flex_complete':
Modules/readline.c:681: warning: implicit declaration of function
'rl_completion_matches'
Modules/readline.c:681: error: 'rl_compentry_func_t' undeclared (first
use in this function)
Modules/readline.c:681: error: (Each undeclared identifier is reported only once
Modules/readline.c:681: error: for each function it appears in.)
Modules/readline.c:681: error: syntax error before ')' token
Modules/readline.c:681: warning: return makes pointer from integer
without a cast
Modules/readline.c: In function 'flex_complete':Modules/readline.c: In
function 'call_readline':
Modules/readline.c:896: warning: assignment discards qualifiers from
pointer target type
Modules/readline.c: In function 'py_replace_history':
Modules/readline.c:353: warning: passing argument 1 of 'free' discards
qualifiers from pointer target type
Modules/readline.c: In function 'flex_complete':

Modules/readline.c:681: warning: implicit declaration of function
'rl_completion_matches'
Modules/readline.c:681: error: 'rl_compentry_func_t' undeclared (first
use in this function)
Modules/readline.c:681: error: (Each undeclared identifier is reported only once
Modules/readline.c:681: error: for each function it appears in.)
Modules/readline.c:681: error: syntax error before ')' token
Modules/readline.c:681: warning: return makes pointer from integer
without a cast
Modules/readline.c: In function 'readline_until_enter_or_signal':
Modules/readline.c:758: error: 'rl_catch_signals' undeclared (first
use in this function)
Modules/readline.c: In function 'call_readline':
Modules/readline.c:896: warning: assignment discards qualifiers from
pointer target type
Modules/readline.c:681: warning: implicit declaration of function
'rl_completion_matches'
Modules/readline.c:681: error: 'rl_compentry_func_t' undeclared (first
use in this function)
Modules/readline.c:681: error: (Each undeclared identifier is reported only once
Modules/readline.c:681: error: for each function it appears in.)
Modules/readline.c:681: error: syntax error before ')' token
Modules/readline.c:681: warning: return makes pointer from integer
without a cast
Modules/readline.c: In function 'readline_until_enter_or_signal':
Modules/readline.c:758: error: 'rl_catch_signals' undeclared (first
use in this function)
Modules/readline.c: In function 'call_readline':
Modules/readline.c:896: warning: assignment discards qualifiers from
pointer target type
Modules/readline.c: In function 'readline_until_enter_or_signal':
Modules/readline.c:758: error: 'rl_catch_signals' undeclared (first
use in this function)
Modules/readline.c: In function 'call_readline':
Modules/readline.c:896: warning: assignment discards qualifiers from
pointer target type
lipo: can't open input file: /var/tmp//ccNPuJ4y.out (No such file or directory)
error: Setup script exited with error: command 'gcc' failed with exit status 1

Any suggestions getting this up and running with the system python?

-stephen


More information about the IPython-user mailing list