aMule Forum

English => aMule Help => Topic started by: GrayFox.i0n on July 02, 2008, 07:28:31 AM

Title: ¿What is ccache?
Post by: GrayFox.i0n on July 02, 2008, 07:28:31 AM
When compiling, i allways see this message:

  Should ccache support be enabled?                          no


What, exactly is ccache? should it be enabled?

Cheers!
Title: Re: ¿What is ccache?
Post by: Festor on July 02, 2008, 07:49:39 AM
See this: http://www.amule.org/wiki/index.php/Configure#aMule_options
Title: Re: ¿What is ccache?
Post by: GrayFox.i0n on July 02, 2008, 08:03:46 AM
Thanks!

"Enable ccache. This will make following compilations faster since only the modified bits of code will be recompiled."

But anyway, i download the new release everyday, delete the previous, uncompress the new release, and then configure like this:

./configure --prefix=/usr --enable-amule-gui --enable-alc --enable-alcc --enable-utf8-systray --enable-debug --disable-optimize --enable-amulecmd --enable-amule-daemon --enable-cas --enable-wxcas --enable-webserver --enable-ccache  --enable-geoip --enable-remote

But i still dont see any speed improvements.... ¿Maybe im doing something wrong?

Cheers!
Title: Re: ¿What is ccache?
Post by: Stu Redman on July 05, 2008, 05:16:47 PM
Try uncompressing the new release over the old one without deleting the old one first.
Title: Re: ¿What is ccache?
Post by: GrayFox.i0n on July 05, 2008, 07:41:34 PM
Is really strange because i launch the configure command with this flags:

Code: [Select]
./configure --prefix=/usr --enable-amule-gui --enable-alc --enable-alcc --enable-utf8-systray --enable-debug --disable-optimize --enable-amulecmd --enable-amule-daemon --enable-cas --enable-wxcas --enable-webserver --enable-ccache  --enable-geoip --enable-remote
And i did not realize until now, this is the report i get:
Code: [Select]
  **** aMule TextClient ****
  Should aMule Command Line Client be built?                 yes

  **** aMule WebServer ****
  Should aMule WebServer be built?                           yes

  **** aMule ED2K Links Handler ****
  Should aMule ED2K Links Handler be built?                  yes

  **** aMuleLinkCreator ****
  Should aMuleLinkCreator GUI version (alc) be built?        yes
  Should aMuleLinkCreator for console (alcc) be built?       yes

  **** aMule Statistics ****
  Should C aMule Statistics (CAS) be built?                  yes
  Should aMule GUI Statistics (wxCas) be built?              yes
  Should xas XChat2 plugin be installed?                     yes

  **** General Libraries and Tools ****
  Should ccache support be enabled?                          no
  Libraries aMule will use to build:
                                       wxWidgets             2.8.7 (gtk2,shared)
                                       crypto++              5.5.2 (installed, in /usr)
                                       libupnp               1.6.6
                                       regex                 system
                                       libintl               system
                                       libpng                1.2.15beta5
                                       libgd                 2.0.35
                                       zlib                  1.2.3.3

Note this line:   Should ccache support be enabled?                          no

I think i clearly specifyed the --enable-ccache flag, but it is not enabled...... ¿Why can this happen?
Title: Re: ¿What is ccache?
Post by: GonoszTopi on July 06, 2008, 04:51:14 AM
Because for example you don't have ccache (http://ccache.samba.org/) installed.
Title: Re: ¿What is ccache?
Post by: GrayFox.i0n on July 06, 2008, 03:45:52 PM
OK! thanks for the help... i will give a try to it today.. ;)
Title: Re: ¿What is ccache?
Post by: GrayFox.i0n on July 17, 2008, 05:31:32 PM
Another question is: ¿Is ccache reliable?

I experienced some days ago something strange:

I compiled amule and i got an error (cant remember the text that appeared when the error happened)
I deleted my .ccache folder in mu /home and i compiled again: No error........

I think i will stop using it because i dont trust it 100%,..... am i paranoid? or was that error just a coincidence?

Cheers!  ;D