I have installed Ubuntu 14.04 on my laptop and I'm trying to compile the code of MonoDevelop 5.3 that I downloaded from GitHub, I've installed all the dependencies.
I have installed Mono 3.2.8:
raven@raven-laptop:~/Downloads/monodevelop$ mono -V
Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-4ubuntu1)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
When I used ./Configure I get this:
Configuration summary
* Installation prefix = /usr
* Version = 5.3
* Version Label = 5.3
* Compat Version = 5.0
* C# compiler = /usr/bin/dmcs
* Mono class library development extensions: yes
* Version control providers:
* Subversion (Unix): yes
* Git: yes
* Platform bindings: GNOME
* Unit tests: no
Now type `make' to compile MonoDevelop
Configuration Summary
---------------------
MonoDevelop has been configured with
prefix = /usr
profile = default
Packages included in the build:
main
But when I use make sends me this error:
Errors:
/home/raven/Downloads/monodevelop/main/Main.sln (default targets) ->
(Build target) ->
/home/raven/Downloads/monodevelop/main/src/addins/AspNet/MonoDevelop.AspNet.csproj (default targets) ->
(BeforeBuild target) ->
/home/raven/Downloads/monodevelop/main/src/addins/AspNet/MonoDevelop.AspNet.csproj: error : Command 'mono ../../../external/nuget-binary/NuGet.exe restore -SolutionDirectory ../../..' exited with code: 1.
1 Warning(s)
1 Error(s)
Time Elapsed 00:00:24.5810510
make[2]: *** [sln_build] Error 1
make[2]: Leaving directory `/home/raven/Downloads/monodevelop/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/raven/Downloads/monodevelop/main'
make: *** [all-recursive] Error 1
If anyone knows how to fix this error, please let me know, thanks.
I had the same problem, being unable to find a solution, I found a ppa here:
https://launchpad.net/~inizan-yannick/+archive/ubuntu/mono
Which installed 5.3 fine. The information came from the MonoDevelop google+ group here:
https://plus.google.com/communities/116399945085263839159
If there is a NuGet error when compiling MonoDevelop on Linux then you can see the actual error message by running NuGet restore directly on the command line.
If the error message contains:
Then this is most likely a certificate error since Linux by default does not trust any certificates.
This NuGet error can usually be fixed by running the following command:
If the above does not work take a look at the NuGet on Linux Error Getting Response Stream StackOverflow post which has other slightly different mozroots commands you can try.
(The above was moved from the comments to make it easy to find)