Barry A. Warsaw <ba...@python.org> added the comment:

This worked fine on OS X 10.6, but failed on OS X 10.5:

gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. 
-I/Users/barry/projects/python/python26/./Include 
-I/Users/barry/projects/python/python26/./Mac/Include -I. -IInclude -I./Include 
-I/usr/local/include -I/Users/barry/projects/python/python26/Include 
-I/Users/barry/projects/python/python26 -c 
/Users/barry/projects/python/python26/Modules/readline.c -o 
build/temp.macosx-10.3-ppc-2.6/Users/barry/projects/python/python26/Modules/readline.o
/Users/barry/projects/python/python26/Modules/readline.c:41: error: conflicting 
types for 'completion_matches'
/usr/include/readline/readline.h:172: error: previous declaration of 
'completion_matches' was here
/Users/barry/projects/python/python26/Modules/readline.c: In function 
'py_remove_history':
/Users/barry/projects/python/python26/Modules/readline.c:378: warning: passing 
argument 1 of 'free' discards qualifiers from pointer target type
/Users/barry/projects/python/python26/Modules/readline.c: In function 
'py_replace_history':
/Users/barry/projects/python/python26/Modules/readline.c:415: warning: passing 
argument 1 of 'free' discards qualifiers from pointer target type
/Users/barry/projects/python/python26/Modules/readline.c: In function 
'call_readline':
/Users/barry/projects/python/python26/Modules/readline.c:1032: warning: 
assignment discards qualifiers from pointer target type
/Users/barry/projects/python/python26/Modules/readline.c:1035: warning: 
assignment discards qualifiers from pointer target type

Failed to find the necessary bits to build these modules:
_bsddb             gdbm               linuxaudiodev   
ossaudiodev        spwd               sunaudiodev     
To find the necessary bits, look in setup.py in detect_modules() for the 
module's name.


Failed to build these modules:
readline                                              

running build_scripts
@bytor[~/projects/python/python26:1011]%

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6877>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to