synesthesiam / voice2json

Command-line tools for speech and intent recognition on Linux
MIT License
1.09k stars 63 forks source link

Can't install on Fedora 35 #73

Closed murpholinox closed 2 years ago

murpholinox commented 2 years ago
~$ cd Repos/
~/Repos$ git clone https://github.com/synesthesiam/voice2json
Cloning into 'voice2json'...
remote: Enumerating objects: 2998, done.
remote: Counting objects: 100% (405/405), done.
remote: Compressing objects: 100% (147/147), done.
remote: Total 2998 (delta 257), reused 379 (delta 255), pack-reused 2593
Receiving objects: 100% (2998/2998), 31.76 MiB | 17.34 MiB/s, done.
Resolving deltas: 100% (1942/1942), done.
~/Repos$ cd voice2json/
~/Repos/voice2json (master)$ ./config
bash: ./config: No such file or directory
~/Repos/voice2json (master)$ ./configure 
checking for python3... /usr/bin/python3
checking if Python >= '3.7.0'... yes
checking if Python <= '4.0'... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking portaudio.h usability... no
checking portaudio.h presence... no
checking for portaudio.h... no
configure: error: portaudio development libary is required for Mycroft Precise (portaudio19-dev package)
~/Repos/voice2json (master)$ sudo dnf install portaudio19-dev
[sudo] password for murphy: 
Last metadata expiration check: 0:59:09 ago on Wed 04 May 2022 09:16:01 AM CDT.
No match for argument: portaudio19-dev
Error: Unable to find a match: portaudio19-dev
~/Repos/voice2json (master)$ sudo dnf install portaudio
Last metadata expiration check: 1:00:06 ago on Wed 04 May 2022 09:16:01 AM CDT.
Dependencies resolved.
=========================================================================================================================================
 Package                          Architecture                  Version                              Repository                     Size
=========================================================================================================================================
Installing:
 portaudio                        x86_64                        19-37.fc35                           fedora                         94 k

Transaction Summary
=========================================================================================================================================
Install  1 Package

Total download size: 94 k
Installed size: 265 k
Is this ok [y/N]: y
Downloading Packages:
portaudio-19-37.fc35.x86_64.rpm                                                                          177 kB/s |  94 kB     00:00    
-----------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                    108 kB/s |  94 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                 1/1 
  Installing       : portaudio-19-37.fc35.x86_64                                                                                     1/1 
  Running scriptlet: portaudio-19-37.fc35.x86_64                                                                                     1/1 
  Verifying        : portaudio-19-37.fc35.x86_64                                                                                     1/1 

Installed:
  portaudio-19-37.fc35.x86_64                                                                                                            

Complete!
~/Repos/voice2json (master)$ sudo dnf install portaudio-dev
Last metadata expiration check: 1:00:13 ago on Wed 04 May 2022 09:16:01 AM CDT.
No match for argument: portaudio-dev
Error: Unable to find a match: portaudio-dev
~/Repos/voice2json (master)$ ./configure 
checking for python3... /usr/bin/python3
checking if Python >= '3.7.0'... yes
checking if Python <= '4.0'... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking portaudio.h usability... no
checking portaudio.h presence... no
checking for portaudio.h... no
configure: error: portaudio development libary is required for Mycroft Precise (portaudio19-dev package)
synesthesiam commented 2 years ago

Try --disable-wake if you don't need Precise