Asoundlib.h No Such File

06.01.2020by admin

ASSISTANT RELAYVersion 3 has now been released:I’ve wanted to get audio notifications on my Google Home for a long time as have a number of people. Above is an example of how to call Assistant Relay and pass data to it using variables. PostmanIf you want to test the commands out in Postman first, I’ve updated the collection below:What’s New? Sending RequestsThere is a new way to send requests. Please see the Github documentation or the screenshots above JSON ResponsesV2 now responds with a JSON object that includes information about your request Audio ResponsesIf you use something like cast-api, Sonos or any other network connect speaker, you can now send your Google Assistant audio responses to specific devices. It’s not the same as a broadcast, so it will interrupt whatever is happening but its the best we have at the moment.In the below example, I am making a request to Assistant to tell me about my day. Assistant Relay saves the audio file and sends a URL to listen to it back in the response.What you can then do is tell a speaker to play that URL from the response, and it will play the Google Assistant response.

Grpc@1.8.0 install /home/tony/SharesFOC/assistant-relay/nodemodules/grpcnode-pre-gyp install -fallback-to-build -library=staticlibrarygrpc Success: “/home/tony/SharesFOC/assistant-relay/nodemodules/grpc/src/node/extensionbinary/node-v57-linux-x64-glibc/grpcnode.node” is installed via remotenpm WARN assistant-relay@2.0.0 No repository field.added 382 packages from 264 contributors and audited 910 packages in 9.384sfound 32 vulnerabilities (3 low, 26 moderate, 3 high)run npm audit fix to fix them, or npm audit for details. Also getting a bit of an error on startup.root@3f2ec31d1665:/assistant-relay# npm run startnpm info it worked if it ends with oknpm info using npm@4.2.0npm info using node@v7.10.1npm info lifecycle assistant-relay@2.0.0prestart: assistant-relay@2.0.0npm info lifecycle assistant-relay@2.0.0start: assistant-relay@2.0.0assistant-relay@2.0.0 start /assistant-relaynode server/app.js/assistant-relay/nodemodules/terminal-image/index.js:9const readFile = util.promisify(fs.readFile);^TypeError: util.promisify is not a functionat Object. (/assistant-relay/nodemodules/terminal-image/index.js:9:23)at Module.compile (module.js:571:32)at Object.Module.extensionsjs (module.js:580:10)at Module.load (module.js:488:32)at tryModuleLoad (module.js:447:12)at Function.Module.load (module.js:439:3)at Module.require (module.js:498:17)at require (internal/module.js:20:19)at Object.

(/assistant-relay/server/assistant.js:8:23)at Module.compile (module.js:571:32)npm info lifecycle assistant-relay@2.0.0start: Failed to exec start scriptnpm ERR! Linux 4.4.0-130-genericnpm ERR! Argv “/usr/local/bin/node” “/usr/local/bin/npm” “run” “start”npm ERR!

Node v7.10.1npm ERR! Npm v4.2.0npm ERR! Code ELIFECYCLEnpm ERR! Errno 1npm ERR! Assistant-relay@2.0.0 start: node server/app.jsnpm ERR!

Exit status 1npm ERR!npm ERR! Failed at the assistant-relay@2.0.0 start script ‘node server/app.js’.npm ERR! Laplink gold 12.01 serial included key. Make sure you have the latest version of node.js and npm installed.npm ERR!

If you do, this is most likely a problem with the assistant-relay package,npm ERR! Not with npm itself.npm ERR! Tell the author that this fails on your system:npm ERR!

Node server/app.jsnpm ERR! You can get information on how to open an issue for this project with:npm ERR! Npm bugs assistant-relaynpm ERR! Or if that isn’t available, you can get their info via:npm ERR! Npm owner ls assistant-relaynpm ERR! There is likely additional logging output above.npm ERR!

