[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-readline] 8.0-alpha install failure: $(DESTDIR)$(pkgconfigdir) may
From: |
ilove zfs |
Subject: |
[Bug-readline] 8.0-alpha install failure: $(DESTDIR)$(pkgconfigdir) may not exist |
Date: |
Wed, 23 May 2018 07:19:46 +0000 (GMT) |
Installing into a prefix that doesn't already have the pkgconfig directory existing leads to `make install` failing with the following error:
install: /usr/local/Cellar/readline/8.0-alpha_1/lib/pkgconfig/readline.pc: No such file or directory
I can fix this with the following patch:
From b80ca88a0134e244788d0ef330028182dcf6aa5d Mon Sep 17 00:00:00 2001
From: ilovezfs <address@hidden>
Date: Wed, 23 May 2018 00:17:12 -0700
Subject: [PATCH] Make sure pkgconfig directory exists
---
Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.in b/Makefile.in
index c7fd8e0..f3a201b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -260,7 +260,7 @@ install-static: installdirs $(STATIC_LIBS) install-headers install-doc ${install
installdirs: $(srcdir)/support/mkinstalldirs
-$(SHELL) $(srcdir)/support/mkinstalldirs $(DESTDIR)$(includedir) \
- $(DESTDIR)$(includedir)/readline $(DESTDIR)$(libdir) \
+ $(DESTDIR)$(includedir)/readline $(DESTDIR)$(libdir) $(DESTDIR)$(pkgconfigdir) \
$(DESTDIR)$(infodir) $(DESTDIR)$(man3dir) $(DESTDIR)$(docdir)
uninstall: uninstall-headers uninstall-doc uninstall-examples uninstall-pc
--
2.17.0
- [Bug-readline] 8.0-alpha install failure: $(DESTDIR)$(pkgconfigdir) may not exist,
ilove zfs <=