[Mono-list] Mkbundle errors.
robertj at gmx.net
Thu Aug 27 09:12:24 EDT 2009
> I'm having currently some trouble with mkbundle. I want to produce a 1file
> exec (without the need for user to install mono) and I use mkbundle for it.
> Here is my first attempt on Windows:
> It produce an "empty" exe. The produced file weight 2.5mb but the output
> console is empty on launching.
The output is suppressed because the EXE was compiled
for the windows subsystem. Invoke mkbundle like this:
CC="gcc -mconsole" mkbundle ....
> The second attempt is on Linux (to see if it produce the same error) and
> this time I've another error:
> The program is just a Console.WriteLine("Hello World");.
You seem to have parallel Mono installations on your system.
Try to set PKG_CONFIG_PATH to point to the correct Mono installation,
which seems to be /usr/local on your system:
PKG_CONFIG_PATH=/usr/local/pkgconfig mkbundle ...
More information about the Mono-list