But the problem is not the version. See the config.log I sent, which shows the error message about an invalid content to the -O flag, and a single quoted argument (starting with -O2) with multiple flags, which I think are interpeted as part of the argument to -O.
Then, your CXXFLAGS are quoted somewhere: "-O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/pkg/include -I/usr/include". SCons thinks the whole "2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/pkg/include -I/usr/include" is a value for -O. :)
Adam |