vagabondan / CoiniumServ

NOTE: No plans to return to this project because I've switched to more convenient and stable NOMP pool (https://github.com/vagabondan/ric-nomp) and recommend you to do the same.
Other
10 stars 6 forks source link

Unable to build #1

Closed TnTBass closed 7 years ago

TnTBass commented 7 years ago

Trying to build your version of CoiniumServ, and I'm running into these issues.

Trying on Ubuntu 16.04

I followed these steps:

git clone https://github.com/vagabondan/CoiniumServ.git CoiniumServ cd CoiniumServ/ git submodule init

At this point I get this error: fatal: no submodule mapping found in .gitmodules for path 'wiki'

I corrected that by running: git rm --cached wiki

I was then able to run these commands: git submodule init git submodule update cd build/release ./build.sh

However, when I built it, I got: 21 Warning(s) 594 Error(s)

Here's a pastebin of the errors: https://pastebin.com/MWHhs8yt

Any ideas?

MrHaCkEr commented 7 years ago

Unpacking cs.tar.gz could helped

Mer-idium commented 7 years ago

I am having the same issue building on mono develop and was getting 594 errors as well, however i managed to reduce this to 462 by update the NuGet packages. Has a fix for this been released yet?

Thanks

Mer-idium commented 7 years ago

Extracting cs.tar.gz works. Would recommend updating the packages as well, there was quite a few out of date

TnTBass commented 7 years ago

@pfeiflelukas can you help me a bit with those steps? I'm new to mono/NuGet and I am not sure how to update those packages, or where to find cs.tar.gz and where to extract it to.

TnTBass commented 7 years ago

Ok, so extracting the cs.tar.gz was relatively simple. My new build steps below:

git clone https://github.com/vagabondan/CoiniumServ.git CoiniumServ cd CoiniumServ/ tar zxvf cs.tar.gz git rm --cached wiki git submodule init git submodule update cd build/release ./build.sh

However, I'm still unclear as to how to update the packages. Can anyone assist please?

Mer-idium commented 7 years ago

@TnTBass try using the Mono GUI rather than the command line. It is easier to get your head around it. You update the NuGet packages by checking for upgrades, the tool should come up once you have loaded the solution in Mono

TnTBass commented 7 years ago

@pfeiflelukas problem is I am using a remote headless server, so installing the GUI may not be easily done. I appreciate the tip though :)

vagabondan commented 7 years ago

@TnTBass you can try X11 forwarding through SSH connection to start X-windows applications (Monodevelop and others) remotely.

vagabondan commented 7 years ago

@TnTBass look at CoiniumServ.csproj there should be listed all dependencies and their pathes:

<ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Configuration" />
    <Reference Include="System.Core" />
    <Reference Include="System.Data" />
    <Reference Include="System.Data.Linq" />
    <Reference Include="System.Net" />
    <Reference Include="Microsoft.CSharp" />
    <Reference Include="System.Runtime, Version=4.0.0.0, Culture=neutral,    PublicKeyToken=b03f5f7f11d50a3a">
      <Private>True</Private>
    </Reference>
    <Reference Include="System.ServiceModel" />
    <Reference Include="System.Web.Extensions" />
    <Reference Include="System.Xml.Linq" />
    <Reference Include="Gibbed.IO">
      <HintPath>..\..\build\packages\Gibbed.IO.1.0.0\lib\Gibbed.IO.dll</HintPath>
    </Reference>
    <Reference Include="HashLib">
      <HintPath>..\..\build\packages\HashLib.2.0.1\lib\net40\HashLib.dll</HintPath>
    </Reference>
    <Reference Include="JsonConfig">
      <HintPath>..\..\build\packages\JsonConfig.1.0.0\lib\JsonConfig.dll</HintPath>
    </Reference>
    <Reference Include="JsonFx">
      <HintPath>..\..\build\packages\JsonFx.2.0.1209.2802\lib\net40\JsonFx.dll</HintPath>
    </Reference>
    <Reference Include="System.Xml" />
    <Reference Include="BouncyCastle.Crypto">
      <HintPath>packages\BouncyCastle.1.8.1\lib\BouncyCastle.Crypto.dll</HintPath>
    </Reference>
    <Reference Include="CryptSharp">
      <HintPath>packages\CryptSharpOfficial.2.1.0.0\lib\CryptSharp.dll</HintPath>
    </Reference>
    <Reference Include="Dapper">
      <HintPath>packages\Dapper.1.50.2\lib\net45\Dapper.dll</HintPath>
    </Reference>
    <Reference Include="FluentMigrator">
      <HintPath>packages\FluentMigrator.1.6.2\lib\40\FluentMigrator.dll</HintPath>
    </Reference>
    <Reference Include="FluentMigrator.Runner">
      <HintPath>packages\FluentMigrator.Runner.1.6.2\lib\40\FluentMigrator.Runner.dll</HintPath>
    </Reference>
    <Reference Include="Metrics">
      <HintPath>packages\Metrics.NET.0.5.3\lib\net45\Metrics.dll</HintPath>
    </Reference>
    <Reference Include="System.Web.Razor">
      <HintPath>packages\Microsoft.AspNet.Razor.3.2.3\lib\net45\System.Web.Razor.dll</HintPath>
    </Reference>
    <Reference Include="MySql.Data">
      <HintPath>packages\MySql.Data.6.9.9\lib\net45\MySql.Data.dll</HintPath>
    </Reference>
    <Reference Include="Nancy.CustomErrors">
      <HintPath>packages\Nancy.CustomErrors.1.2.0.0\lib\net40\Nancy.CustomErrors.dll</HintPath>
    </Reference>
    <Reference Include="Nancy.Hosting.Self">
      <HintPath>packages\Nancy.Hosting.Self.1.4.1\lib\net40\Nancy.Hosting.Self.dll</HintPath>
    </Reference>
    <Reference Include="Nancy.Metrics">
      <HintPath>packages\Nancy.Metrics.0.4.7\lib\net45\Nancy.Metrics.dll</HintPath>
    </Reference>
    <Reference Include="Nancy.ViewEngines.Razor">
      <HintPath>packages\Nancy.Viewengines.Razor.1.4.3\lib\net40\Nancy.ViewEngines.Razor.dll</HintPath>
    </Reference>
    <Reference Include="Newtonsoft.Json">
      <HintPath>packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
    </Reference>
    <Reference Include="AustinHarris.JsonRpc">
      <HintPath>packages\AustinHarris.JsonRpc.1.1.63\lib\net40\AustinHarris.JsonRpc.dll</HintPath>
    </Reference>
    <Reference Include="RestSharp">
      <HintPath>packages\RestSharp.105.2.3\lib\net45\RestSharp.dll</HintPath>
    </Reference>
    <Reference Include="Serilog">
      <HintPath>packages\Serilog.2.5.0\lib\net45\Serilog.dll</HintPath>
    </Reference>
    <Reference Include="Serilog.Sinks.Console">
      <HintPath>packages\Serilog.Sinks.Console.3.0.1\lib\net45\Serilog.Sinks.Console.dll</HintPath>
    </Reference>
    <Reference Include="Serilog.Sinks.File">
      <HintPath>packages\Serilog.Sinks.File.3.2.0\lib\net45\Serilog.Sinks.File.dll</HintPath>
    </Reference>
    <Reference Include="Serilog.Sinks.RollingFile">
      <HintPath>packages\Serilog.Sinks.RollingFile.3.3.0\lib\net45\Serilog.Sinks.RollingFile.dll</HintPath>
    </Reference>
    <Reference Include="Serilog.Sinks.ColoredConsole">
      <HintPath>packages\Serilog.Sinks.ColoredConsole.3.0.1\lib\net45\Serilog.Sinks.ColoredConsole.dll</HintPath>
    </Reference>
    <Reference Include="StackExchange.Redis">
      <HintPath>packages\StackExchange.Redis.1.2.4\lib\net45\StackExchange.Redis.dll</HintPath>
    </Reference>
    <Reference Include="System.IO.Compression" />
    <Reference Include="Nancy">
      <HintPath>packages\Nancy.1.4.4\lib\net40\Nancy.dll</HintPath>
    </Reference>
    <Reference Include="System.Runtime.Serialization" />
  </ItemGroup>
vagabondan commented 7 years ago

@TnTBass added packages to src/packages. I believe I put project structure in order a bit later.

vagabondan commented 7 years ago

build.sh scripts should be corrected to use actual CoiniumServ.sln file in src directory. Try it now.

vagabondan commented 7 years ago

It should work.