You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-dev@httpd.apache.org by Erica Man Kuen Wong <em...@bucket.its.unimelb.edu.au> on 2003/10/10 02:39:40 UTC

install and compiling flood

hi there, 

I have installed Apache2 in a Solaris machine.. and i wanted to install Flood.
I have installed the libtool-1.4 already.  

So i went to the site and do the cvs as following.. 

 % cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic login
 % cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co httpd-test/flood
 % cd httpd-test/flood
 % cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co apr
 % cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co apr-util

 % ./buildconf
 % ./configure --disable-shared --prefix=/students/mawong/apaches/bin

i have already set my $PATH to include the /students/mawong/apaches/bin 
so that the apr will find it. 

anyway, so far so good..

then when i do the 
make all

it gave me compile errors!

/students/mawong/src/httpd-test/flood/apr/libtool --silent --mode=compile gcc    -g -O2  -g -O2 -pthreads    -DSOLARIS2=9 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/students/mawong/src/httpd-test/flood/apr/include   -I/students/mawong/apache2/include -I/usr/local/include -I.   -c flood_round_robin.c && touch flood_round_robin.lo
In file included from flood_round_robin.c:87:
/usr/local/include/regex.h:145: parse error before `re_void'
/usr/local/include/regex.h:145: warning: data definition has no type or storage class
/usr/local/include/regex.h:314: parse error before `_ANSI_ARGS_'
/usr/local/include/regex.h:323: parse error before `_ANSI_ARGS_'
/usr/local/include/regex.h:326: parse error before `_ANSI_ARGS_'
*** Error code 1
make: Fatal error: Command failed for target `flood_round_robin.lo'

i have tried different version, the one from the cvs, and the tar version
of flood-0.4 

but all gave the same errrors.. 

what should i do?  is that something abut the regex.h file in the operating
system?  or i need to take care of something else..

thanks

Erica