Checking cub library in ...
configure failed: Could not find file /cub/cub.cuh:
you may not have installed cub. Go to ../tools/ and type
'make cub' to download and unpack it. We'll detect it then.
Search Criteria
Package Details: kaldi 5.5.r9264.9af2c5c16-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/kaldi.git (read-only, click to copy) |
---|---|
Package Base: | kaldi |
Description: | Speech recognition research toolkit |
Upstream URL: | https://github.com/kaldi-asr/kaldi |
Licenses: | Apache |
Submitter: | petronny |
Maintainer: | petronny |
Last Packager: | petronny |
Votes: | 4 |
Popularity: | 0.000000 |
First Submitted: | 2016-11-01 10:54 (UTC) |
Last Updated: | 2022-07-23 11:36 (UTC) |
Dependencies (12)
- cblas (blis-cblas-openmpAUR, blis-cblasAUR, aocl-blis-aoccAUR, blas-gitAUR, atlas-lapackAUR, blas-aocl-gccAUR, blas-aocl-aoccAUR, blis-gitAUR, blisAUR, openblas-lapackAUR, blas-mklAUR, aocl-blisAUR, blas-openblas)
- kaldi-openfstAUR
- lapack (aocl-libflame-aoccAUR, lapack-gitAUR, atlas-lapackAUR, blas-aocl-gccAUR, blas-aocl-aoccAUR, openblas-lapackAUR, blas-mklAUR, aocl-libflameAUR, blas-openblas)
- python (python37AUR, python311AUR, python310AUR)
- git (git-gitAUR, git-glAUR) (make)
- wget (wget-gitAUR, wurlAUR) (make)
- cuda (cuda11.1AUR, cuda-12.2AUR, cuda12.0AUR, cuda11.4AUR, cuda11.4-versionedAUR, cuda12.0-versionedAUR) (optional)
- kaldi-irstlm (optional)
- kaldi-kaldi_lm (optional)
- kaldi-sctk (optional)
- kaldi-sph2pipe (optional)
- kaldi-srilm (optional)
Required by (0)
Sources (1)
simona commented on 2023-02-16 17:38 (UTC)
simona commented on 2022-12-10 09:14 (UTC)
configure failed: Could not find file /cub/cub.cuh:
you may not have installed cub. Go to ../tools/ and type
'make cub' to download and unpack it. We'll detect it then.
==> ERRORE: Si è verificato un errore in build().
omega16 commented on 2021-01-24 06:47 (UTC)
The kaldi tools/extra folder has script "check_dependencies.sh" if you run it it would tell you what you need to compile, in my case I can compile kaldi after install :
- gcc-fortran
- intel-mkl
- subversion
rageltman commented on 2021-01-12 04:15 (UTC)
The package is failing to build, throwing:
[2021-01-12T03:57:05.296Z] make -C base
[2021-01-12T03:57:05.296Z] make[1]: Entering directory '/build/kaldi/src/kaldi/src/base'
[2021-01-12T03:57:05.296Z] g++ -std=c++11 -I.. -isystem /opt/kaldi/tools/openfst-1.6.7/include -O1 -Wall -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-declarations -Winit-self -DKALDI_DOUBLEPRECISION=0 -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_CLAPACK -I../../tools/CLAPACK -msse -msse2 -pthread -g -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DKALDI_NO_EXPF -D_FORTIFY_SOURCE=2 -c -o kaldi-math.o kaldi-math.cc
[2021-01-12T03:57:05.296Z] g++ -std=c++11 -I.. -isystem /opt/kaldi/tools/openfst-1.6.7/include -O1 -Wall -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-declarations -Winit-self -DKALDI_DOUBLEPRECISION=0 -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_CLAPACK -I../../tools/CLAPACK -msse -msse2 -pthread -g -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DKALDI_NO_EXPF -D_FORTIFY_SOURCE=2 -c -o kaldi-error.o kaldi-error.cc
[2021-01-12T03:57:05.296Z] g++ -std=c++11 -I.. -isystem /opt/kaldi/tools/openfst-1.6.7/include -O1 -Wall -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-declarations -Winit-self -DKALDI_DOUBLEPRECISION=0 -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_CLAPACK -I../../tools/CLAPACK -msse -msse2 -pthread -g -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DKALDI_NO_EXPF -D_FORTIFY_SOURCE=2 -c -o io-funcs.o io-funcs.cc
[2021-01-12T03:57:05.296Z] g++ -std=c++11 -I.. -isystem /opt/kaldi/tools/openfst-1.6.7/include -O1 -Wall -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-declarations -Winit-self -DKALDI_DOUBLEPRECISION=0 -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_CLAPACK -I../../tools/CLAPACK -msse -msse2 -pthread -g -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DKALDI_NO_EXPF -D_FORTIFY_SOURCE=2 -c -o kaldi-utils.o kaldi-utils.cc
[2021-01-12T03:57:05.296Z] g++ -std=c++11 -I.. -isystem /opt/kaldi/tools/openfst-1.6.7/include -O1 -Wall -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-declarations -Winit-self -DKALDI_DOUBLEPRECISION=0 -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_CLAPACK -I../../tools/CLAPACK -msse -msse2 -pthread -g -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DKALDI_NO_EXPF -D_FORTIFY_SOURCE=2 -c -o timer.o timer.cc
[2021-01-12T03:57:05.296Z] ar -cr kaldi-base.a kaldi-math.o kaldi-error.o io-funcs.o kaldi-utils.o timer.o
[2021-01-12T03:57:05.296Z] ranlib kaldi-base.a
[2021-01-12T03:57:05.296Z] g++ -shared -o libkaldi-base.so -Wl,--as-needed -Wl,-soname=libkaldi-base.so,--whole-archive kaldi-base.a -Wl,--no-whole-archive -Wl,-rpath=/opt/kaldi/tools/openfst-1.6.7/lib -rdynamic -lcblas -llapack -Wl,-rpath=/build/kaldi/src/kaldi/src/lib /opt/kaldi/tools/openfst-1.6.7/lib/libfst.so /usr/CLAPACK-3.2.1/lapack.a /usr/CLAPACK-3.2.1/libcblaswr.a /usr/CBLAS/lib/cblas.a /usr/f2c_BLAS-3.8.0/blas.a /usr/libf2c/libf2c.a -lm -lpthread -ldl
[2021-01-12T03:57:05.296Z] g++: error: /usr/CLAPACK-3.2.1/lapack.a: No such file or directory
[2021-01-12T03:57:05.296Z] g++: error: /usr/CLAPACK-3.2.1/libcblaswr.a: No such file or directory
[2021-01-12T03:57:05.296Z] g++: error: /usr/CBLAS/lib/cblas.a: No such file or directory
[2021-01-12T03:57:05.296Z] g++: error: /usr/f2c_BLAS-3.8.0/blas.a: No such file or directory
[2021-01-12T03:57:05.296Z] g++: error: /usr/libf2c/libf2c.a: No such file or directory
[2021-01-12T03:57:05.296Z] make[1]: *** [../makefiles/default_rules.mk:53: libkaldi-base.so] Error 1
[2021-01-12T03:57:05.296Z] make[1]: Leaving directory '/build/kaldi/src/kaldi/src/base'
[2021-01-12T03:57:05.296Z] make: *** [Makefile:136: base] Error 2
[2021-01-12T03:57:05.296Z] ==> ERROR: A failure occurred in build().
[2021-01-12T03:57:05.296Z] Aborting...
script returned exit code 255
simona commented on 2020-09-03 11:04 (UTC)
thx @petronny
petronny commented on 2020-09-03 08:21 (UTC)
Prebuilt binaries of this package and its dependencies can be found in the arch4edu repository.
petronny commented on 2020-09-03 08:20 (UTC) (edited on 2021-02-24 06:42 (UTC) by petronny)
@simona This PKGBUILD is tested in a clean chroot.
If you can't build it yourself, you can use the prebuilt binary.
simona commented on 2020-08-31 15:05 (UTC) (edited on 2020-08-31 15:05 (UTC) by simona)
do not compile anymore. require "cub" package? whats is cub? how i can install cub?
aa13q commented on 2020-04-13 13:44 (UTC)
Hello! Thank you for the pkgbuild! Since gcc version 9 is here, maybe use default g++ (without version suffix) and remove gcc7 dependency?
jazztickets commented on 2018-05-23 15:38 (UTC)
subversion needs to be added as a dep
Pinned Comments
petronny commented on 2020-09-03 08:21 (UTC)
Prebuilt binaries of this package and its dependencies can be found in the arch4edu repository.