Open raphael10-collab opened 1 week ago
$ xrepo install tesseract-5.3.4 error: package(tesseract-5.3.4) not found!
incorrect syntax
xrepo install tesseract-5.3.4
-> xrepo install "tesseract 5.3.4"
xrepo install "package version"
raphy@raohy:~$ xrepo install "tesseract 5.3.4"
note: install or modify (m) these packages (pass -y to skip confirm)?
in xmake-repo:
-> tesseract 5.3.4
please input: y (y/n/m)
y
=> install tesseract 5.3.4 .. failed
CMake Warning at CMakeLists.txt:398 (find_package):
Found package configuration file:
/home/raphy/.xmake/packages/l/leptonica/1.84.1/bfb5ed63d07c4ace9bd74a4659b7e56b/lib/cmake/leptonica
/LeptonicaConfig.cmake
but it set Leptonica_FOUND to FALSE so package "Leptonica" is considered to
be NOT FOUND. Reason given by package:
Leptonica could not be found because dependency WebP could not be found.
CMake Error at CMakeLists.txt:404 (message):
Cannot find required library Leptonica. Quitting!
ring tesseract version 5.3.4...
-- IPO / LTO supported
-- CMAKE_SYSTEM_PROCESSOR=<x86_64>
-- Performing Test HAVE_AVX
-- Performing Test HAVE_AVX - Success
-- Performing Test HAVE_AVX2
-- Performing Test HAVE_AVX2 - Success
-- Performing Test HAVE_AVX512F
-- Performing Test HAVE_AVX512F - Success
if you want to get more verbose errors, please see:
-> /home/raphy/.xmake/cache/packages/2407/t/tesseract/5.3.4/installdir.failed/logs/install.txt
error: install failed!
error: execv(/home/raphy/.local/bin/xmake require -j 10 --extra={system=false} "tesseract 5.3.4") failed(255)
/home/raphy/.xmake/cache/packages/2407/t/tesseract/5.3.4/installdir.failed/logs/install.txt :
CMake Warning at CMakeLists.txt:398 (find_package):
Found package configuration file:
/home/raphy/.xmake/packages/l/leptonica/1.84.1/bfb5ed63d07c4ace9bd74a4659b7e56b/lib/cmake/leptonica/LeptonicaConfig.cmake
but it set Leptonica_FOUND to FALSE so package "Leptonica" is considered to be NOT FOUND. Reason given by package:
Leptonica could not be found because dependency WebP could not be found.
CMake Error at CMakeLists.txt:404 (message):
Cannot find required library Leptonica. Quitting!
ring tesseract version 5.3.4...
-- IPO / LTO supported
-- CMAKE_SYSTEM_PROCESSOR=<x86_64>
-- Performing Test HAVE_AVX
-- Performing Test HAVE_AVX - Success
-- Performing Test HAVE_AVX2
-- Performing Test HAVE_AVX2 - Success
-- Performing Test HAVE_AVX512F
-- Performing Test HAVE_AVX512F - Success
-- Performing Test HAVE_FMA
-- Performing Test HAVE_FMA - Success
-- Performing Test HAVE_SSE4_1
-- Performing Test HAVE_SSE4_1 - Success
-- Performing Test OPENMP_SIMD
-- Performing Test OPENMP_SIMD - Success
-- Could NOT find WebP (missing: WebP_DIR)
-- Configuring incomplete, errors occurred!
I installed libwebp
raphy@raohy:~$ xrepo search webp
The package names:
webp:
-> libwebp-v1.3.0: Library to encode and decode images in WebP format. (in xmake-repo)
raphy@raohy:~$ xrepo install "libwebp v1.3.0"
note: install or modify (m) these packages (pass -y to skip confirm)?
in xmake-repo:
-> libwebp v1.3.0
please input: y (y/n/m)
y
=> download https://github.com/webmproject/libwebp/archive/v1.3.0.tar.gz .. ok
=> install libwebp v1.3.0 .. ok
raphy@raohy:~$
But it gives the same error: Leptonica could not be found because dependency WebP could not be found
:
raphy@raohy:~$ xrepo install "tesseract 5.3.4"
note: install or modify (m) these packages (pass -y to skip confirm)?
in xmake-repo:
-> tesseract 5.3.4
please input: y (y/n/m)
y
=> install tesseract 5.3.4 .. failed
CMake Warning at CMakeLists.txt:398 (find_package):
Found package configuration file:
/home/raphy/.xmake/packages/l/leptonica/1.84.1/bfb5ed63d07c4ace9bd74a4659b7e56b/lib/cmake/leptonica/LeptonicaConfig.cmake
but it set Leptonica_FOUND to FALSE so package "Leptonica" is considered to
be NOT FOUND. Reason given by package:
Leptonica could not be found because dependency WebP could not be found.
CMake Error at CMakeLists.txt:404 (message):
Cannot find required library Leptonica. Quitting!
ring tesseract version 5.3.4...
-- IPO / LTO supported
-- CMAKE_SYSTEM_PROCESSOR=<x86_64>
-- Performing Test HAVE_AVX
-- Performing Test HAVE_AVX - Success
-- Performing Test HAVE_AVX2
-- Performing Test HAVE_AVX2 - Success
-- Performing Test HAVE_AVX512F
-- Performing Test HAVE_AVX512F - Success
if you want to get more verbose errors, please see:
-> /home/raphy/.xmake/cache/packages/2407/t/tesseract/5.3.4/installdir.failed/logs/install.txt
error: install failed!
error: execv(/home/raphy/.local/bin/xmake require -j 10 --extra={system=false} "tesseract 5.3.4") failed(255)
/home/raphy/.xmake/cache/packages/2407/t/tesseract/5.3.4/installdir.failed/logs/install.txt :
CMake Warning at CMakeLists.txt:398 (find_package):
Found package configuration file:
/home/raphy/.xmake/packages/l/leptonica/1.84.1/bfb5ed63d07c4ace9bd74a4659b7e56b/lib/cmake/leptonica
/LeptonicaConfig.cmake
but it set Leptonica_FOUND to FALSE so package "Leptonica" is considered to
be NOT FOUND. Reason given by package:
Leptonica could not be found because dependency WebP could not be found.
Xmake Version
2.9.3
Operating System Version and Architecture
Ubuntu 23.10
Describe Bug
Expected Behavior
Plain tesseract installation
Project Configuration
Additional Information and Error Logs