forked from chris2511/xca
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL.mac
28 lines (18 loc) · 894 Bytes
/
INSTALL.mac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
brew install pkg-config autoconf automake openssl qt@5 libtool
cd xca-2.3.0
./configure && make
# Compile SQL Drivers if necessary:
brew install mariadb-connector-c postgresql unixodbc
# Download Qt sources with the same version, currently:
# qtbase-everywhere-src-5.15.1
./configure -recheck -sql-mysql -sql-odbc -sql-psql -opensource -confirm-license -feature-datestring \
MYSQL_LIBDIR=$(pkg-config --variable=prefix libmariadb)/lib/mariadb \
MYSQL_INCDIR=$(pkg-config --variable=prefix libmariadb)/include/mariadb/ \
MYSQL_LIBS="-lmariadb" \
PSQL_PREFIX=$(brew --cellar postgresql)/12.4/ \
ODBC_PREFIX=$(pkg-config --variable=prefix odbc)
make sub-plugins
# Compile OpenSSL
./Configure darwin64-x86_64-cc shared --prefix=/Users/chris/src/xca-dir/install/ "-mmacosx-version-min=10.13"
# Compile XCA
cmake -DOPENSSL_ROOT_DIR=$HOME/src/xca-dir/install