<docbook><section><title>VOSBldMono</title><para>   </para>
<title> Building the Virtuoso Server with Mono hosting support</title> Building the Virtuoso Server with Mono hosting support
<bridgehead class="http://www.w3.org/1999/xhtml:h2"> Version Supported</bridgehead>
 Currently the Mono 1.1.6 is supported.<bridgehead class="http://www.w3.org/1999/xhtml:h2"> Configure and Compilation</bridgehead>
<para>To enable mono hosting binary the configure must be invoked with --enable-mono . This flag will enable  following action to be performed : </para>
<itemizedlist mark="bullet" spacing="compact"><listitem>download the appropriate mono version </listitem>
<listitem>apply a patch to the mono sources in order to allow Mono to be integrated in the Virtuoso server </listitem>
<listitem>compile the mono with the patch </listitem>
<listitem>make the Virtuoso Server with Mono hosting  support</listitem>
</itemizedlist><para>The mono-hosting-enabled binary requires the following environment variables to be set:</para>
<para>Expect next exports:</para>
<para>MONO_CFLAGS = -I /mono/include -I /mono/include/glib-2.0 -I /mono/lib/glib-2.0/include -DNO <emphasis>UDBC_SDK MONO_CFG_DIR = /mono/etc MONO_GAC_PATH = /mono/lib MONO_LDFLAGS = -L /mono/lib/libmono.a -L /mono/lib -lgmodule-2.0 -lglib-2.0 -lgthread-2.0 -lrt MONO_PATH = /mono/lib MONO_ROOT = /mono/lib</emphasis></para>
<para>To build the  VirtuosoClient.NET data provider, run the following:</para>
<programlisting> cd binsrc/VirtuosoClient.Net/
 make -f Makefile.mono
</programlisting><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h2"> Test</bridgehead>
<para>To test the Mono-enabled Virtuoso server, run:</para>
<programlisting>cd &lt;top&gt;/binsrc/hosting/mono/tests/
sh tclrsrv.sh 
</programlisting><para> </para>
<para><ulink url="CategoryVirtuoso">CategoryVirtuoso</ulink> <ulink url="CategoryWebSite">CategoryWebSite</ulink> <ulink url="CategoryMono">CategoryMono</ulink> <ulink url="CategoryOpenSource">CategoryOpenSource</ulink> </para>
</section></docbook>