Virtuoso Open-Source Wiki
Virtuoso Open-Source, OpenLink Data Spaces, and OpenLink Ajax Toolkit
Advanced Search
Help?
Location: / Dashboard / Main / VOSBuild / VOSBldMono

Building the Virtuoso Server with Mono hosting support

Version Supported

Currently the Mono 1.1.6 is supported.

Configure and Compilation

To enable mono hosting binary the configure must be invoked with --enable-mono . 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 

CategoryMono

Powered By Virtuoso