On Jul 14, 2006, at 6:44 PM, John Delacour wrote:

At 4:59 pm -0400 14/7/06, Sherm Pendley wrote:

On Jul 14, 2006, at 1:30 PM, Sherm Pendley wrote:

Anyone have a recipe for building DBD::ODBC?

I'm making some progress. Exporting ODBCHOME=/usr was enough to get it to build. But the tests still fail, and I haven't figured out why. Ah well, one step at a time.

So far as I can see I've succeeded.  First by installing this

<http://www.iodbc.org/downloads/iODBC/libiodbc-3.52.4.tar.gz>

using the method at the end of the README.MACOSX

        $ ./configure
        $ make
        $ sudo make install

You could have skipped that - iODBC is shipped with the OS.

and then running this in the DBD-ODBC-1.13 directory

perl MakeFile.PL -o /usr/local/

To use the built-in iODBC:

perl Makefile.PL -o /usr

(or)

ODBCHOME=/usr perl Makefile.PL

sherm--

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net


Reply via email to