I'll notify the DBD::Oracle guys about this as well. If you're not familiar with how patch works, just save that diff file in the same directoryas dbdimp.c. This release updates Perl to the Unicode Character Database, Version 4.0.1, and fixes some minor errors in Perls UTF8 handling. Here you need to create a directory named "hints" and create the file with this content: #!/usr/bin/perl$arch = "-arch i386 -arch ppc" print "Adding $archn" $self->- 5.8.4 is a maintenance release for perl 5.8, incorporating various minor bugfixes and optimisations. Download the latest DBI (version 1.52 at the moment), extract it and go to the DBI-1.52 directory. We need universal DBI (DBD::Oracle is just a driver for DBI). The original perl binary is still universal and is not changed in any way.Ģ. To do this type this command in Terminal: sudo lipo -thin ppc -output /usr/bin/perl.ppc /usr/bin/perl Perl in Mac OS X 10.4 is universal and the command simply copies it's PowerPC part to file perl.ppc. We need to create a PowerPC-only Perl binary. Nothing special happens here, but you never know.ġ. I assume that the Oracle instant client is already installed and works I used version 10.1.0.3. Here are step-by-step instructions showing how I made it work. So the idea is simple: run Perl through Rosetta when you have to deal with Oracle and everything should be fine. Installing Perl on Windows (with Padre the Perl IDE) Watch on. Install App-cpanminus by typing in: cpan App::cpanminus. To confirm the installation worked type: perl -v. The problem for me was that I couldn't use those libraries with Perl: DBD::Oracle just wouldn't build properly, because by default gcc builds everything for Intel only, and this code cannot be linked with PowerPC libraries. Log out and back in (or reboot) Go to your start menu, then click the 'Perl command' link. It works through Rosetta though and if you just install the client as they say, you may use sqlplus and other PowerPC applications linked with that client this way. Unfortunately it's PowerPC only and nobody knows when they going to release an Intel or Universal version. Developers worldwide rely on ActivePerls completeness and ease-of-use, while corporate users protect their more info. ActiveState Corporation - Freeware - ActivePerl is the industry-standard Perl distribution, available for Windows, Linux, Mac OS X, Solaris, AIX and HP-UX. Oracle has an "instant client" for Mac OS X and it's available for free from their site. activeperl 5.8 at UpdateStar More ActivePerl 5.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |