当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 3 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 新手,求教make问题。。。
帖子发表于 : 2009-09-22 16:51 

注册: 2009-09-22 16:47
帖子: 7
送出感谢: 0 次
接收感谢: 0 次
zhou@zhou-laptop:~/桌面/Python24$ ./configure

checking MACHDEP... linux2

checking EXTRAPLATDIR...

checking for --without-gcc... no

checking for --with-cxx=<compiler>... no

checking for c++... c++

checking for C++ compiler default output file name... a.out

checking whether the C++ compiler works... yes

checking whether we are cross compiling... no

checking for suffix of executables...

checking for gcc... gcc

checking for C compiler default output file name... a.out

checking whether the C compiler works... yes

checking whether we are cross compiling... no

checking for suffix of executables...

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ANSI C... none needed

checking how to run the C preprocessor... gcc -E

checking for egrep... grep -E

checking for AIX... no

checking for --with-suffix...

checking for case-insensitive build directory... no

checking LIBRARY... libpython$(VERSION).a

checking LINKCC... $(PURIFY) $(CC)

checking for --enable-shared... no

checking for --enable-profiling...

checking LDLIBRARY... libpython$(VERSION).a

checking for ranlib... ranlib

checking for ar... ar

checking for a BSD-compatible install... /usr/bin/install -c

checking for --with-pydebug... no

checking whether gcc accepts -fno-strict-aliasing... yes

checking whether gcc accepts -OPT:Olimit=0... no

checking whether gcc accepts -Olimit 1500... no

checking whether pthreads are available without options... no

checking whether gcc accepts -Kpthread... no

checking whether gcc accepts -Kthread... no

checking whether gcc accepts -pthread... yes

checking whether c++ also accepts flags for thread support... yes

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking curses.h usability... no

checking curses.h presence... no

checking for curses.h... no

checking dlfcn.h usability... yes

checking dlfcn.h presence... yes

checking for dlfcn.h... yes

checking fcntl.h usability... yes

checking fcntl.h presence... yes

checking for fcntl.h... yes

checking grp.h usability... yes

checking grp.h presence... yes

checking for grp.h... yes

checking langinfo.h usability... yes

checking langinfo.h presence... yes

checking for langinfo.h... yes

checking libintl.h usability... yes

checking libintl.h presence... yes

checking for libintl.h... yes

checking ncurses.h usability... no

checking ncurses.h presence... no

checking for ncurses.h... no

checking poll.h usability... yes

checking poll.h presence... yes

checking for poll.h... yes

checking pthread.h usability... yes

checking pthread.h presence... yes

checking for pthread.h... yes

checking stropts.h usability... yes

checking stropts.h presence... yes

checking for stropts.h... yes

checking termios.h usability... yes

checking termios.h presence... yes

checking for termios.h... yes

checking thread.h usability... no

checking thread.h presence... no

checking for thread.h... no

checking for unistd.h... (cached) yes

checking utime.h usability... yes

checking utime.h presence... yes

checking for utime.h... yes

checking sys/audioio.h usability... no

checking sys/audioio.h presence... no

checking for sys/audioio.h... no

checking sys/bsdtty.h usability... no

checking sys/bsdtty.h presence... no

checking for sys/bsdtty.h... no

checking sys/file.h usability... yes

checking sys/file.h presence... yes

checking for sys/file.h... yes

checking sys/loadavg.h usability... no

checking sys/loadavg.h presence... no

checking for sys/loadavg.h... no

checking sys/lock.h usability... no

checking sys/lock.h presence... no

checking for sys/lock.h... no

checking sys/mkdev.h usability... no

checking sys/mkdev.h presence... no

checking for sys/mkdev.h... no

checking sys/modem.h usability... no

checking sys/modem.h presence... no

checking for sys/modem.h... no

checking sys/param.h usability... yes

checking sys/param.h presence... yes

checking for sys/param.h... yes

checking sys/poll.h usability... yes

checking sys/poll.h presence... yes

checking for sys/poll.h... yes

checking sys/select.h usability... yes

checking sys/select.h presence... yes

checking for sys/select.h... yes

checking sys/socket.h usability... yes

checking sys/socket.h presence... yes

checking for sys/socket.h... yes

checking sys/time.h usability... yes

checking sys/time.h presence... yes

checking for sys/time.h... yes

checking sys/times.h usability... yes

checking sys/times.h presence... yes

checking for sys/times.h... yes

checking sys/un.h usability... yes

