[Mono-list] Error when using mkbundle
djzmo
djzmoo at gmail.com
Sat Mar 7 12:42:19 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:
>
Well, I got another problem..
$ mkbundle Application.exe
OS is: Windows
Sources: 1 Auto-dependencies: False
embedding: E:\Mono-2.2\Application.exe
Compiling:
as -o temp.o temp.s
gcc -mno-cygwin -g -o a.out -Wall temp.c `pkg-config --cflags --libs
mono|dos2un
ix` temp.o
gcc: installation problem, cannot exec 'cc1': No such file or directory
[Fail]
I downloaded & extracted gcc-core-3.4.4-3 and binutils-20080624-2 but both
of them didnt contain cc1.exe (well, the gcc-core-3.4.4-3 does have it; but
in another directory. and if I move it to the root dir or /bin dir, it will
return another *longer* error messages.)
any ideas? :thinking:
--
View this message in context: http://www.nabble.com/Error-when-using-mkbundle-tp22262805p22389965.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list