On Thu, Jun 13, 2002 at 09:55:42AM +0100, [EMAIL PROTECTED] wrote:
> I am having a major problem building DBI-1.25 at the moment. Because we are
> using multi-threaded
> Oracle I am having to use threaded perl (5.6.1) which I have built after a
> bit of a struggle.        
> 
> I am at the moment building DBI 1.25 and am getting the following error:
> 
> cc -c  +z -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -I/usr/local/include
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ae -O    -DVERSION=\"1.25\"
> -DXS_VERSION=\"1.25\"
>  +z -I/opt/perl5/lib/5.6.1/PA-RISC2.0-thread/CORE  DBI.c

The threading used by your 5.6.1 build is fundamentally flawed and should
not be used at all - and certainly not in a production environment.

As soon as I have the time I'll be removing support for it from the DBI.

The new iThreads threading model in 5.8.0 (just about to be released)
is far far better - through the DBI does need some tweaks if you plan
to use the DBI from more than one thread.

> This is reminiscent of a problem which occured in 1.21 which required the
> addition
> of dTHR; to the top of the function that returns the error but for the life
> of me I cannot see where to do this!

Line 1280, next to the "dSP;" should be fine.

Let me know.

Tim.

Reply via email to