Skip to content
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

More updates on macOS #117

Merged
merged 1 commit into from
Jun 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions doc/book.xml
Original file line number Diff line number Diff line change
Expand Up @@ -868,11 +868,19 @@
<screen>
sudo ln -s /Library/Developer/CommandLineTools/usr/bin/gm4 /Library/Developer/CommandLineTools/usr/bin/m4
</screen>
Additionally, you will need to install DocBook stylesheets to generate documentation:
<screen>
brew install docbook docbook-xsl
</screen>
per the caveats section (<code>brew info docbook</code>), for the compilation to find them, add:
<screen>
export XML_CATALOG_FILES="/opt/homebrew/etc/xml/catalog"
</screen>
If you want to compile &yaz; with ICU you must install it with Homebrew as macOS does not ship ICU headers:
<screen>
brew install icu4c
</screen>
and make sure to add compiler flags per the caveats section (<code>brew info icu4c</code>):
and make sure to add compiler flags before the configure stage, per the caveats section (<code>brew info icu4c</code>):
<screen>
export LDFLAGS="-L/opt/homebrew/opt/icu4c/lib"
export CPPFLAGS="-I/opt/homebrew/opt/icu4c/include
Expand All @@ -883,7 +891,7 @@
<screen>
brew install libxml2 libxslt
</screen>
and again make sure to add compiler flags before the configure stage, per the caveats section (<code>brew info libxml2</code>):
and again make sure to add compiler flags, per the caveats section (<code>brew info libxml2</code>):
<screen>
export LDFLAGS="-L/opt/homebrew/opt/libxml2/lib -L/opt/homebrew/opt/libxslt/lib -L/opt/homebrew/opt/icu4c/lib"
export CPPFLAGS="-I/opt/homebrew/opt/libxml2/include -I/opt/homebrew/opt/libxslt/include -I/opt/homebrew/opt/icu4c/include"
Expand Down