This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author grgoffe@yahoo.com
Recipients grgoffe@yahoo.com
Date 2011-01-26.02:10:31
SpamBayes Score 7.328089e-06
Marked as misclassified No
Message-id <1296007832.48.0.816263940952.issue11013@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2011-01-26 02:10:32grgoffe@yahoo.comsetrecipients: + grgoffe@yahoo.com
2011-01-26 02:10:32grgoffe@yahoo.comsetmessageid: <1296007832.48.0.816263940952.issue11013@psf.upfronthosting.co.za>
2011-01-26 02:10:31grgoffe@yahoo.comlinkissue11013 messages
2011-01-26 02:10:31grgoffe@yahoo.comcreate