From c9734c2bf7add3c54b697dabef9d9727aab21330 Mon Sep 17 00:00:00 2001 From: wb2osz Date: Wed, 18 Oct 2017 20:53:00 -0400 Subject: [PATCH] Updates for Red Hat vs. Debian package names. --- Makefile.linux | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.linux b/Makefile.linux index aa5a90b..f989147 100644 --- a/Makefile.linux +++ b/Makefile.linux @@ -260,14 +260,14 @@ endif alsa = 1 ifeq ($(wildcard /usr/include/pthread.h),) -$(error /usr/include/pthread.h does not exist. Install it with "sudo apt-get install libc6-dev" or "sudo yum install libc6-dev" ) +$(error /usr/include/pthread.h does not exist. Install it with "sudo apt-get install libc6-dev" or "sudo yum install glibc-headers" ) endif ifneq ($(alsa),) CFLAGS += -DUSE_ALSA LDFLAGS += -lasound ifeq ($(wildcard /usr/include/alsa/asoundlib.h),) -$(error /usr/include/alsa/asoundlib.h does not exist. Install it with "sudo apt-get install libasound2-dev" or "sudo yum install libasound2-dev" ) +$(error /usr/include/alsa/asoundlib.h does not exist. Install it with "sudo apt-get install libasound2-dev" or "sudo yum install alsa-lib-devel" ) endif endif @@ -296,7 +296,7 @@ endif # don't want to install it, comment out the next 3 lines. ifeq ($(wildcard /usr/include/libudev.h),) -$(error /usr/include/libudev.h does not exist. Install it with "sudo apt-get install libudev-dev" or "sudo yum install libudev-dev" ) +$(error /usr/include/libudev.h does not exist. Install it with "sudo apt-get install libudev-dev" or "sudo yum install libudev-devel" ) endif