Hi Martin > Looking at the version history of bison, the 2.4.x releases started in > 2008 while the 2.3 release went out back in 2006. Maybe we could drop > support for 2.3 ? Apparently even debian stable ships with 2.4.x.
Debian stable isn't the most conservative distro any more. It's the enterprise distributions. E.g. I have the mentioned problem on a CentOS 5.6 machine (for the foss4g WMS benchmark), and 5.6 seems to have appeared 8. April 2011. Personally I have no problem with 2.4 as minimum (e.g. generating the parser file with my ubuntu locally and copying to the server). I'm however not sure if we might frustrate some admins trying to compile qgis on their enterprise distros. Regards, Marco Am Montag, 29. August 2011, 09.14:11 schrieb Martin Dobias: > Hi Marco > > On Mon, Aug 29, 2011 at 8:39 AM, Marco Hugentobler > > <[email protected]> wrote: > > Hi all > > > > Seems it depends also on the bison version. > > I'm getting some errors with bison 2.3. With bison 2.4.1, it works > > nicely. > > > > cd /opt/qgisms/src/Quantum-GIS/build/src/core && /usr/bin/bison - > > o/opt/qgisms/src/Quantum-GIS/build/src/core/qgsexpressionparser.cpp -d -v > > -t /opt/qgisms/src/Quantum-GIS/src/core/qgsexpressionparser.yy > > /opt/qgisms/src/Quantum-GIS/src/core/qgsexpressionparser.yy:54.14-19: > > syntax error, unexpected string, expecting = > > > > (bison 2.3 understands only deprecated syntax %name-prefix = "exp_" ) > > > > cd /opt/qgisms/src/Quantum-GIS/build/src/core && /usr/bin/bison - > > o/opt/qgisms/src/Quantum-GIS/build/src/core/qgsexpressionparser.cpp -d -v > > -t /opt/qgisms/src/Quantum-GIS/src/core/qgsexpressionparser.yy > > /opt/qgisms/src/Quantum-GIS/src/core/qgsexpressionparser.yy:120.28-33: > > syntax error, unexpected type, expecting string or identifier > > > > Seems 2.3 does not support the <> notation. Not sure what to do here... > > Looking at the version history of bison, the 2.4.x releases started in > 2008 while the 2.3 release went out back in 2006. Maybe we could drop > support for 2.3 ? Apparently even debian stable ships with 2.4.x. > > Martin -- Dr. Marco Hugentobler Sourcepole - Linux & Open Source Solutions Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland [email protected] http://www.sourcepole.ch Technical Advisor QGIS Project Steering Committee _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
