New submission from Geoge R. Goffe <grgo...@yahoo.com>:

Howdy,

I just updated my copy of the SVN version of 2.7 and got the following error 
messages. Did I do something wrong?

Regards,

George...

building dbm using bdb
building 'readline' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -g -O0 -Wall -Wstrict-prototypes 
-I/usr/lsd/Linux/include -I. -IInclude -I./Include -I/usr/local/include 
-I/usr/local/google/tools/python/release27-maint/Include 
-I/usr/local/google/tools/python/release27-maint -c 
/usr/local/google/tools/python/release27-maint/Modules/readline.c -o 
build/temp.linux-x86_64-2.7-pydebug/usr/local/google/tools/python/release27-maint/Modules/readline.o
/usr/local/google/tools/python/release27-maint/Modules/readline.c: In function 
‘write_history_file’:
/usr/local/google/tools/python/release27-maint/Modules/readline.c:147: warning: 
implicit declaration of function ‘history_truncate_file’
/usr/local/google/tools/python/release27-maint/Modules/readline.c: In function 
‘_py_free_history_entry’:
/usr/local/google/tools/python/release27-maint/Modules/readline.c:385: warning: 
passing argument 1 of ‘free’ discards qualifiers from pointer target type
/usr/include/stdlib.h:488: note: expected ‘void *’ but argument is of type 
‘const char *’
/usr/local/google/tools/python/release27-maint/Modules/readline.c: In function 
‘py_replace_history’:
/usr/local/google/tools/python/release27-maint/Modules/readline.c:436: warning: 
implicit declaration of function ‘replace_history_entry’
/usr/local/google/tools/python/release27-maint/Modules/readline.c:436: warning: 
assignment makes pointer from integer without a cast
/usr/local/google/tools/python/release27-maint/Modules/readline.c: In function 
‘_py_get_history_length’:
/usr/local/google/tools/python/release27-maint/Modules/readline.c:523: error: 
‘HISTORY_STATE’ undeclared (first use in this function)
/usr/local/google/tools/python/release27-maint/Modules/readline.c:523: error: 
(Each undeclared identifier is reported only once
/usr/local/google/tools/python/release27-maint/Modules/readline.c:523: error: 
for each function it appears in.)
/usr/local/google/tools/python/release27-maint/Modules/readline.c:523: error: 
‘hist_st’ undeclared (first use in this function)
/usr/local/google/tools/python/release27-maint/Modules/readline.c:523: warning: 
implicit declaration of function ‘history_get_history_state’
/usr/local/google/tools/python/release27-maint/Modules/readline.c: In function 
‘insert_text’:
/usr/local/google/tools/python/release27-maint/Modules/readline.c:628: warning: 
implicit declaration of function ‘rl_insert_text’
/usr/local/google/tools/python/release27-maint/Modules/readline.c: In function 
‘flex_complete’:
/usr/local/google/tools/python/release27-maint/Modules/readline.c:847: error: 
‘rl_completion_suppress_append’ undeclared (first use in this function)
/usr/local/google/tools/python/release27-maint/Modules/readline.c:853: warning: 
implicit declaration of function ‘rl_completion_matches’
/usr/local/google/tools/python/release27-maint/Modules/readline.c:853: error: 
‘rl_compentry_func_t’ undeclared (first use in this function)
/usr/local/google/tools/python/release27-maint/Modules/readline.c:853: error: 
expected expression before ‘)’ token
/usr/local/google/tools/python/release27-maint/Modules/readline.c: In function 
‘setup_readline’:
/usr/local/google/tools/python/release27-maint/Modules/readline.c:886: warning: 
passing argument 2 of ‘rl_bind_key_in_map’ from incompatible pointer type
/usr/lsd/Linux/include/readline/readline.h:195: note: expected ‘int (*)(const 
char *, int)’ but argument is of type ‘int (*)(int,  int)’
/usr/local/google/tools/python/release27-maint/Modules/readline.c:887: warning: 
passing argument 2 of ‘rl_bind_key_in_map’ from incompatible pointer type
/usr/lsd/Linux/include/readline/readline.h:195: note: expected ‘int (*)(const 
char *, int)’ but argument is of type ‘int (*)(int,  int)’
/usr/local/google/tools/python/release27-maint/Modules/readline.c: In function 
‘readline_until_enter_or_signal’:
/usr/local/google/tools/python/release27-maint/Modules/readline.c:940: error: 
‘rl_catch_signals’ undeclared (first use in this function)
/usr/local/google/tools/python/release27-maint/Modules/readline.c:979: warning: 
implicit declaration of function ‘rl_free_line_state’
/usr/local/google/tools/python/release27-maint/Modules/readline.c:980: warning: 
implicit declaration of function ‘rl_cleanup_after_signal’

Python build finished, but the necessary bits to build these modules were not 
found:
bsddb185           dl                 gdbm            
imageop            sunaudiodev                        
To find the necessary bits, look in setup.py in detect_modules() for the 
module's name.


Failed to build these modules:
readline

----------
components: Build
messages: 127080
nosy: grgo...@yahoo.com
priority: normal
severity: normal
status: open
title: Build of CVS version 2.7 fails in readline
type: compile error
versions: Python 2.7

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

Reply via email to