[Mono-dev] MAXHINCR or MAX_HEAP_SECTS error

Timotheus Pokorra timotheus.pokorra at solidcharity.com
Wed Jul 9 11:39:48 UTC 2014

Hello Lucas,

> ./configure --with-gc=none --with-large-heap=yes --with-sge=yes
> --prefix=/opt/mono-3.0.2
> make
> make install

Since you installed your version of Mono to a different directory, you
need to set your path and other environment variables to that
You need to do this each time before you run your program:

export PATH=/opt/mono-3.0.2/bin:$PATH
export LD_LIBRARY_PATH=/opt/mono-3.0.2/lib:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=/opt/mono-3.0.2/lib/pkgconfig:$PKG_CONFIG_PATH

Hope this helps,

More information about the Mono-devel-list mailing list