I
I
Ivan2015-07-17 17:55:40
Telephony
Ivan, 2015-07-17 17:55:40

How to properly build mod_v8 for freeswitch?

Good afternoon.
I'm trying to install mod_v8 for freeswitch, I'm doing everything according to this manual https://freeswitch.org/confluence/display/FREESWIT...
But when I try to build make mod_v8-install, the following errors appear.

make[1]: Leaving directory `/usr/src/freeswitch'
make[1]: Entering directory `/usr/src/freeswitch/src/mod'

making install mod_v8
make[2]: Entering directory `/usr/src/freeswitch/src/mod/languages/mod_v8'
cd /usr/src/freeswitch/libs && /bin/sh /usr/src/freeswitch/build/getlib.sh v8-3.24.14.tar.bz2
/usr/src/freeswitch/build/getlib.sh: line 43: -c: command not found
/usr/bin/gtar: This does not look like a tar archive
/usr/bin/gtar: Exiting with failure status due to previous errors
cd /usr/src/freeswitch/libs/v8-3.24.14 && (test -f .stamp-patch || patch -t -p0 < /usr/src/freeswitch/src/mod/languages/mod_v8/v8-build.patch)
/bin/sh: line 0: cd: /usr/src/freeswitch/libs/v8-3.24.14: No such file or directory
make[2]: *** [/usr/src/freeswitch/libs/v8-3.24.14/.stamp-patch] Error 1
make[2]: Leaving directory `/usr/src/freeswitch/src/mod/languages/mod_v8'
make[1]: *** [mod_v8-install] Error 1
make[1]: Leaving directory `/usr/src/freeswitch/src/mod'
make: *** [mod_v8-install] Error 2

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2015-07-19
@kalashnikofff

grep BZIP -n /usr/src/freeswitch/build/getlib.sh
should come out

6:BZIP=/bin/bzip2
28: bz2|tbz2) UNZIPPER=$BZIP ;;
your line 6 is most likely empty
6:BZIP=

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question