Mailing List Archive

[mod_backhand-users] compile with apxs
I am having some touble compiling with apxs. Where is config.h being
created and do I need to do anything other than run this one line?

I don't want to compile mod_backhand into apache, but load it as a .so


[root@spencer mod_backhand]# /usr/sbin/apxs -c -o mod_backhand.so apue.c
arriba.c back_util.c builtins.c mod_backhand.c
gcc -DLINUX=2 -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../lib/expat-lite -O2 -
march=i386 -mcpu=i686 -fpic -DSHARED_MODULE -I/usr/include/apache -c apue.c
apue.c:13:20: config.h: No such file or directory
apxs:Break: Command failed with rc=65536
[mod_backhand-users] compile with apxs [ In reply to ]
On Tuesday, December 18, 2001, at 04:28 PM, Daniel Bondurant wrote:
> I am having some touble compiling with apxs. Where is config.h being
> created and do I need to do anything other than run this one line?

It is create by ./configure. Run:
./configure --with-apxs=/usr/sbin/apxs
make

This will run apxs for you.

> I don't want to compile mod_backhand into apache, but load it as a .so
> [root@spencer mod_backhand]# /usr/sbin/apxs -c -o mod_backhand.so apue.c
> arriba.c back_util.c builtins.c mod_backhand.c
> gcc -DLINUX=2 -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../lib/expat-lite
> -O2 -
> march=i386 -mcpu=i686 -fpic -DSHARED_MODULE -I/usr/include/apache -c
> apue.c
> apue.c:13:20: config.h: No such file or directory
> apxs:Break: Command failed with rc=65536

--
Theo Schlossnagle
1024D/82844984/95FD 30F1 489E 4613 F22E 491A 7E88 364C 8284 4984
2047R/33131B65/71 F7 95 64 49 76 5D BA 3D 90 B9 9F BE 27 24 E7