You are here:
/ Dashboard / Main / VOSBuild / VOSBldMono

Building the Virtuoso Server with Mono hosting support

Version Supported

Currently Mono version 1.1.7 is supported.

Configure and Compilation

To enable mono hosting, run configure with the --enable-mono option. This flag will enable following action to be performed :

  • download the appropriate mono version
  • apply a patch to the mono sources in order to allow Mono to be integrated in the Virtuoso server
  • compile the mono with the patch
  • make the Virtuoso Server with Mono hosting support

The mono-hosting-enabled binary requires the following environment variables to be set:

Expect next exports:


MONO_CFLAGS = -I /mono/include -I /mono/include/glib-2.0 -I /mono/lib/glib-2.0/include -DNO_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

To build the VirtuosoClient.NET data provider, run the following:


 cd binsrc/VirtuosoClient.Net/
 make -f Makefile.mono

Test

To test the Mono-enabled Virtuoso server, run:


cd <top>/binsrc/hosting/mono/tests/
sh tclrsrv.sh 

Virtuoso and the Virtuoso Website are Copyright (C) OpenLink Software 2006-
SourceForge.net Logo