[Xorp-users] BUG: 1.7 build system has builddir feature but creates files in source tree, build with read-only source tree fails

J.T. Conklin jtc at acorntoolworks.com
Mon Sep 28 20:48:54 PDT 2009


"XORP at sipxx.com" <karl at sipxx.com> writes:
> The XORP-1.7 build system has a feature to use an alternate build
> directory (builddir option), while this indeed relocates the creation
> of object files and build targets, scons still creates build specific
> files in the source tree. If the source tree is read-only for the
> compiling user, the build fails.
> The attached log file of such an attempt was obtained with scons
> prefix=/opt/xorp builddir=../build-1.7
> There doesn't seem to be an easy way to completely build in a separate
> directory as was the case with XORP-1.6.

I think the only thing that is currently written in the source
directory is the .sconsign.dblite file.  Scons has a SConsignFile()
directive.  I'll investigate whether it can be used with a command
line argument to override the default, similar to what is done for 
the build directory.

    --jtc

-- 
J.T. Conklin



More information about the Xorp-users mailing list