Installation chapter
[mp-xquery-moved-to-github.git] / bibframe / README
index d7fc77a..d78fa6a 100644 (file)
@@ -7,6 +7,23 @@ In order for this to work, metaproxy and the mp-xquery software modules
 must be installed. The conversion uses the marc2bibframe software available
 from here: https://github.com/lcnetdev/marc2bibframe
 
 must be installed. The conversion uses the marc2bibframe software available
 from here: https://github.com/lcnetdev/marc2bibframe
 
+Installation
+------------
+
+Before these files can used, Metaproxy and the XQuery module must be
+installed.
+
+Metaproxy and XQuery package depend on other packages: libmetaproxy6,
+libyaz5, zorba, etc.
+
+These packages can be auto-fetched by adding the Index Data YUM repository.
+Refer to http://ftp.indexdata.dk/pub/yaz/redhat/centos/6/README
+for more information.
+
+When this repository is enabled, the following command should suffice:
+  sudo yum install mp-xquery metaproxy
+
+
 config.xml
 ----------
 
 config.xml
 ----------
 
@@ -27,16 +44,6 @@ of marc2bibframe . Do not move zorba3-0.xqy from its place within the
 marc2bibframe directory as other files are referred to and their relative
 location must be preserved.
 
 marc2bibframe directory as other files are referred to and their relative
 location must be preserved.
 
-marcxml_raw.patch
------------------
-zorba3-0.xqy must be patched before it can be used by Metaproxy's XQuery
-module. This is because zorba3-0.xqy at this stage do not allow
-"in-memory" conversion of records. For this reason, patch zorba3-0.xqy as
-follows:
-  cd marc2bibframe/xbin
-  patch < ~pathto/marcxml_raw.patch
-
-
 cql2pqf.txt
 -----------
 Contains a simple DC/CQL profile for driving a CQL to RPN conversion.
 cql2pqf.txt
 -----------
 Contains a simple DC/CQL profile for driving a CQL to RPN conversion.