473,396 Members | 1,722 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

ODB/ODBC.pm for Apple

Hi I have written a number of perl scripts that access data in an Windows built Access data base. I now need to run the perl scripts from an Apple. When I run get the error that ODB/ODBC.pm was not found. How do I go about installing the apropriate modules on the mac? I have used ppm from the command line to load modules on my windows machines what is the proceedure with apple?


Thanks for your help

Alan
Sep 19 '08 #1
8 2446
KevinADC
4,059 Expert 2GB
If you are using activeperl on your Mac, open the activestate/activeperl folder and read the instructions for installing modules that should be in the documentation. I would assume its PPM also for a Mac using activeperl but I'm not sure.
Sep 19 '08 #2
Thanks Kevin - I am not sure which version of Perl comes installed on OSX? How could I tell and will it cause problems if I install Active as well? I was not even aware that Active Perl was available on the mac! I see that it also uses ppm so that will probably be the ticket!

Thanks for the help!


Alan
Sep 19 '08 #3
KevinADC
4,059 Expert 2GB
Thanks Kevin - I am not sure which version of Perl comes installed on OSX? How could I tell and will it cause problems if I install Active as well? I was not even aware that Active Perl was available on the mac! I see that it also uses ppm so that will probably be the ticket!

Thanks for the help!


Alan
from the command line:

perl -v

that should hopefully tell you what version of perl you have installed. As far as I know OSX does not come with perl by default, so you or someone must have installed it. You could browse the files on your MAC and locate the perl installation and maybe detemine if it is activeperl or some other perl distribution. If there is a mac version of perl besides activeperl I don't know of it.
Sep 19 '08 #4
Will do!

Thanks

Alan
Sep 19 '08 #5
Hi Kevin

Perl -v results in version 5.8.8 returning. We did not install Perl and in fact got a new mac today and it had perl on it as well 5.8.8. I downloaded Active Perl version 5.10 and instaled. Perl -v still returns 5.8.8 (after a restart as well). Anyone know how to uninstall perl on a mac so that I van get Active Perl going? ? It does not appear in the applications folder?

Cheers

Alan
Sep 19 '08 #6
KevinADC
4,059 Expert 2GB
Hi Kevin

Perl -v results in version 5.8.8 returning. We did not install Perl and in fact got a new mac today and it had perl on it as well 5.8.8. I downloaded Active Perl version 5.10 and instaled. Perl -v still returns 5.8.8 (after a restart as well). Anyone know how to uninstall perl on a mac so that I van get Active Perl going? ? It does not appear in the applications folder?

Cheers

Alan
I was unaware that Macs came with perl. I have no experience with Macs so I recommend you ask on a Mac forum how to uninstall perl.
Sep 19 '08 #7
Hi Kevin

I have precious little experience on them as well! I will look for a mac forum.

Thanks again

Alan
Sep 19 '08 #8
numberwhun
3,509 Expert Mod 2GB
I had OSX 10.4 installed on my Dell laptop for a while. I liked it a lot, but could never get the video or wireless working with the proper drivers.

That aside, OSX is a *nix based OS with the Mac Windowing system on top of it. It is absolutely sweet as it incorporates a really nice desktop system with the power of Unix. Also, yes, it came with Perl

Due to the *nix nature, I was able to go to www.perl.org and download the source version of Perl, compile and installed it and it ran just fine. I set up the standard CPAN interface and installed modules with ease.

I would personally not recommend Active Perl, but that is just me. I hate their lack of support for all modules.

If you installed Active Perl and when you do Perl -v and it still returns 5.8.8, then the original installation that came with your OS is still active on the system. Try doing a "which perl" on the command line in the Terminal and see what it returns. You may find that it returns something like "/usr/bin/perl" and possibly others. If it does, use the full path to each and find out which are for 5.8.8 and which are for 5.10. If that is the case, the you can simply delete the 5.8.8 binaries and create sym links to the version you installed.

Regards,

Jeff
Sep 20 '08 #9

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

Similar topics

2
by: boki | last post by:
Dear All, I knew "&apple" could get the address of apple variable, about why we use a (UINT16 *) command before "&apple" ? What is this function for? Thank you very much for your help.
7
by: David Teran | last post by:
Hi, maybe anyone already knows that Apple is distributing Postgres 7.3.3 with RemoteDesktop 2. Its located in /System/Library/CoreServices/RemoteManagement/rmdb.bundle/ BUT... they did not do...
7
by: T.A. | last post by:
Class hierarchy below demonstrates my problem: #include <vector> #include <boost/smart_ptr.hpp> class Fruit { public: virtual ~Fruit() = 0; };
9
by: Ronald S. Cook | last post by:
Can I write If MyString = "Apple" Or MyString = "Orange" Or MyString = "Pear" Then to something more compact like If MyString In ("Apple", "Orange", "Pear") Then My last line obviously...
3
by: Jensen.Katie | last post by:
I have a SQL Server 2005 DB that I set up an ODBC connection to so that people can access the data through MS Access. There are 3 tables, each of which have a date column that is a varchar (20)...
29
Niheel
by: Niheel | last post by:
The Apple invasion into corporate has started and I can't say if I am excited or scared. As an IT manager, I have nightmares over all the support and technical issues of integrating Apple hardware...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
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,...

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.