xcc not found
Tags:
#1
squigley
I am having this issue on both Ubuntu and FreeBSD. While trying to compile the pattern parser, it is failing because xcc doesn't exist:
Ubuntu:
xcc -b -i patterndb_parser.xcc -o patterndb_parser.c
/bin/bash: xcc: command not found
make[5]: [Makefile:738: patterndb_parser.c] Error 127 (ignored)
FreeBSD:
Making all in pattern
xcc -b -i patterndb_parser.xcc -o patterndb_parser.c
make[4]: exec(xcc) failed (No such file or directory)
*** Error code 1 (ignored)
Both of these lead to the build failing because patterndb_parser.c was not generated:
Ubuntu:
gcc: error: patterndb_parser.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
make[5]: *** [Makefile:480: patterndb_parser.lo] Error 1
FreeBSD:
cc: error: no such file or directory: 'patterndb_parser.c'
cc: error: no input files
*** Error code 1
Stop.
Where does xcc come from? Google is not helping me at all, nor find, nor looking though the git repository.
#1
squigley
I am having this issue on both Ubuntu and FreeBSD. While trying to compile the pattern parser, it is failing because xcc doesn't exist:
Ubuntu:
xcc -b -i patterndb_parser.xcc -o patterndb_parser.c
/bin/bash: xcc: command not found
make[5]: [Makefile:738: patterndb_parser.c] Error 127 (ignored)
FreeBSD:
Making all in pattern
xcc -b -i patterndb_parser.xcc -o patterndb_parser.c
make[4]: exec(xcc) failed (No such file or directory)
*** Error code 1 (ignored)
Both of these lead to the build failing because patterndb_parser.c was not generated:
Ubuntu:
gcc: error: patterndb_parser.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
make[5]: *** [Makefile:480: patterndb_parser.lo] Error 1
FreeBSD:
cc: error: no such file or directory: 'patterndb_parser.c'
cc: error: no input files
*** Error code 1
Stop.
Where does xcc come from? Google is not helping me at all, nor find, nor looking though the git repository.
xcc
is an xml compiler. On your Ubuntu machine, I would try sudo apt update;sudo apt install xcc
.