Installing Mod_v8

Status
Not open for further replies.

Neyamt

Member
Nov 12, 2021
52
3
8
28
Hello Everyone,

I tried to install mod_v8 as per freeswitch documents but it's failing, can some one help/give a clue.

I am getting this error.

make[1]: Entering directory '/usr/src/freeswitch'
CXXLD libfreeswitch.la

*** Warning: Linking the shared library libfreeswitch.la against the
*** static library libs/libvpx/libvpx.a is not portable!
/usr/bin/mkdir -p '/usr/lib'
/bin/bash /usr/src/freeswitch/libtool --mode=install /usr/bin/install -c libfreeswitch.la '/usr/lib'
libtool: install: /usr/bin/install -c .libs/libfreeswitch.so.1.0.0 /usr/lib/libfreeswitch.so.1.0.0
libtool: install: (cd /usr/lib && { ln -s -f libfreeswitch.so.1.0.0 libfreeswitch.so.1 || { rm -f libfreeswitch.so.1 && ln -s libfreeswitch.so.1.0.0 libfreeswitch.so.1; }; })
libtool: install: (cd /usr/lib && { ln -s -f libfreeswitch.so.1.0.0 libfreeswitch.so || { rm -f libfreeswitch.so && ln -s libfreeswitch.so.1.0.0 libfreeswitch.so; }; })
libtool: install: /usr/bin/install -c .libs/libfreeswitch.lai /usr/lib/libfreeswitch.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
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'
make install-am
make[3]: Entering directory '/usr/src/freeswitch/src/mod/languages/mod_v8'
CXX mod_v8_la-mod_v8.lo
In file included from mod_v8.h:36,
from mod_v8.cpp:68:
./include/javascript.hpp:35:10: fatal error: v8.h: No such file or directory
35 | #include <v8.h>
| ^~~~~~
compilation terminated.
make[3]: *** [Makefile:828: mod_v8_la-mod_v8.lo] Error 1
make[3]: Leaving directory '/usr/src/freeswitch/src/mod/languages/mod_v8'
make[2]: *** [Makefile:1054: install] Error 2
make[2]: Leaving directory '/usr/src/freeswitch/src/mod/languages/mod_v8'
make[1]: *** [Makefile:721: mod_v8-install] Error 1
make[1]: Leaving directory '/usr/src/freeswitch/src/mod'
make: *** [Makefile:4005: mod_v8-install] Error 2
 
Status
Not open for further replies.