[Mono-list] new to mono Need help configuring
Chris Aitken
chris at ion-dreams.com
Fri Jul 29 04:28:17 EDT 2005
> > I have installed mono 1.1.8.2 on my slackware 10 standalone box.
> > mono installed to the /opt directory.
> > I think the path is set wrong.
>
> Yep. By default, it will install to /usr/local unless you
> change it to /usr using --prefix=
The installer bundle will install to /opt/mono-1.1.8.2/
> > When I go to the /opt/mono-1.1.8.2/bin directory the
> programs execute.
> > When wx.NET calls mono I get a "mono: not found" error.
> >
If you install as root (which you will probably have to, to install to /opt,
then the path info will be in the /root/.bashrc file.
The contents you require in the ~/.bashrc is:
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/opt/mono-1.1.8.2/lib/pkgconfig"
export PATH=$PATH:/opt/mono-1.1.8.2/bin
Then you'll need to logout (of all consoles/Xterms), then log in again.
Apologies if I'm teaching you to suck eggs.
Then try:
$ mcs
Hopefully you'll get an error like so (or similar):
error CS2008: No files to compile were specified
Compilation failed: 1 error(s), 0 warnings
HTH
Chris
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Mono-list
mailing list