Comments (8)
[SOLVED] Arch linux have broken Mono official repository.
I solved the problem. Arch have broken Mono official repository. Its maintainer is bad.
This is my command for solve it. I recommended it for other Arch users who want to build OpenRA/RA2 until its maintainer will solve it.
mkdir -p /tmp/mono-deb
cd /tmp/mono-deb
curl https://download.mono-project.com/repo/ubuntu/pool/main/m/mono/mono-roslyn_6.12.0.147-0xamarin17+ubuntu2004b1_all.deb > mono.deb
ar p mono.deb data.tar.xz | tar xJf - ./usr/lib/mono/4.5/System.Reflection.Metadata.dll --strip-components 5
sudo mv /usr/lib/mono/4.5/System.Reflection.Metadata.dll /usr/lib/mono/4.5/System.Reflection.Metadata.dll_OLD
sudo cp System.Reflection.Metadata.dll /usr/lib/mono/4.5
For more information.
KSP-CKAN/CKAN#3361
from ra2.
Try reading the error message yourself:
It was not possible to find any installed .NET SDKs.
Install a .NET SDK from:
https://aka.ms/dotnet-download
from ra2.
Still have problem
kridtakarn ~ ra2 make
make[1]: Entering directory '/home/kridtakarn/ra2/engine'
make[1]: Leaving directory '/home/kridtakarn/ra2/engine'
make[1]: Entering directory '/home/kridtakarn/ra2/engine'
/usr/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(2218,5): error MSB3248: Parameter "AssemblyFiles" has invalid value "/usr/lib/mono/4.6.1-api/mscorlib.dll". Could not load file or assembly 'System.Reflection.Metadata, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. [/home/kridtakarn/ra2/engine/OpenRA.PostProcess/OpenRA.PostProcess.csproj]
make[1]: *** [Makefile:155: core] Error 1
make[1]: Leaving directory '/home/kridtakarn/ra2/engine'
make: *** [Makefile:111: engine] Error 2
from ra2.
Could be because @penev92 put the repository in a broken state. I don't see any CI checks running. See if #778 fixes it for you.
from ra2.
Broken how exactly?
Engine is aligned to release-20200503
and the SDK scripts are aligned to the exact corresponding version. Everything builds & runs and there are no CI checks because Travis is dead.
I would recommend going for the updated version of #778, but this sounds more to me like the broken mono situation. @kridtakarn see if any of this helps:
ubuntu doesn't have msbuild at all
you need to follow https://www.mono-project.com/download/stable/#download-lin-ubuntu
those instructions are linked from openra's installation documentation but not mods
if you add the mono repository and then update/installmono-devel
it should hopefully just work
Also note that you can't use .NET 5 or .NET Core. The current version of the mod is still at .NET 4.6.1! So you need Mono on Linux.
from ra2.
How can i downgrade my .NET to 4.6.1 with mono?
im using Arch Linux not Ubuntu. It is rolling-release distribution and all of packages or repositories always change to its latest version or latest arch-maintained. There are Mono and MSBuild in Arch Linux as an official repository.
from ra2.
As far as I understand from the Mono website, the latest version of it should be compatible with both .NET Framework 4.6 and 4.7, so get the latest Mono.
from ra2.
Try https://aur.archlinux.org/packages/openra-ra2-git
from ra2.
Related Issues (20)
- Cannot compile: Missing msbuild HOT 5
- Tesla Tanks are slower than they should
- Cannot launch: Renderer initialization failed HOT 4
- Failed to make it on MacOS [FIXED]
- Performance issues because of pathfinding HOT 1
- Crash during the naval game HOT 1
- Adding game assets from Origin to OSX HOT 2
- Unable to proceed from "Install content" screen HOT 1
- Hi devs, could you please update the engine of this mod? HOT 4
- Question:this mod is Yuri's Revenge HOT 1
- very low fps on my system HOT 3
- Does this engine support using Multi-core processor? HOT 1
- Raise down volume of cash tick sounds
- Spy Satellite completely negates fog of war
- macOS game hangs with black screen HOT 14
- Packaging fails on Arch Linux HOT 9
- Build fails on windows HOT 8
- Make Releases please HOT 1
- add support for steam version HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ra2.