[OpenAFS] Re: AFS Perl module and threaded Perl

Russ Allbery rra@stanford.edu
Fri, 03 Dec 2004 16:27:23 -0800


Derrick J Brashear <shadow@dementia.org> writes:
> On Fri, 3 Dec 2004, Ken Hornstein wrote:

>> When I had looked at this a while ago (for something else), I
>> discovered that the client side code uses the LWP code for waiting for
>> the network data (I think it's using IOMGR, which is part of LWP).
>> That's buried deep within rx.  I'm not sure if they actually use LWP
>> threads or not, though.

> realize you can use pthreaded rx by linking libafsrpc instead of librx.

The following change to src/Makefile.PL (in addition to removing the
checks for threaded Perl, of course) resulted in a build that passed all
of its tests.

Is there anything else that I should check?

--- Makefile.PL.orig    2004-12-03 16:26:46.000000000 -0800
+++ Makefile.PL 2004-12-03 16:27:11.000000000 -0800
@@ -116,7 +116,7 @@
                                            -lkauth
                                            -lprot
                                           -lbos
-                                           -lrx
+                                           -lafsrpc
                                            -lvolser
                                            -lvldb
 
@@ -126,6 +126,7 @@
 
                                            -lrxkad
                                            -lrxstat
+                                          -lafsrpc
                                           -lrx
 
                                            -lsys

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>