Problem installing module readline for Python2.3a1 on SGI

Michael Hudson mwh at python.net
Fri Jan 17 14:20:55 EST 2003


Alexandre Gillet <gillet at scripps.edu> writes:

> Hi,
> 
> I have a problem compilling and installing the readline module with
> Python2.3a1 on SGI irix 6.5.
> (I was able to compile python2.3a1)
> 
> Here is the error I am getting:
> cc  -DNDEBUG -O -OPT:Olimit=0 -I. -I../Include
> -I/mgl/prog/share/include/ -c ../Modules/readline.c -o
> Modules/readline.o
> 
> cc-1119 cc: ERROR File = ../Modules/readline.c, Line = 542
>    The "return" expression type differs from the function return type.
> 
>          return completion_matches(text, *on_completion);
>                 ^
> 
> cc-1552 cc: WARNING File = ../Modules/readline.c, Line = 686
>    The variable "m" is set but never used.
> 
>          PyObject *m;
>                    ^
> 
> 1 error detected in the compilation of "../Modules/readline.c".
> *** Error code 2
> 
> 
> Any ideas how I can get it to work.

What version of readline do you have installed?

I *think* just waiting for 2.3a2 might do it.  If anon CVS was
working, I'd ask you to try that...

Cheers,
M.

-- 
  I saw `cout' being shifted "Hello world" times to the left and
  stopped right there.                                -- Steve Gonedes




More information about the Python-list mailing list