artemp/tickets2issues — Issue #294: Misleading SCons 'could not find required header or shared library for m' with SVN trunk SConstruct
Author: artemp
Created: 2011-10-11 15:08:52+00:00
State: open
Labels: Scons_Build_Scripts

SConstruct in trunk has seen a number of changes lately:

http://trac.mapnik.org/changeset?new=844%40trunk%2FSConstruct&old=816%40trunk%2FSConstruct

One of these changes seemed to introduce a minor but problematic and misleading error. Here is the sequence of events that produce it:

After and build is completed with:
{{{
python scons/scons.py
}}}

Then I run as root to install:
{{{
sudo python scons/scons.py
}}}

If I return to rebuild again SCons is not able to successfully link 'm' (math.h)
{{{
$ python scons/scons.py