[Mono-list] mod_mono installation error

Gonzalo Paniagua Javier gonzalo@ximian.com
Wed, 29 Oct 2003 17:00:47 -0800


El sáb, 25-10-2003 a las 08:57, amerigo5 amerigo5 escribió:
> Hi,
> 
> Does anyone recognize the following error when installing mod_mono?
> 
> In file included from /usr/local/include/mono/io-layer/io-layer.h:25,
>                  from /usr/local/include/mono/metadata/loader.h:6,
>                  from /usr/local/include/mono/metadata/class.h:6,
>                  from /usr/local/include/mono/metadata/object.h:4,
>                  from /usr/local/include/mono/metadata/appdomain.h:15,
>                  from /usr/local/include/mono/jit/jit.h:11,
>                  from mod_mono_old.c:58:
> /usr/local/include/mono/io-layer/uglify.h:19: parse error before '*' token
> /usr/local/include/mono/io-layer/uglify.h:20: parse error before '*' token
> /usr/local/include/mono/io-layer/uglify.h:21: parse error before "BYTE"
> /usr/local/include/mono/io-layer/uglify.h:22: parse error before '*' token
> /usr/local/include/mono/io-layer/uglify.h:23: parse error before "WORD"
> /usr/local/include/mono/io-layer/uglify.h:25: parse error before "PVOID"
> /usr/local/include/mono/io-layer/uglify.h:26: parse error before "LPVOID"
> /usr/local/include/mono/io-layer/uglify.h:27: parse error before "BOOL"
> /usr/local/include/mono/io-layer/uglify.h:29: parse error before "LONG"
> /usr/local/include/mono/io-layer/uglify.h:31: parse error before '*' token
> /usr/local/include/mono/io-layer/uglify.h:32: parse error before "LONGLONG"
> /usr/local/include/mono/io-layer/uglify.h:33: parse error before "TCHAR"
> /usr/local/include/mono/io-layer/uglify.h:36: parse error before "HANDLE"
> /usr/local/include/mono/io-layer/uglify.h:37: parse error before '*' token
> /usr/local/include/mono/io-layer/uglify.h:39: parse error before "HMODULE"
> /usr/local/include/mono/io-layer/uglify.h:44: parse error before 
> "LPTHREAD_START_ROUTINE"
> /usr/local/include/mono/io-layer/uglify.h:47: parse error before "FILETIME"
> /usr/local/include/mono/io-layer/uglify.h:48: parse error before '*' token
> /usr/local/include/mono/io-layer/uglify.h:49: parse error before 
> "SYSTEMTIME"
> /usr/local/include/mono/io-layer/uglify.h:50: parse error before '*' token
> /usr/local/include/mono/io-layer/uglify.h:51: parse error before "WSADATA"
> /usr/local/include/mono/io-layer/uglify.h:52: parse error before '*' token
> /usr/local/include/mono/io-layer/uglify.h:53: parse error before 
> "LARGE_INTEGER"/usr/local/include/mono/io-layer/uglify.h:54: parse error 
> before '*' token
> /usr/local/include/mono/io-layer/uglify.h:57: parse error before 
> "FLOATING_SAVE_AREA"
> /usr/local/include/mono/io-layer/uglify.h:58: parse error before '*' token
> /usr/local/include/mono/io-layer/uglify.h:59: parse error before "CONTEXT"
> /usr/local/include/mono/io-layer/uglify.h:60: parse error before '*' token
> /usr/local/include/mono/io-layer/uglify.h:61: parse error before 
> "WIN32_FIND_DATA"
> /usr/local/include/mono/io-layer/uglify.h:62: parse error before '*' token
> /usr/local/include/mono/io-layer/uglify.h:63: parse error before 
> "WIN32_FILE_ATTRIBUTE_DATA"
> In file included from /usr/local/include/mono/metadata/class.h:6,
>                  from /usr/local/include/mono/metadata/object.h:4,
>                  from /usr/local/include/mono/metadata/appdomain.h:15,
>                  from /usr/local/include/mono/jit/jit.h:11,
>                  from mod_mono_old.c:58:
> /usr/local/include/mono/metadata/loader.h:25: parse error before "guint16"
> /usr/local/include/mono/metadata/loader.h:30: parse error before "addr"
> /usr/local/include/mono/metadata/loader.h:31: parse error before "info"
> /usr/local/include/mono/metadata/loader.h:32: parse error before 
> "remoting_tramp
> 
> 
> The above text is just a partially generated error.
> 
> Please let me know what's causing the error. Thank you.

That' probably because your PKG_CONFIG_PATH does not contain the mono.pc
file.

-Gonzalo