LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-29-2021, 05:11 PM   #1
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware AARCH64 and X86_64
Posts: 334

Rep: Reputation: Disabled
Latest mono build with slackbuild


I tried to build mono 6.12.0.122 with mono.Slackbuild on current. Everything completed fine with a package built in /tmp. When I installed the package I get the following error.

Code:
 Executing install script for mono-6.12.0.122-x86_64-1_SBo.tgz.
Error: System.TypeInitializationException: The type initializer for 'Sys' threw an exception. ---> System.DllNotFoundException: System.Native assembly:<unknown assembly> type:<unknown type> member:(null)
  at (wrapper managed-to-native) Interop+Sys.LChflagsCanSetHiddenFlag()
  at Interop+Sys..cctor () [0x00000] in <3b2a5998db8f4373812fddf2abcefa0d>:0 
   --- End of inner exception stack trace ---
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <3b2a5998db8f4373812fddf2abcefa0d>:0 
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <3b2a5998db8f4373812fddf2abcefa0d>:0 
  at System.IO.File.Exists (System.String path) [0x00043] in <3b2a5998db8f4373812fddf2abcefa0d>:0 
  at Mono.Tools.CertSync.ParseOptions (System.String[] args) [0x0007c] in <0ce0b721616e403eb17ddd943da0ff04>:0 
  at Mono.Tools.CertSync.Main (System.String[] args) [0x00000] in <0ce0b721616e403eb17ddd943da0ff04>:0 
Package mono-6.12.0.122-x86_64-1_SBo.tgz installed.
Anyone else see this error or successfully build and install mono on current?
Is there a different version that will build on current?

Last edited by kermitdafrog8; 05-03-2021 at 07:24 AM.
 
Old 04-29-2021, 05:21 PM   #2
Martinus2u
Member
 
Registered: Apr 2010
Distribution: Slackware
Posts: 497

Rep: Reputation: 119Reputation: 119
I remember I had to do an incremental build, like use mono 4 to build mono 5, use that mono 5 to build mono 6, eventually build mono 6 with mono 6 until stable...
 
Old 04-29-2021, 05:30 PM   #3
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware AARCH64 and X86_64
Posts: 334

Original Poster
Rep: Reputation: Disabled
Latest mono build with slackbuild

Did you use Ponce's Slackbuild script to build each packages?
 
Old 04-29-2021, 06:00 PM   #4
lovemeslk
Member
 
Registered: Feb 2020
Location: Rantoul IL
Distribution: Slackware
Posts: 350

Rep: Reputation: 72
Looks to me your build failed and still went on to create a package.
 
Old 04-29-2021, 06:13 PM   #5
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware AARCH64 and X86_64
Posts: 334

Original Poster
Rep: Reputation: Disabled
Latest mono build with slackbuild

When I do mono -V it shows version 6.12.0.122 is installed. msc throws the error message.
 
Old 04-29-2021, 06:23 PM   #6
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,537

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
https://www.linuxquestions.org/quest...ml#post6226045

I have mono 6.8, but I don't remember offhand what I needed to tweak to get it built. It seems to run Vintage Story fine. The person in the Slackbuild thread tweaked Ponce's slackbuild to get it to build. It might help you out, as well.
 
Old 04-29-2021, 06:41 PM   #7
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,358

Rep: Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068
Probably this will help

I recently upgraded duplicati
so I had to compile mono 6.12.0.122
And it requires to be compiled with libgdiplus 6.0.5

Last edited by marav; 04-29-2021 at 06:58 PM.
 
Old 04-29-2021, 06:53 PM   #8
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware AARCH64 and X86_64
Posts: 334

Original Poster
Rep: Reputation: Disabled
Latest mono build with slackbuild

Did you use the Slackbuild for libgdiplus? And did you make any changes to the sb?
 
Old 04-29-2021, 07:05 PM   #9
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,358

Rep: Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068
Quote:
Originally Posted by kermitdafrog8 View Post
Did you use the Slackbuild for libgdiplus? And did you make any changes to the sb?
No, sorry
I compiled it from the source
 
Old 04-29-2021, 07:42 PM   #10
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,537

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
I did use the slackbuild for libgdiplus, but I've got 6.0.4. I don't think 6.0.5 was out then. What version of libdgiplus did you have installed?
 
Old 04-29-2021, 07:59 PM   #11
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware AARCH64 and X86_64
Posts: 334

Original Poster
Rep: Reputation: Disabled
Latest mono build with slackbuild

I had 5.4 installed. Manually built 6.0.5 and retried to build 6.12.0.122 with the same outcome. package builds but error on install.

Using SB for the library fails.

Last edited by kermitdafrog8; 04-29-2021 at 08:01 PM.
 
Old 04-30-2021, 12:05 AM   #12
lovemeslk
Member
 
Registered: Feb 2020
Location: Rantoul IL
Distribution: Slackware
Posts: 350

Rep: Reputation: 72
Seems to build and work . This is the head build of the master github.
Code:
Mono JIT compiler version 6.13.0 (main/4545a50416e Fri Apr 30 00:55:57 UTC 2021)
Copyright (C) Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  amd64
        Disabled:      none
        Misc:          softdebug 
        Interpreter:   yes
        LLVM:          supported, not enabled.
        Suspend:       hybrid
        GC:            sgen (concurrent by default)

Last edited by lovemeslk; 04-30-2021 at 12:07 AM.
 
1 members found this post helpful.
Old 04-30-2021, 12:17 AM   #13
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware AARCH64 and X86_64
Posts: 334

Original Poster
Rep: Reputation: Disabled
Did you build it with Slackbuild?
 
Old 04-30-2021, 02:34 AM   #14
Martinus2u
Member
 
Registered: Apr 2010
Distribution: Slackware
Posts: 497

Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by kermitdafrog8 View Post
Did you use Ponce's Slackbuild script to build each packages?
Seems not. I'll attach the Slackbuild I found on my machine. The versions I bootstrapped are 4.4.2.11, 6.8.0.105 and 6.12.0.122. Maybe you can go directly from 4.4.2.11 to 6.12.0.122. But you must do the last step of building 6.12.0.122 with itself.
Attached Files
File Type: txt mono.SlackBuild.txt (2.6 KB, 26 views)

Last edited by Martinus2u; 04-30-2021 at 02:39 AM.
 
Old 04-30-2021, 02:36 AM   #15
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,358

Rep: Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068
Quote:
Originally Posted by garpu View Post
I did use the slackbuild for libgdiplus, but I've got 6.0.4. I don't think 6.0.5 was out then. What version of libdgiplus did you have installed?
https://github.com/mono/libgdiplus/releases/tag/6.0.5
 
  


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
sox convert a-law mono 8000hz wav to pcm signed 16bit mono wav saiyen2002 Linux - Software 2 02-23-2012 08:02 PM
Mono 1.1.12 - Install older mono to co-exist with current version ryerke Linux - Software 4 03-02-2010 08:54 PM
paint-mono (Paint.net for Mono) Installer? caa1980 Linux - Software 0 10-03-2007 10:52 AM
Help Mono Installed But Mono Develop Won't Load TheGreatGonzo Slackware 8 05-18-2006 06:42 AM
MONO anybody using mono adengua Linux - Software 0 12-19-2003 07:42 AM

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

All times are GMT -5. The time now is 12:01 PM.

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