Re: (Fwd) DBD::Oracle / alarm() problem

2002-12-04 Thread Tim Bunce
On Tue, Dec 03, 2002 at 06:56:37PM -0800, Josh Wilmes wrote: > > After figuring that libthread was somehow to blame, we did a little > fiddling around and found that DBD::Oracle is linking against -lthread, > but the oracle libraries are _not_. > > We tried removing this library from the linking

Re: (Fwd) DBD::Oracle / alarm() problem

2002-12-04 Thread Tim Bunce
On Tue, Dec 03, 2002 at 05:16:27PM -0800, Josh Wilmes wrote: > Tim- > > Your suggestion did seem to do the trick. However, this is going to be > pretty painful for us to implement, as new new build of perl uses a > different architecture-specific directory (sun4-solaris-thread-multi vs. > sun

Re: (Fwd) DBD::Oracle / alarm() problem

2002-12-04 Thread Josh Wilmes
After figuring that libthread was somehow to blame, we did a little fiddling around and found that DBD::Oracle is linking against -lthread, but the oracle libraries are _not_. We tried removing this library from the linking in the Makefile, and it appears to have done the trick! After doing "pe

Re: (Fwd) DBD::Oracle / alarm() problem

2002-12-04 Thread Josh Wilmes
Tim- Your suggestion did seem to do the trick. However, this is going to be pretty painful for us to implement, as new new build of perl uses a different architecture-specific directory (sun4-solaris-thread-multi vs. sun4-solaris). Basically we'd have to recompile all of our installed modul

Re: (Fwd) DBD::Oracle / alarm() problem

2002-11-28 Thread Jared Still
I've encountered a similar problem with alarm(). Here's a piece of working production code that succesfully uses alarm() with DBI. my $dbh = ''; # database connection will cause perl to 'die' # will just exit the eval block so we can check #

Re: (Fwd) DBD::Oracle / alarm() problem

2002-11-27 Thread Tim Bunce
Got a moment to gve this more thought... > > #!/usr/SD/perl/bin/perl > > #use DBD::Oracle; > use DBI; > > $SIG{ALRM} = sub { print "Caught alarm\n"; }; > > alarm (2); > $dbh = DBI->connect('dbi:Oracle:eman', 'eman', 'eman'); > alarm (0); > > sleep(5); > print "Success\n"; > > > If t

Re: (Fwd) DBD::Oracle / alarm() problem

2002-11-26 Thread Tim Bunce
On Tue, Nov 26, 2002 at 04:52:10PM -0800, Josh Wilmes wrote: > > Um.. that's what I already did (see my message below) > > Doesn't answer my question. Um.. neither did I. Sorry, in a rush. Answer: I don't know. Talk to Oracle. Tim. > --Josh > > At 0:41 on 11/27/2002 GMT, Tim Bunce <[EMAIL P

Re: (Fwd) DBD::Oracle / alarm() problem

2002-11-26 Thread Tim Bunce
Google is your friend: http://www.google.com/search?q=dbi+oracle+alarm+signal eg http:[EMAIL PROTECTED]/msg13194.html Tim. On Tue, Nov 26, 2002 at 10:32:27AM -0800, Josh Wilmes wrote: > > .. so what now? :) > > If this is an issue in the oracle libraries, is there a version tha

Re: (Fwd) DBD::Oracle / alarm() problem

2002-11-26 Thread Josh Wilmes
... so what now? :) If this is an issue in the oracle libraries, is there a version that is known to work on solaris? --Josh At 9:17 on 11/21/2002 GMT, Tim Bunce <[EMAIL PROTECTED]> wrote: > - Forwarded message from Josh Wilmes <[EMAIL PROTECTED]> - > > Delivered-To: [EMAIL PROTECTED

(Fwd) DBD::Oracle / alarm() problem

2002-11-21 Thread Tim Bunce
- Forwarded message from Josh Wilmes <[EMAIL PROTECTED]> - Delivered-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: DBD::Oracle / alarm() problem From: Josh Wilmes <[EMAIL PROTECTED]> Reply-To: Josh Wilmes <[EMAIL PROTECTED]> Date: Wed, 20 Nov 2002 14:40:53 -0800 Tim, I appear to