Problem installing module readline for Python2.3a1 on SGI

Alexandre Gillet gillet at scripps.edu
Fri Jan 17 13:58:58 EST 2003


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.

Thanks
Alexandre Gillet               email: gillet at scripps.edu








More information about the Python-list mailing list