pEpObjCAdapter/build-linux
Marcel Schneider 0a13a8c763 IOSAD-239 Fix Linux Makefile to include subfolders.
Not sure why it did not before? The comment does not seem to be true.
2022-03-25 14:53:18 +01:00
..
dependency_builder IOSAD-227 Move build-linux to the top again 2021-12-03 10:25:16 +01:00
test_project IPS-166 Clean up includes. 2022-02-01 09:33:43 +01:00
Makefile IOSAD-239 Fix Linux Makefile to include subfolders. 2022-03-25 14:53:18 +01:00
README.md IOSAD-227 Move build-linux to the top again 2021-12-03 10:25:16 +01:00
build-dependencies.sh IOSAD-227 Move build-linux to the top again 2021-12-03 10:25:16 +01:00

README.md

HowToBuild pEpObjCAdapter for Linux

Only Debian 11 is currently tested.

Our GNUstep envirnoment must be setup. You can find HowTo setup GNUstep on Debian 11 here. There is also a Debian 11 Virtual Box image with GNUstep already setup (find info here).

Install Required Tools


apt install sudo curl git build-essential python3 clang pkg-config nettle-dev capnproto libssl-dev python3-lxml libtool autoconf uuid-dev sqlite3 libsqlite3-dev
curl https://sh.rustup.rs -sSf | sh
source ~/.bashrc
``

## Install Dependencies
```
mkdir src_pEpObjCAdapter
cd src_pEpObjCAdapter
git clone http://pep-security.lu/gitlab/ipsec/common-dependency-build-helpers-4-linux.git
cd common-dependency-build-helpers-4-linux
sh build.sh
cd ..
git clone http://pep-security.lu/gitlab/ipsec/pepgnustephelper.git
git clone https://gitea.pep.foundation/pep.foundation/pEpObjCAdapter.git
```

## Build for Linux

```
cd pEpObjCAdapter/pEpObjCAdapter/build-linux
make install messages=yes shared=yes debug=yes
```

## Known Issues

Until now we failed linking to libpEpObjCAdapter statically due to not being able to link Categories.

### Build Dir & Build Artefacts

You can find the build artefacts in `/usr/GNUstep/Local/Library/Libraries`.