perl 5 and astguiclient 1.x branch compatibility

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

perl 5 and astguiclient 1.x branch compatibility

Postby Op3r » Mon Nov 20, 2006 12:28 pm

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
Get paid for US outbound Toll Free calls. PM me.
Op3r
 
Posts: 1432
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

Postby mflorell » Mon Nov 20, 2006 12:36 pm

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?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby Op3r » Mon Nov 20, 2006 12:39 pm

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.
Get paid for US outbound Toll Free calls. PM me.
Op3r
 
Posts: 1432
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

Postby Op3r » Mon Nov 20, 2006 1:16 pm

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
Get paid for US outbound Toll Free calls. PM me.
Op3r
 
Posts: 1432
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

Re: perl 5 and astguiclient 1.x branch compatibility

Postby taha12us » Tue Aug 04, 2015 12:43 pm

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!!
taha12us
 
Posts: 6
Joined: Tue Aug 04, 2015 12:31 pm

Re: perl 5 and astguiclient 1.x branch compatibility

Postby boybawang » Tue Aug 04, 2015 1:28 pm

try to install the mysql-dev or mysql-devel packages then do a perl -MCPAN -e shell
Vicidial Installation + Configuration + Support + Custom Development
Download my ebook on installing vicidial for free http://download.vicidial.com/ubuntu/VIC ... 100331.pdf
skype: deodax.cordova@gmail.com
m: +639172063730
boybawang
 
Posts: 989
Joined: Sat Nov 14, 2009 1:18 pm
Location: Dumaguete City, Negros Oriental, Philippines


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 79 guests