Qian Liu <liuq0...@e.ntu.edu.sg> added the comment: Hi, Eric Araujo,
Thanks for your help. I run "make -s" and found the following message. It seems that binascii cannot be built correctly. What should I do? Many thanks. libpython2.7.a(posixmodule.o)(.text+0x47e1): In function `posix_tmpnam': ./Modules/posixmodule.c:7370: warning: the use of `tmpnam_r' is dangerous, better use `mkstemp' libpython2.7.a(posixmodule.o)(.text+0x46c7): In function `posix_tempnam': ./Modules/posixmodule.c:7317: warning: the use of `tempnam' is dangerous, better use `mkstemp' building dbm using gdbm /usr/bin/ld: /usr/local/lib/libz.a(crc32.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libz.a: could not read symbols: Bad value collect2: ld returned 1 exit status /usr/bin/ld: /usr/local/lib/libz.a(crc32.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libz.a: could not read symbols: Bad value collect2: ld returned 1 exit status Python build finished, but the necessary bits to build these modules were not found: _sqlite3 bsddb185 dl imageop sunaudiodev To find the necessary bits, look in setup.py in detect_modules() for the module's name. *Failed to build these modules:* *binascii zlib* Best regards, Qian Liu ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14216> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com