On Wed, 22 Apr 2009, Nick Kew wrote:
On 22 Apr 2009, at 01:28, Mike Diggins wrote:Anyone using mod_auth_xradius-0.4.6 with Apache 2.x under Solaris 10 (or any version of Solaris)? I can't get it to compile and I don't know why. I could use a hand.Tell us what the problem is, and maybe someone can help.
This is what I get. diggins@rh1<~/mod_auth_xradius-0.4.6># ./configure configure: creating config.nice checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... sparc-sun-solaris2.10 checking host system type... sparc-sun-solaris2.10 checking target system type... sparc-sun-solaris2.10 checking for a BSD-compatible install... config/install-sh -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /usr/local/bin/sed checking for egrep... egrep checking for ld used by gcc... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking for a BSD-compatible install... config/install-sh -c checking for ranlib... ranlib checking for apxs... /usr/local/apache2/bin/apxs checking for Apache 2.0 version >= 2.0.40... yes checking dynamic linker characteristics... solaris2.10 ld.so checking for apr_memcache library in /usr/local/apache2/lib... no checking for apr_memcache library in /usr/local/lib... no checking for apr_memcache library in /usr/lib... no checking for apr_memcache library in /usr/local/apache2/lib... no configure: *** memcache library not found. configure: creating ./config.status config.status: creating Makefile config.status: creating include/mod_auth_xradius.h config.status: creating include/mod_auth_xradius_config.h config.status: executing depfiles commands --- Configuration summary for mod_auth_xradius: * mod_auth_xradius version: 0.4.6 * Apache Modules directory: /usr/local/apache2/modules --- diggins@rh1<~/mod_auth_xradius-0.4.6># makeif /usr/local/apache2/build/libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I./include -Wall -I./libradius -L/usr/local/lib -R/usr/local/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib -L/usr/openwin/lib -R/usr/openwin/lib -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/usr/local/apache2/include -I/usr/local/apache2/include -I/usr/local/apache2/include -I/usr/local/include -g -O2 -MT mod_auth_xradius_la-mod_auth_xradius.lo -MD -MP -MF ".deps/mod_auth_xradius_la-mod_auth_xradius.Tpo" -c -o mod_auth_xradius_la-mod_auth_xradius.lo `test -f 'src/mod_auth_xradius.c' || echo './'`src/mod_auth_xradius.c; \ then mv -f ".deps/mod_auth_xradius_la-mod_auth_xradius.Tpo" ".deps/mod_auth_xradius_la-mod_auth_xradius.Plo"; else rm -f ".deps/mod_auth_xradius_la-mod_auth_xradius.Tpo"; exit 1; fi
mkdir .libsgcc -DHAVE_CONFIG_H -I. -I. -I./include -Wall -I./libradius -L/usr/local/lib -R/usr/local/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib -L/usr/openwin/lib -R/usr/openwin/lib -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/usr/local/apache2/include -I/usr/local/apache2/include -I/usr/local/apache2/include -I/usr/local/include -g -O2 -MT mod_auth_xradius_la-mod_auth_xradius.lo -MD -MP -MF .deps/mod_auth_xradius_la-mod_auth_xradius.Tpo -c src/mod_auth_xradius.c -fPIC -DPIC -o .libs/mod_auth_xradius_la-mod_auth_xradius.o
In file included from src/mod_auth_xradius.c:29: libradius/radlib.h:196: error: parse error before "xrad_cvt_int"libradius/radlib.h:196: warning: type defaults to `int' in declaration of `xrad_cvt_int' libradius/radlib.h:196: warning: data definition has no type or storage class
libradius/radlib.h:206: error: parse error before "u_int32_t" *** Error code 1make: Fatal error: Command failed for target `mod_auth_xradius_la-mod_auth_xradius.lo'
diggins@rh1<~/mod_auth_xradius-0.4.6># -Mike --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx