LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 562|回复: 2

[求助]emacs安装不上

[复制链接]
发表于 2009-5-9 16:36:14 | 显示全部楼层 |阅读模式
emerge emacs或者emacs-cvs都是检查的时候卡住不动了:
  1. checking whether system supports dynamic ptys... yes
  2. checking for pid_t... yes
  3. checking vfork.h usability... no
  4. checking vfork.h presence... no
  5. checking for vfork.h... no
  6. checking for fork... yes
  7. checking for vfork... yes
  8. checking for working fork...
复制代码

以前在其它机器上安装过没碰到过这种问题。
emerge --info:
  1. Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-thinkpad-r2 i686)
  2. =================================================================
  3. System uname: Linux-2.6.28-thinkpad-r2-i686-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.0
  4. Timestamp of tree: Sat, 09 May 2009 03:45:01 +0000
  5. app-shells/bash:     4.0_p17-r1
  6. dev-java/java-config: 2.1.7
  7. dev-lang/python:     2.6.2
  8. dev-util/cmake:      2.6.4
  9. sys-apps/baselayout: 2.0.0
  10. sys-apps/openrc:     0.4.3-r2
  11. sys-apps/sandbox:    1.9
  12. sys-devel/autoconf:  2.13, 2.63-r1
  13. sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
  14. sys-devel/binutils:  2.19.1-r1
  15. sys-devel/gcc-config: 1.4.1
  16. sys-devel/libtool:   2.2.6a
  17. virtual/os-headers:  2.6.28-r1
  18. ACCEPT_KEYWORDS="x86 ~x86"
  19. CBUILD="i686-pc-linux-gnu"
  20. CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer"
  21. CHOST="i686-pc-linux-gnu"
  22. CONFIG_PROTECT="/etc /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config"
  23. CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
  24. CXXFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer"
  25. DISTDIR="/usr/portage/distfiles"
  26. FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
  27. GENTOO_MIRRORS="http://61.135.158.199"
  28. LANG="en_US.UTF-8"
  29. LDFLAGS="-Wl,-O1"
  30. LINGUAS="zh_CN"
  31. MAKEOPTS="-j3"
  32. PKGDIR="/usr/portage/packages"
  33. PORTAGE_CONFIGROOT="/"
  34. PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
  35. PORTAGE_TMPDIR="/var/tmp"
  36. PORTDIR="/usr/portage"
  37. PORTDIR_OVERLAY="/usr/local/portage/layman/jokey /usr/local/portage/layman/sunrise /usr/local/portage/layman/gentoo-china /usr/local/portage/layman"
  38. SYNC="rsync://61.135.158.199/gentoo-portage"
  39. USE="X acl acpi alsa bash-completion berkdb bluetooth branding bzip2 cairo cdr cjk cleartype cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnutls gpm gstreamer gtk gtk2 hal iconv isdnlog java6 jpeg laptop ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session smp spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd tiff truetype unicode usb vim-syntax vorbis win32codecs x86 xcb xml xorg xulrunner xv xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN" USERLAND="GNU" VIDEO_CARDS="nvidia"
  40. Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
复制代码

请指教,谢谢。
 楼主| 发表于 2009-5-10 13:37:41 | 显示全部楼层
