gccxml CVS version broken for Linux


16-12-2008 12:39:59

For those having problems with gccxml, I've figured out a recent commit to the gccxml repository broke generating the wrapper code for ogre. The error ("Could not determine GCCXML_FLAGS setting") mentions not being able to find gccxml_identify_compiler.cc.

To work around this, in the Linux build instructions (http://wiki.python-ogre.org/index.php/LinuxBuildV2), instead of running python python-ogre/BuildModule.py -r gccxml do the following:

cvs -d :pserver:anoncvs@www.gccxml.org:/cvsroot/GCC_XML co -D '16 Nov 2008' gccxml

This gets the gccxml version from a month ago, which works for me.

It's rather bothersome that we have to use the CVS version of gccxml as gccxml doesn't have regular releases. It might be useful to provide snapshots of gccxml so we don't have to track this moving target...


16-12-2008 18:23:42

It use to be much worse, everything was based on the latest SVN/CVS of almost all projects making it even harder to hit. It appears "22May2008" is the pinned down version to use with the Ogre 1.4 version of Python-Ogre but even though 09Sep2008 is chosen for the Ogre 1.6 version of Python-Ogre its not pinned in environment.py, take a look:class gccxml:
pythonModule = False
active = True
base = 'gccxml'
source_version = "20080522"
source = [
[cvs, " -d :pserver:anoncvs@www.gccxml.org:/cvsroot/GCC_XML co -D 22May2008 "+base, os.getcwd()]
source_version = "20080901"
source = [
[cvs, " -d :pserver:anoncvs@www.gccxml.org:/cvsroot/GCC_XML co "+base, os.getcwd()]


17-12-2008 03:44:30

Good catch -- I'll update the SVN to fix gccxml to the correct 'timestamp/version'