LinuxSir.cn,穿越时空的Linuxsir!

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

gentoo emerge ccache 出错了,求助!!

[复制链接]
发表于 2010-8-21 12:49:35 | 显示全部楼层 |阅读模式
ubuntu / # cd /etc
ubuntu etc # emerge ccache

* IMPORTANT: 2 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-util/ccache-2.4-r7
openpty failed: 'out of pty devices'
* ccache-2.4.tar.gz RMD160 SHA1 SHA256 size ;-) ...                     [ ok ]
* checking ebuild checksums ;-) ...                                     [ ok ]
* checking auxfile checksums ;-) ...                                    [ ok ]
* checking miscfile checksums ;-) ...                                   [ ok ]
* CPV:  dev-util/ccache-2.4-r7
* REPO: gentoo
* USE:  elibc_glibc kernel_linux userland_GNU x86
>>> Unpacking source...
>>> Unpacking ccache-2.4.tar.gz to /var/tmp/portage/dev-util/ccache-2.4-r7/work
* Applying ccache-2.4-respectflags.patch ...                             [ ok ]
* Applying ccache-2.4-utimes.patch ...                                   [ ok ]
* Running autoconf ...                                                   [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-util/ccache-2.4-r7/work
>>> Compiling source in /var/tmp/portage/dev-util/ccache-2.4-r7/work/ccache-2.4 ...
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
configure: Configuring ccache
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
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 ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking for strings.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for realpath... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for vasprintf... yes
checking for asprintf... yes
checking for mkstemp... yes
checking for gethostname... yes
checking for getpwuid... yes
checking for utimes... yes
checking for compar_fn_t in stdlib.h... yes
checking for C99 vsnprintf... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating config.h
make -J3
make: invalid option -- 'J'
make: invalid option -- '3'
Usage: make [options] [target] ...
Options:
  -b, -m                      Ignored for compatibility.
  -B, --always-make           Unconditionally make all targets.
  -C DIRECTORY, --directory=DIRECTORY
                              Change to DIRECTORY before doing anything.
  -d                          Print lots of debugging information.
  --debug[=FLAGS]             Print various types of debugging information.
  -e, --environment-overrides
                              Environment variables override makefiles.
  -f FILE, --file=FILE, --makefile=FILE
                              Read FILE as a makefile.
  -h, --help                  Print this message and exit.
  -i, --ignore-errors         Ignore errors from commands.
  -I DIRECTORY, --include-dir=DIRECTORY
                              Search DIRECTORY for included makefiles.
  -j [N], --jobs[=N]          Allow N jobs at once; infinite jobs with no arg.
  -k, --keep-going            Keep going when some targets can't be made.
  -l [N], --load-average[=N], --max-load[=N]
                              Don't start multiple jobs unless load is below N.
  -L, --check-symlink-times   Use the latest mtime between symlinks and target.
  -n, --just-print, --dry-run, --recon
                              Don't actually run any commands; just print them.
  -o FILE, --old-file=FILE, --assume-old=FILE
                              Consider FILE to be very old and don't remake it.
  -p, --print-data-base       Print make's internal database.
  -q, --question              Run no commands; exit status says if up to date.
  -r, --no-builtin-rules      Disable the built-in implicit rules.
  -R, --no-builtin-variables  Disable the built-in variable settings.
  -s, --silent, --quiet       Don't echo commands.
  -S, --no-keep-going, --stop
                              Turns off -k.
  -t, --touch                 Touch targets instead of remaking them.
  -v, --version               Print the version number of make and exit.
  -w, --print-directory       Print the current directory.
  --no-print-directory        Turn off -w, even if it was turned on implicitly.
  -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
                              Consider FILE to be infinitely new.
  --warn-undefined-variables  Warn when an undefined variable is referenced.

This program built for i686-pc-linux-gnu
Report bugs to <bug-make@gnu.org>
* ERROR: dev-util/ccache-2.4-r7 failed:
*   emake failed
*
* Call stack:
*     ebuild.sh, line   54:  Called src_compile
*   environment, line 2835:  Called _eapi0_src_compile
*     ebuild.sh, line  612:  Called _eapi2_src_compile
*     ebuild.sh, line  646:  Called die
* The specific snippet of code:
*                   emake || die "emake failed"
*
* If you need support, post the output of 'emerge --info =dev-util/ccache-2.4-r7',
* the complete build log and the output of 'emerge -pqv =dev-util/ccache-2.4-r7'.
* The complete build log is located at '/var/tmp/portage/dev-util/ccache-2.4-r7/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-util/ccache-2.4-r7/temp/environment'.
* S: '/var/tmp/portage/dev-util/ccache-2.4-r7/work/ccache-2.4'

>>> Failed to emerge dev-util/ccache-2.4-r7, Log file:

>>>  '/var/tmp/portage/dev-util/ccache-2.4-r7/temp/build.log'

* Messages for package dev-util/ccache-2.4-r7:

* ERROR: dev-util/ccache-2.4-r7 failed:
*   emake failed
*
* Call stack:
*     ebuild.sh, line   54:  Called src_compile
*   environment, line 2835:  Called _eapi0_src_compile
*     ebuild.sh, line  612:  Called _eapi2_src_compile
*     ebuild.sh, line  646:  Called die
* The specific snippet of code:
*                   emake || die "emake failed"
*
* If you need support, post the output of 'emerge --info =dev-util/ccache-2.4-r7',
* the complete build log and the output of 'emerge -pqv =dev-util/ccache-2.4-r7'.
* The complete build log is located at '/var/tmp/portage/dev-util/ccache-2.4-r7/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-util/ccache-2.4-r7/temp/environment'.
* S: '/var/tmp/portage/dev-util/ccache-2.4-r7/work/ccache-2.4'

* IMPORTANT: 2 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

ubuntu etc #

不知是什么原因,虚心向各位学习.
发表于 2010-8-21 13:02:22 | 显示全部楼层
  1. make -J3
  2. make: invalid option -- 'J'
  3. make: invalid option -- '3'
复制代码


make -J3中应该是小写的,所有应该是make -j3 看看你的make.conf里面是不是设置错误了MAKEOPTS="-j3"
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-8-21 20:49:57 | 显示全部楼层
Post by dutongtie;2109115
  1. make -J3
  2. make: invalid option -- 'J'
  3. make: invalid option -- '3'
复制代码


make -J3中应该是小写的,所有应该是make -j3 看看你的make.conf里面是不是设置错误了MAKEOPTS="-j3"
谢谢了 ,果然是我大意了,尽然大写了 j
回复 支持 反对

使用道具 举报

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

本版积分规则

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