-
Notifications
You must be signed in to change notification settings - Fork 710
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build fails on macOS Sierra (a2x, xsltproc) #939
Comments
Update: Compiling manually with
succeeded. I have no experience with
Unsure how that might relate to |
Could you try installing Kakoune using diff --git a/contrib/kakoune.rb b/contrib/kakoune.rb
index 018774d..260b74f 100644
--- a/contrib/kakoune.rb
+++ b/contrib/kakoune.rb
@@ -6,6 +6,7 @@ class Kakoune < Formula
depends_on 'boost'
depends_on 'asciidoc' => :build
+ depends_on 'docbook-xsl' => :build
def install
cd 'src' do |
Also the xml catalog path is not set by default, you have to
|
@casimir would something like the following work? diff --git a/contrib/kakoune.rb b/contrib/kakoune.rb
index 018774d..260b74f 100644
--- a/contrib/kakoune.rb
+++ b/contrib/kakoune.rb
@@ -6,6 +6,7 @@ class Kakoune < Formula
depends_on 'boost'
depends_on 'asciidoc' => :build
+ depends_on 'docbook-xsl' => :build
def install
cd 'src' do
diff --git a/src/Makefile b/src/Makefile
index 966582d..87dfa4d 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -37,6 +37,7 @@ mandir := $(DESTDIR)$(PREFIX)/share/man/man1
os := $(shell uname)
ifeq ($(os),Darwin)
+ XML_CATALOG_FILES=/usr/local/etc/xml/catalog
LIBS += -lncurses -lboost_regex-mt
CPPFLAGS += -I/usr/local/opt/ncurses/include
LDFLAGS += -L/usr/local/opt/ncurses/lib |
It will if you use the brew version of asciidoc (with The command I use to reinstall kakoune every day is this one:
|
User @jjthrash reportedly managed to install Kakoune using the following patch (the diff --git a/contrib/kakoune.rb b/contrib/kakoune.rb
index 018774d..326b89d 100644
--- a/contrib/kakoune.rb
+++ b/contrib/kakoune.rb
@@ -5,7 +5,8 @@ class Kakoune < Formula
head "https://github.com/mawww/kakoune.git"
depends_on 'boost'
- depends_on 'asciidoc' => :build
+ depends_on 'docbook-xsl' => :build
+ depends_on 'asciidoc' => [:build, 'with-docbook-xsl']
def install
cd 'src' do |
The `xsltproc` utility is missing some xsl files, which are now installed on the system by the `docbook-xsl` package. Fixes mawww#939
I'm having issues on Sierra even after the patch:
Building manually from the repository does not succeed either:
Boost is installed with Homebrew:
|
Similar issue:
|
Please forward your comments on #954, the newly created issue about this problem. |
#954 takes care of the issues when installing via Homebrew, but not when installing manually. Should I create a new issue for this? |
@nonphoto yes please, the environment variable needs to be exported into the |
Unfortunately the fixes regarding those issues are not related, maybe we need to declare diff --git a/kakoune.rb b/kakoune.rb
index 6c6860f..e4b5f44 100644
--- a/kakoune.rb
+++ b/kakoune.rb
@@ -4,7 +4,7 @@ class Kakoune < Formula
homepage "https://github.com/mawww/kakoune"
head "https://github.com/mawww/kakoune.git"
- depends_on 'boost'
+ depends_on 'boost' => :build
depends_on 'docbook-xsl' => :build
depends_on 'asciidoc' => [:build, 'with-docbook-xsl']
|
I created #987 for the Boost-related errors. |
Here is a full log from brew
Relevant bit (I think):
As per #579 here are some of the outputs requested:
The text was updated successfully, but these errors were encountered: