Re: [OPEN-ILS-DEV] Z39.50 target

2008-09-01 Thread Dan Scott
Just to follow up on this thread...

2008/6/2 Dan Scott [EMAIL PROTECTED]:
 2008/5/26 Mike Rylander [EMAIL PROTECTED]:
 On Mon, May 26, 2008 at 9:09 PM, Bill Erickson [EMAIL PROTECTED] wrote:
 On Monday 26 May 2008 8:57 Mike Rylander wrote:
 On Sat, May 24, 2008 at 8:03 PM, Grant Johnson [EMAIL PROTECTED] wrote:

 snip


 This is the plan for 1.4, though I don't think Debian has a modern
 enough YAZ package, which means installing YAZ from source.

 The EG installer makefile will handle this for you:

 http://svn.open-ils.org/trac/ILS/browser/trunk/Open-ILS/src/extras/Makefile.install

 $ make -f Makefile.install install_yaz


 Heh ... unfortunately Net::Z3950::Simple2ZOOM says:

 *** ERROR!
 Simple2ZOOM requires at least version 3.0.10 of YAZ,
 but you only have version 2.1.18.

 and the makefile specifies yaz-2.1.56.  I am unsure if 3.x will cause
 any other problems, though.  First thing that comes to mind is the
 Net::ZOOM implementation for remote Z targets.

 As we kicked around on IRC, the least disruptive method in the short
 term may be to run Simple2ZOOM on a separate server (on which you can
 install the latest version of YAZ without worrying about impacting the
 version used by Evergreen). And then point that at the SRU target
 running on the Evergreen server. If you try this out and it works,
 please let the list know (and document your steps!).

I've been running yaz 3.0.34 on one of our trunk OpenSRF/trunk
Evergreen servers with no discernible problems thus far, so last night
I decided to take the plunge and test out and document the
Simple2ZOOM-over-SRU server approach for providing a Z39.50 server. It
turns out that it's not difficult at all.

http://evergreen-ils.org/dokuwiki/doku.php?id=evergreen-admin:sru_and_z39.50

(I could do a better job documenting this now that I've got a little
more experience with SRU and CQL under my belt).

And I'll note again that you don't _have_ to have yaz 3.0.34 running
on your Evergreen server and have everything running on a single box.
Simple2ZOOM worked quite happily running on my laptop pointing to the
dev.gapines.org server.

-- 
Dan Scott
Laurentian University


Re: [OPEN-ILS-DEV] Z39.50 target

2008-06-02 Thread Dan Scott
2008/5/26 Mike Rylander [EMAIL PROTECTED]:
 On Mon, May 26, 2008 at 9:09 PM, Bill Erickson [EMAIL PROTECTED] wrote:
 On Monday 26 May 2008 8:57 Mike Rylander wrote:
 On Sat, May 24, 2008 at 8:03 PM, Grant Johnson [EMAIL PROTECTED] wrote:

 snip


 This is the plan for 1.4, though I don't think Debian has a modern
 enough YAZ package, which means installing YAZ from source.

 The EG installer makefile will handle this for you:

 http://svn.open-ils.org/trac/ILS/browser/trunk/Open-ILS/src/extras/Makefile.install

 $ make -f Makefile.install install_yaz


 Heh ... unfortunately Net::Z3950::Simple2ZOOM says:

 *** ERROR!
 Simple2ZOOM requires at least version 3.0.10 of YAZ,
 but you only have version 2.1.18.

 and the makefile specifies yaz-2.1.56.  I am unsure if 3.x will cause
 any other problems, though.  First thing that comes to mind is the
 Net::ZOOM implementation for remote Z targets.

As we kicked around on IRC, the least disruptive method in the short
term may be to run Simple2ZOOM on a separate server (on which you can
install the latest version of YAZ without worrying about impacting the
version used by Evergreen). And then point that at the SRU target
running on the Evergreen server. If you try this out and it works,
please let the list know (and document your steps!).

-- 
Dan Scott
Laurentian University


Re: [OPEN-ILS-DEV] Z39.50 target

2008-05-26 Thread Mike Rylander
On Sat, May 24, 2008 at 8:03 PM, Grant Johnson [EMAIL PROTECTED] wrote:
 OK -
 I know there isn't a z39.50 target right now... and the road map says 1.4 
 Summer '08, but I've got 2 weeks! :-)
 So...
 Anyone have any ideas in setting up a gateway, or something, to act as a 
 target Z39.50 server for Interlibrary Loan and Federated search until it's 
 integrated into EG?

 How about a Alpha/Beta of the Z server?

I don't see any reason right out front that OpenILS::WWW::Supercat
from trunk won't work as a drop-in replacement for the one in 1.2.2,
but it has not been tested with anything prior to trunk/1.4.  This, in
combination with the Apache config below, will give you an SRU target
that understands the Bibliographic Context Set for CQL.

