Skip to content

Commit

Permalink
fix apr-util and unimrcp's ./configure args
Browse files Browse the repository at this point in the history
  • Loading branch information
wandoubaba committed Mar 5, 2023
1 parent 7e4e598 commit a3f4c44
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
## How to build

1. Build FreeSWITCH and its dependencies
```
$ sudo apt-get update

```sh
$ sudo apt-get update
$ sudo apt-get install git
$ git clone https://github.com/signalwire/freeswitch
$ git clone https://github.com/signalwire/libks
Expand Down Expand Up @@ -57,7 +58,8 @@ $ cd ..
```

2. Build UniMRCP dependencies (APR, APR-Utils)
```

```sh
$ sudo apt-get install wget tar
$ wget https://www.unimrcp.org/project/component-view/unimrcp-deps-1-6-0-tar-gz/download -O unimrcp-deps-1.6.0.tar.gz
$ tar xvzf unimrcp-deps-1.6.0.tar.gz
Expand All @@ -66,27 +68,28 @@ $ cd unimrcp-deps-1.6.0
$ cd libs/apr
$ ./configure --prefix=/usr/local/apr
$ make
$ sudo make install
$ sudo make install
$ cd ..

$ cd apr-util
$ ./configure --prefix=/usr/local/apr
$ ./configure --prefix=/usr/local/apr --with-api=/usr/local/apr
$ make
$ sudo make install
$ cd ..

$ git clone https://github.com/unispeech/unimrcp.git
$ cd unimrcp
$ ./bootstrap
$ ./configure
$ ./configure --with-sofia-sip=/usr
$ make
$ sudo make install
$ cd ..

```

3. Build mod_unimrcp and install
```

```sh
$ git clone https://github.com/freeswitch/mod_unimrcp.git
$ cd mod_unimrcp
$ export PKG_CONFIG_PATH=/usr/local/freeswitch/lib/pkgconfig:/usr/local/unimrcp/lib/pkgconfig
Expand Down

0 comments on commit a3f4c44

Please sign in to comment.