Package Details: antlr2 2.7.7-13

Git Clone URL: https://aur.archlinux.org/antlr2.git (read-only, click to copy)
Package Base: antlr2
Description: Language recognition tool providing a framework to build grammatical parsers
Upstream URL: https://www.antlr2.org/
Licenses: custom
Provides: antlr
Submitter: arojas
Maintainer: dawie
Last Packager: dawie
Votes: 0
Popularity: 0.000000
First Submitted: 2022-04-01 16:27 (UTC)
Last Updated: 2024-06-25 11:30 (UTC)

Dependencies (3)

Required by (8)

Sources (3)

Latest Comments

hansc commented on 2022-07-26 10:48 (UTC)

I couldn't get this package to build due to the following error:

make[1]: Entering directory '/home/hans/appdata/builds/antlr2/src/antlr-2.7.7/lib/cpp/src'
install C++ core files .. 
install /home/hans/appdata/builds/antlr2/src/antlr-2.7.7/lib/cpp/src/libantlr.a
make[1]: Leaving directory '/home/hans/appdata/builds/antlr2/src/antlr-2.7.7/lib/cpp/src'
install: cannot stat '../../antlr/antlr.jar': No such file or directory

I fixed it by replacing

install -Dm644 ../../antlr/antlr.jar "${pkgdir}"/usr/share/java/antlr2.jar

in the PKGBUILD with

install -Dm644 "${srcdir}"/antlr-${pkgver}/antlr.jar "${pkgdir}"/usr/share/java/antlr2.jar