Skip to content

Commit a3f4c44

Browse files
committed
fix apr-util and unimrcp's ./configure args
1 parent 7e4e598 commit a3f4c44

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
## How to build
44

55
1. Build FreeSWITCH and its dependencies
6-
```
7-
$ sudo apt-get update
6+
7+
```sh
8+
$ sudo apt-get update
89
$ sudo apt-get install git
910
$ git clone https://github.com/signalwire/freeswitch
1011
$ git clone https://github.com/signalwire/libks
@@ -57,7 +58,8 @@ $ cd ..
5758
```
5859

5960
2. Build UniMRCP dependencies (APR, APR-Utils)
60-
```
61+
62+
```sh
6163
$ sudo apt-get install wget tar
6264
$ wget https://www.unimrcp.org/project/component-view/unimrcp-deps-1-6-0-tar-gz/download -O unimrcp-deps-1.6.0.tar.gz
6365
$ tar xvzf unimrcp-deps-1.6.0.tar.gz
@@ -66,27 +68,28 @@ $ cd unimrcp-deps-1.6.0
6668
$ cd libs/apr
6769
$ ./configure --prefix=/usr/local/apr
6870
$ make
69-
$ sudo make install
71+
$ sudo make install
7072
$ cd ..
7173

7274
$ cd apr-util
73-
$ ./configure --prefix=/usr/local/apr
75+
$ ./configure --prefix=/usr/local/apr --with-api=/usr/local/apr
7476
$ make
7577
$ sudo make install
7678
$ cd ..
7779

7880
$ git clone https://github.com/unispeech/unimrcp.git
7981
$ cd unimrcp
8082
$ ./bootstrap
81-
$ ./configure
83+
$ ./configure --with-sofia-sip=/usr
8284
$ make
8385
$ sudo make install
8486
$ cd ..
8587

8688
```
8789

8890
3. Build mod_unimrcp and install
89-
```
91+
92+
```sh
9093
$ git clone https://github.com/freeswitch/mod_unimrcp.git
9194
$ cd mod_unimrcp
9295
$ export PKG_CONFIG_PATH=/usr/local/freeswitch/lib/pkgconfig:/usr/local/unimrcp/lib/pkgconfig

0 commit comments

Comments
 (0)