Has anybody successfully compiled mod_webapp and/or the APR library on
Solaris? I was able to compile everything without any trouble on a RedHat
7.1 system. But when I tried the same version of the sources (tonight's
CVS) on Solaris, it failed miserably (some output below). The errors seem
to be related to the APR library and I've tried to use a more recent one
which compiles without problems, but it creates conflicts when compiling
the mod_webapp module (it requires a different number of parameters and I
remember from a discussion here that it was considered safer to stay with
the older library).
TIA
---------------------------------- snip ---------------------------------
Compiling sources in /home/klaus/jakarta-tomcat-connectors/webapp/apr...
make[1]: Entering directory `/home/klaus/jakarta-tomcat-connectors/webapp/apr'
Making all in strings
make[2]: Entering directory
`/home/klaus/jakarta-tomcat-connectors/webapp/apr/strings'
make[3]: Entering directory
`/home/klaus/jakarta-tomcat-connectors/webapp/apr/strings'
/bin/sh /home/klaus/jakarta-tomcat-connectors/webapp/apr/libtool --silent
--mode
=compile gcc -DHAVE_CONFIG_H -DSOLARIS2=7 -D_POSIX_PTHREAD_SEMANTICS
-D_REENT
RANT -I../include -I../include/arch/unix -c apr_cpystrn.c && touch
apr_cpystrn.lo
In file included from apr_cpystrn.c:55:
../include/apr.h:187: #error Can not determine the proper size for apr_int64_t
../include/apr.h:242: #error Can not determine the proper size for ssize_t
../include/apr.h:245: #error Can not determine the proper size for size_t
../include/apr.h:254: #error Can not determine the proper size for apr_int64_t
make[3]: *** [apr_cpystrn.lo] Error 1
make[3]: Leaving directory
`/home/klaus/jakarta-tomcat-connectors/webapp/apr/strings'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/klaus/jakarta-tomcat-connectors/webapp/apr/strings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/klaus/jakarta-tomcat-connectors/webapp/apr'
make: *** [apr-all] Error 2
Compiling sources in /home/klaus/jakarta-tomcat-connectors/webapp/apr...
make[1]: Entering directory `/home/klaus/jakarta-tomcat-connectors/webapp/apr'
Making all in strings
make[2]: Entering directory
`/home/klaus/jakarta-tomcat-connectors/webapp/apr/strings'
make[3]: Entering directory
`/home/klaus/jakarta-tomcat-connectors/webapp/apr/strings'
/bin/sh /home/klaus/jakarta-tomcat-connectors/webapp/apr/libtool --silent
--mode=compile gcc -DHAVE_CONFIG_H -DSOLARIS2=7
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I../include
-I../include/arch/unix -c apr_cpystrn.c && touch apr_cpystrn.lo
In file included from apr_cpystrn.c:64:
/usr/include/string.h:43: warning: conflicting types for built-in function
`memcpy'
/usr/include/string.h:45: warning: conflicting types for built-in function
`strcpy'
/usr/include/string.h:51: warning: conflicting types for built-in function
`memcmp'
/usr/include/string.h:52: warning: conflicting types for built-in function
`strcmp'
apr_cpystrn.c:84: conflicting types for `apr_cpystrn'
../include/apr_strings.h:203: previous declaration of `apr_cpystrn'
apr_cpystrn.c:126: conflicting types for `apr_tokenize_to_argv'
../include/apr_strings.h:224: previous declaration of `apr_tokenize_to_argv'
apr_cpystrn.c:235: conflicting types for `apr_collapse_spaces'
../include/apr_strings.h:212: previous declaration of `apr_collapse_spaces'
make[3]: *** [apr_cpystrn.lo] Error 1
make[3]: Leaving directory
`/home/klaus/jakarta-tomcat-connectors/webapp/apr/strings'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/klaus/jakarta-tomcat-connectors/webapp/apr/strings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/klaus/jakarta-tomcat-connectors/webapp/apr'
make: *** [apr-all] Error 2