[gentoo-user] ccache disabled

2005-11-15 Thread Roger Mason
Hello,

I have installed ccache and followed the instructions in the official
documentation to set it up.  Specifically I have this in my
/etc/make.conf:

MAKEOPTS=-j6
FEATURES=ccache
# Probably not required but...
CCACHE_DIR=/var/tmp/ccache
CCACHE_SIZE=2G
FEATURES=distcc
DISTCC_DIR=/var/tmp/portage/.distcc

I edited /etc/env.d to put /usr/lib/ccache/bin before /opt/bin in the
PATH.  I ran env-update %% source /etc/profile.

ccache is not being used and emerge --info shows it as disabled:

# emerge --info
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6,
glibc-2.3.5-r2, 2.6.13-gentoo-r5 i686)
=
System uname: 2.6.13-gentoo-r5 i686 Celeron (Mendocino)
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port
3632) [enabled]
ccache version 2.3 [disabled]
dev-lang/python: 2.3.5, 2.4.2
sys-apps/sandbox:1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS=x86
AUTOCLEAN=yes
CBUILD=i686-pc-linux-gnu
CFLAGS=-O2 -mcpu=i686 -fomit-frame-pointer
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control
CONFIG_PROTECT_MASK=/etc/gconf /etc/terminfo /etc/env.d
CXXFLAGS=-O2 -mcpu=i686 -fomit-frame-pointer
DISTDIR=/usr/portage/distfiles
FEATURES=autoconfig distcc distlocks sandbox sfperms strict
GENTOO_MIRRORS=http://gentoo.osuosl.org/ http://adelie.polymtl.ca/
ftp://gentoo.risq.qc.ca/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/
ftp://gentoo.mirrored.ca/;
MAKEOPTS=-j6
PKGDIR=/usr/portage/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://rsync.namerica.gentoo.org/gentoo-portage
USE=x86 X Xaw3d apm berkdb bitmap-fonts bzip2 cdb crypt cups expat
foomaticdb fortran gdbm gif gpm gtk gtk2 imlib ipv6 jpeg libg++ libwww
mikmod motif ncurses nls opengl pam pdflib perl png python qt
quicktime readline sdl spell ssl tcpd tiff truetype truetype-fonts
type1-fonts udev xml2 xv zlib userland_GNU kernel_linux elibc_glibc
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS,
PORTDIR_OVERLAY

What must I do to get ccache working?

Thanks,

Roger Mason
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ccache disabled

2005-11-15 Thread Mrugesh Karnik

Roger Mason wrote:

Hello,

I have installed ccache and followed the instructions in the official
documentation to set it up.  Specifically I have this in my
/etc/make.conf:

MAKEOPTS=-j6
FEATURES=ccache
# Probably not required but...
CCACHE_DIR=/var/tmp/ccache
CCACHE_SIZE=2G
FEATURES=distcc
DISTCC_DIR=/var/tmp/portage/.distcc


I put CCACHE_DIR in /etc/env.d/00basic

Also, you'll need FEATURES=ccache

That worked. Do an env-update and a source /etc/profile if you want to 
use it in the current shell.


HTH,
Mrugesh
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ccache disabled

2005-11-15 Thread Nagatoro

Roger Mason wrote:

Hello,

I have installed ccache and followed the instructions in the official
documentation to set it up.  Specifically I have this in my
/etc/make.conf:

MAKEOPTS=-j6
FEATURES=ccache
# Probably not required but...
CCACHE_DIR=/var/tmp/ccache
CCACHE_SIZE=2G
FEATURES=distcc
DISTCC_DIR=/var/tmp/portage/.distcc


Try and put the FEATURES lines into one.

FEATURES=ccache distcc

otherwise the last will cancel all others.

--
Naga
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ccache disabled

2005-11-15 Thread Roger Mason

Hello,

Nagatoro [EMAIL PROTECTED] writes:


 Try and put the FEATURES lines into one.

 FEATURES=ccache distcc

 otherwise the last will cancel all others.

 This proved to be the fix.

Thanks to all who replied.

Roger Mason
-- 
gentoo-user@gentoo.org mailing list