PhilippeRo / gst-vosk

Gstreamer plugin for VOSK voice recognition engine
GNU Lesser General Public License v2.1
10 stars 1 forks source link

Meson setup build command can not find pkgconfig #2

Closed kavyamanohar closed 1 year ago

kavyamanohar commented 1 year ago

Upon running the script meson setup builddir --prefix=/usr, I get the following error.

Version: 0.61.2
Source dir: /home/XXX/IBus-Speech-To-Text/gst-vosk
Build dir: /home/XXX/IBus-Speech-To-Text/gst-vosk/builddir
Build type: native build
Project name: gst-vosk
Project version: 0.3.0
C compiler for the host machine: cc (gcc 11.3.0 "cc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0")
C linker for the host machine: cc ld.bfd 2.38
Host machine cpu family: x86_64
Host machine cpu: x86_64
Did not find pkg-config by name 'pkg-config'
Found Pkg-config: NO
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency gstreamer-1.0 found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency gstreamer-1.0
meson.build:15:0: ERROR: Neither a subproject directory nor a gstreamer.wrap file was found.

When I checked, I found that /usr/lib/pkgconfig/ has the file ibus-table.pc

What could have gone wrong?