mono / monodevelop

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

Building on Ubuntu Linux 18.04 #8006

Open Commaster opened 5 years ago

Commaster commented 5 years ago

Since the latest Monodevelop version in the Mono repository is 7.8.2.2 and nobody is pushing Monodevelop 8 I wanted to "update" manually by following the "Build from Git" instructions for Linux: git clone --recursive --recurse-submodules -b master --depth=1 https://github.com/mono/monodevelop -j4 && cd monodevelop && ./configure --enable-release --profile=gnome && make But it fails spectacularly once it tries to start building after all the Nugets:

Building ./Main.sln
ok=:; msbuild /verbosity:minimal /nologo /property:CodePage=65001 /property:RestorePackages=false /property:DownloadPaket=false /bl:MonoDevelop.binlog ./Main.sln /property:Configuration=ReleaseGnome || ok=false; echo @MonkeyWrench: AddFile: $(pwd)/MonoDevelop.binlog; $ok
/usr/lib/mono/msbuild/15.0/bin/MSBuild.dll /nologo /bl:MonoDevelop.binlog /property:CodePage=65001 /property:RestorePackages=false /property:DownloadPaket=false /property:Configuration=ReleaseGnome /verbosity:minimal ./Main.sln
.../monodevelop/main/Main.sln.metaproj : warning MSB4121: The project configuration for project "Xamarin.PropertyEditing" was not specified in the solution file for the solution configuration "ReleaseGnome|Any CPU". [.../monodevelop/main/Main.sln]
.../monodevelop/main/Main.sln.metaproj : warning MSB4121: The project configuration for project "Xamarin.PropertyEditing.Mac" was not specified in the solution file for the solution configuration "ReleaseGnome|Any CPU". [./monodevelop/main/Main.sln]
  MDBuildTasks -> .../monodevelop/main/msbuild/MDBuildTasks/bin/MDBuildTasks.dll
IStandardClassificationService.cs(6,34): error CS0234: The type or namespace name 'Text' does not exist in the namespace 'Microsoft.VisualStudio' (are you missing an assembly reference?) [.../monodevelop/main/external/vs-editor-api/src/Editor/Language/Def/StandardClassification/StandardClassification.csproj]
IStandardClassificationService.cs(19,9): error CS0246: The type or namespace name 'IClassificationType' could not be found (are you missing a using directive or an assembly reference?) [.../monodevelop/main/external/vs-editor-api/src/Editor/Language/Def/StandardClassification/StandardClassification.csproj]
IStandardClassificationService.cs(24,9): error CS0246: The type or namespace name 'IClassificationType' could not be found (are you missing a using directive or an assembly reference?) [.../monodevelop/main/external/vs-editor-api/src/Editor/Language/Def/StandardClassification/StandardClassification.csproj]
...
...

Used software:

dotnet-sdk-2.2 2.2.402-1
dotnet-host 2.2.7-1
msbuild 1:16.3+xamarinxplat.2019.08.08.00.55-0xamarin2+ubuntu1804b1
mono-complete 6.4.0.199-0xamarin1+ubuntu1804b1

Weekend rechecks: 2019-06-29 12:53:41+02: 7adbba276a09d9680d44fa00fe3db93f2dfb251e Same issue 2019-07-07 10:24:18+02: 7fbef70336e0c9166130cd2ffb1426c75bf24ac6 Same issue 2019-07-12 10:21:02+02: c2baad8a69afbe525b155ca5161e6e653e36ef44 Same issue 2019-07-19 09:47:09+02: cb6fd80caf76e8896383d7a0383960dd8eac8401 Same issue 2019-07-22 07:57:51+02: 27ea3e602cf0eea663143453a9559419b0a0a64d Same issue 2019-07-29 07:04:18+02: 5417bdbef0b796ecc0ef083247a5f01e87331bcb Same issue 2019-08-05 08:38:49+02: fc714a073c1e602085eae20adf4f615afc0cd961 Same issue 2019-08-12 09:15:16+02: 6ca6b79a3655707b2f75fedbcb3791be529f92de Same issue 2019-08-19 08:15:39+02: 455bcba1533356cf8b266c8aabde3abcf77d33fd Same issue 2019-09-09 08:44:02+02: 8134f1f4b8e08a448336adb7b99c95e84bfacf94 Same issue 2019-09-23 08:17:49+02: d100d9c91d4c6486e0997046c565ff059c73b668 Same issue

dotnet 3.0 release:

dotnet-sdk-3.0 3.0.100-1
dotnet-host 3.0.0-1
msbuild 1:16.3+xamarinxplat.2019.08.08.00.55-0xamarin2+ubuntu1804b1
mono-complete 6.4.0.199-0xamarin3+ubuntu1804b1

2019-09-26 07:42:50+02: 5045e24c2e5b627415bb109b08579af2201a9c34 Same issue 2019-10-28 08:18:21+01: 51a7165b4c3ff08a596c6678b861b036fa055fdf Same issue

Mono 6.6 update:

dotnet-sdk-3.0 3.0.101-1
dotnet-host 3.0.1-1
msbuild 1:16.4+xamarinxplat.2019.09.09.15.03-0xamarin5+ubuntu1804b1
mono-complete 6.6.0.158-0xamarin1+ubuntu1804b1

2019-11-04 08:55:37+01: c740bfab1077385701ebf3486970fef4d9e44a86 Same issue 2019-11-11 07:44:04+01: 3f49ed944dd8758f77e143cd3abadb28ec576f58 Same issue 2019-11-18 08:10:15+01: f541dc7ff2c297b1bcbaa2cf9466c1bfb4eb70ab Same issue 2019-11-25 09:35:04+01: 3c8a4d8a398257ed7306889d9c75c69346177fe1 Same issue 2019-12-02 08:19:47+01: 85b19cd80e4214981d45206853a41cbb3205fb5d Same issue

Continuation in https://github.com/mono/monodevelop/issues/8006#issuecomment-563092952

Can you update the build instructions? Or fix the repository? Or push Monodevelop 8 to the Mono repository?

zubovm commented 4 years ago

Gir is the way to go.

There was a gir-to-C# effort here too: https://github.com/glibsharp

Maybe we should have a little channel in slack/gitter to speak about this things.

The gitter channel of monodevelop (this repo) is not used these days by MS/VS4Mac people, so we could use this.

Do you mean https://gitter.im/mono/monodevelop ? - That channel?

knocte commented 4 years ago

https://gitter.im/mono/monodevelop ? - That channel?

Yes

zubovm commented 4 years ago

Yes

Thanks. I joined that channel, I would be glad to provide any help in monodevelop resurrection; I've also asked a question about current building state of 7.8.4.1.

scherenhaenden commented 4 years ago

That channel? really? does that make sense?

I thought we would have to start a new fork

kekekeks commented 4 years ago

Also, we must consider all options, as Avalonia and Eto.Forms may make a more native looking GUI.

1) There is an Avalonia-based port of AvalonEdit 2) A full-fledged unicode layout support has been recently merged to master, introducing Run, GlyphRun and low-level text APIs

Note, that Avalonia currently uses libX11 directly, so embedding to GTK2 would require either resurrecting the old GTK2 backend or implementation of client-side XEmbed protocol and integration with GLib's event sources.

If you are serious about reviving the Linux version of MonoDevelop, I could implement one of the options and give you an example code for GTK2 integration.

trampster commented 4 years ago

MonoDevelop has been forked by the community in order to continue it's development here: https://github.com/dotdevelop/dotdevelop