From owner-freebsd-questions@FreeBSD.ORG Sat Dec 30 12:53:06 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2F40016A40F for ; Sat, 30 Dec 2006 12:53:06 +0000 (UTC) (envelope-from hans@lambermont.dyndns.org) Received: from lambermont.dyndns.org (lambermont.dyndns.org [82.93.47.245]) by mx1.freebsd.org (Postfix) with ESMTP id CFF1A13C457 for ; Sat, 30 Dec 2006 12:53:05 +0000 (UTC) (envelope-from hans@lambermont.dyndns.org) Received: by lambermont.dyndns.org (Postfix, from userid 1001) id 821CA22DC0A; Sat, 30 Dec 2006 13:33:29 +0100 (CET) Date: Sat, 30 Dec 2006 13:33:29 +0100 To: freebsd-questions@freebsd.org Message-ID: <20061230123329.GK2989@leia.lambermont.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i From: hans@lambermont.dyndns.org (Hans Lambermont) Subject: Compiling Blender with Python2.4 woes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Dec 2006 12:53:06 -0000 Hi, I'm the Blender platform maintainer for FreeBSD, however I do not maintain ports/graphics/blender anymore. Blender (with gameengine enabled) compiles fine against python2.3, but when using python2.4 or python2.5 compilation fails in a manner that I cannot resolve. It boils down to something that is not Blender related anymore. A file consisting of just 3 includes : #include #include "Python.h" #include fails to compile (g++ -I/usr/local/include/python2.4 testfile.cpp) with : In file included from /usr/include/c++/3.4/ios:48, from /usr/include/c++/3.4/ostream:45, from /usr/include/c++/3.4/iostream:45, from testfile.cpp:3: /usr/include/c++/3.4/bits/localefwd.h:58:34: macro "isspace" passed 2 arguments, but takes just 1 In file included from /usr/include/c++/3.4/ios:48, from /usr/include/c++/3.4/ostream:45, from /usr/include/c++/3.4/iostream:45, from testfile.cpp:3: /usr/include/c++/3.4/bits/localefwd.h:58: error: `std::isspace' declared as an `inline' variable /usr/include/c++/3.4/bits/localefwd.h:58: error: template declaration of `bool std::isspace' /usr/include/c++/3.4/bits/localefwd.h:70:34: macro "isupper" passed 2 arguments, but takes just 1 etc. This is tested with 5.4-RELEASE and 6.1-RELEASE. Any help in resolving this is appreciated. regards, Hans Lambermont