HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- perl & DBI
Operating System - Linux
1826325
Members
3552
Online
109692
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2006 05:26 AM
11-20-2006 05:26 AM
perl & DBI
I just installed:
perl 5.8.7 + defined-or + DBI 1.48 + Tk 804.027 built with gcc-4.0.0
From:
http://mirrors.develooper.com/hpux/downloads.html
I was under the assumption that the DBI module was intalled.
When I do:
perldoc DBI
I get the docs for DBI
But when I try to use DBI I get an error...
Can't locate DBI.pm in @INC (@INC contains: /opt/perl64/lib/5.8.8/PA-RISC2.0-LP64 /opt/perl64/lib/5.8.8 /opt/perl64/lib/site_perl/5.8.8/PA-RISC2.0-LP64 /opt/perl64/lib/site_perl/5.8.8 /opt/perl64/lib/site_perl .) at test2 line 27.
BEGIN failed--compilation aborted at test2 line 27.
My path points to /usr/bin/perl.
lrwxr-xr-x 1 root sys 20 Nov 20 11:56 /usr/bin/perl -> /opt/perl64/bin/perl
How can I tell if it is installed, or do I still need to install this.
Do I also need the oracle driver?
perl 5.8.7 + defined-or + DBI 1.48 + Tk 804.027 built with gcc-4.0.0
From:
http://mirrors.develooper.com/hpux/downloads.html
I was under the assumption that the DBI module was intalled.
When I do:
perldoc DBI
I get the docs for DBI
But when I try to use DBI I get an error...
Can't locate DBI.pm in @INC (@INC contains: /opt/perl64/lib/5.8.8/PA-RISC2.0-LP64 /opt/perl64/lib/5.8.8 /opt/perl64/lib/site_perl/5.8.8/PA-RISC2.0-LP64 /opt/perl64/lib/site_perl/5.8.8 /opt/perl64/lib/site_perl .) at test2 line 27.
BEGIN failed--compilation aborted at test2 line 27.
My path points to /usr/bin/perl.
lrwxr-xr-x 1 root sys 20 Nov 20 11:56 /usr/bin/perl -> /opt/perl64/bin/perl
How can I tell if it is installed, or do I still need to install this.
Do I also need the oracle driver?
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2006 06:06 AM
11-20-2006 06:06 AM
Re: perl & DBI
All installed modules should be in path, that is kept in @INC.Since DBI isn't there- I'd assume it's not installed...
You can install the DBI with the following command:
perl -MCPAN -e 'install DBI'
or download the zipped tar from http://search.cpan.org/~timb/DBI-1.53/DBI.pm
You can install the DBI with the following command:
perl -MCPAN -e 'install DBI'
or download the zipped tar from http://search.cpan.org/~timb/DBI-1.53/DBI.pm
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP