public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] ccache disabled
@ 2005-11-15 13:54 Roger Mason
  2005-11-15 14:19 ` Mrugesh Karnik
  2005-11-15 14:49 ` Nagatoro
  0 siblings, 2 replies; 5+ messages in thread
From: Roger Mason @ 2005-11-15 13:54 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] ccache disabled
  2005-11-15 13:54 [gentoo-user] ccache disabled Roger Mason
@ 2005-11-15 14:19 ` Mrugesh Karnik
  2005-11-15 14:49 ` Nagatoro
  1 sibling, 0 replies; 5+ messages in thread
From: Mrugesh Karnik @ 2005-11-15 14:19 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user] emerge bugzilla compile error
  2005-11-15 14:49 ` Nagatoro
@ 2005-11-15 14:36   ` ivar
  2005-11-15 16:11   ` [gentoo-user] ccache disabled Roger Mason
  1 sibling, 0 replies; 5+ messages in thread
From: ivar @ 2005-11-15 14:36 UTC (permalink / raw
  To: gentoo-user

Hello, when I try to emerge bugzilla I get the following errors:
mod_rewrite.c: In function `lookup_map_dbmfile':
mod_rewrite.c:3037: error: `DBM' undeclared (first use in this function)
mod_rewrite.c:3037: error: (Each undeclared identifier is reported only once
mod_rewrite.c:3037: error: for each function it appears in.)
mod_rewrite.c:3037: error: `dbmfp' undeclared (first use in this function)
mod_rewrite.c:3038: error: `datum' undeclared (first use in this function)
mod_rewrite.c:3038: error: syntax error before "dbmkey"
mod_rewrite.c:3046: error: `dbmkey' undeclared (first use in this function)
mod_rewrite.c:3049: error: `dbmval' undeclared (first use in this function)

Any experiences with this ?
IB

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] ccache disabled
  2005-11-15 13:54 [gentoo-user] ccache disabled Roger Mason
  2005-11-15 14:19 ` Mrugesh Karnik
@ 2005-11-15 14:49 ` Nagatoro
  2005-11-15 14:36   ` [gentoo-user] emerge bugzilla compile error ivar
  2005-11-15 16:11   ` [gentoo-user] ccache disabled Roger Mason
  1 sibling, 2 replies; 5+ messages in thread
From: Nagatoro @ 2005-11-15 14:49 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] ccache disabled
  2005-11-15 14:49 ` Nagatoro
  2005-11-15 14:36   ` [gentoo-user] emerge bugzilla compile error ivar
@ 2005-11-15 16:11   ` Roger Mason
  1 sibling, 0 replies; 5+ messages in thread
From: Roger Mason @ 2005-11-15 16:11 UTC (permalink / raw
  To: gentoo-user


Hello,

Nagatoro <nagatoro@gmail.com> 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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-11-15 16:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-15 13:54 [gentoo-user] ccache disabled Roger Mason
2005-11-15 14:19 ` Mrugesh Karnik
2005-11-15 14:49 ` Nagatoro
2005-11-15 14:36   ` [gentoo-user] emerge bugzilla compile error ivar
2005-11-15 16:11   ` [gentoo-user] ccache disabled Roger Mason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox