Compiling in Debian Squeeze fails
Tried to compile with the Makefile downloaded from wget http://www.freeswitch.org/eg/Makefile to Debian Squeeze, it popped up an error message while compiling mod_spandsp (missing -ljpeg): libtool: link: ranlib .libs/libspandsp.a
libtool: link: ( cd ".libs" && rm -f "libspandsp.la" && ln -s "../ libspandsp.la" "libspandsp.la" ) make[8]: Leaving directory `/usr/src/freeswitch.git/libs/spandsp/src' make[7]: Leaving directory `/usr/src/freeswitch.git/libs/spandsp/src' make[6]: Leaving directory `/usr/src/freeswitch.git/libs/spandsp' Creating mod_spandsp.la /usr/bin/ld: cannot find -ljpeg collect2: ld returned 1 exit status quiet_libtool: link: gcc -shared .libs/mod_spandsp_la-mod_spandsp.o .libs/mod_spandsp_la-udptl.o .libs/mod_spandsp_la-mod_spandsp_fax.o .libs/mod_spandsp_la-mod_spandsp_dsp.o .libs/mod_spandsp_la-mod_spandsp_codecs.o -Wl,-rpath -Wl,/usr/src/freeswitch.git/.libs -Wl,-rpath -Wl,/usr/local/freeswitch/lib -ljpeg /usr/src/freeswitch.git/.libs/libfreeswitch.so /usr/src/freeswitch.git/libs/spandsp/src/.libs/libspandsp.a /usr/src/freeswitch.git/libs/tiff-3.8.2/libtiff/.libs/libtiff.a -lncurses -pthread -Wl,-soname -Wl,mod_spandsp.so -o .libs/mod_spandsp.so make[5]: *** [mod_spandsp.la] Error 1 make[5]: Leaving directory `/usr/src/freeswitch.git/src/mod/applications/mod_spandsp' make[4]: *** [mod_spandsp-all] Error 1 make[4]: Leaving directory `/usr/src/freeswitch.git/src/mod' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/src/freeswitch.git/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/freeswitch.git' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/freeswitch.git' make: *** [freeswitch] Error 2
What package exactly satisfies this dependency problem? Thanks! /zenny
it complains that it can't find ljpeg which is prereq and contained in libjpeg so install it. On mine I actually installed libjpeg8-dev and libjpeg8 for more info see: http://wiki.freeswitch.org/wiki/Installation_Guide#Linux_and_Unix Towards the end there is a section on the pre requisites On 11-05-14 07:26 PM, Zenny wrote:
Tried to compile with the Makefile downloaded from wget http://www.freeswitch.org/eg/Makefile to Debian Squeeze, it popped up an error message while compiling mod_spandsp (missing -ljpeg):
libtool: link: ranlib .libs/libspandsp.a libtool: link: ( cd ".libs" && rm -f "libspandsp.la <http://libspandsp.la>" && ln -s "../libspandsp.la <http://libspandsp.la>" "libspandsp.la <http://libspandsp.la>" ) make[8]: Leaving directory `/usr/src/freeswitch.git/libs/spandsp/src' make[7]: Leaving directory `/usr/src/freeswitch.git/libs/spandsp/src' make[6]: Leaving directory `/usr/src/freeswitch.git/libs/spandsp' Creating mod_spandsp.la <http://mod_spandsp.la> /usr/bin/ld: cannot find -ljpeg collect2: ld returned 1 exit status quiet_libtool: link: gcc -shared .libs/mod_spandsp_la-mod_spandsp.o .libs/mod_spandsp_la-udptl.o .libs/mod_spandsp_la-mod_spandsp_fax.o .libs/mod_spandsp_la-mod_spandsp_dsp.o .libs/mod_spandsp_la-mod_spandsp_codecs.o -Wl,-rpath -Wl,/usr/src/freeswitch.git/.libs -Wl,-rpath -Wl,/usr/local/freeswitch/lib -ljpeg /usr/src/freeswitch.git/.libs/libfreeswitch.so /usr/src/freeswitch.git/libs/spandsp/src/.libs/libspandsp.a /usr/src/freeswitch.git/libs/tiff-3.8.2/libtiff/.libs/libtiff.a -lncurses -pthread -Wl,-soname -Wl,mod_spandsp.so -o .libs/mod_spandsp.so make[5]: *** [mod_spandsp.la <http://mod_spandsp.la>] Error 1 make[5]: Leaving directory `/usr/src/freeswitch.git/src/mod/applications/mod_spandsp' make[4]: *** [mod_spandsp-all] Error 1 make[4]: Leaving directory `/usr/src/freeswitch.git/src/mod' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/src/freeswitch.git/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/freeswitch.git' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/freeswitch.git' make: *** [freeswitch] Error 2
What package exactly satisfies this dependency problem?
Thanks!
/zenny
_______________________________________________ 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
Hi all, fs, don.t play multiple files. my dialplan: <action application="set" data="playback_delimiter=!"/> <action application="set" data="playback_sleep_val=500"/> <action application="play_and_get_digits" data="0 42 1 10000 # file_string:///tmp/1.alaw,/tmp/2.alaw $${base_dir}/sounds/callback/invalid.wav NR1 \d+"/> I become the following error on the console: EXECUTE sofia/internal/1000@sip2.blindi.net set(playback_delimiter=!) 2011-05-15 02:09:03.316798 [DEBUG] mod_dptools.c:1060 sofia/internal/1000@sip2.b lindi.net SET [playback_delimiter]=[!] EXECUTE sofia/internal/1000@sip2.blindi.net set(playback_sleep_val=500) 2011-05-15 02:09:03.316798 [DEBUG] mod_dptools.c:1060 sofia/internal/1000@sip2.b lindi.net SET [playback_sleep_val]=[500] EXECUTE sofia/internal/1000@sip2.blindi.net play_and_get_digits(0 42 1 10000 # file_string:///tmp/1.alaw,/tmp/2.alaw /usr/local/freeswitch/sounds/callback/i nvalid.alaw NR1 \d+) 2011-05-15 02:09:03.316798 [ERR] mod_sndfile.c:194 Error Opening File [/tmp/1.alaw,/tmp/2.alaw aw,/tmp/2.alaw] [System error : No such file or directory.] The files are exists. What ist the problem please? thanks. --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
Use ! instead of , to separate your file names: <action application="play_and_get_digits" data="0 42 1 10000 # file_string:///tmp/1.alaw!/tmp/2.alaw $${base_dir}/sounds/callback/invalid.wav NR1 \d+"/> -MC On Sat, May 14, 2011 at 5:20 PM, Thomas Hoellriegel <admin@blindi.net>wrote:
Hi all, fs, don.t play multiple files. my dialplan: <action application="set" data="playback_delimiter=!"/> <action application="set" data="playback_sleep_val=500"/> <action application="play_and_get_digits" data="0 42 1 10000 # file_string:///tmp/1.alaw,/tmp/2.alaw $${base_dir}/sounds/callback/invalid.wav NR1 \d+"/> I become the following error on the console:
EXECUTE sofia/internal/1000@sip2.blindi.net set(playback_delimiter=!) 2011-05-15 02:09:03.316798 [DEBUG] mod_dptools.c:1060 sofia/internal/1000@sip2.b lindi.net SET [playback_delimiter]=[!] EXECUTE sofia/internal/1000@sip2.blindi.net set(playback_sleep_val=500) 2011-05-15 02:09:03.316798 [DEBUG] mod_dptools.c:1060 sofia/internal/1000@sip2.b lindi.net SET [playback_sleep_val]=[500] EXECUTE sofia/internal/1000@sip2.blindi.net play_and_get_digits(0 42 1 10000 # file_string:///tmp/1.alaw,/tmp/2.alaw /usr/local/freeswitch/sounds/callback/i nvalid.alaw NR1 \d+) 2011-05-15 02:09:03.316798 [ERR] mod_sndfile.c:194 Error Opening File [/tmp/1.alaw,/tmp/2.alaw aw,/tmp/2.alaw] [System error : No such file or directory.]
The files are exists. What ist the problem please? thanks.
--------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
_______________________________________________ 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
Hi michael, thanks for you nice help!! I have fix the error. my editor has ben wraps all lines. --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
2011/5/15 Zenny <garbytrash@gmail.com>:
Tried to compile with the Makefile downloaded from wget http://www.freeswitch.org/eg/Makefile to Debian Squeeze, it popped up an error message while compiling mod_spandsp (missing -ljpeg):
I suggest using the "deb" method, as described by Gabriel at <http://lists.freeswitch.org/pipermail/freeswitch-dev/2010-November/004478.html> Regards -- Mathieu
/usr/bin/ld: cannot find -ljpeg You're missing libjpeg-dev. -Steve On 15 May 2011 00:26, Zenny <garbytrash@gmail.com> wrote:
Tried to compile with the Makefile downloaded from wget http://www.freeswitch.org/eg/Makefile to Debian Squeeze, it popped up an error message while compiling mod_spandsp (missing -ljpeg):
libtool: link: ranlib .libs/libspandsp.a libtool: link: ( cd ".libs" && rm -f "libspandsp.la" && ln -s "../libspandsp.la" "libspandsp.la" ) make[8]: Leaving directory `/usr/src/freeswitch.git/libs/spandsp/src' make[7]: Leaving directory `/usr/src/freeswitch.git/libs/spandsp/src' make[6]: Leaving directory `/usr/src/freeswitch.git/libs/spandsp' Creating mod_spandsp.la /usr/bin/ld: cannot find -ljpeg collect2: ld returned 1 exit status quiet_libtool: link: gcc -shared .libs/mod_spandsp_la-mod_spandsp.o .libs/mod_spandsp_la-udptl.o .libs/mod_spandsp_la-mod_spandsp_fax.o .libs/mod_spandsp_la-mod_spandsp_dsp.o .libs/mod_spandsp_la-mod_spandsp_codecs.o -Wl,-rpath -Wl,/usr/src/freeswitch.git/.libs -Wl,-rpath -Wl,/usr/local/freeswitch/lib -ljpeg /usr/src/freeswitch.git/.libs/libfreeswitch.so /usr/src/freeswitch.git/libs/spandsp/src/.libs/libspandsp.a /usr/src/freeswitch.git/libs/tiff-3.8.2/libtiff/.libs/libtiff.a -lncurses -pthread -Wl,-soname -Wl,mod_spandsp.so -o .libs/mod_spandsp.so make[5]: *** [mod_spandsp.la] Error 1 make[5]: Leaving directory `/usr/src/freeswitch.git/src/mod/applications/mod_spandsp' make[4]: *** [mod_spandsp-all] Error 1 make[4]: Leaving directory `/usr/src/freeswitch.git/src/mod' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/src/freeswitch.git/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/freeswitch.git' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/freeswitch.git' make: *** [freeswitch] Error 2
What package exactly satisfies this dependency problem?
Thanks!
/zenny
_______________________________________________ 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 (6)
-
Mathieu Parent
-
Michael Collins
-
Philippe Le Toquin
-
Steven Ayre
-
Thomas Hoellriegel
-
Zenny