I was following this wiki page: https://wiki.asterisk.org/wiki/display/AST/Building+and+Installing+pjproject specifically the Bundled Version part, but when I run ./configure --with-pjproject-bundled
I receive this error:
checking for embedded pjproject (may have to download)… configuring
[pjproject] Unpacking /tmp/pjproject-2.4.5.tar.bz2
[pjproject] Applying patches
./apply_patches: line 30: patch: command not found
Patchfile 0001-2.4.5-fix-for-tls-async-ops.patch failed to apply >&2
make: *** [source/.unpacked] Error 1
configure: Unable to configure third-party/pjproject
configure: error: Run “make -C third-party/pjproject NOISY_BUILD=yes configure” to see error details.
[root@asterisk asterisk-13.9.1] #
If I run make -C third-party/pjproject NOISY_BUILD=yes configure I get:
make: Entering directory
/usr/local/src/asterisk-13.9.1/third-party/pjproject' tar --strip-components=1 -C source -xjf /tmp/pjproject-2.4.5.tar.bz2 ./apply_patches ./patches ./source ./apply_patches: line 30: patch: command not found Patchfile 0001-2.4.5-fix-for-tls-async-ops.patch failed to apply >&2 make: *** [source/.unpacked] Error 1 make: Leaving directory/usr/local/src/asterisk-13.9.1/third-party/pjproject’
I have bzip2 installed. What am I missing?