[PlanetCCRMA] Re: [sc-users] scons & sc3 - problem due to ccache-functionality in modern linux-distros

andersvi@extern.uio.no andersvi at extern.uio.no
Thu Nov 22 01:12:00 2007


>>>>> "a" == andersvi  <andersvi@extern.uio.no> writes:

    a> Im having troubles compiling svn-versions of SC3 lately on FC7.
    a> Im not sure whether this is scons-related or SC3-related, but
    a> other scons builds (eg. ardour2) work fine.  So maybe anyone in
    a> these groups might recognizes whats wrong.

The troubles i had stemmed from fc7 using a 'ccache' functionality,
and scons overriding some controlling environment-variables it seems.

Typing

 > scons CC=/usr/bin/gcc CXX=/usr/bin/g++ X11=no

made scons run through and build the project.

I dont know exactly what this ccache-functionality is, but it seems to
be used on many recent linux-distributions, and surely there must be a
way to have scons working with it.

Building ardour with scons in the same environment goes smoothly
without explicitly overriding any CXX or CC variables, so something in
its SConstruct file makes it work where SC3 does not.

-anders