Skip to content

Commit c9734c2

Browse files
committed
Updates for Red Hat vs. Debian package names.
1 parent f6c0049 commit c9734c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile.linux

+3-3
Original file line numberDiff line numberDiff line change
@@ -260,14 +260,14 @@ endif
260260
alsa = 1
261261

262262
ifeq ($(wildcard /usr/include/pthread.h),)
263-
$(error /usr/include/pthread.h does not exist. Install it with "sudo apt-get install libc6-dev" or "sudo yum install libc6-dev" )
263+
$(error /usr/include/pthread.h does not exist. Install it with "sudo apt-get install libc6-dev" or "sudo yum install glibc-headers" )
264264
endif
265265

266266
ifneq ($(alsa),)
267267
CFLAGS += -DUSE_ALSA
268268
LDFLAGS += -lasound
269269
ifeq ($(wildcard /usr/include/alsa/asoundlib.h),)
270-
$(error /usr/include/alsa/asoundlib.h does not exist. Install it with "sudo apt-get install libasound2-dev" or "sudo yum install libasound2-dev" )
270+
$(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" )
271271
endif
272272
endif
273273

@@ -296,7 +296,7 @@ endif
296296
# don't want to install it, comment out the next 3 lines.
297297

298298
ifeq ($(wildcard /usr/include/libudev.h),)
299-
$(error /usr/include/libudev.h does not exist. Install it with "sudo apt-get install libudev-dev" or "sudo yum install libudev-dev" )
299+
$(error /usr/include/libudev.h does not exist. Install it with "sudo apt-get install libudev-dev" or "sudo yum install libudev-devel" )
300300
endif
301301

302302

0 commit comments

Comments
 (0)