Discussion:
problem installing mod_backhand on FC3
ankush grover
2005-09-13 13:03:03 UTC
Permalink
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
Theo Schlossnagle
2005-09-13 14:47:16 UTC
Permalink
Post by 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.
mod_backhand works fine on FC3. mod_backhand doesn't work on Apache 2.
Use Apache 1.3 with mod_backhand.
--
// Theo Schlossnagle
// Principal Engineer -- http://www.omniti.com/~jesus/
// Ecelerity: Run with it. -- http://www.omniti.com/
Tam
2005-09-13 14:50:33 UTC
Permalink
Ankush,

Unfortunately mod_backhand is not supported with apache 2.

Note please though that its the first question on the FAQ... you really
should have looked there before posting here dude.

http://www.backhand.org/mod_backhand/FAQ.shtml#question0

Tam
Post by ankush grover
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.c mod_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: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
/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: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
------------------------------------------------------------------------
_______________________________________________
backhand-users mailing list
http://lists.backhand.org/mailman/listinfo/backhand-users
Loading...