|
List Info
Thread: Problems with YAZ > 2.1.8 on OpenBSD
|
|
| Problems with YAZ > 2.1.8 on OpenBSD |

|
2006-11-07 04:27:31 |
Hi,
I'd like to report a problem introduced between YAZ versions
2.1.8 and
2.1.10 on OpenBSD. I’ve tried the following later versions
which all
exhibit the same problem: 2.1.10, 2.1.18, 2.1.24 and 2.1.38.
Summary of the problem: During installation of Koha 2.2.x
(koha.org) using
the installer.pl perl script it performs a perl module
check. After this
check completes, interactive input is no longer accepted by
the script and
it gets caught in an infinite loop because all responses are
automatically
blank. During troubleshooting I narrowed the cause of this
problem to the
following line in the checkperlmodules function of
Install.pm:
unless (eval {require ZOOM}) { push missing,"ZOOM" };
If I comment that out then the installation proceeds
normally. The same
issue was observed with Koha 2.2.5 which used Net::Z3950
instead of ZOOM.
I then decided to test YAZ using yaz-client. I looked up
the documentation
and was able to connect to Index Data's test server and test
commands such
as find and scan. I don't know where to go from here so any
help is
appreciated.
I have not tried to reproduce this with other BSDs but I did
compile YAZ
2.1.10 (back in January) on Redhat FC2 and didn't have the
problem. I doubt
the Koha install script is the problem as it works fine with
YAZ 2.1.8. I
brought this up on the Koha mailing list at the beginning of
the year but
did not receive any responses. You can read it here
http://lists.katipo.co.nz/public/koha/2006/009583.html.
a> I've brought it up
again recently as their switch to ZOOM has caused me to run
into this
problem again http://lists.katipo.co.nz/public/koha/2006/010710.html.
a>
I'd like to resolve this issue as Koha 2.2.6 has dropped the
Net::Z3950
module and started using ZOOM but of course ZOOM requires a
recent version
of YAZ. I'll be happy to provide any additional info if
requested.
Thanks,
Mike D.
_______________________________________________
Yazlist mailing list
Yazlist lists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
|
|
| Problems with YAZ > 2.1.8 on OpenBSD |

