LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 12-14-2018, 08:52 AM   #1
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware AARCH64 and X86_64
Posts: 334

Rep: Reputation: Disabled
MSbuild and dotnet core on Slack RPi


Has anyone had any luck getting MSbuild and the dotnet core to work on the Raspberry Pi3 with Slackware? I've looked around for information on getting it to work but can't find anything.
 
Old 01-11-2019, 11:36 AM   #2
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware AARCH64 and X86_64
Posts: 334

Original Poster
Rep: Reputation: Disabled
I am getting errors when trying to compile MSBuild source. I'm running the HF version of Slackware 14.2 I have a copy of the output of the build attempt.
 
Old 01-12-2019, 01:07 AM   #3
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
It would be really helpful if you could provide some more details about the MSbuild & dotnet sources you'd used and the build process itself together with the build logs.
Use https://pastebin.com/ for the logs.
 
Old 01-12-2019, 04:01 AM   #4
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,542

Rep: Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311
Quote:
Originally Posted by kermitdafrog8 View Post
I am getting errors when trying to compile MSBuild source. I'm running the HF version of Slackware 14.2 I have a copy of the output of the build attempt.
There is no hardware floating point version of 14.2. If you're using compiler flags for a hardware floating point OS, that's the first thing to check and change.

Last edited by drmozes; 01-12-2019 at 04:04 AM.
 
Old 01-13-2019, 02:47 PM   #5
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware AARCH64 and X86_64
Posts: 334

Original Poster
Rep: Reputation: Disabled
MSbuild and dotnet core on Slack RPi

Slackware current HF port. Should I post the whole compilation output or just a few last lines?
 
Old 01-13-2019, 05:20 PM   #6
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
Slackware ARM -current is the only HF version of Slackware ARM, Slackware ARM 14.2 is only SF.
You can try posting only the last lines containing the errors if you don't want to explain in a few lines where you took the sources, how you're building it and using https://pastebin.com/ for the logs.
I don't have experience with neither MSbuild nor dotnet builds under Linux and it doesn't look anyone here has, that's according to the replies on your help request. That's why I asked if you can provide a little more background / details.
 
Old 01-14-2019, 04:19 AM   #7
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,542

Rep: Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311
Quote:
Originally Posted by kermitdafrog8 View Post
Slackware current HF port. Should I post the whole compilation output or just a few last lines?
You normally need the entire log.
 
Old 01-14-2019, 02:03 PM   #8
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware AARCH64 and X86_64
Posts: 334

Original Poster
Rep: Reputation: Disabled
https://pastebin.com/H5HHc0j8

First time using this site. I hope this is the correct way to use it and to post for you to see.
 
Old 01-15-2019, 02:17 AM   #9
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,542

Rep: Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311
Quote:
Originally Posted by kermitdafrog8 View Post
https://pastebin.com/H5HHc0j8

First time using this site. I hope this is the correct way to use it and to post for you to see.
The only errors I see are due to access rights on the directory you're building it in, or perhaps you ran out of storage space on /home?
Code:
Nerdbank.GitVersioning.Tasks.GetBuildVersion.ExecuteInner() [/home/**********/msbuild/src/Samples/Dependency/Dependency.csproj]
/home/**********/msbuild/artifacts/.dotnet/2.1.401/sdk/2.1.401/Microsoft.Common.CurrentVersion.targets(5088,5): error MSB3491: Could not write lines to file "/home/**********/msbuild/artifacts/obj/Dependency/Debug/netstandard2.0
 
Old 01-15-2019, 02:44 AM   #10
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
There are some other exceptions too and I'm wondering if dotnet is installed properly and working (or if it's even possible to install it under Slackware). Just grabbed some links with the procedure:

https://github.com/Microsoft/msbuild
"Building MSBuild in Unix (Mac & Linux)

MSBuild can be run on Unix systems that support .NET Core. Set-up instructions can be viewed on the wiki: Building Testing and Debugging on .Net Core MSBuild"

then ->

https://github.com/Microsoft/msbuild...ore-MSBuild.md

"Unix
The easy way

Install the latest .NET Core SDK from http://dot.net/core. That will ensure all prerequisites for our build are met."

then ->

https://dotnet.microsoft.com/download/dotnet-core/2.2

then ->

https://dotnet.microsoft.com/downloa...arm32-binaries

(doesn't say SF or HF)

Step 1: Install SDK

When your download completes, open a terminal and run the following commands to extract the SDK and make the commands available at the terminal.
Code:
mkdir -p $HOME/dotnet && tar zxf dotnet-sdk-2.2.102-linux-arm.tar.gz -C $HOME/dotnet
export DOTNET_ROOT=$HOME/dotnet 
export PATH=$PATH:$HOME/dotnet
Step 2: Verify Installation

Run the dotnet command in your terminal. This will verify .NET is correctly installed and ready to use.

Edit:
then, back to ->
https://github.com/Microsoft/msbuild
Source code

Clone the sources: git clone https://github.com/Microsoft/msbuild.git

and finally, back to ->
https://github.com/Microsoft/msbuild...ore-MSBuild.md

Build
Code:
./build.sh -skipTests
Interesting read:
https://docs.microsoft.com/en-us/dot...tabs=netcore2x

Last edited by abga; 01-16-2019 at 12:56 AM. Reason: typo + Edit: - completion
 
Old 01-16-2019, 01:07 PM   #11
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware AARCH64 and X86_64
Posts: 334

Original Poster
Rep: Reputation: Disabled
https://pastebin.com/mRBDv1az

This time I did it as root instead of my user login.
 
Old 01-16-2019, 01:26 PM   #12
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
One of the first errors:
Code:
/root/.nuget/packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018: System.TypeInitializationException: The type initializer for 'LibGit2Sharp.Core.NativeMethods' threw an exception. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path '/root/.nuget/packages/nerdbank.gitversioning/2.2.13/build/lib/linux/x86'. [/home/**********/msbuild/src/Framework/Microsoft.Build.Framework.csproj]
bothered me also in your previous log. Why would it look after a /lib/linux/x86 folder on an arm platform?
It looks like there's an internal product error and not something related to Slackware. Maybe it's better to register on github and ask the Microsoft experts for some help with your issue:
https://github.com/Microsoft/msbuild/issues
(there are almost 1000 registered issues already)
 
Old 01-16-2019, 04:57 PM   #13
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware AARCH64 and X86_64
Posts: 334

Original Poster
Rep: Reputation: Disabled
Ok. I e-mailed opencode@microsoft.com to see if they can help me figure out getting it to compile. If I get an answer I'll post back with the reply. Thanks.
 
Old 10-10-2019, 01:18 PM   #14
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware AARCH64 and X86_64
Posts: 334

Original Poster
Rep: Reputation: Disabled
MSbuild and dotnet core on Slack RPi

Nice. Never a response back.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Microsoft open sources MSBuild, aims for cross-platform dev tools LXer Syndicated Linux News 0 03-20-2015 04:22 AM
LXer: Mini-PC taps RPi Compute Module and supports RPi 2 LXer Syndicated Linux News 0 02-22-2015 03:03 PM
DotNet in Linux? lkhatiwada Linux - Newbie 1 12-04-2007 01:11 AM
The dotnet framework tvks Linux - General 3 03-02-2007 03:40 AM
java & dotNet questions forum mvbv-linux Programming 3 11-28-2003 10:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 03:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration