[Bf-committers] Linux Users: Questions about build support needs
hans at lambermont.dyndns.org
Sat Dec 30 13:09:13 CET 2006
Hans Lambermont wrote:
> FreeBSD also has problems with py24, that's why I still make the
> releases with py23.
> Note that py24 in itself works fine on FreeBSD (FreeBSD has py21, 22,
> 23, 24, 25 in /usr/ports/lang/ available), just compiling blender
> against py24 does not work because of this :
> #include <vector>
> #include "Python.h"
> #include <iostream.h>
> See my other mails around April 2005.
> It starts with BL_ActionActuator.cpp in source/gameengine/Converter/ :
> /usr/include/c++/3.4/bits/localefwd.h:58:34: macro "isspace" passed 2
> arguments, but takes just 1 /usr/include/c++/3.4/bits/localefwd.h:58:
> error: `std::isspace' declared as `inline' variable)
I gave this another run, on a newer version of FreeBSD (6.1-RELEASE and
gcc version 3.4.4) and it still exists but pops up in a different place
I then stripped BL_BlenderDataConversion.cpp down to the bare minimum.
It then needs only 2 header file include lines :
The first two resulting errors are :
/usr/include/c++/3.4/bits/localefwd.h:58:34: macro "isspace" passed 2 arguments, but takes just 1
/usr/include/c++/3.4/bits/localefwd.h:58: error: `std::isspace' declared as an `inline' variable
The errors are the same as what I reported to this list in April 2005.
Changing g++'s -I/usr/local/include/python2.4 into
-I/usr/local/include/python2.3 makes the problem disappear.
I also tried with python2.5, but it shows the same problem as 2.4 does.
So this really needs to be fixed, otherwise Blender on FreeBSD is stuck
at python2.3 .
Any help is appreciated.
More information about the Bf-committers