[OPEN-ILS-DEV] Build errors on Debian
Don McMorris
don.mcmorris at gmail.com
Thu Mar 30 21:14:03 EST 2006
I'm doing a new attempt on building evergreen again, this time on
debian. I followed the directions as posted in the wiki, but am
getting errors...
=======================
evergreen:~/ILS# make
Building...
-------------- [ opensrf_all ] -------------------------------------------
objson/libobjson.so
utils
transport
stack
libopensrf.so
apps
libstack/opensrf
router
srfsh
jserver
gateway
In file included from apachetools.c:1:
apachetools.h:1:19: error: httpd.h: No such file or directory
apachetools.h:2:25: error: http_config.h: No such file or directory
apachetools.h:3:23: error: http_core.h: No such file or directory
apachetools.h:4:27: error: http_protocol.h: No such file or directory
apachetools.h:5:24: error: apr_compat.h: No such file or directory
apachetools.h:6:25: error: apr_strings.h: No such file or directory
apachetools.h:7:25: error: apr_reslist.h: No such file or directory
apachetools.h:8:22: error: http_log.h: No such file or directory
In file included from apachetools.c:1:
apachetools.h:22: error: syntax error before '*' token
apachetools.c:3: error: syntax error before '*' token
apachetools.c: In function 'apacheParseParms':
apachetools.c:5: error: 'r' undeclared (first use in this function)
apachetools.c:5: error: (Each undeclared identifier is reported only once
apachetools.c:5: error: for each function it appears in.)
apachetools.c:8: error: 'apr_pool_t' undeclared (first use in this function)
apachetools.c:8: error: 'p' undeclared (first use in this function)
apachetools.c:21: warning: implicit declaration of function
'ap_setup_client_block'
apachetools.c:21: error: 'REQUEST_CHUNKED_DECHUNK' undeclared (first
use in this function)
apachetools.c:23: warning: implicit declaration of function
'ap_should_client_block'
apachetools.c:29: warning: implicit declaration of function
'ap_get_client_block'
apachetools.c:39: warning: implicit declaration of function 'apr_pstrdup'
apachetools.c:56: warning: implicit declaration of function 'ap_getword'
apachetools.c:56: warning: assignment makes pointer from integer without a cast
apachetools.c:58: warning: assignment makes pointer from integer without a cast
apachetools.c:62: warning: implicit declaration of function 'ap_unescape_url'
apachetools.c: In function 'apacheError':
apachetools.c:126: error: 'HTTP_INTERNAL_SERVER_ERROR' undeclared
(first use in this function)
make[2]: *** [apachetools.o] Error 1
make[1]: *** [gateway] Error 2
-------------- [ openils_all ] -------------------------------------------
mod_xmlbuilder
In file included from mod_xmlbuilder.h:1,
from mod_xmlbuilder.c:1:
/root/ILS/.tmp/opensrf/apachetools.h:1:19: error: httpd.h: No such
file or directory
/root/ILS/.tmp/opensrf/apachetools.h:2:25: error: http_config.h: No
such file or directory
/root/ILS/.tmp/opensrf/apachetools.h:3:23: error: http_core.h: No such
file or directory
/root/ILS/.tmp/opensrf/apachetools.h:4:27: error: http_protocol.h: No
such file or directory
/root/ILS/.tmp/opensrf/apachetools.h:5:24: error: apr_compat.h: No
such file or directory
/root/ILS/.tmp/opensrf/apachetools.h:6:25: error: apr_strings.h: No
such file or directory
/root/ILS/.tmp/opensrf/apachetools.h:7:25: error: apr_reslist.h: No
such file or directory
/root/ILS/.tmp/opensrf/apachetools.h:8:22: error: http_log.h: No such
file or directory
In file included from mod_xmlbuilder.h:1,
from mod_xmlbuilder.c:1:
/root/ILS/.tmp/opensrf/apachetools.h:22: error: syntax error before '*' token
In file included from mod_xmlbuilder.c:1:
mod_xmlbuilder.h:32: error: syntax error before 'AP_MODULE_DECLARE_DATA'
mod_xmlbuilder.h:32: warning: type defaults to 'int' in declaration of
'xmlbuilder_module'
mod_xmlbuilder.h:32: warning: data definition has no type or storage class
mod_xmlbuilder.c:4: error: syntax error before '*' token
mod_xmlbuilder.c:4: warning: type defaults to 'int' in declaration of
'currentRec'
mod_xmlbuilder.c:4: warning: data definition has no type or storage class
mod_xmlbuilder.c:8: error: syntax error before '*' token
mod_xmlbuilder.c: In function 'xmlBuilderSetBaseDir':
mod_xmlbuilder.c:9: warning: implicit declaration of function
'ap_get_module_config'
mod_xmlbuilder.c:10: error: 'params' undeclared (first use in this function)
mod_xmlbuilder.c:10: error: (Each undeclared identifier is reported only once
mod_xmlbuilder.c:10: error: for each function it appears in.)
mod_xmlbuilder.c:10: warning: initialization makes pointer from
integer without a cast
mod_xmlbuilder.c:11: error: 'arg' undeclared (first use in this function)
mod_xmlbuilder.c: At top level:
mod_xmlbuilder.c:16: error: syntax error before '*' token
mod_xmlbuilder.c: In function 'xmlBuilderSetDefaultLocale':
mod_xmlbuilder.c:18: error: 'params' undeclared (first use in this function)
mod_xmlbuilder.c:18: warning: initialization makes pointer from
integer without a cast
mod_xmlbuilder.c:19: error: 'arg' undeclared (first use in this function)
mod_xmlbuilder.c: At top level:
mod_xmlbuilder.c:24: error: syntax error before '*' token
mod_xmlbuilder.c: In function 'xmlBuilderSetDefaultDtd':
mod_xmlbuilder.c:26: error: 'params' undeclared (first use in this function)
mod_xmlbuilder.c:26: warning: initialization makes pointer from
integer without a cast
mod_xmlbuilder.c:27: error: 'arg' undeclared (first use in this function)
mod_xmlbuilder.c: At top level:
mod_xmlbuilder.c:37: error: syntax error before '*' token
mod_xmlbuilder.c: In function 'xmlBuilderSetLocaleParam':
mod_xmlbuilder.c:39: error: 'params' undeclared (first use in this function)
mod_xmlbuilder.c:39: warning: initialization makes pointer from
integer without a cast
mod_xmlbuilder.c:40: error: 'arg' undeclared (first use in this function)
mod_xmlbuilder.c: At top level:
mod_xmlbuilder.c:46: error: syntax error before '*' token
mod_xmlbuilder.c: In function 'xmlBuilderSetPostXSL':
mod_xmlbuilder.c:48: error: 'params' undeclared (first use in this function)
mod_xmlbuilder.c:48: warning: initialization makes pointer from
integer without a cast
mod_xmlbuilder.c:49: error: 'arg' undeclared (first use in this function)
mod_xmlbuilder.c: At top level:
mod_xmlbuilder.c:56: error: syntax error before '*' token
mod_xmlbuilder.c: In function 'xmlBuilderSetContentType':
mod_xmlbuilder.c:58: error: 'params' undeclared (first use in this function)
mod_xmlbuilder.c:58: warning: initialization makes pointer from
integer without a cast
mod_xmlbuilder.c:59: error: 'arg' undeclared (first use in this function)
mod_xmlbuilder.c: At top level:
mod_xmlbuilder.c:64: error: syntax error before 'xmlBuilderCommands'
mod_xmlbuilder.c:64: warning: type defaults to 'int' in declaration of
'xmlBuilderCommands'
mod_xmlbuilder.c:65: warning: implicit declaration of function 'AP_INIT_TAKE1'
mod_xmlbuilder.c:66: error: 'RSRC_CONF' undeclared here (not in a function)
mod_xmlbuilder.c:66: error: initializer element is not constant
mod_xmlbuilder.c:66: error: (near initialization for 'xmlBuilderCommands[0]')
mod_xmlbuilder.c:68: error: initializer element is not constant
mod_xmlbuilder.c:68: error: (near initialization for 'xmlBuilderCommands[1]')
mod_xmlbuilder.c:70: error: initializer element is not constant
mod_xmlbuilder.c:70: error: (near initialization for 'xmlBuilderCommands[2]')
mod_xmlbuilder.c:72: error: initializer element is not constant
mod_xmlbuilder.c:72: error: (near initialization for 'xmlBuilderCommands[3]')
mod_xmlbuilder.c:74: error: initializer element is not constant
mod_xmlbuilder.c:74: error: (near initialization for 'xmlBuilderCommands[4]')
mod_xmlbuilder.c:76: error: initializer element is not constant
mod_xmlbuilder.c:76: error: (near initialization for 'xmlBuilderCommands[5]')
mod_xmlbuilder.c:77: warning: braces around scalar initializer
mod_xmlbuilder.c:77: warning: (near initialization for 'xmlBuilderCommands[6]')
mod_xmlbuilder.c:77: warning: initialization makes integer from
pointer without a cast
mod_xmlbuilder.c:78: warning: data definition has no type or storage class
mod_xmlbuilder.c:80: error: syntax error before '*' token
mod_xmlbuilder.c: In function 'xmlBuilderCreateConfig':
mod_xmlbuilder.c:82: warning: implicit declaration of function 'apr_palloc'
mod_xmlbuilder.c:82: error: 'p' undeclared (first use in this function)
mod_xmlbuilder.c: At top level:
mod_xmlbuilder.c:94: error: syntax error before '*' token
mod_xmlbuilder.c:97: error: syntax error before '*' token
mod_xmlbuilder.c: In function 'xmlBuilderHandler':
mod_xmlbuilder.c:99: error: 'r' undeclared (first use in this function)
mod_xmlbuilder.c:99: error: request for member 'handler' in something
not a structure or union
mod_xmlbuilder.c:99: error: request for member 'handler' in something
not a structure or union
mod_xmlbuilder.c:99: warning: passing argument 1 of 'strlen' from
incompatible pointer type
mod_xmlbuilder.c:99: error: request for member 'handler' in something
not a structure or union
mod_xmlbuilder.c:99: error: request for member 'handler' in something
not a structure or union
mod_xmlbuilder.c:99: error: invalid operands to binary -
mod_xmlbuilder.c:99: warning: comparison between pointer and integer
mod_xmlbuilder.c:99: error: request for member 'handler' in something
not a structure or union
mod_xmlbuilder.c:99: warning: passing argument 1 of '__builtin_strcmp'
from incompatible pointer type
mod_xmlbuilder.c:99: error: request for member 'handler' in something
not a structure or union
mod_xmlbuilder.c:99: error: request for member 'handler' in something
not a structure or union
mod_xmlbuilder.c:99: error: request for member 'handler' in something
not a structure or union
mod_xmlbuilder.c:99: error: invalid operands to binary -
mod_xmlbuilder.c:99: warning: comparison between pointer and integer
mod_xmlbuilder.c:99: error: request for member 'handler' in something
not a structure or union
mod_xmlbuilder.c:99: warning: passing argument 1 of 'strlen' from
incompatible pointer type
mod_xmlbuilder.c:99: error: request for member 'handler' in something
not a structure or union
mod_xmlbuilder.c:99: warning: passing argument 1 of '__builtin_strcmp'
from incompatible pointer type
mod_xmlbuilder.c:99: error: request for member 'handler' in something
not a structure or union
mod_xmlbuilder.c:99: error: request for member 'handler' in something
not a structure or union
mod_xmlbuilder.c:99: error: request for member 'handler' in something
not a structure or union
mod_xmlbuilder.c:99: error: request for member 'handler' in something
not a structure or union
mod_xmlbuilder.c:99: error: request for member 'handler' in something
not a structure or union
mod_xmlbuilder.c:99: error: request for member 'handler' in something
not a structure or union
mod_xmlbuilder.c:99: error: request for member 'handler' in something
not a structure or union
mod_xmlbuilder.c:99: error: invalid operands to binary -
mod_xmlbuilder.c:99: warning: comparison between pointer and integer
mod_xmlbuilder.c:99: error: request for member 'handler' in something
not a structure or union
mod_xmlbuilder.c:99: warning: passing argument 1 of '__builtin_strcmp'
from incompatible pointer type
mod_xmlbuilder.c:99: error: request for member 'handler' in something
not a structure or union
mod_xmlbuilder.c:99: error: request for member 'handler' in something
not a structure or union
mod_xmlbuilder.c:99: warning: passing argument 1 of '__builtin_strcmp'
from incompatible pointer type
mod_xmlbuilder.c:99: error: 'DECLINED' undeclared (first use in this function)
mod_xmlbuilder.c:99: warning: return makes integer from pointer without a cast
mod_xmlbuilder.c:100: warning: statement with no effect
mod_xmlbuilder.c:103: error: request for member 'server' in something
not a structure or union
mod_xmlbuilder.c:103: error: request for member 'module_config' in
something not a structure or union
mod_xmlbuilder.c:103: warning: initialization makes pointer from
integer without a cast
mod_xmlbuilder.c:111: warning: implicit declaration of function 'ap_log_rerror'
mod_xmlbuilder.c:111: error: 'APLOG_MARK' undeclared (first use in
this function)
mod_xmlbuilder.c:111: error: 'APLOG_ERR' undeclared (first use in this function)
mod_xmlbuilder.c:113: error: 'HTTP_INTERNAL_SERVER_ERROR' undeclared
(first use in this function)
mod_xmlbuilder.c:113: warning: return makes integer from pointer without a cast
mod_xmlbuilder.c:116: error: request for member 'allowed' in something
not a structure or union
mod_xmlbuilder.c:116: error: 'AP_METHOD_BIT' undeclared (first use in
this function)
mod_xmlbuilder.c:116: error: 'M_GET' undeclared (first use in this function)
mod_xmlbuilder.c:116: error: invalid operands to binary <<
mod_xmlbuilder.c:116: warning: statement with no effect
mod_xmlbuilder.c:117: error: request for member 'allowed' in something
not a structure or union
mod_xmlbuilder.c:117: error: 'M_POST' undeclared (first use in this function)
mod_xmlbuilder.c:117: error: invalid operands to binary <<
mod_xmlbuilder.c:117: warning: statement with no effect
mod_xmlbuilder.c:124: error: request for member 'filename' in
something not a structure or union
mod_xmlbuilder.c:134: warning: implicit declaration of function
'ap_set_content_type'
mod_xmlbuilder.c:138: warning: implicit declaration of function 'apr_pcalloc'
mod_xmlbuilder.c:138: error: request for member 'pool' in something
not a structure or union
mod_xmlbuilder.c:138: error: 'MAX_STRING_LEN' undeclared (first use in
this function)
mod_xmlbuilder.c:138: warning: initialization makes pointer from
integer without a cast
mod_xmlbuilder.c:139: warning: implicit declaration of function
'apr_rfc822_date'
mod_xmlbuilder.c:139: warning: implicit declaration of function 'apr_time_now'
mod_xmlbuilder.c:139: warning: integer constant is too large for 'long' type
mod_xmlbuilder.c:140: warning: implicit declaration of function 'ap_table_set'
mod_xmlbuilder.c:140: error: request for member 'headers_out' in
something not a structure or union
mod_xmlbuilder.c:143: error: request for member 'headers_out' in
something not a structure or union
mod_xmlbuilder.c:155: error: request for member 'filename' in
something not a structure or union
mod_xmlbuilder.c:175: warning: implicit declaration of function 'ap_rputs'
mod_xmlbuilder.c:182: error: 'OK' undeclared (first use in this function)
mod_xmlbuilder.c:182: warning: return makes integer from pointer without a cast
mod_xmlbuilder.c: In function 'xmlBuilderStartElement':
mod_xmlbuilder.c:239: warning: pointer targets in passing argument 1
of 'strlen' differ in signedness
mod_xmlbuilder.c:239: warning: pointer targets in passing argument 1
of '__builtin_strcmp' differ in signedness
mod_xmlbuilder.c:239: warning: pointer targets in passing argument 1
of 'strlen' differ in signedness
mod_xmlbuilder.c:239: warning: pointer targets in passing argument 1
of '__builtin_strcmp' differ in signedness
mod_xmlbuilder.c:239: warning: pointer targets in passing argument 1
of '__builtin_strcmp' differ in signedness
mod_xmlbuilder.c:239: warning: pointer targets in passing argument 1
of '__builtin_strcmp' differ in signedness
mod_xmlbuilder.c: In function 'xmlBuilderAddAtts':
mod_xmlbuilder.c:298: warning: pointer targets in passing argument 1
of 'strlen' differ in signedness
mod_xmlbuilder.c:304: warning: pointer targets in passing argument 2
of '__builtin_strncat' differ in signedness
mod_xmlbuilder.c:306: warning: pointer targets in assignment differ in
signedness
mod_xmlbuilder.c:309: warning: pointer targets in passing argument 3
of 'xmlSetProp' differ in signedness
mod_xmlbuilder.c: In function 'xmlBuilderGetEntity':
mod_xmlbuilder.c:344: warning: pointer targets in passing argument 2
of 'osrfHashGet' differ in signedness
mod_xmlbuilder.c: In function 'xmlBuilderExtSubset':
mod_xmlbuilder.c:358: warning: pointer targets in passing argument 1
of 'xmlBuilderAddDtd' differ in signedness
mod_xmlbuilder.c: In function 'xmlBuilderAddDtd':
mod_xmlbuilder.c:398: warning: pointer targets in passing argument 2
of 'xmlParseDTD' differ in signedness
mod_xmlbuilder.c: At top level:
mod_xmlbuilder.c:419: error: syntax error before '*' token
mod_xmlbuilder.c: In function 'xmlBuilderRegisterHooks':
mod_xmlbuilder.c:420: warning: implicit declaration of function
'ap_hook_handler'
mod_xmlbuilder.c:420: error: 'APR_HOOK_MIDDLE' undeclared (first use
in this function)
mod_xmlbuilder.c:421: warning: implicit declaration of function
'ap_hook_child_init'
mod_xmlbuilder.c: At top level:
mod_xmlbuilder.c:426: error: syntax error before 'AP_MODULE_DECLARE_DATA'
mod_xmlbuilder.c:426: warning: type defaults to 'int' in declaration
of 'xmlbuilder_module'
mod_xmlbuilder.c:427: error: 'STANDARD20_MODULE_STUFF' undeclared here
(not in a function)
mod_xmlbuilder.c:428: warning: excess elements in scalar initializer
mod_xmlbuilder.c:428: warning: (near initialization for 'xmlbuilder_module')
mod_xmlbuilder.c:429: warning: excess elements in scalar initializer
mod_xmlbuilder.c:429: warning: (near initialization for 'xmlbuilder_module')
mod_xmlbuilder.c:430: warning: excess elements in scalar initializer
mod_xmlbuilder.c:430: warning: (near initialization for 'xmlbuilder_module')
mod_xmlbuilder.c:431: warning: excess elements in scalar initializer
mod_xmlbuilder.c:431: warning: (near initialization for 'xmlbuilder_module')
mod_xmlbuilder.c:432: warning: excess elements in scalar initializer
mod_xmlbuilder.c:432: warning: (near initialization for 'xmlbuilder_module')
mod_xmlbuilder.c:433: warning: excess elements in scalar initializer
mod_xmlbuilder.c:433: warning: (near initialization for 'xmlbuilder_module')
mod_xmlbuilder.c:434: warning: data definition has no type or storage class
make[2]: *** [mod_xmlbuilder.o] Error 1
make[1]: *** [mod_xmlbuilder] Error 2
-------------- [ evergreen_core ] -------------------------------------------
evergreen:~/ILS#
====================================
evergreen:~/ILS# make install
Installing...
Adding user opensrf to group opensrf
-------------- [ opensrf_all ] -------------------------------------------
install-prep
objson-install
opensrf-install
gateway-install
/usr/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/bin/libtool'
osrf_json_gateway.so /usr/lib/apache2/modules
/usr/bin/libtool --mode=install cp osrf_json_gateway.so
/usr/lib/apache2/modules/
cp osrf_json_gateway.so /usr/lib/apache2/modules/osrf_json_gateway.so
cp: cannot stat `osrf_json_gateway.so': No such file or directory
apxs:Error: Command failed with rc=65536
.
make[2]: *** [install] Error 1
make[1]: *** [gateway-install] Error 2
-------------- [ openils_all ] -------------------------------------------
perl-install
Installing Perl modules to /openils/lib//perl5/
webcore-install
Copying web into /openils/var/web
autojs-install
mod_xmlbuilder-install
/usr/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/bin/libtool'
mod_xmlbuilder.so /usr/lib/apache2/modules
/usr/bin/libtool --mode=install cp mod_xmlbuilder.so /usr/lib/apache2/modules/
cp mod_xmlbuilder.so /usr/lib/apache2/modules/mod_xmlbuilder.so
cp: cannot stat `mod_xmlbuilder.so': No such file or directory
apxs:Error: Command failed with rc=65536
.
make[2]: *** [mod_xmlbuilder-install] Error 1
make[1]: *** [mod_xmlbuilder-install] Error 2
-------------- [ evergreen_core ] -------------------------------------------
circ-install
iplist-install
perl-install
Now run: chown -R opensrf:opensrf /openils
evergreen:~/ILS#
=================================
These are the same (if not, similar) issues I've had every time I
built Evergreen. Previously, it was gentoo, now it's debian. Same
issues. Followed the Wiki (or so I thought). Am I missing something?
--Don
More information about the Open-ils-dev
mailing list