Print

Print


Jacek,

   I think the version of antlr you have installed might be prehistoric (1.33, it looks like?). You should probably be using 2.7.7, which you may have to install with an appropriate apt-get command.

Cheers,
Serge

On Feb 26, 2014, at 4:42 PM, Jacek Becla <[log in to unmask]> wrote:

> Daniel
> 
> I am getting this when compiling qserv on ubuntu 12.04:
> 
> Does it ring any bell?
> 
> 
> g++ -o bld/mysql/MySqlConnection.os -c -fPIC -D_FILE_OFFSET_BITS=64 -fPIC -Ibld/modules -I/home/becla/cssProto/include -I/home/becla/cssProto/include/xrootd -Ibld -I/usr/include -I/usr/include -Ibld/modules -I/usr/include/python2.7 bld/mysql/MySqlConnection.cc
> g++ -o bld/mysql/SqlConfig.os -c -fPIC -D_FILE_OFFSET_BITS=64 -fPIC -Ibld/modules -I/home/becla/cssProto/include -I/home/becla/cssProto/include/xrootd -Ibld -I/usr/include -I/usr/include -Ibld/modules -I/usr/include/python2.7 bld/mysql/SqlConfig.cc
> g++ -o bld/obsolete/QservPath.os -c -fPIC -D_FILE_OFFSET_BITS=64 -fPIC -Ibld/modules -I/home/becla/cssProto/include -I/home/becla/cssProto/include/xrootd -Ibld -I/usr/include -I/usr/include -Ibld/modules -I/usr/include/python2.7 bld/obsolete/QservPath.cc
> g++ -o bld/obsolete/QservPathStructure.os -c -fPIC -D_FILE_OFFSET_BITS=64 -fPIC -Ibld/modules -I/home/becla/cssProto/include -I/home/becla/cssProto/include/xrootd -Ibld -I/usr/include -I/usr/include -Ibld/modules -I/usr/include/python2.7 bld/obsolete/QservPathStructure.cc
> /usr/bin/antlr -o /home/becla/cssProto/qserv/core/bld/parser -glib /home/becla/cssProto/qserv/core/bld/parser/DmlSQL2.g /home/becla/cssProto/qserv/core/bld/parser/SqlSQL2.g
> Antlr parser generator   Version 1.33MR33   1989-2001
> warning: invalid option: '-glib'
> /home/becla/cssProto/qserv/core/bld/parser/DmlSQL2.g, line 80: syntax error at "{" missing { QuotedTerm PassAction ! \< \> : }
> /home/becla/cssProto/qserv/core/bld/parser/DmlSQL2.g, line 84: syntax error at ")" missing { QuotedTerm PassAction ! \< \> : }
> /home/becla/cssProto/qserv/core/bld/parser/DmlSQL2.g, line 85: syntax error at ")" missing { QuotedTerm PassAction ! \< \> : }
> 
> [... it goes on and on...]
> 
> ########################################################################
> Use REPLY-ALL to reply to list
> 
> To unsubscribe from the QSERV-L list, click the following link:
> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the QSERV-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1