checking sys/un.h presence... yes

checking for sys/un.h... yes

checking sys/utsname.h usability... yes

checking sys/utsname.h presence... yes

checking for sys/utsname.h... yes

checking sys/wait.h usability... yes

checking sys/wait.h presence... yes

checking for sys/wait.h... yes

checking pty.h usability... yes

checking pty.h presence... yes

checking for pty.h... yes

checking libutil.h usability... no

checking libutil.h presence... no

checking for libutil.h... no

checking sys/resource.h usability... yes

checking sys/resource.h presence... yes

checking for sys/resource.h... yes

checking netpacket/packet.h usability... yes

checking netpacket/packet.h presence... yes

checking for netpacket/packet.h... yes

checking sysexits.h usability... yes

checking sysexits.h presence... yes

checking for sysexits.h... yes

checking bluetooth.h usability... no

checking bluetooth.h presence... no

checking for bluetooth.h... no

checking bluetooth/bluetooth.h usability... no

checking bluetooth/bluetooth.h presence... no

checking for bluetooth/bluetooth.h... no

checking for dirent.h that defines DIR... yes

checking for library containing opendir... none required

checking whether sys/types.h defines makedev... yes

checking for term.h... no

checking for clock_t in time.h... yes

checking for makedev... yes

checking Solaris LFS bug... no

checking for mode_t... yes

checking for off_t... yes

checking for pid_t... yes

checking return type of signal handlers... void

checking for size_t... yes

checking for uid_t in sys/types.h... yes

checking for int... yes

checking size of int... 4

checking for long... yes

checking size of long... 4

checking for void *... yes

checking size of void *... 4

checking for short... yes

checking size of short... 2

checking for float... yes

checking size of float... 4

checking for double... yes

checking size of double... 8

checking for fpos_t... yes

checking size of fpos_t... 16

checking for long long support... yes

checking for long long... yes

checking size of long long... 8

checking for uintptr_t support... no

checking size of off_t... 8

checking whether to enable large file support... yes

checking size of time_t... 4

checking for pthread_t... yes

checking size of pthread_t... 4

checking for --enable-toolbox-glue... no

checking for --enable-framework... no

checking for dyld... no

checking SO... .so

checking LDSHARED... $(CC) -shared

checking CCSHARED... -fPIC

checking LINKFORSHARED... -Xlinker -export-dynamic

checking CFLAGSFORSHARED...

checking SHLIBS... $(LIBS)

checking for dlopen in -ldl... yes

checking for shl_load in -ldld... no

checking for library containing sem_init... -lpthread

checking for textdomain in -lintl... no

checking for t_open in -lnsl... no

checking for socket in -lsocket... no

checking for --with-libs... no

checking for --with-signal-module... yes

checking for --with-dec-threads... no

checking for --with-threads... yes

checking if PTHREAD_SCOPE_SYSTEM is supported... yes

checking for pthread_sigmask... yes

checking if --enable-ipv6 is specified... yes

checking if RFC2553 API is available... yes

checking ipv6 stack type... linux-glibc

checking for --with-doc-strings... yes

checking for --with-tsc... no

checking for --with-pymalloc... yes

checking for --with-wctype-functions... no

checking for dlopen... yes

checking DYNLOADFILE... dynload_shlib.o

checking MACHDEP_OBJS... MACHDEP_OBJS

checking for alarm... yes

checking for bind_textdomain_codeset... yes

checking for chown... yes

checking for clock... yes

checking for confstr... yes

checking for ctermid... yes

checking for execv... yes

checking for fork... yes

checking for fpathconf... yes

checking for ftime... yes

checking for ftruncate... yes

checking for gai_strerror... yes

checking for getgroups... yes

checking for getlogin... yes

checking for getloadavg... yes

checking for getpeername... yes

checking for getpgid... yes

checking for getpid... yes

checking for getpriority... yes

checking for getpwent... yes

checking for getsid... yes

checking for getwd... yes

checking for kill... yes

checking for killpg... yes

checking for lchown... yes

checking for lstat... yes

checking for mkfifo... yes

checking for mknod... yes

checking for mktime... yes

checking for mremap... yes

checking for nice... yes

checking for pathconf... yes

checking for pause... yes

checking for plock... no

checking for poll... yes

checking for pthread_init... no

checking for putenv... yes

checking for readlink... yes

checking for realpath... yes

checking for select... yes

checking for setegid... yes

checking for seteuid... yes

checking for setgid... yes

checking for setlocale... yes

