[Mono-list] Compiling mono* from git

Nic Wise nicw at fastchicken.co.nz
Fri Jun 28 09:54:59 UTC 2013


No, I've not had time to try it yet. Thanks tho - I might in the next
week or so :)

On 28 June 2013 08:54, Miljenko Cvjetko <mcvjetko at holisticware.net> wrote:
> Hi Nic
>
> Did You manage to start MVC4 app?
>
> This is be the link, one of our guys just tested it in new XS :
> https://github.com/holisticware/HolisticWare.PR.DevUG.CKVZ.SlideShow/tree/master/2013-06-11/HolisticWare.SlideShow/HolisticWare.SlideShow.EXE_ASPnetMVC4
>
> What we get is that access to the path
> /Library/Frameworks/Mono.Framework/Versions/3.0.12/etc/mono/registry is
> denied.
> Reload it and page from original VS template appears.
> Register and Login do not work.
>
> The Microsoft.Web.Infrastructure.KillBitHelper.GetJillBittedVersions() tries
> to access some key in Registry.
>
> We'll start checking which dll could be replaces (those with copy local =
> true)
>
> regards
>
> Mel
>
>
>
>
>
> On 2013.06.23 18:39, Nic Wise wrote:
>>
>> Thanks! I'll give the github link a go!
>>
>> Cheers!
>>
>> Nic
>>
>> On 23 June 2013 12:41, Miljenko Cvjetko <mcvjetko at holisticware.net> wrote:
>>>
>>> Hi Nic
>>>
>>>
>>> On 2013.06.23 12:09, Nic Wise wrote:
>>>
>>> Hi Mel
>>>
>>> Sorry if this is documented somewhere else (if so, I'd love the url),
>>> but where did you get MVC4 from, to run on Mono?
>>>
>>> I'm planning to do howto in next few days or on my holidays in July.
>>>
>>> So this is the story: we did several presentations in last month and a
>>> half
>>> on various Croatian
>>> Microsoft DevUGs and I was surprised how small was the knowledge about
>>> mono
>>> in general.
>>>
>>> So I decided to show how good mono really is. Did MVC 2 out of the box,
>>> even
>>> XS template.
>>> Then skipped MVC 3 (had no time because of projects) and went directly to
>>> MVC 4. I gave
>>> myself/ourselves 3 days to try it and did it in 8-9 hours.
>>>
>>> Basic steps:
>>>
>>> VIsual Studio template for MVC4 application
>>> a bit web.config tweaking
>>> a bit of references tweaking (those that are not yet integrated in Mono
>>> like
>>> EF)
>>>
>>> mostly copy local =  true.
>>>
>>> there are some issues, but ASP.net swallows exceptions (they are there,
>>> but
>>> not propagated)
>>>
>>> some packages (still) write into registry (I'm not sure which one, but
>>> excpetion is there)
>>> few issues with case sensitivity for css files in
>>> ~/App_Start/BundleConfig.cs
>>>
>>> Additional:
>>>
>>> currently we have 3-4 proof of concept projects mobile/desktop + web MVC4
>>> and we have tried even sample with Razor/ASPX rendering in common and it
>>> works.
>>> when I get some time I'd like to test more WebAPI
>>> default register/authentication has SQLServer backend and I haven't had
>>> enough
>>> time to remove that
>>> next step would be to exclude dlls from template and move to those in
>>> Mono
>>> GAC
>>> (less copy loca =  true), but this much more information (rundown what is
>>> where
>>> in .net and mono)
>>>
>>>
>>> I only have a Mac, no windows machine (well, no easy access to them) -
>>> is there a nice bootstrap around somewhere to use with Xamarin Studio?
>>>
>>> We have VS template, but they are different from XS/MD (at least I think
>>> so), but
>>> it is just folder structure right? You could unzip it and use it as "XS
>>> template".
>>>
>>> We did presentation "2 hrs, 4 man hrs, 8 platforms" where we did small
>>> app
>>> for
>>> pushing images onto server - our version of Instagram/Picasa. In this
>>> workshop
>>> our Mac guy Ivan/Iki (he was in Your presentation on Evolve 00:50) did
>>> MVC2
>>> template and showed that that works, pushed solution to git, I took on
>>> Windows
>>> side and added MVC4 app, added models, views, controllers and web
>>> services,
>>> pushed
>>> that into git and he could run it on Mac.
>>>
>>> I'll upload VS template on our sever and force myself to write howto. is
>>> that OK?
>>>
>>>
>>> yes pls try from git:
>>>
>>> https://github.com/holisticware/HolisticWare.PR.DevUG.CKVZ.SlideShow/tree/master/2013-06-11/HolisticWare.SlideShow
>>>
>>> sample:
>>> HolisticWare.SlideShow.EXE_ASPnetMVC4
>>>
>>> rest of the samples might work, but this is our construction site and
>>> guys
>>> are testing and working
>>> on some parts.
>>>
>>> regards
>>>
>>> mel
>>>
>>>
>>>
>>> Cheers
>>>
>>> Nic
>>>
>>> On 22 June 2013 15:43, Miljenko Cvjetko <mcvjetko at holisticware.net>
>>> wrote:
>>>
>>> Hi
>>>
>>> Here is my 2c Ubunut (Debian should be the same) CentOS comes this
>>> weekend
>>>
>>>
>>>
>>> prep script for Ubuntu (I think debian too)
>>>
>>> #/bin/bash
>>>
>>> sudo apt-get -y --fix-missing install \
>>> gcc g++ bison gettext make \
>>> libtool autoconf \
>>> git
>>>
>>>
>>>
>>>
>>> compile script for Debian/Ubuntu
>>>
>>> #/bin/bash
>>>
>>>
>>> rm -fr mono/
>>> git clone git://github.com/mono/mono.git
>>> cd mono
>>>
>>> # Instead of
>>> # ./configure --prefix=/usr
>>> # choices
>>> # ./configure --prefix=/opt/mono
>>> #
>>>
>>> #./configure --prefix=/usr
>>> ./autogen.sh --prefix=/usr
>>>
>>> make
>>> sudo make install
>>> mono -V
>>>
>>>
>>>
>>>
>>>
>>> resulting in
>>> ASP.net MVC4 in AWS EC2
>>> http://mono-aspnet-mvc4-aws.holisticware.org/
>>>
>>> best regards
>>>
>>> mel
>>>
>>>
>>>
>>> On 2013.06.22 15:56, Nic Wise wrote:
>>>
>>> I'm on Ubuntu (slightly different I think? I'm on a Linode)  - I just
>>> followed this:
>>>
>>> http://stackoverflow.com/questions/13365158/installing-mono-3-0
>>>
>>> (second answer down). Only extra thing I needed to do was make sure I
>>> checked out the right tag (mono-3.0.12 now) and loaded libgtk2.0-dev
>>>
>>> apt-get install libgtk2.0-dev
>>>
>>> Works great otherwise
>>>
>>>
>>>
>>> On 22 June 2013 10:41, Trust <tu at tobiasulm.net> wrote:
>>>
>>> Hi *,
>>>
>>> i cloned mono from git repo as described.
>>> My problem is that in mono, or monodevelop or xsp there is no
>>> configure.sh
>>> So my question is when i try to compile my own packages on fedora (cause
>>> the
>>> packages in fedora a damn old) how to? There are no configure.sh scripts.
>>> Did i miss something?
>>>
>>> Thx and greetings from lower bavaria
>>>
>>> Tobi
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://mono.1490590.n4.nabble.com/Compiling-mono-from-git-tp4660003.html
>>> Sent from the Mono - General mailing list archive at Nabble.com.
>>> _______________________________________________
>>> Mono-list maillist  -  Mono-list at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/mono-list
>>>
>>>
>>>
>>> --
>>> Miljenko Cvjetko dipl.ing. ET
>>>          Direktor/CEO
>>>          Projektant rješenja/Solution Architect
>>>          Razvojni programer/Senior developer
>>>          Voditelj projekta/Project Manager
>>>
>>> IX južna obala 13
>>> Kajzerica Zagreb
>>> T: 385 1 7775555
>>> M: 385 91 557 447 3
>>> F: 385 1 7779556
>>> e: mcvjetko at holisticware.net
>>> w: http://holisticware.net
>>>
>>>
>>> _______________________________________________
>>> Mono-list maillist  -  Mono-list at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/mono-list
>>>
>>>
>>>
>>>
>>> --
>>> Miljenko Cvjetko dipl.ing. ET
>>>         Direktor/CEO
>>>         Projektant rješenja/Solution Architect
>>>         Razvojni programer/Senior developer
>>>         Voditelj projekta/Project Manager
>>>
>>> IX južna obala 13
>>> Kajzerica Zagreb
>>> T: 385 1 7775555
>>> M: 385 91 557 447 3
>>> F: 385 1 7779556
>>> e: mcvjetko at holisticware.net
>>> w: http://holisticware.net
>>
>>
>>
>
>
> --
> Miljenko Cvjetko dipl.ing. ET
>         Direktor/CEO
>         Projektant rješenja/Solution Architect
>         Razvojni programer/Senior developer
>         Voditelj projekta/Project Manager
>
> IX južna obala 13
> Kajzerica Zagreb
> T: 385 1 7775555
> M: 385 91 557 447 3
> F: 385 1 7779556
> e: mcvjetko at holisticware.net
> w: http://holisticware.net
>



-- 
Nic Wise
t.  +44 7788 592 806 | @fastchicken
b. http://www.fastchicken.co.nz/


More information about the Mono-list mailing list