[Pkg-mono-devel] VBNC For Debian?
Jo Shields
directhex at apebox.org
Fri Oct 24 07:49:49 UTC 2008
On Thu, 2008-10-23 at 23:34 -0700, Ozzapoo wrote:
> When I try to run 'make' after extracting mono-basic_1.9+dfsg.orig.tar.gz it
> starts compiling but after a few seconds gives the following error:
>
> MONO_PATH="../../class/lib/bootstrap:$MONO_PATH" mono --debug
> ../../class/lib/bootstrap/vbnc.exe -debug -r:System.Xml.dll -noconfig
> -define:_MYTYPE=\"Empty\" -target:exe -out:extract-source.exe
> @extract-source.exe.sources
> Visual Basic.Net Compiler version 0.0.0.5815
> Copyright (C) 2004-2007 Rolf Bjarne Kvinge. All rights reserved.
>
>
>
> ** (../../class/lib/bootstrap/vbnc.exe:6892): WARNING **: The following
> assembly referenced from
> /home/ozzapoo/Desktop/Downloads/mono-basic-1.9+dfsg/class/lib/bootstrap/Microsoft.VisualBasic.dll
> could not be loaded:
> Assembly: System.Windows.Forms (assemblyref_index=2)
> Version: 2.0.0.0
> Public Key: b77a5c561934e089
> The assembly was not found in the Global Assembly Cache, a path listed in
> the MONO_PATH environment variable, or in the location of the executing
> assembly
> (/home/ozzapoo/Desktop/Downloads/mono-basic-1.9+dfsg/class/lib/bootstrap).
>
>
> ** (../../class/lib/bootstrap/vbnc.exe:6892): WARNING **: Could not load
> file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral,
> PublicKeyToken=b77a5c561934e089' or one of its dependencies.
>
> ** (../../class/lib/bootstrap/vbnc.exe:6892): WARNING **: Could not load
> file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral,
> PublicKeyToken=b77a5c561934e089' or one of its dependencies.
>
> ** (../../class/lib/bootstrap/vbnc.exe:6892): WARNING **: Could not load
> file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral,
> PublicKeyToken=b77a5c561934e089' or one of its dependencies.
> Error : VBNC99999: Unexpected error: Could not load file or assembly
> 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral,
> PublicKeyToken=b77a5c561934e089' or one of its dependencies.
> at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
> at System.Reflection.Assembly.GetTypes () [0x00000]
> at vbnc.TypeManager.LoadReferencedTypes () [0x00000]
> at vbnc.TypeManager.LoadReferenced () [0x00000]
> at vbnc.Compiler.Compile () [0x00000]
> Compilation took 00:00:02.3432600
>
>
> Is there something I'm doing wrong?
Yes, using "make" instead of building a package. Try "dpkg-buildpackage
-us -uc -rfakeroot"
More information about the Pkg-mono-devel
mailing list