Building FS with mod_java support
Hi all! I´ve been trying to build Freeswitch 1.4 with Java support. It compiles just fine, installation fails with: making install mod_java make[4]: Entering directory `/home/administrador/freeswitch/src/mod/languages/mod_java' make install-am make[5]: Entering directory `/home/administrador/freeswitch/src/mod/languages/mod_java' make[6]: Entering directory `/home/administrador/freeswitch/src/mod/languages/mod_java' make[6]: Nothing to be done for `install-exec-am'. cp freeswitch.jar /opt/CloudVoice-vPBX/fs/scripts cp: cannot stat ‘freeswitch.jar’: No such file or directory make[6]: *** [install-data-local] Error 1 make[6]: Leaving directory `/home/administrador/freeswitch/src/mod/languages/mod_java' make[5]: *** [install-am] Error 2 make[5]: Leaving directory `/home/administrador/freeswitch/src/mod/languages/mod_java' make[4]: *** [install] Error 2 make[4]: Leaving directory `/home/administrador/freeswitch/src/mod/languages/mod_java' make[3]: *** [mod_java-install] Error 1 make[3]: Leaving directory `/home/administrador/freeswitch/src/mod' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/home/administrador/freeswitch/src' Can someone help? Sin mas a que hacer referencia, Victor Medina
More on the same issue... root@ubuntu:/home/administrador/freeswitch# make mod_java-install make[1]: Entering directory `/home/administrador/freeswitch' /bin/mkdir -p '/opt/CloudVoice-vPBX/fs/lib' /bin/bash /home/administrador/freeswitch/libtool --mode=install /usr/bin/install -c libfreeswitch.la '/opt/CloudVoice-vPBX/fs/lib' libtool: install: /usr/bin/install -c .libs/libfreeswitch.so.1.0.0 /opt/CloudVoice-vPBX/fs/lib/libfreeswitch.so.1.0.0 libtool: install: (cd /opt/CloudVoice-vPBX/fs/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 /opt/CloudVoice-vPBX/fs/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 /opt/CloudVoice-vPBX/fs/lib/libfreeswitch.la libtool: install: /usr/bin/install -c .libs/libfreeswitch.a /opt/CloudVoice-vPBX/fs/lib/libfreeswitch.a libtool: install: chmod 644 /opt/CloudVoice-vPBX/fs/lib/libfreeswitch.a libtool: install: ranlib /opt/CloudVoice-vPBX/fs/lib/libfreeswitch.a libtool: finish: PATH="/opt/CloudVoice-vPBX/jdk/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/sbin" ldconfig -n /opt/CloudVoice-vPBX/fs/lib ---------------------------------------------------------------------- Libraries have been installed in: /opt/CloudVoice-vPBX/fs/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 `/home/administrador/freeswitch' make[1]: Entering directory `/home/administrador/freeswitch/src/mod' making install mod_java make[2]: Entering directory `/home/administrador/freeswitch/src/mod/languages/mod_java' make install-am make[3]: Entering directory `/home/administrador/freeswitch/src/mod/languages/mod_java' CXX mod_java_la-mod_java.lo CXX mod_java_la-freeswitch_java.lo freeswitch_java.cpp: In function 'void setOriginateStateHandler(jobject)': freeswitch_java.cpp:17:85: warning: format not a string literal and no format arguments [-Wformat-security] switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, errorMessage); ^ freeswitch_java.cpp:27:93: warning: format not a string literal and no format arguments [-Wformat-security] switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, errorMessage); ^ CXX mod_java_la-switch_swig_wrap.lo CC mod_java_la-modjava.lo CXXLD mod_java.la make[4]: Entering directory `/home/administrador/freeswitch/src/mod/languages/mod_java' make[4]: Nothing to be done for `install-exec-am'. cp freeswitch.jar /opt/CloudVoice-vPBX/fs/scripts cp: cannot stat ‘freeswitch.jar’: No such file or directory make[4]: *** [install-data-local] Error 1 make[4]: Leaving directory `/home/administrador/freeswitch/src/mod/languages/mod_java' make[3]: *** [install-am] Error 2 make[3]: Leaving directory `/home/administrador/freeswitch/src/mod/languages/mod_java' make[2]: *** [install] Error 2 make[2]: Leaving directory `/home/administrador/freeswitch/src/mod/languages/mod_java' make[1]: *** [mod_java-install] Error 1 make[1]: Leaving directory `/home/administrador/freeswitch/src/mod' make: *** [mod_java-install] Error 2 root@ubuntu:/home/administrador/freeswitch# Sin mas a que hacer referencia, Victor Medina On Fri, Dec 5, 2014 at 8:16 AM, Victor Medina <vittico@gmail.com> wrote:
Hi all!
I´ve been trying to build Freeswitch 1.4 with Java support. It compiles just fine, installation fails with:
making install mod_java make[4]: Entering directory `/home/administrador/freeswitch/src/mod/languages/mod_java' make install-am make[5]: Entering directory `/home/administrador/freeswitch/src/mod/languages/mod_java' make[6]: Entering directory `/home/administrador/freeswitch/src/mod/languages/mod_java' make[6]: Nothing to be done for `install-exec-am'. cp freeswitch.jar /opt/CloudVoice-vPBX/fs/scripts cp: cannot stat ‘freeswitch.jar’: No such file or directory make[6]: *** [install-data-local] Error 1 make[6]: Leaving directory `/home/administrador/freeswitch/src/mod/languages/mod_java' make[5]: *** [install-am] Error 2 make[5]: Leaving directory `/home/administrador/freeswitch/src/mod/languages/mod_java' make[4]: *** [install] Error 2 make[4]: Leaving directory `/home/administrador/freeswitch/src/mod/languages/mod_java' make[3]: *** [mod_java-install] Error 1 make[3]: Leaving directory `/home/administrador/freeswitch/src/mod' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/home/administrador/freeswitch/src'
Can someone help?
Sin mas a que hacer referencia,
Victor Medina
Uncomment mod_java from modules.conf in source directory and do there compile and install instead making it compile from jave directory. -----Original Message----- From: "Victor Medina" <vittico@gmail.com> Sent: 12/5/2014 5:47 PM To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Subject: [Freeswitch-users] Building FS with mod_java support Hi all! I´ve been trying to build Freeswitch 1.4 with Java support. It compiles just fine, installation fails with: making install mod_java make[4]: Entering directory `/home/administrador/freeswitch/src/mod/languages/mod_java' make install-am make[5]: Entering directory `/home/administrador/freeswitch/src/mod/languages/mod_java' make[6]: Entering directory `/home/administrador/freeswitch/src/mod/languages/mod_java' make[6]: Nothing to be done for `install-exec-am'. cp freeswitch.jar /opt/CloudVoice-vPBX/fs/scripts cp: cannot stat ‘freeswitch.jar’: No such file or directory make[6]: *** [install-data-local] Error 1 make[6]: Leaving directory `/home/administrador/freeswitch/src/mod/languages/mod_java' make[5]: *** [install-am] Error 2 make[5]: Leaving directory `/home/administrador/freeswitch/src/mod/languages/mod_java' make[4]: *** [install] Error 2 make[4]: Leaving directory `/home/administrador/freeswitch/src/mod/languages/mod_java' make[3]: *** [mod_java-install] Error 1 make[3]: Leaving directory `/home/administrador/freeswitch/src/mod' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/home/administrador/freeswitch/src' Can someone help? Sin mas a que hacer referencia, Victor Medina _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
aqs younas
-
Victor Medina