[OpenAFS] AFS Perl under debian lenny - correction

Lars Schimmer l.schimmer@cgv.tugraz.at
Tue, 27 May 2008 11:47:44 +0200


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Norbert Gruener wrote:
> Hi Lars,
>=20
> On Mon, May 05 2008, Lars Schimmer wrote:
>> Hi!
>>
>> I used to use the afsss.pl script from mr. Wiesand
>> http://www-zeuthen.desy.de/~wiesand/AFS/ and all was fine after I got
>> the perl modules as a .deb.
>>
>> But since a few days (after some updates) I get this error:
>>
>> vldb->listaddrs Code=3DAFS::VLDB: could not list the server addresses
>>
>> Is anyone else using the AFS::VLDB package or the script on debian
>> lenny/etch and can give me a hint what went wrong?
>=20
> the appended patch should solve your problem.  Please let me know if
> it is working for you.

Hi, again.

I checked again for versions and I had a bad libopenafs-dev (which were
still 1.3.81) on my system.
With a 1.4.7 I get on make test:

#     Tried to use 'AFS'.
#     Error:  Can't load
'/afs/cgv.tugraz.at/tmp/AFS-2.4.0/src/../blib/arch/auto/AFS/AFS.so' for
module AFS:
/afs/cgv.tugraz.at/tmp/AFS-2.4.0/src/../blib/arch/auto/AFS/AFS.so:
undefined symbol: error_message at /usr/lib/perl/5.8/DynaLoader.pm line 2=
25.
#  at (eval 1) line 2
# Compilation failed in require at (eval 1) line 2.
t/AFS....NOK 1& not defined at t/AFS.t line 18
# Looks like you planned 10 tests but only ran 1.
# Looks like your test died just after 1.
t/AFS....dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-10
        Failed 10/10 tests, 0.00% okay
t/pod....skipped
        all skipped: Test::Pod 1.00 required for testing POD
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-
-------------------------------------------------------------------------=
------
t/AFS.t      255 65280    10   19 190.00%  1-10
1 test skipped.
Failed 1/2 test scripts, 50.00% okay. 10/10 subtests failed, 0.00% okay.
make[1]: *** [test_dynamic] Error 255
make[1]: Leaving directory `/afs/cgv.tugraz.at/tmp/AFS-2.4.0/src'
make: *** [test] Error 2

I guess I got some mix up with kernel/gcc versions.


> Cheers,
>=20
> Norbert
>=20


MfG,
Lars Schimmer
- --
- -------------------------------------------------------------
TU Graz, Institut f=FCr ComputerGraphik & WissensVisualisierung
Tel: +43 316 873-5405       E-Mail: l.schimmer@cgv.tugraz.at
Fax: +43 316 873-5402       PGP-Key-ID: 0x4A9B1723
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIO9jAmWhuE0qbFyMRAqnLAKCWOaDBEE9QKB9v2qoOEg46LKgm3ACfa0Fx
rU+1RfDCbk1L2bZG31qOj/M=3D
=3DJXwE
-----END PGP SIGNATURE-----