[OPEN-ILS-DEV] Re: Build errors on Debian
Don McMorris
don.mcmorris at gmail.com
Fri Mar 31 08:53:51 EST 2006
Standby for lengthy e-mail:
===OpenILS.XML===
<?xml version='1.0'?>
<!--
Example opensrf config file for OpenILS
See opensrf.xml.example for core config documentation
For non-core config info, see the inline documentation within this file
-->
<opensrf version='0.0.1'>
<default>
<dirs>
<log>/openils/var/log</log>
<sock>/openils/var/sock</sock>
<pid>/openils/var/pid</pid>
<!-- xsl stylesheets go here -->
<xsl>/openils/var/xsl</xsl>
<conf>/openils/var/conf</conf>
<script>/openils/var/data</script>
<script_lib>/openils/var/data</script_lib>
</dirs>
<server_type>prefork</server_type>
<!-- script for exception strings -->
<ex_script>/openils/var/templates/strings/ex.ttk</ex_script>
<perm_script>/openils/var/templates/strings/perm.ttk</perm_script>
<ils_events>/openils/var/data/ils_events.xml</ils_events>
<z3950>
<default>oclc</default>
<!-- OpenILS currently only searches the
'oclc' database when
doing Z39.50 importing... -->
<oclc>
<host>zcat.oclc.org</host>
<port>210</port>
<db>OLUCWorldCat</db>
<tcnattr>12</tcnattr>
<isbnattr>7</isbnattr>
<username>my_username</username>
<password>my_password</password>
</oclc>
<loc> <!-- loc has not been incorporated into
the system yet -->
<name>loc</name>
<host>z3950.loc.gov</host>
<port>7090</port>
<db>Voyager</db>
<username></username>
<password></password>
</loc>
</z3950>
<activeapps/>
<cache>
<global>
<servers>
<server>127.0.0.1:10101</server>
</servers>
<max_cache_time>86400</max_cache_time>
</global>
</cache>
<apps>
<opensrf.persist>
<keepalive>1</keepalive>
<stateless>1</stateless>
<language>perl</language>
<implementation>OpenSRF::Application::Persist</implementation>
<max_requests>97</max_requests>
<unix_config>
<unix_sock>opensrf.persist_unix.sock</unix_sock>
<unix_pid>opensrf.persist_unix.pid</unix_pid>
<max_requests>1000</max_requests>
<unix_log>opensrf.persist_unix.log</unix_log>
<min_children>5</min_children>
<max_children>25</max_children>
<min_spare_children>2</min_spare_children>
<max_spare_children>5</max_spare_children>
</unix_config>
<app_settings>
<dbfile>/openils/var/db/persist.db</dbfile>
</app_settings>
</opensrf.persist>
<!-- Authentication server -->
<open-ils.auth>
<keepalive>5</keepalive>
<stateless>1</stateless>
<language>C</language>
<implementation>oils_auth.so</implementation>
<max_requests>93</max_requests>
<unix_config>
<unix_sock>open-ils.auth_unix.sock</unix_sock>
<unix_pid>open-ils.auth_unix.pid</unix_pid>
<max_requests>1000</max_requests>
<unix_log>open-ils.auth_unix.log</unix_log>
<min_children>5</min_children>
<max_children>35</max_children>
<min_spare_children>2</min_spare_children>
<max_spare_children>5</max_spare_children>
</unix_config>
<app_settings>
<!-- if true, user sessions
will be persisted via the OpenSRF persist
server in
addition to memcache -->
<persist_users>0</persist_users>
<!-- default session timeouts
by login type -->
<default_timeout>
<opac>300</opac>
<staff>28800</staff>
<override>300</override>
<!-- temporary login -->
</default_timeout>
</app_settings>
</open-ils.auth>
<!-- Generic search server -->
<open-ils.search>
<keepalive>5</keepalive>
<stateless>1</stateless>
<language>perl</language>
<implementation>OpenILS::Application::Search</implementation>
<max_requests>93</max_requests>
<unix_config>
<unix_sock>open-ils.search_unix.sock</unix_sock>
<unix_pid>open-ils.search_unix.pid</unix_pid>
<max_requests>1000</max_requests>
<unix_log>open-ils.search_unix.log</unix_log>
<min_children>5</min_children>
<max_children>35</max_children>
<min_spare_children>2</min_spare_children>
<max_spare_children>5</max_spare_children>
</unix_config>
<app_settings>
<memcache>127.0.0.1:10101</memcache>
<max_cache_time>3600</max_cache_time>
<marc_html_xsl>oilsMARC21slim2HTML.xsl</marc_html_xsl>
<added_content>
<!--
Example added
content handler. If this is not defined, the default
content
handler is used, which returns empty sets for all methods
-->
<!--
<implementation>Evergreen::Application::Search::AddedContent::ContentCafe</implementation>
<host>MY_CONTENT_HOST</host>
<username>MY_CONTENT_USERNAME</username>
<password>MY_CONTENT_PASSWORD</password>
-->
</added_content>
</app_settings>
</open-ils.search>
<!-- server for accessing user info -->
<open-ils.actor>
<keepalive>5</keepalive>
<stateless>1</stateless>
<language>perl</language>
<implementation>OpenILS::Application::Actor</implementation>
<max_requests>93</max_requests>
<unix_config>
<unix_sock>open-ils.actor_unix.sock</unix_sock>
<unix_pid>open-ils.actor_unix.pid</unix_pid>
<max_requests>1000</max_requests>
<unix_log>open-ils.actor_unix.log</unix_log>
<min_children>5</min_children>
<max_children>35</max_children>
<min_spare_children>2</min_spare_children>
<max_spare_children>5</max_spare_children>
</unix_config>
</open-ils.actor>
<!-- server for editing title, etc... -->
<open-ils.cat>
<keepalive>5</keepalive>
<stateless>1</stateless>
<language>perl</language>
<implementation>OpenILS::Application::Cat</implementation>
<max_requests>199</max_requests>
<unix_config>
<unix_sock>open-ils.cat_unix.sock</unix_sock>
<unix_pid>open-ils.cat_unix.pid</unix_pid>
<max_requests>1000</max_requests>
<unix_log>open-ils.cat_unix.log</unix_log>
<min_children>5</min_children>
<max_children>25</max_children>
<min_spare_children>2</min_spare_children>
<max_spare_children>5</max_spare_children>
</unix_config>
<app_settings>
<marctemplates>
<book>/openils/var/templates/marc/book.xml</book>
</marctemplates>
</app_settings>
</open-ils.cat>
<opensrf.math>
<keepalive>3</keepalive>
<stateless>1</stateless>
<language>C</language>
<implementation>osrf_math.so</implementation>
<max_requests>97</max_requests>
<unix_config>
<unix_sock>opensrf.math_unix.sock</unix_sock>
<unix_pid>opensrf.math_unix.pid</unix_pid>
<max_requests>1000</max_requests>
<unix_log>opensrf.math_unix.log</unix_log>
<min_children>5</min_children>
<max_children>15</max_children>
<min_spare_children>2</min_spare_children>
<max_spare_children>5</max_spare_children>
</unix_config>
</opensrf.math>
<opensrf.dbmath>
<keepalive>3</keepalive>
<stateless>1</stateless>
<language>C</language>
<implementation>osrf_dbmath.so</implementation>
<max_requests>99</max_requests>
<unix_config>
<max_requests>1000</max_requests>
<unix_log>opensrf.dbmath_unix.log</unix_log>
<unix_sock>opensrf.dbmath_unix.sock</unix_sock>
<unix_pid>opensrf.dbmath_unix.pid</unix_pid>
<min_children>5</min_children>
<max_children>15</max_children>
<min_spare_children>2</min_spare_children>
<max_spare_children>5</max_spare_children>
</unix_config>
</opensrf.dbmath>
<!-- Circulation server -->
<open-ils.circ>
<keepalive>3</keepalive>
<stateless>1</stateless>
<language>perl</language>
<implementation>OpenILS::Application::Circ</implementation>
<max_requests>99</max_requests>
<unix_config>
<max_requests>1000</max_requests>
<unix_log>open-ils.circ_unix.log</unix_log>
<unix_sock>open-ils.circ_unix.sock</unix_sock>
<unix_pid>open-ils.circ_unix.pid</unix_pid>
<min_children>5</min_children>
<max_children>25</max_children>
<min_spare_children>2</min_spare_children>
<max_spare_children>5</max_spare_children>
</unix_config>
<app_settings>
<rules>
<permission>permit_circ.rules</permission>
<duration>calculate_duration.rules</duration>
<recurring_fines>calculate_recurring_fines.rules</recurring_fines>
<max_fines>calculate_max_fines.rules</max_fines>
<permit_hold>permit_hold.rules</permit_hold>
<permit_renew>permit_renew.rules</permit_renew>
</rules>
<script_path>/openils/var/circ/</script_path>
<scripts>
<circ_permit_patron>circ_permit_patron.js</circ_permit_patron>
<circ_permit_copy>circ_permit_copy.js</circ_permit_copy>
<circ_duration>circ_duration.js</circ_duration>
<circ_recurring_fines>circ_recurring_fines.js</circ_recurring_fines>
<circ_max_fines>circ_max_fines.js</circ_max_fines>
<circ_permit_renew>circ_permit_renew.js</circ_permit_renew>
<circ_permit_hold>circ_permit_hold.js</circ_permit_hold>
</scripts>
</app_settings>
</open-ils.circ>
<!-- Database storage server -->
<open-ils.storage>
<keepalive>3</keepalive>
<stateless>1</stateless>
<language>perl</language>
<implementation>OpenILS::Application::Storage</implementation>
<unix_config>
<max_requests>1000</max_requests>
<unix_log>storage_unix.log</unix_log>
<unix_sock>storage_unix.sock</unix_sock>
<unix_pid>storage_unix.pid</unix_pid>
<max_requests>1000</max_requests>
<min_children>10</min_children>
<max_children>50</max_children>
<min_spare_children>2</min_spare_children>
<max_spare_children>5</max_spare_children>
</unix_config>
<app_settings>
<databases>
<driver>Pg</driver>
<database>
<type>master</type>
<weight>2</weight>
<user>postgres</user>
<host>127.0.0.1</host>
<pw>postgres</pw>
<db>demo-dev</db>
<client_encoding>SQL_ASCII</client_encoding>
</database>
</databases>
</app_settings>
</open-ils.storage>
<opensrf.settings>
<keepalive>1</keepalive>
<stateless>1</stateless>
<language>perl</language>
<implementation>OpenSRF::Application::Settings</implementation>
<max_requests>17</max_requests>
<unix_config>
<unix_sock>opensrf.settings_unix.sock</unix_sock>
<unix_pid>opoensrf.settings_unix.pid</unix_pid>
<max_requests>1000</max_requests>
<unix_log>opensrf.settings_unix.log</unix_log>
<min_children>5</min_children>
<max_children>15</max_children>
<min_spare_children>3</min_spare_children>
<max_spare_children>5</max_spare_children>
</unix_config>
</opensrf.settings>
</apps>
</default>
<hosts>
<!-- single host install, everything goes into one
host section -->
<localhost.localdomain> <!-- must match 'hostname -f' -->
<activeapps>
<!-- opensrf builtin apps -->
<appname>opensrf.math</appname>
<appname>opensrf.dbmath</appname>
<appname>opensrf.settings</appname>
<!-- openils apps -->
<appname>open-ils.cat</appname>
<appname>open-ils.search</appname>
<appname>open-ils.circ</appname>
<appname>open-ils.actor</appname>
<appname>open-ils.auth</appname>
<appname>open-ils.storage</appname>
</activeapps>
</localhost.localdomain>
</hosts>
</opensrf>
==================
===autogen.sh output===
evergreen:/openils/bin# ./autogen.sh /openils/conf/bootstrap.conf
Updating fieldmapper
Updating web_fieldmapper
Updating web_fieldmapper
Updating OrgTree
Use of uninitialized value in concatenation (.) or string at
/etc/perl/OpenSRF/Application.pm line 105.
Can't call method "method_lookup" on an undefined value at
/etc/perl/OpenSRF/Application.pm line 110.
Done
evergreen:/openils/bin#
===================
====hostname -f=====
evergreen:/openils/bin# hostname -f
localhost.localdomain
evergreen:/openils/bin#
=================
===osrfysys.log===
evergreen:/openils/var/log# cat osrfysys.log
[2006-3-31 8:50:6] org_tree_js.pl [INFO:30074:::] Creating Client
instance: evergreen.mcmorrisfamily.net:5222, juser,
client_at_localhost.localdomain
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::]
juser at evergreen.mcmorrisfamily.net/client_at_localhost.localdomain: 1
connect attempt to evergreen.mcmorrisfamily.net:5222
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] Logging into jabber
as juser at evergreen.mcmorrisfamily.net/client_at_localhost.localdomain
from OpenSRF::Transport::PeerHandle
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] *
juser at evergreen.mcmorrisfamily.net/client_at_localhost.localdomain:
Jabber authenticated and connected
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] AppSession creating
new client session for open-ils.storage
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] AppSession creating
new client session for opensrf.settings
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] AppSession not
connected, connecting..
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] AppSession sending
CONNECT to router at evergreen.mcmorrisfamily.net/opensrf.settings with
threadTrace [0]
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] Calling queue_wait(0)
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] Call to
Client->timed_read( 0 ) returned 0 bytes of data
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] Resending...0
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] Calling queue_wait(5)
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] Transport
building/retrieving session: client,
jabber_username at evergreen.mcmorrisfamily.net/opensrf.settings_drone_at_localhost.localdomain_18209,
1143813006.466627545.77143210779
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] AppSession returning
existing session 1143813006.466627545.77143210779
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] Transport passing up
STATUS from jabber_username at evergreen.mcmorrisfamily.net/opensrf.settings_drone_at_localhost.localdomain_18209
with threadTrace [0]
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] Received api_level
=> [1], MType => [STATUS], from
[jabber_username at evergreen.mcmorrisfamily.net/opensrf.settings_drone_at_localhost.localdomain_18209],
threadTrace[0]
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] endpoint => [2]
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::]
OpenSRF::AppSession->SERVER => [1]
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] We connected
successfully to opensrf.settings
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] Request was handled internally
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] Successfully handled message
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] Message processing
duration: 0.043s
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] Resending...0
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] Setting threadTrace to 1
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] AppSession sending
REQUEST to jabber_username at evergreen.mcmorrisfamily.net/opensrf.settings_drone_at_localhost.localdomain_18209
with threadTrace [1]
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] Calling queue_wait(0)
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] Call to
Client->timed_read( 0 ) returned 0 bytes of data
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] Resending...0
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] Calling queue_wait(0)
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] Call to
Client->timed_read( 0 ) returned 0 bytes of data
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] Resending...0
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] Calling queue_wait(10)
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] Calling queue_wait(10)
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] Transport
building/retrieving session: client,
jabber_username at evergreen.mcmorrisfamily.net/opensrf.settings_drone_at_localhost.localdomain_18209,
1143813006.466627545.77143210779
[2006-3-31 8:50:6] org_tree_js.pl [DEBG:30074:::] AppSession returning
existing session 1143813006.466627545.77143210779
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] Transport passing up
RESULT from jabber_username at evergreen.mcmorrisfamily.net/opensrf.settings_drone_at_localhost.localdomain_18209
with threadTrace [1]
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] Received api_level
=> [1], MType => [RESULT], from
[jabber_username at evergreen.mcmorrisfamily.net/opensrf.settings_drone_at_localhost.localdomain_18209],
threadTrace[1]
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] endpoint => [2]
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::]
OpenSRF::AppSession->SERVER => [1]
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] oilsMessage passing
to Application: RESULT :
jabber_username at evergreen.mcmorrisfamily.net/opensrf.settings_drone_at_localhost.localdomain_18209
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] Passing request up
to OpenSRF::Application
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] In Application::handler()
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] Successfully handled message
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] Transport passing up
STATUS from jabber_username at evergreen.mcmorrisfamily.net/opensrf.settings_drone_at_localhost.localdomain_18209
with threadTrace [1]
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] Received api_level
=> [1], MType => [STATUS], from
[jabber_username at evergreen.mcmorrisfamily.net/opensrf.settings_drone_at_localhost.localdomain_18209],
threadTrace[1]
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] endpoint => [2]
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::]
OpenSRF::AppSession->SERVER => [1]
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] Request was handled internally
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] Successfully handled message
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] Message processing
duration: 0.148s
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] Resending...0
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] Number of matched responses: 1
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] Calling queue_wait(0)
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] Calling queue_wait(0)
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] Call to
Client->timed_read( 0 ) returned 0 bytes of data
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] Resending...0
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] AppSession sending
DISCONNECT to jabber_username at evergreen.mcmorrisfamily.net/opensrf.settings_drone_at_localhost.localdomain_18209
with threadTrace [1]
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] AppSession killing
self: 1143813006.466627545.77143210779
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] Setting threadTrace to 1
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] AppSession sending
REQUEST to router at evergreen.mcmorrisfamily.net/open-ils.storage with
threadTrace [1]
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] Calling queue_wait(0)
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] Call to
Client->timed_read( 0 ) returned 0 bytes of data
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] Resending...0
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] AppSession is
stateless in send
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] Calling queue_wait(0)
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] Transport
building/retrieving session: client,
router at evergreen.mcmorrisfamily.net/open-ils.storage,
1143813007.15226695.5196550184
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] AppSession returning
existing session 1143813007.15226695.5196550184
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] Transport passing up
REQUEST from router at evergreen.mcmorrisfamily.net/open-ils.storage with
threadTrace [1]
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] Received api_level
=> [1], MType => [REQUEST], from
[router at evergreen.mcmorrisfamily.net/open-ils.storage], threadTrace[1]
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] endpoint => [2]
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::]
OpenSRF::AppSession->SERVER => [1]
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] oilsMessage passing
to Application: REQUEST :
router at evergreen.mcmorrisfamily.net/open-ils.storage
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] Passing request up
to OpenSRF::Application
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] In Application::handler()
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] We got a REQUEST:
open-ils.storage.direct.actor.org_unit.retrieve.all.atomic
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] * Looking up
open-ils.storage.direct.actor.org_unit.retrieve.all.atomic inside
[2006-3-31 8:50:7] org_tree_js.pl [DEBG:30074:::] * Method API Level [1]
evergreen:/openils/var/log#
==============
Anything else?
More information about the Open-ils-dev
mailing list