[IPython-user] yet another leopard/readline question

Barry Wark barrywark@gmail....
Mon Feb 25 12:49:25 CST 2008


I would have expected the readline egg to install without having to
compile anything. Hmm. I'm away from the office for a couple of days
so I can't test things out, but I will check it out when I get back to
work later this week and can try things on a PPC. Sorry for your
inconvenience! I really hope we can get this working for you.

barry

On Mon, Feb 25, 2008 at 6:51 AM, Stephen Uhlhorn <stephenlists@gmail.com> wrote:
> 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
>  _______________________________________________
>  IPython-user mailing list
>  IPython-user@scipy.org
>  http://lists.ipython.scipy.org/mailman/listinfo/ipython-user
>


More information about the IPython-user mailing list