On Tue, Nov 06, 2001 at 03:28:36PM +0100, [EMAIL PROTECTED] wrote:
> I have installed perl-5.005-thread, and this by itself is useable, but
> when trying to use Thread; with /usr/bin/perl, Thread can not be found
> (duh, it is in i386-linux-thread, and not i386-linux). 
> The other way around, /usr/bin/perl-thread can't find DBI.pm with
> use DBI;, which is quite essential for what we want to do.
> 

I'm using debian unstable, which means perl 5.6.1, so my system is a bit
different.  But one thing suggests itself to me: have you tried pushing the 
non-threaded module directory onto the include path list?  You can alter @INC
directly or (maybe preferably) add the line

use lib qw(/usr/lib/perl5/5.005/i386-linux);

Following this with "use DBI;" should work.  This doesn't mean that
the DBI module should work with threaded perl necessarily!  A
quick google search on perl-thread + dbi comes up with some possible
leads.

HTH,
Tim
__________________________________________________________________
Timothy Burt                                          
Duke University, Dept. of Physics                     204 FEL
Box 90305, Durham N.C. 27708-0305, USA          [EMAIL PROTECTED]

Reply via email to