artemp/trac2github — Issue #211: Misleading SCons 'could not find required header or shared library for m' with SVN trunk SConstruct
Author: artemp
Created: 2011-10-09 20:21:05+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