![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Installing Perl Module | surjithss | Shell Programming and Scripting | 2 | 03-26-2008 01:51 PM |
| Installing Perl Modules | ssmiths001 | Shell Programming and Scripting | 1 | 06-26-2006 09:20 PM |
| Perl Installing, Uninstalling | kisoun | UNIX for Advanced & Expert Users | 8 | 08-30-2005 02:56 AM |
| Re-Installing Perl | frustrated1 | Shell Programming and Scripting | 1 | 11-04-2003 06:36 AM |
| Installing GTK to develop Perl GUI's | pmcg | UNIX for Dummies Questions & Answers | 1 | 10-31-2001 05:42 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Installing Perl DBI and DBD
Hi, i have some queries on installing the Perl DBI and the DBD Oracle.
I know that i have to install the DBI first. I have the source files in a folder in my home directory.The commands to install are Code:
cd /home/DBI Perl Makefile.PL make make install |
|
||||
|
If you are not root or the permission of the default installation directory (that is usually somewhere in /usr, but that location varies from installation to installation) does not allow writing by your user, installing will fail and you should see error message while "make install", so it is easy to spot.
You will need to pass additional parameter to "perl Makefile.PL" to override the default installation location such as when installing with user privilege. I think it is something like (I have not installed modules as a user for so long) perl Makefile.PL PREFIX=/home/blablabla/libs If you are just a normal user and do not have root, I guess you can only install it in your home directory and others will not be able to use it. ExtUtils::MakeMaker - perldoc.perl.org |
|
||||
|
I normally find it out with something like this:
Code:
cbkihong@cbkihong:~$ perl -MDBD::mysql -e 'print $INC{"DBD/mysql.pm"}, "\n"'
/usr/local/lib/perl/5.8.0/DBD/mysql.pm
|
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|