[MonoDevelop] Building MonoDevelop on FreeBSD 10.3

Russell Haley russ.haley at gmail.com
Mon Aug 15 18:32:46 UTC 2016


Sorry for the top post, I've lost all frame of reference. I just
realized I was only getting messages in digest format so I was missing
bug chunks of the conversation.

@Timotheus - Please see my solution to the missing PCL libraries in
the prior message. I'd very much like to see us work in tandem and
bring MonoDevelop up to snuff. I will share out the file in a tar
archive from github.com/freebsd-dotnet as soon as I get a chance. I'm
kindof upset at Microsoft for doing such a poor job providing cross
reference materials for other platforms (Really MS? A binary exe
installer that produces a non-compliant zip file? Not awesome). Mr.
Icaza even had a blog post exclaiming it as a step forward. Hopefully
these things will become more transparent with (my assumed) merging of
frameworks around .Net Core (which is why I am trying to get
prepared!).

@Mikayla - I was pretty sure that I am using the most recent version
of F# (4.4.10?). I will go back and double check as maybe this will
point me to another blunder. Thanks again.

@Miguel - As Timotheus has pointed out, it has been some time since I
have been able to build from source. I think I was able to build from
a patched head sometime around 8-9 months ago, but everything has been
broken since then. FreeBSD is now on Mono 4.4.2 so I have renewed my
interest in trying to get MD running.

Russ

On Sun, Aug 14, 2016 at 11:12 PM, Russell Haley <russ.haley at gmail.com> wrote:
> On Sun, Aug 14, 2016 at 12:56 PM, Mikayla Hutchinson
> <m.j.hutchinson at gmail.com> wrote:
>> Your .NETPortable doesn't appear to contain actual PCL profiles - it
>> has a copy of the the .NETFramework profiles.
>>
>> The PCL reference assemblies aren't built as part of Mono, but you can
>> download them from here and unpack them into that directory:
>> https://www.microsoft.com/en-us/download/details.aspx?id=40727
>>
>> Alternatively you could probably change the target framework of
>> RefactoringEssentials.csproj. I'm not sure why it targets PCL.
>
> Thanks for responding Mikayla. I thought I had downloaded that file
> that so I went back and did it again (meaning downloading it in
> Windows then getting the zip file to my FreeBSD install). I tried
> installing the files  and  just happened to open up the directory in
> the GUI. It appears that the *joke's on me*.  The FreeBSD unzip
> utility doesn't respect MSDOS based directory names so I wound up with
> files named "\v4.5\Microsoft.somefile.dll". The work around was to
> download 7zip in Windows and extract then TAR the files. The folders
> were re-created correctly following that.
>
> So that eliminates my first build issue, now I need to find out why
> the fsharp stuff is failing:
>
> /usr/home/russellh/Git/monodevelop/main/external/fsharpbinding/MonoDevelop.FSharp.Shared/Lexer.fs(53,25):
> error FS0407: The mutable variable 'lexState' is used in an invalid
> way. Mutable variables cannot be captured by closures. Consider
> eliminating this use of mutation or using a heap-allocated mutable
> reference cell via 'ref' and '!'.
>         /usr/home/russellh/Git/monodevelop/main/external/fsharpbinding/MonoDevelop.FSharp.Shared/Lexer.fs(55,21):
> error FS0407: The mutable variable 'lexState' is used in an invalid
> way. Mutable variables cannot be captured by closures. Consider
> eliminating this use of mutation or using a heap-allocated mutable
> reference cell via 'ref' and '!'.
>         /usr/home/russellh/Git/monodevelop/main/external/fsharpbinding/MonoDevelop.FSharp.Shared/Lexer.fs(65,9):
> error FS0407: The mutable variable 'currentDocumentState' is used in
> an invalid way. Mutable variables cannot be captured by closures.
> Consider eliminating this use of mutation or using a heap-allocated
> mutable reference cell via 'ref' and '!'.
>         /usr/home/russellh/Git/monodevelop/main/external/fsharpbinding/MonoDevelop.FSharp.Shared/Lexer.fs(65,9):
> error FS0407: The mutable variable 'currentDocumentState' is used in
> an invalid way. Mutable variables cannot be captured by closures.
> Consider eliminating this use of mutation or using a heap-allocated
> mutable reference cell via 'ref' and '!'.
>         /usr/home/russellh/Git/monodevelop/main/external/fsharpbinding/MonoDevelop.FSharp.Shared/Lexer.fs(65,9):
> error FS0407: The mutable variable 'currentDocumentState' is used in
> an invalid way. Mutable variables cannot be captured by closures.
> Consider eliminating this use of mutation or using a heap-allocated
> mutable reference cell via 'ref' and '!'.
>         /usr/home/russellh/Git/monodevelop/main/external/fsharpbinding/MonoDevelop.FSharp.Shared/Lexer.fs(160,27):
> error FS0407: The mutable variable 'state' is used in an invalid way.
> Mutable variables cannot be captured by closures. Consider eliminating
> this use of mutation or using a heap-allocated mutable reference cell
> via 'ref' and '!'.
>         /usr/home/russellh/Git/monodevelop/main/external/fsharpbinding/MonoDevelop.FSharp.Shared/Lexer.fs(163,19):
> error FS0407: The mutable variable 'state' is used in an invalid way.
> Mutable variables cannot be captured by closures. Consider eliminating
> this use of mutation or using a heap-allocated mutable reference cell
> via 'ref' and '!'.
>         /usr/home/russellh/Git/monodevelop/main/external/fsharpbinding/MonoDevelop.FSharp.Shared/Lexer.fs(163,19):
> error FS0407: The mutable variable 'state' is used in an invalid way.
> Mutable variables cannot be captured by closures. Consider eliminating
> this use of mutation or using a heap-allocated mutable reference cell
> via 'ref' and '!'.
>         /usr/home/russellh/Git/monodevelop/main/external/fsharpbinding/MonoDevelop.FSharp.Shared/Lexer.fs(163,27):
> error FS0407: The mutable variable 'state' is used in an invalid way.
> Mutable variables cannot be captured by closures. Consider eliminating
> this use of mutation or using a heap-allocated mutable reference cell
> via 'ref' and '!'.
>
> I've highlighted them at the end of my previous build output.
> http://pastebin.com/016yXzMf starting at line 570. Again, any help
> would be great. I would even consider removing the Fsharp stuff if
> that was possible just to get somewhere.
>
> Thanks,
> Russ
>
>> - mikayla
>>
>> On 14 August 2016 at 02:47, Russell Haley <russ.haley at gmail.com> wrote:
>>> Hi there,
>>>
>>> We recently got caught up on mono 4.4.2 on FreeBSD and I've started
>>> attempting to build MD from github from head. My out put is here:
>>>
>>> http://pastebin.com/016yXzMf
>>>
>>> Here is a listing of my pcl libraries.
>>>
>>> http://pastebin.com/ymbL136L
>>>
>>> Any and all help is appreciated.
>>> Thanks,
>>>
>>> Russ
>>> _______________________________________________
>>> Monodevelop-list mailing list
>>> Monodevelop-list at lists.dot.net
>>> http://lists.dot.net/mailman/listinfo/monodevelop-list
>>
>>
>>
>> --
>> ~ https://mhut.ch


More information about the Monodevelop-list mailing list