aboutsummaryrefslogtreecommitdiff
path: root/doc/documentation
diff options
context:
space:
mode:
authorSchanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de>2018-05-18 22:05:18 +0200
committerSchanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de>2018-05-18 22:05:18 +0200
commit5877f329f7f868c5609271c099322d5ef5df15fa (patch)
tree51dc6351f25a33fe1454642e919ed8c8f88d347d /doc/documentation
parent81b21482d14ea93df96c7f0709fa31a1939360ad (diff)
downloadgnunet-5877f329f7f868c5609271c099322d5ef5df15fa.tar.gz
gnunet-5877f329f7f868c5609271c099322d5ef5df15fa.zip
-add basic macOS installation instructions
Diffstat (limited to 'doc/documentation')
-rw-r--r--doc/documentation/chapters/installation.texi54
1 files changed, 54 insertions, 0 deletions
diff --git a/doc/documentation/chapters/installation.texi b/doc/documentation/chapters/installation.texi
index f2042033e..665f980be 100644
--- a/doc/documentation/chapters/installation.texi
+++ b/doc/documentation/chapters/installation.texi
@@ -19,6 +19,7 @@ it in the form of new chapters or insightful comments.
19* Build instructions for Debian 7.5:: 19* Build instructions for Debian 7.5::
20* Installing GNUnet from Git on Ubuntu 14.4:: 20* Installing GNUnet from Git on Ubuntu 14.4::
21* Build instructions for Debian 8:: 21* Build instructions for Debian 8::
22* Build instructions for macOS::
22@c * Build instructions for OpenBSD 6.2:: 23@c * Build instructions for OpenBSD 6.2::
23* Outdated build instructions for previous revisions:: 24* Outdated build instructions for previous revisions::
24@c * Portable GNUnet:: 25@c * Portable GNUnet::
@@ -1472,6 +1473,59 @@ with the default Sqlite database. Sqlite is usually fine for most
1472applications, but MySQL can offer better performance and Postgres better 1473applications, but MySQL can offer better performance and Postgres better
1473resillience. 1474resillience.
1474 1475
1476@node Build instructions for macOS
1477@section Build instructions for macOS
1478@c FIXME: I -> we
1479
1480These are the installation guidelines for macOS.
1481They were tested on macOS High Sierra.
1482
1483@menu
1484* Installing dependencies::
1485* Compile from Source::
1486@end menu
1487
1488@node Installing dependencies
1489@subsection Installing dependencies
1490
1491First, install XCode in the newest version.
1492See https://developer.apple.com/xcode/.
1493
1494Install Homebrew (https://brew.sh) and then install the dependencies listed above.
1495If a dependency does not exists in brew, you need to compile it from source.
1496
1497@example
1498# brew install <dependency>
1499@end example
1500
1501@node Compile from Source
1502@subsection Compile from Source
1503
1504Before you start building GNUnet, you need to setup your environment.
1505This means that you have to make sure the proper tools are used in the build process.
1506For example, after installing texinfo you need to make sure the new texinfo is actually used:
1507
1508@example
1509# echo 'export PATH="/usr/local/opt/texinfo/bin:$PATH"' >> ~/.bash_profile
1510@end example
1511
1512Note: brew tells you the appropriate command when executing
1513
1514@example
1515# brew info texinfo
1516@end example
1517
1518This may also be necessary for the gettext package.
1519
1520Before you start compiling, you need to make sure gcc is used and not the clang compile of your macOS system.
1521On my system, gcc was actually ``gcc-7'' and gcc pointed to the clang compiler.
1522
1523@example
1524# export CC=gcc-7
1525@end example
1526
1527After this the standard compile instructions apply.
1528
1475@c @node Build instructions for OpenBSD 6.2 1529@c @node Build instructions for OpenBSD 6.2
1476@c @section Build instructions for OpenBSD 6.2 1530@c @section Build instructions for OpenBSD 6.2
1477 1531