[MonoDevelop] Mono Error : mcs command not found

Timotheus Pokorra timotheus.pokorra at solidcharity.com
Tue Aug 26 10:27:31 UTC 2014


Hello Hari,

I usually create an env.sh file, that would set the environment
variables like this:

export PATH=/usr/local/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH

To run it, make sure there is a dot and a space: . env.sh

There is no need to copy your .cs files to some special folder.

hope this helps,
  Timotheus

On 25 August 2014 23:36, Hari <phariparam at gmail.com> wrote:
> I have downloaded and installed mono-3.6.0 in my Red Hat Linux 6.5
> system(Virtual Box) from the url :
> http://origin-download.mono-project.com/sources/mono/
>
>
>
> I did the following steps for the mono installation:
>
>
>
> 1.       tar -xvf mono-3.6.0.tar.bz2
>
> 2.       The extract path is /opt/test/mymono/mono-3.6.0
>
> 3.       cd mono-3.6.0
>
> 4.       ../configure --prefix=/usr/local
>
> 5.       make && make install
>
>
>
> After the successful mono installation I tried to compile a sample c#
> program
>
>
>
> 1. copied the sample Program.cs file to ../mono-3.6.0/mcs folder
>
> 2. cd ../mono-3.6.0/mcs
>
> 3. mcs Program.cs
>
>
> Error:
>  bash: mcs: command not found
>
> Thanks for your help.
>
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>


More information about the Monodevelop-list mailing list