checking for setregid... yes

checking for setreuid... yes

checking for setsid... yes

checking for setpgid... yes

checking for setpgrp... yes

checking for setuid... yes

checking for setvbuf... yes

checking for snprintf... yes

checking for sigaction... yes

checking for siginterrupt... yes

checking for sigrelse... yes

checking for strftime... yes

checking for sysconf... yes

checking for tcgetpgrp... yes

checking for tcsetpgrp... yes

checking for tempnam... yes

checking for timegm... yes

checking for times... yes

checking for tmpfile... yes

checking for tmpnam... yes

checking for tmpnam_r... yes

checking for truncate... yes

checking for uname... yes

checking for unsetenv... yes

checking for utimes... yes

checking for waitpid... yes

checking for wcscoll... yes

checking for _getpty... no

checking for chroot... yes

checking for link... yes

checking for symlink... yes

checking for fchdir... yes

checking for fsync... yes

checking for fdatasync... yes

checking for ctermid_r... no

checking for flock... yes

checking for getpagesize... yes

checking for true... true

checking for inet_aton in -lc... yes

checking for hstrerror... yes

checking for inet_aton... yes

checking for inet_pton... yes

checking for setgroups... yes

checking for openpty... no

checking for openpty in -lutil... yes

checking for forkpty... yes

checking for fseek64... no

checking for fseeko... yes

checking for fstatvfs... yes

checking for ftell64... no

checking for ftello... yes

checking for statvfs... yes

checking for dup2... yes

checking for getcwd... yes

checking for strdup... yes

checking for strerror... yes

checking for memmove... yes

checking for getpgrp... yes

checking for setpgrp... (cached) yes

checking for gettimeofday... yes

checking for major... yes

checking for getaddrinfo... yes

checking getaddrinfo bug... good

checking for getnameinfo... yes

checking whether time.h and sys/time.h may both be included... yes

checking whether struct tm is in sys/time.h or time.h... time.h

checking for struct tm.tm_zone... yes

checking for struct stat.st_rdev... yes

checking for struct stat.st_blksize... yes

checking for struct stat.st_blocks... yes

checking for time.h that defines altzone... no

checking whether sys/select.h and sys/time.h may both be included... yes

checking for addrinfo... yes

checking for sockaddr_storage... yes

checking whether char is unsigned... no

checking for an ANSI C-conforming const... yes

checking for working volatile... yes

checking for working signed char... yes

checking for prototypes... yes

checking for variable length prototypes and stdarg.h... yes

checking for socketpair... yes

checking if sockaddr has sa_len member... no

checking whether va_list is an array... no

checking for gethostbyname_r... yes

checking gethostbyname_r with 6 args... yes

checking for __fpu_control... yes

checking for --with-fpectl... no

checking for --with-libm=STRING... default LIBM="-lm"

checking for --with-libc=STRING... default LIBC=""

checking for hypot... yes

checking wchar.h usability... yes

checking wchar.h presence... yes

checking for wchar.h... yes

checking for wchar_t... yes

checking size of wchar_t... 4

checking for UCS-4 tcl... no

checking whether wchar_t is signed... no

checking what type to use for unicode... unsigned short

checking whether byte ordering is bigendian... no

checking whether right shift extends the sign bit... yes

checking for getc_unlocked() and friends... yes

checking for rl_callback_handler_install in -lreadline... no

checking for rl_pre_input_hook in -lreadline... no

checking for rl_completion_matches in -lreadline... no

checking for broken nice()... no

checking for broken poll()... no

checking for working tzset()... yes

checking for tv_nsec in struct stat... yes

checking whether mvwdelch is an expression... no

checking whether WINDOW has _flags... no

checking for /dev/ptmx... yes

checking for /dev/ptc... no

checking for socklen_t... yes

checking for build directories... done

configure: creating ./config.status

config.status: creating Makefile.pre

config.status: creating Modules/Setup.config

config.status: creating pyconfig.h

config.status: pyconfig.h is unchanged

creating Setup

creating Setup.local

creating Makefile

zhou@zhou-laptop:~/桌面/Python24$ make

gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DPy_BUILD_CORE -o Modules/config.o Modules/config.c

gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DPy_BUILD_CORE -DPYTHONPATH='":plat-linux2:lib-tk"' \

-DPREFIX='"/usr/local"' \

-DEXEC_PREFIX='"/usr/local"' \

-DVERSION='"2.4"' \

-DVPATH='""' \

