Closed rawstring closed 6 years ago
Just to double-check, are you using this script or the very old copy? https://github.com/NewEraCracker/LOIC/blob/master/loic.sh
I was using the old one now. But the new one also gives me errors when installing. Check output here: http://rawstring.com/paste/?5f0c3b75715d1fa7#PX+jQ0TcyQivLuhcmchomdIbt9GW1te+Bhxz2u8MR8U=
Let me know how the script goes with the recent change.
Tried with new changes, only change I see is the text comes in colors now. http://rawstring.com/paste/?682c59adbdb3055c#wrw+wUwkZL5P8lWd26RbH2lKidOPQfZa9cWEWFTxUD0=
Maybe doing the following could help:
https://github.com/NewEraCracker/LOIC/blob/master/loic.sh
Edit line 77 from:
cd src; xbuild /p:TargetFrameworkVersion="v4.0"
To:
cd src; xbuild /p:TargetFrameworkVersion="v4.5"
Reference: https://github.com/hirschmann/nbfc/issues/86
Changed the 77th line. Now it's output looks like this: http://rawstring.com/paste/?85f42c350c481411#v6b/vOWNFab+HJGr+PpyPGyDwMJBbttLJN05brtFIO4=
Better. Should have been built.
I'll keep this bug open until I figure a solution to detect available .net versions on the linux distro.
Error log snippet for future reference:
CSC: error CS0518: The predefined type `System.Object' is not defined or imported
CSC: error CS0518: The predefined type `System.ValueType' is not defined or imported
CSC: error CS0518: The predefined type `System.Attribute' is not defined or imported
CSC: error CS0518: The predefined type `System.Int32' is not defined or imported
CSC: error CS0518: The predefined type `System.UInt32' is not defined or imported
CSC: error CS0518: The predefined type `System.Int64' is not defined or imported
CSC: error CS0518: The predefined type `System.UInt64' is not defined or imported
(...)
Maybe it's due to new kernel update ?
I doubt it. It's more an issue with some new version of mono or package configuration breaking backwards compatibility with projects for older versions of .net framework.
Fixed.
I get this error when installing loic (./loic.sh install)
Any ideas what's wrong ? It used to work fine.