mono / monodevelop

MonoDevelop is a cross platform .NET IDE
http://www.monodevelop.com
2.84k stars 1.02k forks source link

There is no MonoDevelop for Raspian Buster, building Fails ! #9488

Closed kbaykar closed 4 years ago

kbaykar commented 4 years ago

Since there is no MonoDevelop for Raspian Buster, I tried to build from Tarball source. Downloaded "monodevelop-7.6.9.22.tar.bz2" and opened in my RPi4.

Mono already installed. As suggested on "Wiki - Building from source" tab, I run ./configuration script and satisfied all missing dependencies. So ./configuration script succesfully completed.

Then hit the make command and have got the following errors (output shortened):


Errors in packages.config projects Unable to find version '15.7.153-preview-g7d0635149a' of package 'Microsoft.VisualStudio.CoreUtility'. https://vside.myget.org/F/vssdk/api/v3/index.json: Unable to load the service index for source https://vside.myget.org/F/vssdk/api/v3/index.json. https://vside.myget.org/F/vs-impl/api/v3/index.json: Unable to load the service index for source https://vside.myget.org/F/vs-impl/api/v3/index.json. Unable to find version '15.7.153-preview-g7d0635149a' of package 'Microsoft.VisualStudio.Language'. https://vside.myget.org/F/vssdk/api/v3/index.json: Unable to load the service index for source https://vside.myget.org/F/vssdk/api/v3/index.json. https://vside.myget.org/F/vs-impl/api/v3/index.json: Unable to load the service index for source https://vside.myget.org/F/vs-impl/api/v3/index.json. Unable to find version '15.7.153-preview-g7d0635149a' of package 'Microsoft.VisualStudio.Language.Intellisense'. https://vside.myget.org/F/vssdk/api/v3/index.json: Unable to load the service index for source https://vside.myget.org/F/vssdk/api/v3/index.json. https://vside.myget.org/F/vs-impl/api/v3/index.json: Unable to load the service index for source https://vside.myget.org/F/vs-impl/api/v3/index.json. Unable to find version '15.7.153-preview-g7d0635149a' of package 'Microsoft.VisualStudio.Language.StandardClassification'. https://vside.myget.org/F/vssdk/api/v3/index.json: Unable to load the service index for source https://vside.myget.org/F/vssdk/api/v3/index.json. https://vside.myget.org/F/vs-impl/api/v3/index.json: Unable to load the service index for source https://vside.myget.org/F/vs-impl/api/v3/index.json. Unable to find version '15.7.153-preview-g7d0635149a' of package 'Microsoft.VisualStudio.Text.Data'. https://vside.myget.org/F/vssdk/api/v3/index.json: Unable to load the service index for source https://vside.myget.org/F/vssdk/api/v3/index.json. https://vside.myget.org/F/vs-impl/api/v3/index.json: Unable to load the service index for source https://vside.myget.org/F/vs-impl/api/v3/index.json. Unable to find version '15.7.153-preview-g7d0635149a' of package 'Microsoft.VisualStudio.Text.Internal'. https://vside.myget.org/F/vssdk/api/v3/index.json: Unable to load the service index for source https://vside.myget.org/F/vssdk/api/v3/index.json. https://vside.myget.org/F/vs-impl/api/v3/index.json: Unable to load the service index for source https://vside.myget.org/F/vs-impl/api/v3/index.json. Unable to find version '15.7.153-preview-g7d0635149a' of package 'Microsoft.VisualStudio.Text.Logic'. https://vside.myget.org/F/vssdk/api/v3/index.json: Unable to load the service index for source https://vside.myget.org/F/vssdk/api/v3/index.json. https://vside.myget.org/F/vs-impl/api/v3/index.json: Unable to load the service index for source https://vside.myget.org/F/vs-impl/api/v3/index.json. Unable to find version '15.7.153-preview-g7d0635149a' of package 'Microsoft.VisualStudio.Text.UI'. https://vside.myget.org/F/vssdk/api/v3/index.json: Unable to load the service index for source https://vside.myget.org/F/vssdk/api/v3/index.json. https://vside.myget.org/F/vs-impl/api/v3/index.json: Unable to load the service index for source https://vside.myget.org/F/vs-impl/api/v3/index.json. Unable to find version '15.7.153-preview-g7d0635149a' of package 'Microsoft.VisualStudio.Text.UI.Wpf'. https://vside.myget.org/F/vssdk/api/v3/index.json: Unable to load the service index for source https://vside.myget.org/F/vssdk/api/v3/index.json. https://vside.myget.org/F/vs-impl/api/v3/index.json: Unable to load the service index for source https://vside.myget.org/F/vs-impl/api/v3/index.json.

NuGet Config files used: /home/pi/APPS/monodev1/monodevelop-7.6/NuGet.config /root/.config/NuGet/NuGet.Config

Feeds used: /root/.nuget/packages/ https://api.nuget.org/v3/index.json https://dotnet.myget.org/F/roslyn/api/v3/index.json https://dotnet.myget.org/F/roslyn-for-vs-for-mac/api/v3/index.json https://vside.myget.org/F/vssdk/api/v3/index.json https://vside.myget.org/F/vs-impl/api/v3/index.json https://www.myget.org/F/vs-editor/api/v3/index.json https://ci.appveyor.com/nuget/nugetizer3000 https://dotnet.myget.org/F/vstest/ https://dotnet.myget.org/F/templating/ https://www.myget.org/F/azure-appservice/api/v3/index.json make[1]: [Makefile:1146: restore-packages] Error 1 make[1]: Leaving directory '/home/pi/APPS/monodev1/monodevelop-7.6' make: [Makefile:677: all-recursive] Error 1 root@raspian:/home/pi/APPS/monodev/monodevelop-7.6#

I manually ckecked nuget.org, but could not find the above packages. How can we find those missing packages ? Please HELP !!!

kbaykar commented 4 years ago

After struggling much, at the end I managed to install following version of MonoDevelop on Raspbian Buster:

MonoDevelop : 7.6 Preview (7.6 build 711) Mono : 5.18.1.3 (mono –version komutuyla) GTK+ : 2.24.32 NuGet : 4.3.1.4445

Following are the instructions to install the above version of MonoDevelop:

  1. sudo su

  2. apt install apt-transport-https dirmngr gnupg ca-certificates

  3. apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF

  4. Inside "/etc/apt/sources.list.d" directory, create "mono-official.list" file, and write the following line: "deb https://download.mono-project.com/repo/debian/ stable-stretch/snapshots/5.18.1.3 main"

  5. apt update

  6. apt install mono-devel

  7. mono –version ( just check the version ! )

  8. apt-get install gtk-sharp2

  9. apt-get install mono-complete

  10. apt-get install monodevelop