473,767 Members | 1,695 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to install DBD:ODBC on Windows XP

4 New Member
I just installed ActivePerl-5.8.8.822 & downloaded DBD-ODBC. Did this on Windows XP:

ppm install DBD-ODBC.ppd

got this:

ppm install failed: Can't find any package that provide DBI version 1.21 for DB-ODBC

~~~

I'm a perl newbie. I'll be glad if someone could help on this. I am now trying to use Perl to migrate some data.

Regards,

Arlie
Apr 1 '08 #1
5 5721
nithinpes
410 Recognized Expert Contributor
I just installed ActivePerl-5.8.8.822 & downloaded DBD-ODBC. Did this on Windows XP:

ppm install DBD-ODBC.ppd

got this:

ppm install failed: Can't find any package that provide DBI version 1.21 for DB-ODBC

~~~

I'm a perl newbie. I'll be glad if someone could help on this. I am now trying to use Perl to migrate some data.

Regards,

Arlie
I am not sure about exact implication of the error :( .
The package DBD::ODBC is dependent on DBI. But once you type,
Expand|Select|Wrap|Line Numbers
  1. ppm install DBD-odbc
  2.  
all the dependencies should be automatically downloaded. May be you have DBI installed which is older than version 1.21. You may try to re-install DBI and install DBD::ODBC.
Expand|Select|Wrap|Line Numbers
  1. ppm uninstall DBI
  2. ppm install DBI
  3. ppm install DBD-odbc
  4.  
  5.  
Apr 1 '08 #2
arlie
4 New Member
I am not sure about exact implication of the error :( .
The package DBD::ODBC is dependent on DBI. But once you type,
Expand|Select|Wrap|Line Numbers
  1. ppm install DBD-odbc
  2.  
all the dependencies should be automatically downloaded. May be you have DBI installed which is older than version 1.21. You may try to re-install DBI and install DBD::ODBC.
Expand|Select|Wrap|Line Numbers
  1. ppm uninstall DBI
  2. ppm install DBI
  3. ppm install DBD-odbc
  4.  
  5.  
Thanks for your reply. I finally was able to install it. I simply tried installing all available packages and finally was able to install it using DBD-ODBC-1.11. I still need to test it though if it really works.

I got the it from here: http://ppm4.activestat e.com/PPMPackages/zips
Apr 3 '08 #3
arlie
4 New Member
I am not sure about exact implication of the error :( .
The package DBD::ODBC is dependent on DBI. But once you type,
Expand|Select|Wrap|Line Numbers
  1. ppm install DBD-odbc
  2.  
all the dependencies should be automatically downloaded. May be you have DBI installed which is older than version 1.21. You may try to re-install DBI and install DBD::ODBC.
Expand|Select|Wrap|Line Numbers
  1. ppm uninstall DBI
  2. ppm install DBI
  3. ppm install DBD-odbc
  4.  
  5.  
I downloaded the ppd files from the office and install it at home. Since I don't have internet at home. I might be missing some dependcies because as much as dbd-odbc installed I still can't use it. I got this error:

DBD::ODBC initialisation failed: Can't locate object method "driver" via package
"DBD::ODBC" at C:/Perl/lib/DBI.pm line 782.

Perhaps the capitalisation of DBD 'ODBC' isn't right. at odbc.test.pl line 6
Apr 4 '08 #4
arlie
4 New Member
I downloaded the ppd files from the office and install it at home. Since I don't have internet at home. I might be missing some dependcies because as much as dbd-odbc installed I still can't use it. I got this error:

DBD::ODBC initialisation failed: Can't locate object method "driver" via package
"DBD::ODBC" at C:/Perl/lib/DBI.pm line 782.

Perhaps the capitalisation of DBD 'ODBC' isn't right. at odbc.test.pl line 6
Below is my odbc test code:

Expand|Select|Wrap|Line Numbers
  1. use strict;
  2. use DBI;
  3.  
  4. use DBD::ODBC;
  5. print $DBD::ODBC::VERSION;
  6. my $dbh = DBI-> connect('dbi:ODBC:Luke');
Apr 4 '08 #5
eWish
971 Recognized Expert Contributor
Try changing the last line to this. Also, check out the DBD::ODBC docs for more information.

Expand|Select|Wrap|Line Numbers
  1. my $dbh = DBI->connect('dbi:ODBC:DSN', 'user', 'password');
--Kevin
Apr 4 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

15
4473
by: brent | last post by:
I have a laptop with windows xp 1 gig ram 2.0 pentium M. When I run the db2 personal edition version 8.2 the install gets to the first screen and says windows installer is preparing to install. There is a back next and cancel button on the screen at the bottom. The next and the back are disabled and the cancel is the only one that is available. If I click cancel it prompts are you sure. If I say yes the install dialog stays. I have to...
0
1197
by: paul_tomlin | last post by:
We've got an Excel spreadsheet that uses an ODBC link to an Access database (running on our 2003 Terminal Server) the refresh data option doesn't seem to work unless the user has administrative rights. we've also tried this on our 2000 terminal server with the same results. is there a particular way to install ODBC on terminal services? is there any directories i should grant users access to so i can make this more reliable?
4
1324
by: Eduardo78 | last post by:
Hello everybody, I would like to know which version of SQL Server could i install in my Windows XP Pro. Laptop, and be able to work with the enterprise manager locally? thanks for any suggestions. Ed
2
2156
by: djoefish | last post by:
sequel to the topic "install patch on windows"..... I am currently running Python2.3 with Enthought on a windows PC. I have been running into a memory problem (see http://evanjones.ca/python-memory-part3.html), and would like to install a patch. I have read a lot about it online, but can't seem to find out how to do so on windows. I have a 'patch' program that works, but it only patches the source file 'obmalloc.c', which does not...
3
4160
by: nark | last post by:
I just downloaded ODBC drivers from the mySQL web site but whenever I try to create a DSN I get a system 1157 error The driver does show up ok in the windows control panel I cant find any information on this at all can anyone help please? nark
5
19656
by: pratibharaut | last post by:
Hello , How can i install Joomla on windows xp. I serach on net and got document how to install joomla but not getting properly. I downloaded Joomala_1.0.0_to_1.0.12-stable.zip Extract it to C:\Program Files\Apache Group\Apache2\htdocs . And Run the INSTALL.php But got the error "Restricted access" Also created blank database named "joomla" in mysql.
3
1815
by: Mike | last post by:
I am reading in an Excel CSV file and I need to determine the data Type of the fields being read in. There are numbers text, money, and dates. Is there a function or technique that will give this info. thanks for any help
1
2806
by: jimbo905 | last post by:
My secretaries HD crashed - bummer. I got a new HD running XP pro with SP3. I have installed 8i client using the OUI (at first I had to rename symcjit.dll to symcjit_old.dll). All the components appeared to install. I used OUI to install the 8i ODBC drivers but when I go to ADMINISTRATIVE TOOLS/DATA SOURCES >>>SYSTEM DNS tab and try to add the 8i ODBC driver set it does not appear in the list Using Oracle's KB I found a list of all...
1
2309
irfanmodan
by: irfanmodan | last post by:
hi everyone... I want to convert any video to flv as dynamically...so please help me how to install ffmpeg in windows php 5.3.1 thaks in advance Regards Irfan
0
9571
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9405
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10169
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9841
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8838
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7383
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5280
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5424
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2807
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.