-o Modules/getpath.o ./Modules/getpath.c

./Modules/getpath.c: 在函数‘copy_absolute’中:

./Modules/getpath.c:230: 警告: 忽略声明有 warn_unused_result 属性的‘getcwd’的返回值

if test -f buildno; then \

expr `cat buildno` + 1 >buildno1; \

mv -f buildno1 buildno; \

else echo 1 >buildno; fi

gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DPy_BUILD_CORE -DBUILD=`cat buildno` -o Modules/getbuildinfo.o ./Modules/getbuildinfo.c

rm -f libpython2.4.a

ar cr libpython2.4.a Modules/getbuildinfo.o

ar cr libpython2.4.a Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/parsetok.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Parser/myreadline.o Parser/tokenizer.o

ar cr libpython2.4.a Objects/abstract.o Objects/boolobject.o Objects/bufferobject.o Objects/cellobject.o Objects/classobject.o Objects/cobject.o Objects/complexobject.o Objects/descrobject.o Objects/enumobject.o Objects/genobject.o Objects/fileobject.o Objects/floatobject.o Objects/frameobject.o Objects/funcobject.o Objects/intobject.o Objects/iterobject.o Objects/listobject.o Objects/longobject.o Objects/dictobject.o Objects/methodobject.o Objects/moduleobject.o Objects/object.o Objects/obmalloc.o Objects/rangeobject.o Objects/setobject.o Objects/sliceobject.o Objects/stringobject.o Objects/structseq.o Objects/tupleobject.o Objects/typeobject.o Objects/weakrefobject.o Objects/unicodeobject.o Objects/unicodectype.o

ar cr libpython2.4.a Python/bltinmodule.o Python/exceptions.o Python/ceval.o Python/compile.o Python/codecs.o Python/errors.o Python/frozen.o Python/frozenmain.o Python/future.o Python/getargs.o Python/getcompiler.o Python/getcopyright.o Python/getmtime.o Python/getplatform.o Python/getversion.o Python/graminit.o Python/import.o Python/importdl.o Python/marshal.o Python/modsupport.o Python/mystrtoul.o Python/mysnprintf.o Python/pyfpe.o Python/pystate.o Python/pythonrun.o Python/structmember.o Python/symtable.o Python/sysmodule.o Python/traceback.o Python/getopt.o Python/pystrtod.o Python/dynload_shlib.o Python/thread.o

ar cr libpython2.4.a Modules/config.o Modules/getpath.o Modules/main.o Modules/gcmodule.o

ar cr libpython2.4.a Modules/threadmodule.o Modules/signalmodule.o Modules/posixmodule.o Modules/errnomodule.o Modules/_sre.o Modules/_codecsmodule.o Modules/zipimport.o Modules/symtablemodule.o Modules/xxsubtype.o

ranlib libpython2.4.a

gcc -pthread -Xlinker -export-dynamic -o python \

Modules/python.o \

libpython2.4.a -lpthread -ldl -lutil -lm

libpython2.4.a(posixmodule.o): In function `posix_tmpnam':

/home/zhou/桌面/Python24/./Modules/posixmodule.c:6158: warning: the use of `tmpnam_r' is dangerous, better use `mkstemp'

libpython2.4.a(posixmodule.o): In function `posix_tempnam':

/home/zhou/桌面/Python24/./Modules/posixmodule.c:6113: warning: the use of `tempnam' is dangerous, better use `mkstemp'

case $MAKEFLAGS in \

*-s*) CC='gcc -pthread' LDSHARED='gcc -pthread -shared' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py -q build;; \

*) CC='gcc -pthread' LDSHARED='gcc -pthread -shared' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py build;; \

esac

*** buffer overflow detected ***: ./python terminated

======= Backtrace: =========

/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0x40179da8]

/lib/tls/i686/cmov/libc.so.6[0x40177eb0]

/lib/tls/i686/cmov/libc.so.6[0x40178618]

./python(PySys_SetArgv+0x150)[0x80e75d0]

./python(Py_Main+0x65e)[0x805714e]

./python(main+0x22)[0x8056ac2]

/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0x40092775]

./python[0x8056a01]

======= Memory map: ========

08048000-08127000 r-xp 00000000 08:09 2108277 /home/zhou/桌面/Python24/python

08127000-08128000 r--p 000de000 08:09 2108277 /home/zhou/桌面/Python24/python

08128000-08149000 rw-p 000df000 08:09 2108277 /home/zhou/桌面/Python24/python

