Can't install mod_janus following your install instructions
Closed this issue · 1 comments
Hi,
I'm trying to install your module in my freeswitch project but I can't. I get this error on make mod_janus-install
:
WARNING mod_janus is not a valid FreeSWITCH module dir, skipping it...
Installations steps :
1- Clone your project into freeswitch in /usr/src/freeswitch
, I named 'mod_janus' (git clone https://github.com/freeswitch/mod_janus.git -b master
)
2- Update the modules.conf, I add this row :
....
say/mod_say_en
....
/usr/src/freeswitch/mod_janus
3- Run this command make mod_janus
, I get this result :
make: 'mod_janus' is up to date.
4- By Running this command make mod_janus-install
, I get this warning :
make[1]: Entering directory '/usr/src/freeswitch'
/bin/mkdir -p '/usr/local/freeswitch/lib'
/bin/bash /usr/src/freeswitch/libtool --mode=install /usr/bin/install -c libfreeswitch.la '/usr/local/freeswitch/lib'
libtool: install: /usr/bin/install -c .libs/libfreeswitch.so.1.0.0 /usr/local/freeswitch/lib/libfreeswitch.so.1.0.0
libtool: install: (cd /usr/local/freeswitch/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/local/freeswitch/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/local/freeswitch/lib/libfreeswitch.la
libtool: install: /usr/bin/install -c .libs/libfreeswitch.a /usr/local/freeswitch/lib/libfreeswitch.a
libtool: install: chmod 644 /usr/local/freeswitch/lib/libfreeswitch.a
libtool: install: ranlib /usr/local/freeswitch/lib/libfreeswitch.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/freeswitch/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/freeswitch/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'
Makefile:704: target 'mod_janus-all' given more than once in the same rule
Makefile:704: target 'mod_janus-clean' given more than once in the same rule
Makefile:704: target 'mod_janus-install' given more than once in the same rule
Makefile:704: target 'mod_janus-uninstall' given more than once in the same rule
WARNING mod_janus is not a valid FreeSWITCH module dir, skipping it...
make[1]: Leaving directory '/usr/src/freeswitch/src/mod'
Any help :( ?
PS :
1- I can't even run make mod_janus
successfully If I add the row mod_janus|https://github.com/freeswitch/mod_janus.git -b master
=> It's not recognized
2- I'm using Freeswitch - version 1.10.3
FreeSWITCH v1.10.3 you are using does not support the out-of-tree-modules functionality yet. Use fresher FreeSWITCH.