in reply to Re^8: Cross-platform DB
in thread Cross-platform DB

For mac and linux (depending on config), you just want to do:

$ sudo perl -MCPAN -eshell cpan[1]> install DBD::SQLite
but for mac, you'll need to ensure you have the OS-X developer tools installed.

-derby

Replies are listed 'Best First'.
Re^10: Cross-platform DB
by wpahiker (Acolyte) on Feb 22, 2007 at 00:00 UTC
    Tried doing the install on the Mac and I received:
    Checking if your kit is complete... Looks good I see you're using perl 5.008006 on darwin-thread-multi-2level, ok +ay. Remember to actually *read* the README file! Use 'make' to build the software (dmake or nmake on Windows). Then 'make test' to execute self tests. Then 'make install' to install the DBI and then delete this workin +g directory before unpacking and building any DBD::* drivers. Writing Makefile for DBI Can't exec "-j3": No such file or directory at /System/Library/Perl/5. +8.6/CPAN.pm line 4566. -j3 -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible Running make for M/MS/MSERGEANT/DBD-SQLite-1.13.tar.gz Is already unwrapped into directory /Users/mike/.cpan/build/DBD-SQLi +te-1.13 CPAN.pm: Going to build M/MS/MSERGEANT/DBD-SQLite-1.13.tar.gz Can't exec "-j3": No such file or directory at /System/Library/Perl/5. +8.6/CPAN.pm line 4566. -j3 -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible

      sounds like a bad install of the max os x devel tools. Is gcc installed?

      -derby