Hi all,
I am having a hard time trying to get Apache built with php support to test
Squirellmail!! I am using Apachetoolbox as I have no experience in doing
this sort of thing other than with tollbox.
When I get to the make in Apache I am getting:
In file included from ../include/httpd.h:74,
from ap_cpystrn.c:59:
../include/buff.h:130: parse error before `ap_ctx'
../include/buff.h:130: warning: no semicolon at end of struct or union
../include/buff.h:141: parse error before `}'
make[3]: *** [ap_cpystrn.o] Error 1
make[2]: *** [subdirs] Error 1
from what I see: ap_cpystrn is including httpd.h which includes buff.h which
has the offending line.
The relevant section from buff.h seems to be (have included the entire
structure ap_ctx is toward the bottom. I am stumped as never had this
trouble before. This is on a reasonably new RH7.2 install.
struct buff_struct {
int flags; /* flags */
unsigned char *inptr; /* pointer to next location to read */
int incnt; /* number of bytes left to read from input buffer;
* always 0 if had a read error */
int outchunk; /* location of chunk header when chunking */
int outcnt; /* number of byte put in output buffer */
unsigned char *inbase;
unsigned char *outbase;
int bufsiz;
void (*error) (BUFF *fb, int op, void *data);
void *error_data;
long int bytes_sent; /* number of bytes actually written */
ap_pool *pool;
/* could also put pointers to the basic I/O routines here */
int fd; /* the file descriptor */
int fd_in; /* input file descriptor, if different */
#ifdef WIN32
HANDLE hFH; /* Windows filehandle */
#endif
/* transport handle, for RPC binding handle or some such */
void *t_handle;
#ifdef EAPI
ap_ctx *ctx;
#endif /* EAPI */
#ifdef B_SFIO
Sfio_t *sf_in;
Sfio_t *sf_out;
#endif
void *callback_data;
void (*filter_callback)(BUFF *, const void *, int );
};
_________________________________________
Simon Bryan
IT Manager - OLMC Parramatta
ICQ#:137562751
http://www.olmc.nsw.edu.au
_________________________________________
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug