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.
Cygwin: With httpd.conf file present, the compilation goes a step further.
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
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 ?
Cyrille VIVION
-----Message d'origine-----
De : David N. Welton [mailto:[EMAIL PROTECTED]
Envoyé : lundi 7 novembre 2005 14:56
À : Hicks, Robert
Cc : Cyrille VIVION; Rivet Developers
Objet : Re: 0.7.0 beta
Hicks, Robert wrote:
> I am not sure about cygwin but anything done with MingW should work
> fine.
If you windows guys can come up with a step-by-step how to make Rivet at
least compile on Windows, I'll either add it to the docs, or the wiki
(http://wiki.apache.org/tcl/FrontPage), and get the environment set up
on my own windows partition, so I can see about making things work
better WRT any thread problems.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]