on 06/24/2001 06:34 AM, Thomas Wegner at [EMAIL PROTECTED] wrote:
>>
>> Manually move files to the appropriate location - in your case:
>
> Nope. That's not a very good idea, unless you really know what you are doing.
> For example, there are some modules out there on CPAN that use autoloading and
> hence need autosplitting. These modules will not work if you simply move them
> in the site_perl folder. It's better to use Chris Nandor's installme.plx
> droplet for installation. This installer is part of the cpan-mac-0.50 module,
> available from CPAN
>
> http://www.perl.com/CPAN-local/authors/id/CNANDOR/
>
> or via Chris Nandor's MacPerl page
>
> http://pudge.net/macperl/.
>
>
> Regarding DBI, you first have to install the DBI (database [independant]
> interface) module and then one or more DBDs (database drivers). Since the DBI
> module needs to be built (i.e. compiled and linked) for MacPerl, the DBI
> module found on CPAN won't help you much. The DBI (version 1.08) and other
> pre-built modules are available from the MacPerl Module Porters Page at
>
> http://pudge.net/mmp/.
>
> Download it, drop the archive on the installer and answer the upcoming
> question "Convert all text and MacBinary files?" with "Yes". This should
> install the module properly.
>
>
> Regarding DBDs, DBD-Mysql will not work on Mac OS (Classic). Most DBD's have
> to be built on the OS they should run on, and hence you need a native database
> library (static, shared, whatever) you can link against. Unfortunately, MySQL
> has never been ported to Mac OS (at least I'm not aware of a port).
>
> For more information on DBDs for MacPerl, you may want to visit my website at
>
> http://usemacperl.webjump.com/dbi.html .
>
> If you want to use MacPerl and DBI with a true relational database engine
> (ANSI SQL-92), I recommend my module DBD::DtfSQLmac 0.1201, available from the
> above URL. For installation, see the README .
For Installing DBI it's recommended that you do the installs in the
following order for MacPerl (if you desire success anyway)
First install DBI (the MacPerl port from Pudge's site http://pudge.net/mmp/)
then SQL::Statement
and Text::CSV_XS (both also from the porter's page above)
Then install DBD::CSV and DBD::RAM from CPAN
This lets you build and work with a CSV sample database on the Mac, and
create your interface to it. Then, when complete, porting it to use the
DBD::mysql driver instead (on say, unix), will be a snap.
--
Scott R. Godin | e-mail : [EMAIL PROTECTED]
Laughing Dragon Services | web : http://www.webdragon.net/