Sorry I made a mistake in my e-mail, I was talking about "httpd.h" not "httpd.conf".
I'm going to try with the apxs flag. Wait & see -----Message d'origine----- De : David N. Welton [mailto:[EMAIL PROTECTED] Envoyé : lundi 7 novembre 2005 19:00 À : Cyrille VIVION Cc : Rivet Developers Objet : Re: 0.7.0 beta Cyrille VIVION wrote: > I went deeper with my tests. Here is my situation. > httpd.h: I found this file in the "include" folder of my apache > installation. This folder is present even in an installation made from a > binary download. As I don't know how to specify the path to this include, I > copied all apache includes in Rivet folder. So the httpd.h file which be > involved in the following line is the one retrieved in the Apache 1.3.33 > installation by a binary download. Apxs exists to show information like that: $ apxs -q INCLUDEDIR /usr/include/apache-1.3 > Cygwin: With httpd.conf file present, the compilation goes a step further. httpd.conf doesn't matter one way or the other:-/ It shouldn't at least. > the error I face is now: > In file included from httpd.h:31, > from apache_request.h:5, > from apache_multipart_buffer.h:4, > from apache_multipart_buffer.c:21: > ap_mm.h:80: error: syntax error before "uid_t" > ap_mm.h:96: error: syntax error before "uid_t" > ap_mm.h:113: error: syntax error before "uid_t" > In file included from httpd.h:33, > from apache_request.h:5, > from apache_multipart_buffer.h:4, > from apache_multipart_buffer.c:21: > ap_alloc.h:46:21: readdir.h: No such file or directory > In file included from httpd.h:33, > from apache_request.h:5, > from apache_multipart_buffer.h:4, > from apache_multipart_buffer.c:21: > ap_alloc.h:314: error: syntax error before "HANDLE" > ap_alloc.h:335: error: syntax error before "HANDLE" > ap_alloc.h:339: error: syntax error before '*' token > ap_alloc.h:339: warning: data definition has no type or storage class > ap_alloc.h:340: error: syntax error before "DIR" > In file included from httpd.h:43, > from apache_request.h:5, > from apache_multipart_buffer.h:4, > from apache_multipart_buffer.c:21: > buff.h:79: error: syntax error before "HANDLE" > buff.h:79: warning: no semicolon at end of struct or union > buff.h:97: error: syntax error before '}' token > buff.h:115: error: syntax error before "HANDLE" > buff.h:176: error: syntax error before "HANDLE" > buff.h:176: warning: no semicolon at end of struct or union > buff.h:177: warning: data definition has no type or storage class > buff.h:178: error: syntax error before "hPipeErrorWrite" > buff.h:178: warning: data definition has no type or storage class > In file included from apache_request.h:5, > from apache_multipart_buffer.h:4, > from apache_multipart_buffer.c:21: > httpd.h:867: error: field `local_addr' has incomplete type > httpd.h:868: error: field `remote_addr' has incomplete type > httpd.h:910: error: field `host_addr' has incomplete type > httpd.h:964: error: syntax error before "uid_t" > httpd.h:964: warning: no semicolon at end of struct or union > httpd.h:965: warning: data definition has no type or storage class > httpd.h:974: error: syntax error before '}' token > httpd.h:979: error: field `local_addr' has incomplete type > httpd.h:1112: error: syntax error before "ap_uname2id" > httpd.h:1112: warning: data definition has no type or storage class > httpd.h:1113: error: syntax error before "ap_gname2id" > httpd.h:1113: warning: data definition has no type or storage class > make[2]: *** [mod_rivet_la-apache_multipart_buffer.lo] Error 1 > make[2]: Leaving directory `/cygdrive/c/Documents and > Settings/cvivion/Bureau/rivet-0.7.0/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/cygdrive/c/Documents and > Settings/cvivion/Bureau/rivet-0.7.0' > make: *** [all] Error 2 > > MinSys/MinGW : I installed MinSys/MinGW but the assessment is not better. I > face quite the same error: > In file included from httpd.h:33, > from apache_request.h:5, > from apache_multipart_buffer.h:4, > from apache_multipart_buffer.c:21: > ap_alloc.h:46:21: readdir.h: No such file or directory > In file included from httpd.h:33, > from apache_request.h:5, > from apache_multipart_buffer.h:4, > from apache_multipart_buffer.c:21: > ap_alloc.h:314: error: syntax error before "HANDLE" > ap_alloc.h:335: error: syntax error before "HANDLE" > ap_alloc.h:339: error: syntax error before '*' token > ap_alloc.h:339: warning: data definition has no type or storage class > ap_alloc.h:340: error: syntax error before "DIR" > In file included from httpd.h:43, > from apache_request.h:5, > from apache_multipart_buffer.h:4, > from apache_multipart_buffer.c:21: > buff.h:79: error: syntax error before "HANDLE" > buff.h:79: warning: no semicolon at end of struct or union > buff.h:97: error: syntax error before '}' token > buff.h:115: error: syntax error before "HANDLE" > buff.h:176: error: syntax error before "HANDLE" > buff.h:176: warning: no semicolon at end of struct or union > buff.h:177: warning: data definition has no type or storage class > buff.h:178: error: syntax error before "hPipeErrorWrite" > buff.h:178: warning: data definition has no type or storage class > In file included from apache_request.h:5, > from apache_multipart_buffer.h:4, > from apache_multipart_buffer.c:21: > httpd.h:867: error: field `local_addr' has incomplete type > httpd.h:868: error: field `remote_addr' has incomplete type > httpd.h:910: error: field `host_addr' has incomplete type > httpd.h:964: error: syntax error before "uid_t" > httpd.h:964: warning: no semicolon at end of struct or union > httpd.h:965: warning: data definition has no type or storage class > httpd.h:974: error: syntax error before '}' token > httpd.h:979: error: field `local_addr' has incomplete type > httpd.h:1112: error: syntax error before "ap_uname2id" > httpd.h:1112: warning: data definition has no type or storage class > httpd.h:1113: error: syntax error before "ap_gname2id" > httpd.h:1113: warning: data definition has no type or storage class > make[2]: *** [mod_rivet_la-apache_multipart_buffer.lo] Error 1 > make[2]: Leaving directory `/c/Documents and > Settings/cvivion/Bureau/rivet-0.7.0/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/c/Documents and > Settings/cvivion/Bureau/rivet-0.7.0' > make: *** [all] Error 2 Ugh:-/ I think maybe you have a problem with apxs, but I'm not sure. > I don't know how to progress in this compilation. If Rivet is distributed as > a Windows binary, there must be someone able to compile it, who is this > person ? Does he/she read this list ? Pat Thoyts was good enough to do the original windows work, but he is apparently not able to continue doing so at this point in time, so it's up to us. -- David N. Welton - http://www.dedasys.com/davidw/ Linux, Open Source Consulting - http://www.dedasys.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
