julius icon indicating copy to clipboard operation
julius copied to clipboard

having issues installing julius on a macbook with M1 chip

Open kckrislee opened this issue 3 years ago • 0 comments

I was trying to install julius on my macbook with M1 chip via homebrew using brew install --build-from-source julius, but i got the following error message:

==> Downloading https://github.com/julius-speech/julius/archive/v4.6.tar.gz ==> ./configure --mandir=/opt/homebrew/Cellar/julius/4.6/share/man --prefix=/opt/homebrew/Cellar/julius/4.6 ==> make Last 15 lines from /Users/name/Library/Logs/Homebrew/julius/02.make: clang -g -O2 -fPIC -Iinclude -DHAVE_CONFIG_H -o src/phmm/calc_dnn_neon.o -c src/phmm/calc_dnn_neon.c src/phmm/calc_dnn.c:77:13: error: use of undeclared identifier 'bit_SSE' if (edx & bit_SSE) { ^ src/phmm/calc_dnn.c:80:13: error: use of undeclared identifier 'bit_AVX' if (ecx & bit_AVX) { ^ src/phmm/calc_dnn.c:83:13: error: use of undeclared identifier 'bit_FMA' if (ecx & bit_FMA) { ^ clang -g -O2 -fPIC -Iinclude -DHAVE_CONFIG_H -o src/util/endian.o -c src/util/endian.c 3 errors generated. make[1]: *** [src/phmm/calc_dnn.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [libsent] Error 2

I am very new to all these so I don't know what to do. Any suggestions?

(I also tried brew install julius but it said julius: no bottle available! and that's why I used the --build-from-source)

kckrislee avatar Nov 11 '21 06:11 kckrislee