[Mono-list] Mono parsing error on multiline if

Chris Howie cdhowie at gmail.com
Sat Oct 17 09:17:32 EDT 2009


On Sat, Oct 17, 2009 at 7:14 AM, Smjert <smjert30 at libero.it> wrote:
> No because "i can't", since i'm on Debian Lenny and if i remember well to
> have Mono 2.4 i have to go to Unstable (updating tons of packets).
> Even if i want to compile Mono from source i think i'll have to update lots
> of packets..
> I think i'll try to see if it gives the same error on windows, using Mono
> 1.9.1 and then the newest.

This is the mantra I use to build mono.  Install the fakeroot package
first, and build-essential.

You need the newest libsqlite3 as well, so it goes something like this:

1) aptitude -svv build-dep $PACKAGE > $PACKAGE-deps
2) su -c "aptitude build-dep $PACKAGE"
3) apt-get source $PACKAGE
4) cd into the directory that was created by the last command
5) dpkg-buildpackage -uc -us -b -rfakeroot
6) cd ..
7) install the .debs created
8) su -c "aptitude --purge-unused markauto `cat $PACKAGE-deps`"

Do this where $PACKAGE is sqlite3 first and then mono.  It should work.

Also, note that you don't need to compile using Mono to run your
application on Mono.  You should be able to copy the binary produced
by Microsoft's compiler on Windows and run it on Mono without
modification.

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers


More information about the Mono-list mailing list