Bug#538778: antlr3: ANTLR v3 C header files and C run-time libraries are missing

Vsevolod Krishchenko crpg at aha.ru
Sun Jul 26 22:09:55 UTC 2009


Package: antlr3
Version: 3.0.1+dfsg-4
Severity: important


Antlr v3 could generate C parsers. Still, there are no anlr C headers in Debian (antlr3.h and so on). C ANTLR runtime 
libraries are also missed.

All these files are from libantlr3c-3.x.x.tar.gz archive from original antlr.org sources.

I suppose that at least two additional packages should be created: libantlr3c and libantlr3c-dev. 
I afraid the same problem is present with C++ and CLR generators.

Failure log:

$ cat test01.g
grammar test01;                    
options {                          
language=C;
}
r : ID;
ID: 'a'..'z' + ;
$ antlr3 test01.g
$ gcc -c test01Lexer.c
In file included from test01Lexer.c:17:
test01Lexer.h:41:23: error: antlr3.h: No such file or directory
(and so on..)

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages antlr3 depends on:
ii  java-gcj-compat [java2-runtim 1.0.80-5.1 Java runtime environment using GIJ
ii  libstringtemplate-java        3.1-3      StringTemplate templating engine f

Versions of packages antlr3 recommends:
ii  antlr3-gcj                  3.0.1+dfsg-4 language tool for constructing rec

antlr3 suggests no packages.

-- debconf-show failed





More information about the pkg-java-maintainers mailing list