[Mono-list] Mkbundle errors.

Lucyberad 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
manual install.
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.
Lucyberad.


Robert Jordan wrote:
> 
> Lucyberad wrote:
>> Hi,
>> 
>> 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.
>> http://www.nabble.com/file/p25167566/mkbundletest.png 
> 
> 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:
>> http://www.nabble.com/file/p25167566/mkbundle%2Bwindows.png 
>> 
>> 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 ...
> 
> 
> Robert
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
> 

-- 
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 mailing list