Maven doesn't detect generateByaccs

Hello!,

would you kindly advise me on the following,

i’m trying to launch the whois project (GitHub - RIPE-NCC/whois: RIPE Database whois code repository), Windows 10 with Linux subsystem, but can’t make a build, on
trying ‘mvn clean install’ i’m getting an error:
“Cannot run program “src\main\parser\bin\generateByaccs” ():
CreateProcess error=2, The system cannot find the file specified”
while the module is there:

Also tried to follow the Help link, but can’t find some clue there neither.
May be the problem is here:
case $OSTYPE in
darwin*)
YACC=‘src/main/parser/bin/yacc.macosx’
;;
linux*)
YACC=‘src/main/parser/bin/yacc.linux’
;;
*)
YACC=‘src/main/parser/bin/yacc’
;;

The OS is Windows 10 with Linux subsystem (have installed Ubuntu), and there is notheing like yacc or yacc.windows in the project…

Hello,

I ran “mvn clean install” on the Whois project and also in the “whois-rpsl” module and it completed successfully in IntelliJ on my Mac laptop.

Yacc is required for building the parser classes in whois-rpsl, can you install yacc under Ubuntu? It’s part of the “bison” package.

Regards
Ed Shryane
RIPE NCC