Does anyone have any experience with the MAB record syntax
under
ZOOM-Perl? Or with MAB under any YAZ-based ZOOM
implementation, since
I assume that whatever the problem is, it's down in ZOOM-C's
handling
of the record.
_/|_
____________________________________________________________
_______
/o ) / Mike Taylor <mike indexdata.com> http://www.miketaylor.or
g.uk
)_v__/ "When [your girlfriend] gives you a gift, YOU
HAVE TO GIVE HER
ONE BACK. You can't just open your wallet and say,
``Here's,
let's see... 17 dollars!''" -- Dave Barry.
------- start of forwarded message -------
From: "Margarete Wittke" <wittke bsb-muenchen.de>
To: <mike indexdata.com>
Subject: Z3950 - Problems with MAB-Format
Date: Fri, 29 Feb 2008 11:11:55 +0100
Hi Mike,
I have a big problem with the Perl ZOOM module, wich I
cannot solve and I hope you can help me.
I use Net:Z3950 since 2003 on an older Linux - Enterprise -
Server and it works very fine.
Now I need to install a Z3950-Client on a newer SuseLinux
10.0 - Version, but the Installation of the old API fails.
After perl Makefile.PL I get the message:
Checking if your kit is complete...
Looks good
MakeMaker (v6.30)
Writing Makefile for Net::Z3950::yazwrap
Writing Makefile for Net::Z3950
But trying to run make (test). I get a bulk of error
messages beginning with:
error: yaz/oid.h: No such file or directory
receive.c:252:44: warning: "/*" within comment
receive.c:253:31: warning: "/*" within comment
receive.c:254:38: warning: "/*" within comment
receive.c:255:46: warning: "/*" within comment
receive.c:256:39: warning: "/*" within comment
So I installed the newer ZOOM module (perl -MCPAN -e
$,1rx(Binstall Net::Z3950$,1ry(B), which works. But now
the records (which I need in German MAB-Format) don't look
good. There are no field delimiters:
100284nM2.01000024 h001 125547030 zz5d||rz||||7040
BV007817283050 ||||||||||||||051 n||||||077 a12c0100
Jadassohn, Salomon304 [Serenaden, Kl op. 125]331 Zweite
Serenade (E-Dur)335 f$,3u=(Br Pianoforte in zw$,3u=(Blf
Canons comp. ; op. 125410 Leipzig412 Forberg425 1895512
n00278nM2.01000024 h001 1931659010 125547030
zz5d||rz||||7040 BV007817285050 ||||||||||||||051 |||||||077
a12c1078 a36047301190018b2 Mus.pr. 8651-2/3cd0e0f0089 3. 9.
Minuetto. 10. Intermezzo. 11. Allegretto grazioso. 12.
Allegretto di marcia. - 11 S.512
If I use the yaz-client from the shell I get the correct
record form with X1E or X1F as delimiters exactly as with
the old Net::Z3950 module
[sisis]Record type: MAB
00284nM2.01000024 h001 125547X1E030
zz5d||rz||||7X1E040 BV007817283X1E050
||||||||||||||X1E051 n||||||X1E077 X1Fa12X1Fc0X1E100
Jadassohn, SalomonX1E304 [Serenaden, Kl op. 125]X1E331
Zweite Serenade (E-Dur)X1E335 fXC9ur Pianoforte in
zwXC9olf Canons comp. ; op. 125X1E410 LeipzigX1E412
ForbergX1E425 1895X1E512 nX1EX1D00205nM2.01000024
h001 1931658X1E010 125547X1E030 zz5d||rz||||7X1E040
BV007817284X1E050 ||||||||||||||X1E051 |||||||X1E077
X1Fa12X1Fc0X1E089 2. Nr. 5. Andante. 6. Appasionato. 7.
Adagio. 8. Capricietto. - 11 S.X1E512 mX1EX1D
nextResultSetPosition = 0
Elapsed: 0.297113
I tried most options and different charsets, without
success. Can you help me?
Thank you so much
Margarete
-----------------------------------------------------------
Dr. Margarete Wittke
Bayerische Staatsbibliothek
BA/ES/Digitale Bibliothek
Ludwigstr. 16
D-80539 M,A|(Bnchen
Tel. 089/28638-2374
email: mwittke bsb-muenchen.de
------- end of forwarded message -------
_______________________________________________
Net-z3950 mailing list
Net-z3950 lists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/n
et-z3950
|