[Mono-list] Mkbundle errors.
Lucyberad at gmail.com
Thu Aug 27 19:52:21 EDT 2009
With your tips:
It's working well on Windows.
It's working well too on Linux.
On Linux the "problem" come from that mono is bundled with Ubuntu (I use
Ubuntu). The version is 2.0.1 for Ubuntu 9.04 and make conflict with tarball
To get ride of mono install on Ubuntu, just use this command:
$ sudo apt-get remove `dpkg --get-selections | grep mono | cut -f1`
this will uninstall tomboy and other program which have mono as depencies
(the best is to develop on Virtual Machine such as I do).
Uninstall packages don't modify tarball install if you did it before.
Thanks for answers.
Robert Jordan wrote:
> Lucyberad wrote:
>> I'm having currently some trouble with mkbundle. I want to produce a
>> exec (without the need for user to install mono) and I use mkbundle for
>> 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 ...
> Mono-list maillist - Mono-list at lists.ximian.com
View this message in context: http://www.nabble.com/Mkbundle-errors.-tp25167566p25181872.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list