gmake[1]: /usr/local/bin/perl: Command not found
gmake[1]: Entering directory `/home/karl/projects/freeswitch-trunk/src/mod/languages/mod_perl'
gcc -Werror -I/usr/local/freeswitch/include -g -O2 -pthread -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/local/freeswitch/include/apr-1 -I/usr/local/freeswitch/include/srtp -I/usr/local/freeswitch/include/apr-1 -fPIC -Wall -I/home/karl/projects/freeswitch-trunk/src/sqlite -I/home/karl/projects/freeswitch-trunk -I/home/karl/projects/freeswitch-trunk/src/include -I/usr/local/freeswitch/include -DSWITCH_MOD_DIR=/usr/local/freeswitch/mod -DSWITCH_PREFIX_DIR=/usr/local/freeswitch -DSWITCH_CONF_DIR=/usr/local/freeswitch/conf -DSWITCH_DB_DIR=/usr/local/freeswitch/db -DSWITCH_LOG_DIR=/usr/local/freeswitch/log -DSWITCH_SCRIPT_DIR=/usr/local/freeswitch/scripts -DSWITCH_HTDOCS_DIR=/usr/local/freeswitch/htdocs -DMULTIPLICITY -DEMBED_PERL -fPIC -c mod_perl.c -o mod_perl.o
gmake[1]: /usr/local/bin/perl: Command not found
gmake[1]: /usr/local/bin/perl: Command not found
gmake[1]: /usr/local/bin/perl: Command not found
mod_perl.c:40:20: error: EXTERN.h: No such file or directory
mod_perl.c:41:18: error: perl.h: No such file or directory
mod_perl.c:44: error: syntax error before void
cc1: warnings being treated as errors
mod_perl.c:44: warning: parameter names (without types) in function declaration
mod_perl.c:49: error: syntax error before PerlInterpreter
mod_perl.c:49: warning: no semicolon at end of struct or union
mod_perl.c:50: warning: type defaults to int in declaration of globals
mod_perl.c:50: warning: data definition has no type or storage class
mod_perl.c:53: error: syntax error before * token
mod_perl.c: In function destroy_perl:
mod_perl.c:55: warning: implicit declaration of function perl_destruct
mod_perl.c:55: error: to_destroy undeclared (first use in this function)
mod_perl.c:55: error: (Each undeclared identifier is reported only once
mod_perl.c:55: error: for each function it appears in.)
mod_perl.c:56: warning: implicit declaration of function perl_free
mod_perl.c: At top level:
mod_perl.c:60: error: syntax error before * token
mod_perl.c:61: warning: return type defaults to int
mod_perl.c: In function clone_perl:
mod_perl.c:62: warning: implicit declaration of function perl_clone
mod_perl.c:62: error: request for member my_perl in something not a structure or union
mod_perl.c:62: error: CLONEf_COPY_STACKS undeclared (first use in this function)
mod_perl.c:62: error: CLONEf_KEEP_PTR_TABLE undeclared (first use in this function)
mod_perl.c:62: warning: return makes pointer from integer without a cast
mod_perl.c: In function perl_function:
mod_perl.c:70: error: PerlInterpreter undeclared (first use in this function)
mod_perl.c:70: error: my_perl undeclared (first use in this function)
mod_perl.c:76: warning: implicit declaration of function Perl_eval_pv
mod_perl.c: In function switch_module_shutdown:
mod_perl.c:104: error: request for member my_perl in something not a structure or union
mod_perl.c:105: error: request for member my_perl in something not a structure or union
mod_perl.c:106: error: request for member my_perl in something not a structure or union
mod_perl.c:107: error: request for member my_perl in something not a structure or union
mod_perl.c: In function switch_module_load:
mod_perl.c:116: error: PerlInterpreter undeclared (first use in this function)
mod_perl.c:116: error: my_perl undeclared (first use in this function)
mod_perl.c:119: warning: implicit declaration of function perl_alloc
mod_perl.c:126: warning: implicit declaration of function PERL_SET_CONTEXT
mod_perl.c:127: warning: implicit declaration of function perl_construct
mod_perl.c:128: warning: implicit declaration of function perl_parse
mod_perl.c:129: warning: implicit declaration of function perl_run
mod_perl.c:130: error: request for member my_perl in something not a structure or union
gmake[1]: *** [mod_perl.o] Error 1
gmake[1]: Leaving directory `/home/karl/projects/freeswitch-trunk/src/mod/languages/mod_perl'
make: *** [modules] Error 1