Re: Panther/DBI

2003-10-25 Thread David Wheeler
On Friday, October 24, 2003, at 10:59  PM, Rich Allen wrote:

have read the archive about modify Config.pm with

ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc'

have reinstalled Bundle::DBI and DBD::mysql and restarted, but still 
get the follwoing:

Can't locate DBI.pm in @INC (@INC contains: 
/System/Library/Perl/5.8.1/darwin-thread-multi-2level 
/System/Library/Perl/5.8.1 
/Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/5.8.1 
/Library/Perl /Network/Library/Perl/5.8.1/darwin-thread-multi-2level 
/Network/Library/Perl/5.8.1 /Network/Library/Perl .) at 
scripts/perltk_ex/sdttk.pl line 18.

what am i NOT doing correctly?


Where was DBI installed?

David

--
David Wheeler AIM: dwTheory
[EMAIL PROTECTED]  ICQ: 15726394
http://www.kineticode.com/ Yahoo!: dew7e
   Jabber: [EMAIL PROTECTED]
Kineticode. Setting knowledge in motion.[sm]


Re: Panther/DBI

2003-10-25 Thread David Wheeler
On Saturday, October 25, 2003, at 10:59  AM, Rich Allen wrote:

in /Library/Perl/darwin

had use the instructions at

http://developer.apple.com/internet/macosx/perl.html
I hope not. That article isn't exactly relevant for Panther. It should 
instead go into /Library/Perl/5.8.1/darwin. Go back and look where 
DBI.pm was put when you installed it (did you install it?) and then 
make sure that the directory it's in is in one of the paths in @INC.

HTH,

David

--
David Wheeler AIM: dwTheory
[EMAIL PROTECTED]  ICQ: 15726394
http://www.kineticode.com/ Yahoo!: dew7e
   Jabber: [EMAIL PROTECTED]
Kineticode. Setting knowledge in motion.[sm]


Re: Panther/DBI

2003-10-25 Thread Morbus Iff
 http://developer.apple.com/internet/macosx/perl.html

I hope not. That article isn't exactly relevant for Panther. It should

I can heartily second that - I wrote the article in question.

-- 
Morbus Iff ( sleep breeds sanity )
Technical: http://www.oreillynet.com/pub/au/779
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus


Re: Panther/DBI

2003-10-25 Thread David Wheeler
On Saturday, October 25, 2003, at 11:09  AM, Rich Allen wrote:

i must have misunderstood your question, this is were the original 
version was that worked. after doing a 10.3 upgrade is when i started 
having the problem. so after upgrading, how do i get DBI to work? do i 
need to recompile 5.8.1?
No, you need to reinstall and compile DBI, as well as any other modules 
you'd previously used with Perl 5.8.0. This is because the copy of Perl 
5.8.1 that comes with panther isn't aware of the Perl you'd compiled 
yourself.

But installing the modules should be pretty easy. Make sure you have 
the dev tools for Panther instead of for Jaguar, and then just use 
CPAN.pm:

  % cpan
  CPAN install DBI
HTH,

David

--
David Wheeler AIM: dwTheory
[EMAIL PROTECTED]  ICQ: 15726394
http://www.kineticode.com/ Yahoo!: dew7e
   Jabber: [EMAIL PROTECTED]
Kineticode. Setting knowledge in motion.[sm]


Panther/DBI

2003-10-24 Thread Rich Allen
iH

have read the archive about modify Config.pm with

ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc'

have reinstalled Bundle::DBI and DBD::mysql and restarted, but still 
get the follwoing:

Can't locate DBI.pm in @INC (@INC contains: 
/System/Library/Perl/5.8.1/darwin-thread-multi-2level 
/System/Library/Perl/5.8.1 
/Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/5.8.1 
/Library/Perl /Network/Library/Perl/5.8.1/darwin-thread-multi-2level 
/Network/Library/Perl/5.8.1 /Network/Library/Perl .) at 
scripts/perltk_ex/sdttk.pl line 18.

what am i NOT doing correctly?

thanks
- hcir