BTW I just noticed there are no gnome packages in
/usr/pkgsrc/meta-packages any more, while there are still some in x11
directory - was there any announce that it has been phased out?

On Thu, 15 Aug 2019 at 13:09, Chavdar Ivanov <ci4...@gmail.com> wrote:
>
> It actually is a part of the package:
> $ export MONO_CONFIG=/usr/pkg/share/examples/mono/config
>  $ csharp
> Mono C# Shell, type "help;" for help
>
> Enter statements below.
> csharp>
>
> The bug is actually elsewhere - ktrace shows:
> 22455      1 mono-sgen open("/usr/pkg/etc/mono/mono/config", 0,
> 0xff8295b8) Err#2 ENOENT
>
> so there is the directory name twice, in reality the installation
> places the file in /usr/pkg/etc/mono/config.
>
> # cd /usr/pkg/etc/mono ; ln -s . mono
>
> sorts it.
>
>
>
>
> On Wed, 14 Aug 2019 at 20:14, <m...@netbsd.org> wrote:
> >
> > On Tue, Aug 13, 2019 at 12:00:31PM +0100, Chavdar Ivanov wrote:
> > > wip/mono6 built OK, but I get:
> > > ....
> > > ~ csharp
> > >
> > > Unhandled Exception:
> > > System.TypeInitializationException: The type initializer for
> > > 'System.Console' threw an exception. --->
> > > System.TypeInitializationException: The type initializer for
> > > 'System.ConsoleDriver' threw an exception. --->
> > > System.DllNotFoundException: System.Native
> >
> > I kept seeing this. I finally have the answer.
> >
> > There's a file in the Mono build directory, data/config.
> > This maps the upstream (Microsoft) DLL names to the ones used by Mono.
> >
> > Run it as:
> >
> > env MONO_CONFIG=./data/config csharp
>
>
>
> --
> ----



-- 
----

Reply via email to