[OpenAFS-devel] AFS Perl on 64-bit ...

Norbert Gruener nog@MPA-Garching.MPG.DE
Sat, 27 Mar 2010 09:54:13 +0100


I have made some tests with the upcoming new AFSperl version 2.6.2 to
run it on 64-bit machines.  Additionally I have got some valuable
hints from Roman Mainer, University Paderborn, Germany.

With a "non-threaded" Perl version the AFSperl API version 2.6.2 is
working out of the box.  *** No *** modifications or patches are necessar=
y.

But unfortunately most Linux distributions come with a "threaded" Perl
version.

For the "threaded" Perl version I had to link the AFSperl API against
the "threaded" OpenAFS libraries.  But the libraries "libafsrpc" and
"libafsauthent" were not PIC which were necessary for the API on Linux
64-bit machines.  Therefore I have compiled a PIC version of the two
libraries and have them installed additionally.  Then I linked the
AFSperl against these new libraries.  This was successful and all test
drivers were working.  Then I have made extensive tests with the test
scripts without any problems.


So I see two solutions to this "threaded PIC" problem

  1) replace the "threaded" Perl version by a "non-threaded" Perl
     version, compiled and installed by yourself

  2) build and install two more OpenAFS libraries into your OpenAFS
     installation, link against these new libraries


I would like to get comments, opinions, objection, or other
suggestions from the OpenAFS developers.

Thank you in advance.

Cheers,

Norbert
--=20
Ceterum censeo          | PGP encrypted mail preferred.
Redmond esse delendam.  | PGP Key at www.MPA-Garching.MPG.de/~nog/
in case of emergency: Mobile phone +49 160 70 06 396
Chairman "YAPC Europe Foundation (YEF)"
Norbert Gruener (President)
for YAPC Europe Foundation (YEF)
Norbert Gr=FCner
(Mannschaftsf=FChrer GC Lechfeld I)
+-------------------------------------------------------------------+
| Norbert E. Gruener           http://www.MPA-Garching.MPG.de/~nog/ |
| Max-Planck-Institut          <nog@MPA-Garching.MPG.de>            |
| fuer Astrophysik             PGP encrypted mail preferred         |
| PGPprint(RSA):  66 64 C0 D0 6F 1A 16 02  C2 C6 37 83 3A 5F 88 9B  |
| PGPprint(DH):  8B9A CB28 79DC 4C4F 5A0F  08A8 2771 2A99 A091 FBE8 |
| PGPprint(DSS): 8900 2CB4 F3D3 124F 7ED2  F681 EA2D 11CA BE19 6642 |
+-------------------------------------------------------------------+