[Qgis-developer] QgsExpression: replacement for QgsSearchString

Tim Sutton lists at linfiniti.com
Mon Aug 29 14:26:08 EDT 2011


Hi

Ok it seems to been caused by me inadvertantly trying to build as
Debug instead of RelWithDebInfo (well thats my best guess as to what
caused it because the problem is gone now).


Thanks

Tim


On Mon, Aug 29, 2011 at 9:58 AM, Marco Hugentobler
<marco.hugentobler at sourcepole.ch> wrote:
> 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
>>
>> <marco.hugentobler at sourcepole.ch> 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
> marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
> Technical Advisor QGIS Project Steering Committee
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>



-- 
Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
==============================================
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.

Visit http://linfiniti.com to find out about:
 * QGIS programming and support services
 * Mapserver and PostGIS based hosting plans
 * FOSS Consulting Services
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
==============================================


More information about the Qgis-developer mailing list