[Mono-list] Error when using mkbundle

djzmo djzmoo at gmail.com
Sat Mar 7 00:00:25 EST 2009




djzmo wrote:
> 
> Hi there..
> 
> I got this error when I tried to 'mkbundle' an assembly...
> 
> E:\Folder>mkbundle -o prog prog.exe --deps
> OS is: Windows
> Sources: 1 Auto-dependencies: True
>    embedding: E:\Folder\prog.exe
>    embedding: E:\PROGRA~1\Mono-2.2\lib\mono\2.0\System.Windows.Forms.dll
>    embedding: E:\PROGRA~1\Mono-2.2\lib\mono\2.0\mscorlib.dll
>    embedding: E:\PROGRA~1\Mono-2.2\lib\mono\2.0\System.Drawing.dll
>    embedding: E:\PROGRA~1\Mono-2.2\lib\mono\2.0\System.dll
>    embedding: E:\PROGRA~1\Mono-2.2\lib\mono\2.0\System.Configuration.dll
>    embedding: E:\PROGRA~1\Mono-2.2\lib\mono\2.0\System.Xml.dll
>    embedding: E:\PROGRA~1\Mono-2.2\lib\mono\2.0\System.Security.dll
>    embedding: E:\PROGRA~1\Mono-2.2\lib\mono\2.0\Mono.Security.dll
>    embedding: E:\PROGRA~1\Mono-2.2\lib\mono\2.0\System.Data.dll
>    embedding: E:\PROGRA~1\Mono-2.2\lib\mono\2.0\Mono.Data.Tds.dll
>    embedding: E:\PROGRA~1\Mono-2.2\lib\mono\2.0\System.Transactions.dll
>    embedding:
> E:\PROGRA~1\Mono-2.2\lib\mono\2.0\System.EnterpriseServices.dll
>    embedding: E:\PROGRA~1\Mono-2.2\lib\mono\2.0\Mono.WebBrowser.dll
>    embedding: E:\PROGRA~1\Mono-2.2\lib\mono\2.0\Mono.Posix.dll
>    embedding: E:\PROGRA~1\Mono-2.2\lib\mono\2.0\Accessibility.dll
> Compiling:
> as -o temp.o temp.s
> 
> Unhandled Exception: System.ComponentModel.Win32Exception:
> ApplicationName='sh',
>  CommandLine='-c "as -o temp.o temp.s "', CurrentDirectory=''
>   at System.Diagnostics.Process.Start_noshell
> (System.Diagnostics.ProcessStartIn
> fo startInfo, System.Diagnostics.Process process) [0x00000]
>   at System.Diagnostics.Process.Start_common
> (System.Diagnostics.ProcessStartInf
> o startInfo, System.Diagnostics.Process process) [0x00000]
>   at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo
> start
> Info) [0x00000]
>   at MakeBundle.Execute (System.String cmdLine) [0x00000]
>   at MakeBundle.GenerateBundles (System.Collections.ArrayList files)
> [0x00000]
>   at MakeBundle.Main (System.String[] args) [0x00000]
> 
> 
> any ideas? :thinking:
> 

Hey I figured this out..
Just install cygwin in the same directory where you installed mono, and
install the required packages (as, binutils, and gcc) for cygwin, and then
run mkbundle again through bash...

Thanks for your help, Robert.
-- 
View this message in context: http://www.nabble.com/Error-when-using-mkbundle-tp22262805p22384505.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list