附上config.log最后一段,没看明白是哪的问题:
  1. configure:23705: result: no
  2. configure:23709: checking vfork.h presence
  3. configure:23724: i686-pc-linux-gnu-gcc -E  -D_BSD_SOURCE   -I/usr/include/freetype2   conftest.c
  4. conftest.c:207:19: error: vfork.h: No such file or directory
  5. configure:23731: $? = 1
  6. configure: failed program was:
  7. | /* confdefs.h.  */
  8. | #define PACKAGE_NAME ""
  9. | #define PACKAGE_TARNAME ""
  10. | #define PACKAGE_VERSION ""
  11. | #define PACKAGE_STRING ""
  12. | #define PACKAGE_BUGREPORT ""
  13. | #define MAIL_USE_POP 1
  14. | #define KERBEROS5 1
  15. | #define STDC_HEADERS 1
  16. | #define HAVE_SYS_TYPES_H 1
  17. | #define HAVE_SYS_STAT_H 1
  18. | #define HAVE_STDLIB_H 1
  19. | #define HAVE_STRING_H 1
  20. | #define HAVE_MEMORY_H 1
  21. | #define HAVE_STRINGS_H 1
  22. | #define HAVE_INTTYPES_H 1
  23. | #define HAVE_STDINT_H 1
  24. | #define HAVE_UNISTD_H 1
  25. | #define __EXTENSIONS__ 1
  26. | #define _ALL_SOURCE 1
  27. | #define _GNU_SOURCE 1
  28. | #define _POSIX_PTHREAD_SEMANTICS 1
  29. | #define _TANDEM_SOURCE 1
  30. | #define __EXTENSIONS__ 1
  31. | #define _ALL_SOURCE 1
  32. | #define _GNU_SOURCE 1
  33. | #define _POSIX_PTHREAD_SEMANTICS 1
  34. | #define _TANDEM_SOURCE 1
  35. | #define _FILE_OFFSET_BITS 64
  36. | #define HAVE_SYS_SOUNDCARD_H 1
  37. | #define HAVE_ALSA 1
  38. | #define HAVE_SYS_SELECT_H 1
  39. | #define HAVE_SYS_TIMEB_H 1
  40. | #define HAVE_SYS_TIME_H 1
  41. | #define HAVE_UNISTD_H 1
  42. | #define HAVE_UTIME_H 1
  43. | #define HAVE_LINUX_VERSION_H 1
  44. | #define HAVE_TERMIOS_H 1
  45. | #define HAVE_LIMITS_H 1
  46. | #define HAVE_STRING_H 1
  47. | #define HAVE_STDLIB_H 1
  48. | #define HAVE_TERMCAP_H 1
  49. | #define HAVE_STDIO_EXT_H 1
  50. | #define HAVE_FCNTL_H 1
  51. | #define HAVE_STRINGS_H 1
  52. | #define HAVE_PTY_H 1
  53. | #define HAVE_SYS_MMAN_H 1
  54. | #define HAVE_SYS_PARAM_H 1
  55. | #define HAVE_SYS_VLIMIT_H 1
  56. | #define HAVE_SYS_RESOURCE_H 1
  57. | #define HAVE_LOCALE_H 1
  58. | #define HAVE_SYS_UTSNAME_H 1
  59. | #define HAVE_PWD_H 1
  60. | #define HAVE_PERSONALITY_LINUX32 1
  61. | #define HAVE_TERM_H 1
  62. | #define STDC_HEADERS 1
  63. | #define TIME_WITH_SYS_TIME 1
  64. | #define HAVE_DECL_SYS_SIGLIST 0
  65. | #define HAVE_DECL___SYS_SIGLIST 0
  66. | #define HAVE_SYS_WAIT_H 1
  67. | #define HAVE_STRUCT_UTIMBUF 1
  68. | #define RETSIGTYPE void
  69. | #define HAVE_SPEED_T 1
  70. | #define HAVE_TIMEVAL 1
  71. | #define HAVE_SYS_SOCKET_H 1
  72. | #define HAVE_NET_IF_H 1
  73. | #define HAVE_STRUCT_TM_TM_ZONE 1
  74. | #define HAVE_TM_ZONE 1
  75. | #define HAVE_TM_GMTOFF 1
  76. | #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1
  77. | #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
  78. | #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1
  79. | #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1
  80. | #define HAVE_STRUCT_IFREQ_IFR_ADDR 1
  81. | #define PROTOTYPES 1
  82. | #define __PROTOTYPES 1
  83. | #define POINTER_TYPE void
  84. | #define HAVE_LONG_FILE_NAMES 1
  85. | #define DOUG_LEA_MALLOC 1
  86. | #define HAVE_STDLIB_H 1
  87. | #define HAVE_UNISTD_H 1
  88. | #define HAVE_GETPAGESIZE 1
  89. | #define HAVE_MMAP 1
  90. | #define HAVE_XKBGETKEYBOARD 1
  91. | #define HAVE_XRMSETDATABASE 1
  92. | #define HAVE_XSCREENRESOURCESTRING 1
  93. | #define HAVE_XSCREENNUMBEROFSCREEN 1
  94. | #define HAVE_XSETWMPROTOCOLS 1
  95. | #define HAVE_X11R6 1
  96. | #define HAVE_X11R5 1
  97. | #define HAVE_GTK_MAIN 1
  98. | #define HAVE_GTK 1
  99. | #define HAVE_GDK_DISPLAY_OPEN 1
  100. | #define HAVE_GTK_MULTIDISPLAY 1
  101. | #define HAVE_GTK_FILE_SELECTION_NEW 1
  102. | #define HAVE_GTK_FILE_CHOOSER_DIALOG_NEW 1
  103. | #define HAVE_GTK_FILE_BOTH 1
  104. | #define HAVE_PTHREAD_H 1
  105. | #define HAVE_GTK_AND_PTHREAD 1
  106. | #define HAVE_XFT 1
  107. | #define HAVE_XIM 1
  108. | #define USE_XIM 1
  109. | #define XRegisterIMInstantiateCallback_arg6 XPointer
  110. | #define HAVE_XPM 1
  111. | #define HAVE_JPEG 1
  112. | #define HAVE_JPEG 1
  113. | #define HAVE_PNG_H 1
  114. | #define HAVE_PNG 1
  115. | #define HAVE_TIFF 1
  116. | #define HAVE_GIF 1
  117. | #define HAVE_X_SM 1
  118. | #define HAVE_H_ERRNO 1
  119. | #define HAVE_ALLOCA_H 1
  120. | #define HAVE_ALLOCA 1
  121. | #define HAVE_LIBM 1
  122. | #define HAVE_LIBLOCKFILE 1
  123. | #define HAVE_TOUCHLOCK 1
  124. | #define HAVE_MAILLOCK_H 1
  125. | #define HAVE_GETHOSTNAME 1
  126. | #define HAVE_GETDOMAINNAME 1
  127. | #define HAVE_DUP2 1
  128. | #define HAVE_RENAME 1
  129. | #define HAVE_CLOSEDIR 1
  130. | #define HAVE_MKDIR 1
  131. | #define HAVE_RMDIR 1
  132. | #define HAVE_SYSINFO 1
  133. | #define HAVE_GETRUSAGE 1
  134. | #define HAVE_GET_CURRENT_DIR_NAME 1
  135. | #define HAVE_RANDOM 1
  136. | #define HAVE_LRAND48 1
  137. | #define HAVE_BCOPY 1
  138. | #define HAVE_BCMP 1
  139. | #define HAVE_LOGB 1
  140. | #define HAVE_FREXP 1
  141. | #define HAVE_FMOD 1
  142. | #define HAVE_RINT 1
  143. | #define HAVE_CBRT 1
  144. | #define HAVE_FTIME 1
  145. | #define HAVE_SETSID 1
  146. | #define HAVE_STRERROR 1
  147. | #define HAVE_FPATHCONF 1
  148. | #define HAVE_SELECT 1
  149. | #define HAVE_MKTIME 1
  150. | #define HAVE_EUIDACCESS 1
  151. | #define HAVE_GETPAGESIZE 1
  152. | #define HAVE_TZSET 1
  153. | #define HAVE_SETLOCALE 1
  154. | #define HAVE_UTIMES 1
  155. | #define HAVE_GETRLIMIT 1
  156. | #define HAVE_SETRLIMIT 1
  157. | #define HAVE_SETPGID 1
  158. | #define HAVE_GETCWD 1
  159. | #define HAVE_GETWD 1
  160. | #define HAVE_SHUTDOWN 1
  161. | #define HAVE_GETADDRINFO 1
  162. | #define HAVE___FPENDING 1
  163. | #define HAVE_MBLEN 1
  164. | #define HAVE_MBRLEN 1
  165. | #define HAVE_MBSINIT 1
  166. | #define HAVE_STRSIGNAL 1
  167. | #define HAVE_SETITIMER 1
  168. | #define HAVE_UALARM 1
  169. | #define HAVE_INDEX 1
  170. | #define HAVE_RINDEX 1
  171. | #define HAVE_SENDTO 1
  172. | #define HAVE_RECVFROM 1
  173. | #define HAVE_GETSOCKOPT 1
  174. | #define HAVE_SETSOCKOPT 1
  175. | #define HAVE_GETSOCKNAME 1
  176. | #define HAVE_GETPEERNAME 1
  177. | #define HAVE_GAI_STRERROR 1
  178. | #define HAVE_MKSTEMP 1
  179. | #define HAVE_GETLINE 1
  180. | #define HAVE_GETDELIM 1
  181. | #define HAVE_MREMAP 1
  182. | #define HAVE_MEMMOVE 1
  183. | #define HAVE_FSYNC 1
  184. | #define HAVE_SYNC 1
  185. | #define HAVE_BZERO 1
  186. | #define HAVE_MEMSET 1
  187. | #define HAVE_MEMCMP 1
  188. | #define HAVE_DIFFTIME 1
  189. | #define HAVE_MEMCPY 1
  190. | #define HAVE_MEMPCPY 1
  191. | #define HAVE_MBLEN 1
  192. | #define HAVE_MBRLEN 1
  193. | #define HAVE_POSIX_MEMALIGN 1
  194. | #define HAVE_SYS_UN_H 1
  195. | #define HAVE_SYS_TIME_H 1
  196. | #define HAVE_UNISTD_H 1
  197. | #define HAVE_ALARM 1
  198. | #define HAVE_GETLOADAVG 1
  199. | #define HAVE_FSEEKO 1
  200. | #define HAVE_GETOPT_H 1
  201. | #define HAVE_GETOPT_LONG_ONLY 1
  202. | #define GETPGRP_VOID 1
  203. | #define HAVE_STRFTIME 1
  204. | #define HAVE_GRANTPT 1
  205. | #define HAVE_GETPT 1
  206. | #define HAVE_LIBNCURSES 1
  207. | #define HAVE_LIBCOM_ERR 1
  208. | #define HAVE_GETTIMEOFDAY 1
  209. | #define HAVE_INET_SOCKETS 1
  210. | #define HAVE_SYS_IOCTL_H 1
  211. | #define HAVE_DEV_PTMX 1
  212. | /* end confdefs.h.  */
  213. | #include <vfork.h>
  214. configure:23745: result: no
  215. configure:23773: checking for vfork.h
  216. configure:23782: result: no
  217. configure:23802: checking for fork
  218. configure:23858: i686-pc-linux-gnu-gcc -o conftest  -O2 -march=core2 -pipe -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -I/usr/include/freetype2    -D_BSD_SOURCE   -I/usr/include/freetype2   -Wl,-O1 -Wl,-znocombreloc  conftest.c -lcom_err -lncurses -llockfile -lm -lSM -lICE -lXft -lXrender -lfontconfig -lfreetype -lX11   -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -lX11   >&5  
  219. conftest.c:230: warning: conflicting types for built-in function 'fork'
  220. configure:23865: $? = 0
  221. configure:23887: result: yes
  222. configure:23802: checking for vfork
  223. configure:23858: i686-pc-linux-gnu-gcc -o conftest  -O2 -march=core2 -pipe -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -I/usr/include/freetype2    -D_BSD_SOURCE   -I/usr/include/freetype2   -Wl,-O1 -Wl,-znocombreloc  conftest.c -lcom_err -lncurses -llockfile -lm -lSM -lICE -lXft -lXrender -lfontconfig -lfreetype -lX11   -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -lX11   >&5  
  224. configure:23865: $? = 0
  225. configure:23887: result: yes
  226. configure:23900: checking for working fork
  227. configure:23932: i686-pc-linux-gnu-gcc -o conftest  -O2 -march=core2 -pipe -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -I/usr/include/freetype2    -D_BSD_SOURCE   -I/usr/include/freetype2   -Wl,-O1 -Wl,-znocombreloc  conftest.c -lcom_err -lncurses -llockfile -lm -lSM -lICE -lXft -lXrender -lfontconfig -lfreetype -lX11   -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -lX11   >&5  
  228. configure:23936: $? = 0
  229. configure:23942: ./conftest
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-5-11 15:44:24 | 显示全部楼层
USE="-X"装上了, 还不知道是哪个包有问题.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表