Hi

I am currently having some problems compiling freeswitch in lenny with mod_esl. 

I have done this:

- checked out FS
- ./bootstrap.sh, ./configure
- cd libs/esl && make && make luamod (as per wiki docs)
- uncomment mod_esl from modules.conf

I then run make all, and this error is produced when it gets to mod_esl.so:

Does anyone have any advice?

making all mod_esl
Creating mod_esl.so...
gcc: /usr/local/src/freeswitch_generic/libs/esl/libesl.so: No such file or directory
gcc: /usr/local/src/freeswitch_generic/libs/esl/libesl.so: No such file or directory
gcc -I/usr/local/src/freeswitch_generic/libs/esl/src/include -I/usr/local/src/freeswitch_generic/libs/curl/include -I/usr/local/src/freeswitch_generic/src/include -I/usr/local/src/freeswitch_generic/src/include -I/usr/local/src/freeswitch_generic/libs/libteletone/src -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -DHAVE_OPENSSL -g -O2 -Wall -std=c99 -pedantic -Wdeclaration-after-statement -D_GNU_SOURCE -shared -o .libs/mod_esl.so -shared -Wl,-x .libs/mod_esl.o /usr/local/src/freeswitch_generic/libs/esl/libesl.so /usr/local/src/freeswitch_generic/libs/esl/libesl.so  -lm -lz /usr/local/src/freeswitch_generic/.libs/libfreeswitch.so -L/usr/local/src/freeswitch_generic/libs/esl -lesl   -Wl,--rpath -Wl,/usr/local/freeswitch_generic/lib -Wl,--rpath -Wl,/usr/local/freeswitch_generic/mod
make[5]: *** [mod_esl.so] Error 1
make[4]: *** [all] Error 1
make[3]: *** [mod_esl-all] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2