User Tools

Site Tools


troubleshooting:problems_compiling_evergreen

Troubleshooting: Problems compiling Evergreen

apr.h error (apr_off_t)

Problem

Error message returned during make:

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'

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:

CFLAGS=-D_LARGEFILE64_SOURCE make

*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:

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

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.

troubleshooting/problems_compiling_evergreen.txt · Last modified: 2022/02/10 13:34 by 127.0.0.1

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.