![]() 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. 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->. 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. To build and install Perl, and to find out how to report problems, please read the INSTALL file, and any relevant atform file. So the idea is simple: run Perl through Rosetta when you have to deal with Oracle and everything should be fine. 5.8.5 is planed for release in July 2004, concentrating on bug fixing and stability, and will be followed by further 5.8.x releases. 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. 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. ![]() Oracle has an "instant client" for Mac OS X and it's available for free from their site. ![]()
0 Comments
Leave a Reply. |