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" && 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