> As root on slackware 10.0 > The mono-1.1.8.2 generic binary install defaulted to /opt, this might > have worked fine. > The .bashrc file did not work (very strange xml code). > I ended up uninstalling mono and re-installing to /usr/local/ > I edited my .bashrc to have the following code. > > 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 > > > I edited my path in /etc/profile > (/usr/local/mono-1.1.8.2/bin) and now > it works fine. > /etc/profile might be the place to have the .bashrc export > code also???
As far as I know, /etc/profile only affects users created since the modification of /etc/profile. Installing to /usr/local will always work, as /usr/local is already in your path. If, as you say, you have installed in /usr/local, then there is no need to have anything in your .bashrc mentioning /opt/mono-$version, as nothing is installed there! Chris -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. _______________________________________________ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list