hi, i have mono 2.8 installed from source and want to build mod_managed. my server running on centos 5.5, but when i compile the module i got this error g++ -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE -DHAVE_CONFIG_H -c -o freeswitch_managed.o freeswitch_managed.cpp In file included from freeswitch_managed.cpp:35: freeswitch_managed.h:43:18: error: glib.h: No such file or directory freeswitch_managed.h:44:26: error: mono/jit/jit.h: No such file or directory freeswitch_managed.h:45:36: error: mono/metadata/assembly.h: No such file or directory freeswitch_managed.h:46:39: error: mono/metadata/environment.h: No such file or directory freeswitch_managed.h:47:39: error: mono/metadata/mono-config.h: No such file or directory freeswitch_managed.h:48:35: error: mono/metadata/threads.h: No such file or directory freeswitch_managed.h:49:41: error: mono/metadata/debug-helpers.h: No such file or directory freeswitch_managed.h:56: error: ISO C++ forbids declaration of âMonoDomainâ with no type freeswitch_managed.h:56: error: expected â;â before â*â token freeswitch_managed.h:57: error: ISO C++ forbids declaration of âMonoAssemblyâ with no type freeswitch_managed.h:57: error: expected â;â before â*â token freeswitch_managed.h:60: error: ISO C++ forbids declaration of âMonoMethodâ with no type freeswitch_managed.h:60: error: expected â;â before â*â token thx budi
You are missing development headers for glib as well as the mono devel headers. yum install glib-devel will solve the glib. RPMForge has more current mono packages but haven't used it first hand to know the exact requirements of mod_managed. http://www.rpmrepo.org/RPMforge/Using mono-devel at a minimum I suspect. Don't know if there are any other dependences that yum doesn't solve for you. http://packages.sw.be/mono/ -- W
see this patch for an interim solution http://jira.freeswitch.org/browse/FS-2774 -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/mod-managed-installation-tp573... Sent from the freeswitch-users mailing list archive at Nabble.com.
participants (3)
-
budi wibowo
-
Jeff Lenk
-
William Suffill