[MonoDevelop] Building MonoDevelop on FreeBSD 10.3

Russell Haley russ.haley at gmail.com
Mon Aug 15 06:12:12 UTC 2016


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