User Tools

Site Tools


troubleshooting:problems_compiling_evergreen

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
troubleshooting:problems_compiling_evergreen [2007/05/08 20:29] – created dbstroubleshooting:problems_compiling_evergreen [2022/02/10 13:34] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +======Troubleshooting: Problems compiling Evergreen======
  
 +=====apr.h error (apr_off_t)=====
 +====Problem====
 +Error message returned during make:
 +<code>In file included from /usr/include/httpd/ap_config.h:25,
 +                      from /usr/include/httpd/httpd.h:43,
 +                      from apachetools.h:1,
 +                      from apachetools.c:1:
 +/usr/include/apr-1/apr.h:270: error exprected '=', ',',':', 'asm' or
 +'__attribute__' before 'apr_off_t'</code>
 +====Solution====
 +On February 22nd (1), Bill committed a patch to the 1_0 and HEAD
 +branches that respects CFLAGS settings for x86-32 platforms,
 +specifically to address this problem on 32-bit Debian. A similar problem has been reported on
 +Fedora Core 5. To avoid this error, use the following command to make Evergreen:
 +<code>
 +CFLAGS=-D_LARGEFILE64_SOURCE make
 +</code>
 +
 +*1 See http://list.georgialibraries.org/pipermail/open-ils-dev/2007-February/000362.html
 +
 +=====Problem with autogen.sh: Can't call method "opac_visible" =====
 +====Problem====
 +When running ''autogen.sh'' to generate the required catalogue files, you receive the following output:
 +<code>Updating fieldmapper
 +Updating web_fieldmapper
 +Updating OrgTree
 +removing OrgTree from the cache...
 +Updating OrgTree HTML
 +Can't call method "opac_visible" on an undefined value at org_tree_html_options.pl line 28.
 +Done</code>
 +====Solution====
 +Open your ''opensrf.xml'' file and ensure that the value of the ''<driver>'' elements in the ''/opensrf/default/apps/open-ils.cstore/app_settings'' and the ''/opensrf/default/apps/open-ils.reporter-store/app_settings'' sections is ''pgsql'', not ''Pg''. The driver for any applications with ''<language>C</language>'' must be ''pgsql'', which specifies the corresponding libdbi / libdbdpgsql drivers written in C.

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.