-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, Apr 03, 2009 at 11:47:26PM +0200, Luca Falavigna wrote:
>I installed ccache in a clean Sid pbuilder and did a preliminary setup 
>as described in /usr/share/doc/ccache/README.Debian (I'm not a ccache 
>user, so I could be wrong). I was able to execute scons -c 
>successfully.
>
>Is your environment mangled? By design, SCons does not inherit
>environment variables. It needs to be instructed to do so.
>csound SConstruct file does this by declaring the following:
>commonEnvironment = Environment(ENV = {'PATH' : os.environ['PATH']}
>You could replace it with the following and try if it works:
>commonEnvironment = Environment(ENV = os.environ)

That worked.

This is my PATH:

/usr/lib/ccontrol:/home/jonas/bin:/usr/local/bin:/usr/bin:/bin:/usr/games


Is it a bug upstream in CSound to set the environment as it does, or a 
bug in SCons to not support what CSound does?

  - Jonas

- -- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

  [x] quote me freely  [ ] ask before reusing  [ ] keep private
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknWj5gACgkQn7DbMsAkQLg0DgCZAfjUdBVtC6n6cOS1ChbJfBZo
m9wAnjdnw+LfF3H5NN58wZPVY0QA22Fg
=f6bM
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to