Install Dbi Perl Module Ubuntu
In this article, I'll demonstrate how we can use the famous Perl DBI module to connect to an Oracle database. To connect to a database, DBI uses database driver modules (DBD) which handles the entire interaction between the queries typed within the Perl script and the actual database connectivity engine or in simple terms the database client. On ubuntu most perl modules are already packaged, so installing is much faster than most other systems which have to compile. To install Foo::Bar at a commmand prompt for example usually you just do. Can't locate DBI.pm in @INC (you may need to install the DBI module). Installing GD Perl module on Ubuntu 16. Ask Question Asked 2 years, 4 months ago. Active 1 month ago. Help Installing Perl Module XML::Parser using CPAN. Help Installing Perl Module XML::Parser using CPAN. HAProxy perl plugin and Net-SNMPd on Ubuntu 10.04.
Hi, I'm trying to install DBI from CPAN. I logged into CPAN with: sudo perl -MCPAN -e shell cpan install DBI I haven't much of a clue why the install is falling over.
Replies are listed 'Best First'. By (Archbishop) on Jul 24, 2012 at 05:30 UTC The error message is telling you that your C compiler can't be found. Do you have 'gcc' installed on your system? You might have to go fetch the dpkg using Synaptic Package Manager, or sudo apt-get install gcc from the command line. For what it's worth, on my two Ubuntu 12.04 systems DBI installed without a problem.
If the traditional means continues to be stubborn, you could always sudo apt-get install libdbi-perl and install the Debian pre-compiled version. At some point you might decide as have many before you that it's best to just leave system Perl alone, and use to install your own copy of Perl that doesn't need root privileges just to install modules, although that's really just a footnote: You need a C compiler either way. Dave by (Initiate) on Jul 24, 2012 at 06:00 UTC Hi guys, Thanks. I didn't have gcc and other stuff installed. Newbee error. Thanks for everyone's help. Graham by (Priest) on Jul 24, 2012 at 04:36 UTC are three people that all had the same problem and seem to have solved in in three different ways.
Install Dbi Perl Module Ubuntu Server
Maybe look to see if any of these apply? Edit: is another approach. It might be as simple as apt-get install make. Fantasma cornelius zip code 28031. By the way, what do you get if you type which make? By on Jul 24, 2012 at 04:38 UTC sudo apt-get install build-essential.