Page 1 of 1

perl 5 and astguiclient 1.x branch compatibility

PostPosted: Mon Nov 20, 2006 12:28 pm
by Op3r
I have errors like this

Perhaps the DBD::mysql perl module hasn't been fully installed,
or perhaps the capitalisation of 'mysql' isn't right.
Available drivers: DBM, ExampleP, File, Proxy, Sponge.
at /var/lib/asterisk/agi-bin/VD_hangup.agi line 99
-- AGI Script VD_hangup.agi completed, returning 0
-- AGI Script VD_hangup.agi completed, returning 0
install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at (eval 3) line 3.


Its was working before then I tried to install the new snapshot and ofcourse I added some perl modules.

any hints is greatly appreciated.

Edwin

PostPosted: Mon Nov 20, 2006 12:36 pm
by mflorell
it's not finidng DBD::mysql.

How many versions of perl do you have on this machine?

Did you do a "force install DBD::mysql" in cpan?

PostPosted: Mon Nov 20, 2006 12:39 pm
by Op3r
just one perl version installed on the machine.

its a little bit mind boggling.

Im also trying to integrate the new snapshot to this old box but anyway. will update you when it works.

Im planning to do a doc for upgrading from 1.x branch to the latest snapshot.

PostPosted: Mon Nov 20, 2006 1:16 pm
by Op3r
now i dont get any errors from asterisk

im gonna try to find out my mysql server.

this is my setup

1VICIDIAL/Asterisk
1 apache/Mysql

its on astguiclient 1.2.13

Re: perl 5 and astguiclient 1.x branch compatibility

PostPosted: Tue Aug 04, 2015 12:43 pm
by taha12us
install_driver(mysql) failed: Can’t locate DBD/mysql.pm in @INC (@INC contains: Modules . /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-


How to Install Perl DBD::MySQL, Use the following manual installation.

Run from Shell.
Code: Select all
perl -MCPAN -e shell

(use Auto configurations if prompted)
Type in,
Code: Select all
cpan> install DBD::mysql

Wait for the installation.

Thats all!!

Re: perl 5 and astguiclient 1.x branch compatibility

PostPosted: Tue Aug 04, 2015 1:28 pm
by boybawang
try to install the mysql-dev or mysql-devel packages then do a perl -MCPAN -e shell