Please include the following file with any support request:npm ERR! /root/.npm/logs/2018-09-14T172445733Z-debug.logroot@3f2ec31d1665:/assistant-relay#When attempting to run the app.js I am getting the following:root@3f2ec31d1665:/assistant-relay# node server/app.js/assistant-relay/nodemodules/terminal-image/index.js:9const readFile = util.promisify(fs.readFile);^TypeError: util.promisify is not a functionat Object. (/assistant-relay/nodemodules/terminal-image/index.js:9:23)at Module.compile (module.js:571:32)at Object.Module.extensionsjs (module.js:580:10)at Module.load (module.js:488:32)at tryModuleLoad (module.js:447:12)at Function.Module.load (module.js:439:3)at Module.require (module.js:498:17)at require (internal/module.js:20:19)at Object.

(/assistant-relay/server/assistant.js:8:23)at Module.compile (module.js:571:32)root@3f2ec31d1665:/assistant-relay#.

./configure -disable-x11 -disable-pulse -disable-ffmpeg -enable-opengles -enable-floathard -enable-sdl2 -disable-shaderpipelineChecking operating system. LinuxChecking for suitable working C compiler. Armv7a-cros-linux-gnueabi-gcc worksChecking for suitable working C compiler. Armv7a-cros-linux-gnueabi-g worksChecking for pkg-config. NoneWarning: pkg-config not found, package checks will fail.Checking for availability of switch -std=gnu99 in armv7a-cros-linux-gnueabi-gcc. YesChecking for availability of switch -Wno-unused-result in armv7a-cros-linux-gnueabi-gcc. YesChecking for availability of switch -Wno-unused-variable in armv7a-cros-linux-gnueabi-gcc.

YesChecking function bcmhostinit in -lbcmhost. NoChecking function sdgetmachinenames in -lsystemd. NoChecking presence of package egl. NoChecking existence of -lEGL.

Alsa/asoundlib.h No Such File Or Directory

NoChecking function ♥♥♥libraryinit in -lass. NoChecking function pthreadcreate in -lpthread.

YesChecking function pthreadkeycreate in -lpthread. YesChecking function dlopen in -ldl. YesChecking function socket in -lc. YesChecking function getaddrinfo in -lc. YesChecking existence of -lminiupnpc. NoChecking function fcntl in -lc. YesChecking function getoptlong in -lc.

YesChecking presence of package alsa. NoChecking presence of header file sys/soundcard.h. YesChecking presence of header file soundcard.h. NoChecking existence of -lossaudio. NoChecking function alcOpenDevice in -lopenal. NoChecking presence of package rsound = 1.1.

NoChecking presence of package libroar. NoChecking presence of package jack = 0.120.1. NoChecking presence of package sdl = 1.2.10. NoChecking presence of package sdl2 = 2.0.0. NoChecking presence of package libusb-1.0 = 1.0.16. NoChecking presence of package zlib.