|
2006-11-07 09:57:03 |
Hi, Mike. I don't understand what makes you think that any
of this is
anything to with YAZ. It seems like a Koha installer bug to
me.
If you'd like us to look into it, please make a small test
program
that clearly demonstrates the problem, and that we can use
to
reproduce it.
_/|_
____________________________________________________________
_______
/o ) / Mike Taylor <mike indexdata.com> http://www.miketaylor.or
g.uk
)_v__/ "No no, it's spelt `Luxury Yacht', but it's
pronounced
`Throat-wobbler Mangrove'" -- Monty Python's Flying
Circus.
Mike Dalgity writes:
> Hi,
>
> I'd like to report a problem introduced between YAZ
versions 2.1.8 and
> 2.1.10 on OpenBSD. I’ve tried the following later
versions which all
> exhibit the same problem: 2.1.10, 2.1.18, 2.1.24 and
2.1.38.
>
> Summary of the problem: During installation of Koha
2.2.x (koha.org) using
> the installer.pl perl script it performs a perl module
check. After this
> check completes, interactive input is no longer
accepted by the script and
> it gets caught in an infinite loop because all
responses are automatically
> blank. During troubleshooting I narrowed the cause of
this problem to the
> following line in the checkperlmodules function of
Install.pm:
> unless (eval {require ZOOM}) { push missing,"ZOOM" };
> If I comment that out then the installation proceeds
normally. The same
> issue was observed with Koha 2.2.5 which used
Net::Z3950 instead of ZOOM.
>
> I then decided to test YAZ using yaz-client. I looked
up the documentation
> and was able to connect to Index Data's test server
and test commands such
> as find and scan. I don't know where to go from here
so any help is
> appreciated.
>
> I have not tried to reproduce this with other BSDs but
I did compile YAZ
> 2.1.10 (back in January) on Redhat FC2 and didn't have
the problem. I doubt
> the Koha install script is the problem as it works
fine with YAZ 2.1.8. I
> brought this up on the Koha mailing list at the
beginning of the year but
> did not receive any responses. You can read it here
> http://lists.katipo.co.nz/public/koha/2006/009583.html.
a> I've brought it up
> again recently as their switch to ZOOM has caused me
to run into this
> problem again http://lists.katipo.co.nz/public/koha/2006/010710.html.
a>
>
> I'd like to resolve this issue as Koha 2.2.6 has
dropped the Net::Z3950
> module and started using ZOOM but of course ZOOM
requires a recent version
> of YAZ. I'll be happy to provide any additional info
if requested.
>
> Thanks,
> Mike D.
>
>
>
> _______________________________________________
> Yazlist mailing list
> Yazlist lists.indexdata.dk
> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
_______________________________________________
Yazlist mailing list
Yazlist lists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
|
|
| Problems with YAZ > 2.1.8 on OpenBSD |

|
2006-11-08 03:43:37 |
Hi Mike,
I have no idea if this is a YAZ problem, something with the
perl modules or
something I'm (not) doing. I'm not a Koha developer; I'm
just a user trying
to work out the kinks on OpenBSD. The reason I'm posting on
this list is
because it seems to be directly related to the Yaz version
installed. I've
written a perl program (my first!) that demonstrates that
after checking for
a Yaz dependent perl module that input from <STDIN> no
longer works. As I
stated before, I only seem to have this problem with Yaz
versions newer than
2.1.8. I have seen this issue with Yaz versions 2.1.10,
2.1.18, 2.1.24, and
2.1.38.
#!/usr/bin/perl -w
use strict;
print "Type something: ";
my $response = <STDIN>;
chomp $response;
print "You typed $responsen";
#here's the line that breaks it
unless (eval {require Net::Z3950}) { print "missing
Net::Z3950n" };
#unless (eval {require ZOOM}) { print "missing
ZOOMn" };
print "Type something if you can: ";
$response = <STDIN>;
chomp $response;
print "You typed $responsen";
*** Checking for Net::Z3950 ***
OK -- OpenBSD 4.0 (fresh install, no Net::Z3950)
# perl test.pl
Type something: test1
You typed test1
missing Net::Z3950
Type something if you can: test2
You typed test2
#
OK -- OpenBSD 4.0, Yaz 2.1.8, Net::Z3950 0.51, Event 1.08
# perl test.pl
Type something: test1
You typed test1
Type something if you can: test2
You typed test2
#
NOT OK -- OpenBSD 4.0 (fresh install), Yaz 2.1.38,
Net::Z3950 0.51, Event
1.08
# perl test.pl
Type something: test1
You typed test1
Type something if you can: Use of uninitialized value in
scalar chomp at
test.pl line 15, <STDIN> line 1.
Use of uninitialized value in concatenation (.) or string at
test.pl line
16, <STDIN> line 1.
You typed
#
*** Checking for ZOOM ***
OK -- OpenBSD 4.0, Yaz 2.1.38, (no ZOOM)
# perl test.pl
Type something: test1
You typed test1
missing ZOOM
Type something if you can: test2
You typed test2
#
NOT OK -- OpenBSD 4.0, Yaz 2.1.38, ZOOM 1.13, Marc::Record
1.38
# perl test.pl
Type something: test1
You typed test1
Too late to run INIT block at
/usr/local/libdata/perl5/site_perl/i386-openbsd/ZOOM.pm line
37, <STDIN>
line 1.
Type something if you can: Use of uninitialized value in
scalar chomp at
test.pl line 15, <STDIN> line 1.
Use of uninitialized value in concatenation (.) or string at
test.pl line
16, <STDIN> line 1.
You typed
#
The following warnings appear during ./configure:
checking for libXML2... Not found
configure: WARNING: libxml2 development libraries not found.
configure: WARNING: There will be no support for SRU.
checking for libXSLT... Not found
configure: WARNING: libXSLT development libraries not found.
checking for libEXSLT... Not found
configure: WARNING: libEXSLT not enabled. pkg-config not
found.
checking for xsltSaveResultToString... no
I have no idea if they have any relevance or not.
Thanks,
Mike D.
-----Original Message-----
From: yazlist-bounces lists.indexdata.dk
[mailto:yazlist-bounces lists.indexdata.dk]On Behalf Of Mike
Taylor
Sent: November 7, 2006 4:57 AM
To: Discussion on the YAZ Z39.50 toolkit
Subject: [Yazlist] Problems with YAZ > 2.1.8 on OpenBSD
Hi, Mike. I don't understand what makes you think that any
of this is
anything to with YAZ. It seems like a Koha installer bug to
me.
If you'd like us to look into it, please make a small test
program
that clearly demonstrates the problem, and that we can use
to
reproduce it.
_/|_
____________________________________________________________
_______
/o ) / Mike Taylor <mike indexdata.com> http://www.miketaylor.or
g.uk
)_v__/ "No no, it's spelt `Luxury Yacht', but it's
pronounced
`Throat-wobbler Mangrove'" -- Monty Python's Flying
Circus.
Mike Dalgity writes:
> Hi,
>
> I'd like to report a problem introduced between YAZ
versions 2.1.8 and
> 2.1.10 on OpenBSD. I’ve tried the following later
versions which all
> exhibit the same problem: 2.1.10, 2.1.18, 2.1.24 and
2.1.38.
>
> Summary of the problem: During installation of Koha
2.2.x (koha.org)
using
> the installer.pl perl script it performs a perl module
check. After this
> check completes, interactive input is no longer
accepted by the script
and
> it gets caught in an infinite loop because all
responses are
automatically
> blank. During troubleshooting I narrowed the cause of
this problem to
the
> following line in the checkperlmodules function of
Install.pm:
> unless (eval {require ZOOM}) { push missing,"ZOOM" };
> If I comment that out then the installation proceeds
normally. The same
> issue was observed with Koha 2.2.5 which used
Net::Z3950 instead of ZOOM.
>
> I then decided to test YAZ using yaz-client. I looked
up the
documentation
> and was able to connect to Index Data's test server
and test commands
such
> as find and scan. I don't know where to go from here
so any help is
> appreciated.
>
> I have not tried to reproduce this with other BSDs but
I did compile YAZ
> 2.1.10 (back in January) on Redhat FC2 and didn't have
the problem. I
doubt
> the Koha install script is the problem as it works
fine with YAZ 2.1.8.
I
> brought this up on the Koha mailing list at the
beginning of the year but
> did not receive any responses. You can read it here
> http://lists.katipo.co.nz/public/koha/2006/009583.html.
a> I've brought it
up
> again recently as their switch to ZOOM has caused me
to run into this
> problem again http://lists.katipo.co.nz/public/koha/2006/010710.html.
a>
>
> I'd like to resolve this issue as Koha 2.2.6 has
dropped the Net::Z3950
> module and started using ZOOM but of course ZOOM
requires a recent
version
> of YAZ. I'll be happy to provide any additional info
if requested.
>
> Thanks,
> Mike D.
>
>
>
> _______________________________________________
> Yazlist mailing list
> Yazlist lists.indexdata.dk
> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
_______________________________________________
Yazlist mailing list
Yazlist lists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
_______________________________________________
Yazlist mailing list
Yazlist lists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
|
|
| Problems with YAZ > 2.1.8 on OpenBSD |

|
2006-11-08 10:25:15 |
Mike Dalgity writes:
> I have no idea if this is a YAZ problem, something
with the perl
> modules or something I'm (not) doing. I'm not a Koha
developer;
> I'm just a user trying to work out the kinks on
OpenBSD. The
> reason I'm posting on this list is because it seems to
be directly
> related to the Yaz version installed.
Right. I don't see how it can possibly be to do with
different YAZ
versions, but what I see is that there's a problem with
"require ZOOM"
but not with "require Net::Z3950". Could it be
that this is the
variable factor, and that you misread it because ZOOM needs
a more
recent YAZ version?
Anyway, On my system (Ubuntu GNU/Linux 6.06, running stock
kernel
2.6.15-27-386 and stock Perl 5.8.7) I don't see the problem
that you
do with losing the ability to type on stdin. So that's not
good.
But what I do see, if I comment out your "require
Net::Z3950" line and
uncomment the "require ZOOM" line, is this:
$ perl /tmp/x.pl
Type something: foo
You typed foo
Too late to run INIT block at
/usr/local/lib/perl/5.8.7/ZOOM.pm line 37, <STDIN>
line 1.
Type something if you can: bar
You typed bar
$
My best guess (not a very good one, I'm afraid) is that the
combination of BSD kernel and Perl on your box somehow
stuffs up after
seeing this "Too late to run INIT block" error.
But none of that really corresponds with your most
mystifying test run:
> NOT OK -- OpenBSD 4.0 (fresh install), Yaz 2.1.38,
Net::Z3950 0.51, Event
> 1.08
> # perl test.pl
> Type something: test1
> You typed test1
> Type something if you can: Use of uninitialized value
in scalar chomp at
> test.pl line 15, <STDIN> line 1.
> Use of uninitialized value in concatenation (.) or
string at test.pl line
> 16, <STDIN> line 1.
> You typed
And specifically:
> OK -- OpenBSD 4.0, Yaz 2.1.8, Net::Z3950 0.51,
Event 1.08
> NOT OK -- OpenBSD 4.0, Yaz 2.1.38, Net::Z3950 0.51,
Event 1.08
That's too weird. I have to agree with you that the
evidence suggests
that it really is the YAZ version that's causing the
problems. But
only on OpenBSD (or at least, not on Ubuntu).
> The following warnings appear during ./configure:
>
> checking for libXML2... Not found
> configure: WARNING: libxml2 development libraries not
found.
> configure: WARNING: There will be no support for SRU.
> checking for libXSLT... Not found
> configure: WARNING: libXSLT development libraries not
found.
> checking for libEXSLT... Not found
> configure: WARNING: libEXSLT not enabled. pkg-config
not found.
> checking for xsltSaveResultToString... no
>
> I have no idea if they have any relevance or not.
No, this shouldn't be a problem (at least, not the _same_
problem
I am really not sure where to go with this. Anyone?
_/|_
____________________________________________________________
_______
/o ) / Mike Taylor <mike indexdata.com> http://www.miketaylor.or
g.uk
)_v__/ "Good luck, everyone" -- Bob the Angry
Flower after the WTC
disaster. See http://angryflower.
com/septem.gif
_______________________________________________
Yazlist mailing list
Yazlist lists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
|
|
[1-4]
|
|