LISTSERV mailing list manager LISTSERV 16.5

Help for QSERV-L Archives


QSERV-L Archives

QSERV-L Archives


QSERV-L@LISTSERV.SLAC.STANFORD.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

QSERV-L Home

QSERV-L Home

QSERV-L  February 2014

QSERV-L February 2014

Subject:

Re: issues w/Antlr on ubuntu 12.04

From:

Serge Monkewitz <[log in to unmask]>

Reply-To:

General discussion for qserv (LSST prototype baseline catalog)

Date:

Wed, 26 Feb 2014 17:40:54 -0800

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (87 lines)

I’ve got practically no experience with debian / ubuntu, sorry!

Is it possible that you have 2 versions of antlr installed? Is there a /usr/bin/antlr2 executable, and/or is /usr/bin/antlr actually a symlink? If so, `sudo update-alternatives —config antlr` may let you choose the default antlr version on your system.

Serge

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

> Serge
> 
> Thanks. Do you happen to know how to force ubuntu to
> grab the version I want?
> 
> 
> apt-cache madison antlr
>     antlr | 2.7.7+dfsg-3 | http://us.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
>     antlr | 2.7.7+dfsg-3 | http://us.archive.ubuntu.com/ubuntu/ precise/main Sources
> 
> -----
> 
> sudo apt-get install antlr=2.7.7+dfsg-3
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> antlr is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> 
> -----
> 
> antlr
> Antlr parser generator   Version 1.33MR33   1989-2001
> 
> 
> Jacek
> 
> 
> 
> 
> On 02/26/2014 04:55 PM, Serge Monkewitz wrote:
>> 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

########################################################################
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

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

March 2018
February 2018
January 2018
December 2017
August 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012

ATOM RSS1 RSS2



LISTSERV.SLAC.STANFORD.EDU

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager

Privacy Notice, Security Notice and Terms of Use