Undefined reference to `snd_pcm_open

NoChecking existence of -lz. NoChecking function dlopen in -ldl. YesChecking presence of package gbm = 9.0. NoChecking presence of package libdrm. NoChecking presence of package libxml-2.0. NoChecking presence of package libv4l2.

NoChecking function glFramebufferTexture2D in -lGL. NoChecking presence of package freetype2. NoChecking presence of package xcb. NoChecking presence of package wayland-egl.

NoChecking presence of package wayland-cursor. NoChecking presence of package xkbcommon = 0.3.2. NoChecking presence of package dbus-1. NoNotice: X11, Xext or xf86vm not present.

Skipping X11 code paths.Checking presence of package libudev. NoChecking existence of -ludev. NoChecking presence of header file linux/parport.h. YesChecking presence of header file linux/ppdev.h. YesChecking function strlcpy in -lc.

NoChecking function strcasestr in -lc. YesChecking function mmap in -lc. YesChecking function vkCreateInstance in -lvulkan. NoNotice: zlib is not available, RPNG will also be disabled.Creating make config: config.mkCreating config header: config.hProblem is now it doesn't pick up pkg-config at all. The files exist at /home/parker/build/steamlink-sdk/rootfs/usr/lib/pkgconfig but I think it's trying to use my system pkg-config and never works.

Any idea on how I could clear this up? A RetroArch port seems very possible. PKGCONFPATH=pkg-config PKGCONFIGPATH=/home/parker/build/steamlink-sdk/rootfs/usr/lib/pkgconfig./configure -disable-x11 -disable-pulse -disable-ffmpeg -enable-opengles -enable-floathard -enable-sdl2 -disable-shaderpipelineChecking operating system. LinuxChecking for suitable working C compiler.

Fatal error ./include/asoundlib.h no such file or directory

Armv7a-cros-linux-gnueabi-gcc worksChecking for suitable working C compiler. Armv7a-cros-linux-gnueabi-g worksChecking for pkg-config. Pkg-configChecking for availability of switch -std=gnu99 in armv7a-cros-linux-gnueabi-gcc. YesChecking for availability of switch -Wno-unused-result in armv7a-cros-linux-gnueabi-gcc. YesChecking for availability of switch -Wno-unused-variable in armv7a-cros-linux-gnueabi-gcc. YesChecking function bcmhostinit in -lbcmhost.

NoChecking function sdgetmachinenames in -lsystemd. NoChecking presence of package egl. 13.1.0-develChecking function ♥♥♥libraryinit in -lass. NoChecking function pthreadcreate in -lpthread. YesChecking function pthreadkeycreate in -lpthread.

YesChecking function dlopen in -ldl. YesChecking function socket in -lc. YesChecking function getaddrinfo in -lc. YesChecking existence of -lminiupnpc.

NoChecking function fcntl in -lc. YesChecking function getoptlong in -lc. YesChecking presence of package alsa.

1.1.2Checking presence of header file sys/soundcard.h. YesChecking presence of header file soundcard.h. NoChecking existence of -lossaudio. NoChecking function alcOpenDevice in -lopenal. NoChecking presence of package rsound = 1.1. NoChecking presence of package libroar.

NoChecking presence of package jack = 0.120.1. 1.9.10Checking presence of package sdl = 1.2.10. 1.2.15Checking presence of package sdl2 = 2.0.0. 2.0.5Notice: SDL drivers will be replaced by SDL2 ones.Checking presence of package libusb-1.0 = 1.0.16. NoChecking presence of package zlib.

Asoundlib.h

1.2.3.3Checking function dlopen in -ldl. YesChecking presence of package gbm = 9.0.

13.1.0-develChecking presence of package libdrm. 2.4.74Checking presence of package libxml-2.0. 2.9.4Checking presence of package glesv2. 13.1.0-develChecking presence of package vg.

NoChecking existence of -lOpenVG. NoChecking presence of package libv4l2. 1.10.1Checking presence of package freetype2.

17.4.11Checking presence of package xcb. 1.12Checking presence of package wayland-egl. 13.1.0-develChecking presence of package wayland-cursor. 1.12.0Checking presence of package xkbcommon = 0.3.2. 0.7.0Checking presence of package dbus-1.

1.8.8Notice: X11, Xext or xf86vm not present. Skipping X11 code paths.Checking presence of package libudev. 232Checking presence of header file linux/parport.h. YesChecking presence of header file linux/ppdev.h. YesChecking function strlcpy in -lc. NoChecking function strcasestr in -lc. YesChecking function mmap in -lc.

YesChecking function vkCreateInstance in -lvulkan. NoCreating make config: config.mkCreating config header: config.hCompiling with that leads to. Hi,The latest version compiled for me, just configure the make file like this./configure -enable-sdl2 -disable-sdl -enable-floathard -enable-neon -disable-opengl -disable-vg -disable-fbo -disable-egl -disable-pulse -disable-oss -disable-x11 -disable-wayland -disable-ffmpeg -disable-7zip -disable-libxml2 -disable-freetype -disable-shaderpipelineLike you, I had to modify the setenv script and also the file RetroArch/qb/qb.system.sh to force OS='Linux' because $(uname) is empty after executing the setenv script and some more files to fix some errors and adding gles2.