Location /opac/extras/sru
SetHandler perl-script
PerlHandler OpenILS::WWW::SuperCat::sru_search
Options +ExecCGI
PerlSendHeader On
allow from all
/Location

The next step is integrating Simple2ZOOM, which can act as a sort of a
reverse Z39.50 proxy to SRU targets.  That is not complete, but you
can read more about Simple2ZOOM at:

 http://search.cpan.org/~mirk/Net-Z3950-Simple2ZOOM/bin/simple2zoom

This is the plan for 1.4, though I don't think Debian has a modern
enough YAZ package, which means installing YAZ from source.

-- 
Mike Rylander
 | VP, Research and Design
 | Equinox Software, Inc. / The Evergreen Experts
 | phone: 1-877-OPEN-ILS (673-6457)
 | email: [EMAIL PROTECTED]
 | web: http://www.esilibrary.com


Re: [OPEN-ILS-DEV] Z39.50 target

2008-05-26 Thread Bill Erickson
On Monday 26 May 2008 8:57 Mike Rylander wrote:
 On Sat, May 24, 2008 at 8:03 PM, Grant Johnson [EMAIL PROTECTED] wrote:

snip


 This is the plan for 1.4, though I don't think Debian has a modern
 enough YAZ package, which means installing YAZ from source.

The EG installer makefile will handle this for you:

http://svn.open-ils.org/trac/ILS/browser/trunk/Open-ILS/src/extras/Makefile.install

$ make -f Makefile.install install_yaz

-bill


-- 
Bill Erickson
| VP, Software Development  Integration
| Equinox Software, Inc. / The Evergreen Experts
| phone: 877-OPEN-ILS (673-6457)
| email: [EMAIL PROTECTED]
| web: http://esilibrary.com


Re: [OPEN-ILS-DEV] Z39.50 target

2008-05-26 Thread Mike Rylander
On Mon, May 26, 2008 at 9:09 PM, Bill Erickson [EMAIL PROTECTED] wrote:
 On Monday 26 May 2008 8:57 Mike Rylander wrote:
 On Sat, May 24, 2008 at 8:03 PM, Grant Johnson [EMAIL PROTECTED] wrote:

 snip


 This is the plan for 1.4, though I don't think Debian has a modern
 enough YAZ package, which means installing YAZ from source.

 The EG installer makefile will handle this for you:

 http://svn.open-ils.org/trac/ILS/browser/trunk/Open-ILS/src/extras/Makefile.install

 $ make -f Makefile.install install_yaz


Heh ... unfortunately Net::Z3950::Simple2ZOOM says:

*** ERROR!
Simple2ZOOM requires at least version 3.0.10 of YAZ,
but you only have version 2.1.18.

and the makefile specifies yaz-2.1.56.  I am unsure if 3.x will cause
any other problems, though.  First thing that comes to mind is the
Net::ZOOM implementation for remote Z targets.

-- 
Mike Rylander
 | VP, Research and Design
 | Equinox Software, Inc. / The Evergreen Experts
 | phone: 1-877-OPEN-ILS (673-6457)
 | email: [EMAIL PROTECTED]
 | web: http://www.esilibrary.com


[OPEN-ILS-DEV] Z39.50 target

2008-05-24 Thread Grant Johnson
OK - 
I know there isn't a z39.50 target right now... and the road map says 1.4 
Summer '08, but I've got 2 weeks! :-)
So...
Anyone have any ideas in setting up a gateway, or something, to act as a target 
Z39.50 server for Interlibrary Loan and Federated search until it's integrated 
into EG?

How about a Alpha/Beta of the Z server?

Cheers



F. Grant Johnson
  Systems Coordinator
  Robertson Library
  University of Prince Edward Island


Re: [OPEN-ILS-DEV] Z39.50 target

2008-05-24 Thread Jason Etheridge
 Anyone have any ideas in setting up a gateway, or something, to act as a 
 target Z39.50 server for Interlibrary Loan and Federated search until it's 
 integrated into EG?

Hey Grant, do you just need to expose bib records via Z39.50?  You
could always try the time-honored workaround of exporting data and
using an external application (see Yaz and Zebra from
http://indexdata.com/).  There's even an atom feed in Evergreen where
you can pull bib data for new titles as they're added.  I imagine it
would be easy to add one for record deletions, or you could query the
db periodically.

This is just off the top of my head.  You might be able to backport
the SRU functionality from trunk and layer a Z39.50 translation
service on top of it, but we'll need Mike to chime in on that.

-- 
Jason Etheridge
 | VP, Community Support and Advocacy
 | Equinox Software, Inc. / The Evergreen Experts
 | phone: 1-877-OPEN-ILS (673-6457)
 | email: [EMAIL PROTECTED]
 | web: http://www.esilibrary.com