summaryrefslogtreecommitdiff
path: root/doc/system_specific
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2019-02-04 11:45:17 +0100
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2019-02-04 11:45:17 +0100
commit7c469133a0692a20ea4db3f91a9a12b2a1a448be (patch)
tree8767f10d43e932c2941cd29ab875eede7b11bd8e /doc/system_specific
parentb43c187dc0085edb9ea98fc251cb3b3e5f479c62 (diff)
update macos instructions
Diffstat (limited to 'doc/system_specific')
-rw-r--r--doc/system_specific/FROM_SOURCE18
1 files changed, 15 insertions, 3 deletions
diff --git a/doc/system_specific/FROM_SOURCE b/doc/system_specific/FROM_SOURCE
index 074b6a91e..72660798d 100644
--- a/doc/system_specific/FROM_SOURCE
+++ b/doc/system_specific/FROM_SOURCE
@@ -866,13 +866,13 @@ This means that you have to make sure the proper tools are used in the build pro
For example, after installing texinfo you need to make sure the new texinfo is actually used:
@example
-# echo 'export PATH="/usr/local/opt/texinfo/bin:$PATH"' >> ~/.bash_profile
+$ echo 'export PATH="/usr/local/opt/texinfo/bin:$PATH"' >> ~/.bash_profile
@end example
Note: brew tells you the appropriate command when executing
@example
-# brew info texinfo
+$ brew info texinfo
@end example
This may also be necessary for the gettext package.
@@ -881,9 +881,21 @@ Before you start compiling, you need to make sure gcc is used and not the clang
On my system, gcc was actually ``gcc-7'' and gcc pointed to the clang compiler.
@example
-# export CC=gcc-7
+$ export CC=gcc-7
@end example
+You might see configure failing telling you that it ``cannot run C compiled programs.''.
+In this case, you might need to open/run Xcode once and you will be prompted to
+install additonal packages.
+Then, you might have to manually install the command line tools from here https://developer.apple.com/download/more/ (you need an Apple ID for this).
+Install those and execute
+
+@example
+$open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
+@end example
+
+Then, configure will pass again.
+
After this the standard compile instructions apply.
@c @node Build instructions for OpenBSD 6.2