httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fernando Marques <ferna...@las.ic.unicamp.br>
Subject Error when compiling flood-0.4
Date Mon, 06 Oct 2003 23:20:26 GMT

Hello,

I experienced an error when compiling flood-0.4. For instance, I'm using 
Red Hat 9. First, I've used your recomendations: 

% ./buildconf -> output in build.txt
% ./configure --disable-shared -> output in configure.txt
% make all

And I received the following error:

[root@gadd flood-0.4]# make all
build/rules.mk:57: /build/config_vars.mk: No such file or directory
make: *** No rule to make target `/build/config_vars.mk'.  Stop.

So, I edited the build/rules.mk file, putting the correct path in the 
include of the line 57. Then, when I run make all again, he finds the 
config_vars.mk file, but:

/bin/sh /usr/share/build/libtool --silent --mode=compile gcc    -g -O2   
-pthread    -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
-D_SVID_SOURCE -D_GNU_SOURCE -I/usr/include   -I/usr/include  -I.   -c 
flood.c && touch flood.lo
/usr/share/build/libtool: /usr/share/build/libtool: No such file or 
directory
make: *** [flood.lo] Error 127

So, I thought that he was unable to find the libtool binary, and I made a 
soft link pointing to the correct file, in my /usr/bin directory. When I 
run make all:

[root@gadd flood-0.4]# make all
/bin/sh /usr/share/build/libtool --silent --mode=compile gcc    -g -O2   
-pthread    -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
-D_SVID_SOURCE -D_GNU_SOURCE -I/usr/include   -I/usr/include  -I.   -c 
flood.c && touch flood.lo
flood.c:60:25: apr.h: No such file or directory
flood.c:61:50: apr_general.h: No such file or directory
flood.c:62:25: apr_strings.h: No such file or directory
flood.c:63:25: apr_file_io.h: No such file or directory
flood.c:64:23: apr_pools.h: No such file or directory
In file included from flood.c:67:
flood_profile.h:60:60: apr_network_io.h: No such file or directory
flood_profile.h:61:23: apr_pools.h: No such file or directory
flood_profile.h:62:21: apr_uri.h: No such file or directory
In file included from flood_profile.h:64,
                 from flood.c:67:
flood_config.h:60:25: apr_file_io.h: No such file or directory
flood_config.h:61:23: apr_pools.h: No such file or directory
flood_config.h:62:21: apr_xml.h: No such file or directory
In file included from flood_profile.h:64,
                 from flood.c:67:

(...)

flood.c:148: `APR_OS_DEFAULT' undeclared (first use in this function)
flood.c:158: `stat' undeclared (first use in this function)
flood.c:158: `APR_SUCCESS' undeclared (first use in this function)
make: *** [flood.lo] Error 1

Then, I gave up. Can you help? Do you have binaries (rpm) of this tool? 
I'm really interested on it ..

Regards,
Fernando

Mime
View raw message