I have this error compiling ASTCC:
[root@pbx astcc]# make install
mkdir -p /var/www
mkdir -p /var/www/html/_astcc
mkdir -p /var/www/cgi-bin/astcc-admin
chmod 755 ./astcc.agi
chmod 755 ./astcc-admin.cgi
echo | ./astcc.agi >/dev/null
Can't locate DBI.pm in @INC (@INC contains:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .)
at ./astcc.agi line 46.
BEGIN failed--compilation aborted at ./astcc.agi line 46.
make: *** [install] Error 2
[root@pbx astcc]#
I have also installed asterisk-perl from http://asterisk.gnuinter.net/
but i get same error ...
any idea??
Rafael
--
rrgv
PS:
[root@pbx asterisk-perl-0.08]# perl Makefile.PL
Writing Makefile for asterisk-perl
[root@pbx asterisk-perl-0.08]# make all
cp lib/Asterisk/Manager.pm blib/lib/Asterisk/Manager.pm
cp lib/Asterisk/Voicemail.pm blib/lib/Asterisk/Voicemail.pm
cp lib/Asterisk/Outgoing.pm blib/lib/Asterisk/Outgoing.pm
cp lib/Asterisk/QCall.pm blib/lib/Asterisk/QCall.pm
cp lib/Asterisk.pm blib/lib/Asterisk.pm
cp lib/Asterisk/AGI.pm blib/lib/Asterisk/AGI.pm
Manifying blib/man3/Asterisk::Voicemail.3pm
Manifying blib/man3/Asterisk::Manager.3pm
Manifying blib/man3/Asterisk::Outgoing.3pm
Manifying blib/man3/Asterisk::AGI.3pm
[root@pbx asterisk-perl-0.08]# make install
Installing /usr/lib/perl5/site_perl/5.8.0/Asterisk.pm
Installing /usr/lib/perl5/site_perl/5.8.0/Asterisk/Manager.pm
Installing /usr/lib/perl5/site_perl/5.8.0/Asterisk/Voicemail.pm
Installing /usr/lib/perl5/site_perl/5.8.0/Asterisk/Outgoing.pm
Installing /usr/lib/perl5/site_perl/5.8.0/Asterisk/QCall.pm
Installing /usr/lib/perl5/site_perl/5.8.0/Asterisk/AGI.pm
Installing /usr/share/man/man3/Asterisk::Voicemail.3pm
Installing /usr/share/man/man3/Asterisk::Manager.3pm
Installing /usr/share/man/man3/Asterisk::Outgoing.3pm
Installing /usr/share/man/man3/Asterisk::AGI.3pm
Writing
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/asterisk-perl/.packlist
Appending installation info to
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/perllocal.pod