Browse Source

Dirk Zimmermann 5 years ago
1 changed files with 10 additions and 29 deletions
  1. +10

+ 10
- 29 View File

@ -12,15 +12,6 @@ Install [MacPorts]( for your
Note that you need [Xcode installed](
for MacPorts, and for building the engine. You also need to accept Xcode's EULA.
*Note*: Use the script `` (or a similar one) to set up a clean build environment
before building the engine:
If you don't use that environment, please make sure you've set up all search paths correctly.
#### MacPorts dependencies
@ -32,6 +23,14 @@ sudo port install asn1c
sudo port install zlib
There are others, please refer to the engine README.txt.
Make sure that `python` is a version 2 one:
sudo port select python python27
### Other dependecies
#### [yml2](
@ -57,19 +56,6 @@ make
cp ./src/.libs/libetpan.a ~/lib/
##### libetpan with xcodebuild
The build with autoconf (see previous section) is preferred. This is just for completeness.
*Don't actually build libetpan with xcodebuild.*
git clone libetpan-osx
cd libetpan-osx/build-mac
xcodebuild -project libetpan.xcodeproj/ -target "static libetpan"
mkdir ~/lib
cp build/Release/libetpan.a ~/lib/
### Configuration
You can change some defaults by editing `Makefile.conf`. But this readme assumes you don't.
@ -102,13 +88,8 @@ Since the `system.db` rarely changes, `make -C db install` is not needed for eve
### Run tests
Make sure that you add `/opt/local/lib` to each definition of `LD_LIBRARY_PATH`
in `test/Makefile`. This ensures that libgpgme will be found:
test: pEpEngineTest
LD_LIBRARY_PATH=/opt/local/lib:~/lib:../src ./pEpEngineTest
If you installed the test keys in your keyring (README.txt),
this should just work:
make test