ankush grover
2005-09-13 13:03:03 UTC
hey friends,
I downloaded mod_backhand.1.2.2 from www.backhand.org<http://www.backhand.org>
site.Apache 2.0.53-3.3 is already installed on my system.I am using Fedora
Core3(redhat distribution).I read the INSTALL file which is there in the
mod_backhand source directory.
When I tried to run this command (as per the INSTALL file for post Apache
Installation)
/usr/sbin/apxs -c -o mod_backhand.so apue.c arriba.c back_util.c
builtins.cmod_backhand.c
I got the following error
/bin/sh /usr/lib/apr/build/libtool --silent --mode=compile gcc -prefer-pic
-O2 -g -pipe -m32 -march=i386 -mtune=pentium4
-DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-pthread -I/usr/include/apr-0 -I/usr/include/httpd -c -o apue.lo apue.c &&
touch apue.slo
apue.c: In function `cli_conn':
apue.c:322: error: `MAXPATHLEN' undeclared (first use in this function)
apue.c:322: error: (Each undeclared identifier is reported only once
apue.c:322: error: for each function it appears in.)
apxs:Error: Command failed with rc=65536
/usr/sbin/apxs -c -o byHostname.so byHostname.c
the output of this command is :
/bin/sh /usr/lib/apr/build/libtool --silent --mode=compile gcc -prefer-pic
-O2 -g -pipe -m32 -march=i386 -mtune=pentium4
-DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-pthread -I/usr/include/apr-0 -I/usr/include/httpd -c -o byHostname.lo
byHostname.c && touch byHostname.slo
byHostname.c: In function `byHostname':
byHostname.c:32: warning: passing arg 4 of `ap_log_error' makes integer from
pointer without a cast
byHostname.c:32: warning: passing arg 5 of `ap_log_error' from incompatible
pointer type
/bin/sh /usr/lib/apr/build/libtool --silent --mode=link gcc -o
byHostname.la-rpath /usr/lib/httpd/modules -module -avoid-version
byHostname.lo
There is no byHostname.so and mod_backhand.so.
Please help me in installing mod_backhand.so on Fedora Core 3.
Thanks & Regards
Ankush Grover
I downloaded mod_backhand.1.2.2 from www.backhand.org<http://www.backhand.org>
site.Apache 2.0.53-3.3 is already installed on my system.I am using Fedora
Core3(redhat distribution).I read the INSTALL file which is there in the
mod_backhand source directory.
When I tried to run this command (as per the INSTALL file for post Apache
Installation)
/usr/sbin/apxs -c -o mod_backhand.so apue.c arriba.c back_util.c
builtins.cmod_backhand.c
I got the following error
/bin/sh /usr/lib/apr/build/libtool --silent --mode=compile gcc -prefer-pic
-O2 -g -pipe -m32 -march=i386 -mtune=pentium4
-DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-pthread -I/usr/include/apr-0 -I/usr/include/httpd -c -o apue.lo apue.c &&
touch apue.slo
apue.c: In function `cli_conn':
apue.c:322: error: `MAXPATHLEN' undeclared (first use in this function)
apue.c:322: error: (Each undeclared identifier is reported only once
apue.c:322: error: for each function it appears in.)
apxs:Error: Command failed with rc=65536
/usr/sbin/apxs -c -o byHostname.so byHostname.c
the output of this command is :
/bin/sh /usr/lib/apr/build/libtool --silent --mode=compile gcc -prefer-pic
-O2 -g -pipe -m32 -march=i386 -mtune=pentium4
-DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-pthread -I/usr/include/apr-0 -I/usr/include/httpd -c -o byHostname.lo
byHostname.c && touch byHostname.slo
byHostname.c: In function `byHostname':
byHostname.c:32: warning: passing arg 4 of `ap_log_error' makes integer from
pointer without a cast
byHostname.c:32: warning: passing arg 5 of `ap_log_error' from incompatible
pointer type
/bin/sh /usr/lib/apr/build/libtool --silent --mode=link gcc -o
byHostname.la-rpath /usr/lib/httpd/modules -module -avoid-version
byHostname.lo
There is no byHostname.so and mod_backhand.so.
Please help me in installing mod_backhand.so on Fedora Core 3.
Thanks & Regards
Ankush Grover