08149000-0814c000 rw-p 08149000 00:00 0

0a103000-0a175000 rw-p 0a103000 00:00 0 [heap]

40000000-4001c000 r-xp 00000000 08:09 771739 /lib/ld-2.9.so

4001c000-4001d000 r--p 0001b000 08:09 771739 /lib/ld-2.9.so

4001d000-4001e000 rw-p 0001c000 08:09 771739 /lib/ld-2.9.so

4001e000-4001f000 r-xp 4001e000 00:00 0 [vdso]

4001f000-40021000 rw-p 4001f000 00:00 0

40021000-40028000 r--s 00000000 08:09 1327963 /usr/lib/gconv/gconv-modules.cache

40034000-40049000 r-xp 00000000 08:09 788054 /lib/tls/i686/cmov/libpthread-2.9.so

40049000-4004a000 r--p 00014000 08:09 788054 /lib/tls/i686/cmov/libpthread-2.9.so

4004a000-4004b000 rw-p 00015000 08:09 788054 /lib/tls/i686/cmov/libpthread-2.9.so

4004b000-4004d000 rw-p 4004b000 00:00 0

4004d000-4004f000 r-xp 00000000 08:09 788038 /lib/tls/i686/cmov/libdl-2.9.so

4004f000-40050000 r--p 00001000 08:09 788038 /lib/tls/i686/cmov/libdl-2.9.so

40050000-40051000 rw-p 00002000 08:09 788038 /lib/tls/i686/cmov/libdl-2.9.so

40051000-40052000 rw-p 40051000 00:00 0

40052000-40054000 r-xp 00000000 08:09 788064 /lib/tls/i686/cmov/libutil-2.9.so

40054000-40055000 r--p 00001000 08:09 788064 /lib/tls/i686/cmov/libutil-2.9.so

40055000-40056000 rw-p 00002000 08:09 788064 /lib/tls/i686/cmov/libutil-2.9.so

40056000-4007a000 r-xp 00000000 08:09 788039 /lib/tls/i686/cmov/libm-2.9.so

4007a000-4007b000 r--p 00023000 08:09 788039 /lib/tls/i686/cmov/libm-2.9.so

4007b000-4007c000 rw-p 00024000 08:09 788039 /lib/tls/i686/cmov/libm-2.9.so

4007c000-401d8000 r-xp 00000000 08:09 788035 /lib/tls/i686/cmov/libc-2.9.so

401d8000-401d9000 ---p 0015c000 08:09 788035 /lib/tls/i686/cmov/libc-2.9.so

401d9000-401db000 r--p 0015c000 08:09 788035 /lib/tls/i686/cmov/libc-2.9.so

401db000-401dc000 rw-p 0015e000 08:09 788035 /lib/tls/i686/cmov/libc-2.9.so

401dc000-40262000 rw-p 401dc000 00:00 0

40262000-402a1000 r--p 00000000 08:09 1354979 /usr/lib/locale/zh_CN.utf8/LC_CTYPE

402b4000-402c1000 r-xp 00000000 08:09 770113 /lib/libgcc_s.so.1

402c1000-402c2000 r--p 0000c000 08:09 770113 /lib/libgcc_s.so.1

402c2000-402c3000 rw-p 0000d000 08:09 770113 /lib/libgcc_s.so.1

bfd2c000-bfd41000 rw-p bffeb000 00:00 0 [stack]

Aborted

make: *** [sharedmods] 错误 134

zhou@zhou-laptop:~/桌面/Python24$


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 新手,求教make问题。。。
帖子发表于 : 2009-09-23 12:48 
头像

注册: 2008-07-01 20:55
帖子: 80
地址: Beijing
送出感谢: 0 次
接收感谢: 0 次
代码:
*** buffer overflow detected ***: ./python terminated

原因不清楚


_________________
处女座总是在好色与纯洁之间徘徊。
My Gmail : rchardx[at]gmail[dot]com
i686 Intel(R) Core(TM) i7 CPU Q 720 @ 1.60GHz GenuineIntel GNU/Linux


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 新手,求教make问题。。。
帖子发表于 : 2009-09-23 13:06 
头像

注册: 2008-12-13 19:39
帖子: 13284
地址: 物华天宝人杰地灵
送出感谢: 1
接收感谢: 6
看解包后的的安装说明,大多为Readme或Install之类的说明文档。


_________________
行到水穷处,坐看云起时。
海内生明月,天涯共此夕。
--------------------吾本独!


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 3 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 1 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译