Code Monkey home page Code Monkey logo

Comments (12)

dyc3 avatar dyc3 commented on May 18, 2024

did you make sure to check out the git submodules?

from steamguard-cli.

vitacell avatar vitacell commented on May 18, 2024

bash-4.3$ git clone --recursive https://github.com/dyc3/steamguard-cli.git
Clonando en 'steamguard-cli'...
remote: Enumerating objects: 61, done.
remote: Counting objects: 100% (61/61), done.
remote: Compressing objects: 100% (33/33), done.
remote: Total 494 (delta 22), reused 57 (delta 21), pack-reused 433
Recibiendo objetos: 100% (494/494), 103.08 KiB | 1.26 MiB/s, listo.
Resolviendo deltas: 100% (283/283), listo.
Submódulo 'SteamAuth' (https://github.com/dyc3/SteamAuth.git) registrado para ruta 'SteamAuth'
Clonando en '/home/vita/steamguard-cli/SteamAuth'...
remote: Enumerating objects: 361, done.
remote: Total 361 (delta 0), reused 0 (delta 0), pack-reused 361
Recibiendo objetos: 100% (361/361), 85.47 KiB | 1.22 MiB/s, listo.
Resolviendo deltas: 100% (233/233), listo.
Ruta de submódulo 'SteamAuth': check out realizado a 'e0619528fbe8f4c6f74135283b3f991219e73cf4'
bash-4.3$ cd steamguard-cli/
bash-4.3$ make
mkdir -p build/
nuget restore SteamAuth/SteamAuth/SteamAuth.sln
MSBuild auto-detection: using msbuild version '14.0' from '/usr/lib/mono/xbuild/14.0/bin'.
Restoring NuGet package Newtonsoft.Json.12.0.3.
Adding package 'Newtonsoft.Json.12.0.3' to folder '/home/vita/steamguard-cli/SteamAuth/SteamAuth/packages'
Added package 'Newtonsoft.Json.12.0.3' to folder '/home/vita/steamguard-cli/SteamAuth/SteamAuth/packages'

NuGet Config files used:
/home/vita/.config/NuGet/NuGet.Config

Feeds used:
/home/vita/.nuget/packages/
https://api.nuget.org/v3/index.json

Installed:
1 package(s) to packages.config projects
echo "NEWTONSOFT_JSON_PATH="
NEWTONSOFT_JSON_PATH=
mcs -target:library -out:build/SteamAuth.dll -r: SteamAuth/SteamAuth/APIEndpoints.cs SteamAuth/SteamAuth/AuthenticatorLinker.cs SteamAuth/SteamAuth/Confirmation.cs SteamAuth/SteamAuth/SessionData.cs SteamAuth/SteamAuth/SteamGuardAccount.cs SteamAuth/SteamAuth/SteamWeb.cs SteamAuth/SteamAuth/TimeAligner.cs SteamAuth/SteamAuth/UserLogin.cs SteamAuth/SteamAuth/Util.cs SteamAuth/SteamAuth/Properties/AssemblyInfo.cs
error CS2005: Missing file specification for `/r:' option
makefile:4: fallo en las instrucciones para el objetivo 'all'
make: *** [all] Error 1

from steamguard-cli.

dyc3 avatar dyc3 commented on May 18, 2024

It looks like NEWTONSOFT_JSON_PATH is not being set.
What does this command give you?

find -name Newtonsoft.Json.dll

from steamguard-cli.

vitacell avatar vitacell commented on May 18, 2024

It looks like NEWTONSOFT_JSON_PATH is not being set.
What does this command give you?

find -name Newtonsoft.Json.dll

bash-4.3$ pwd
/home/vita/steamguard-cli
bash-4.3$ find -name Newtonsoft.Json.dll
./SteamAuth/SteamAuth/packages/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.dll
./SteamAuth/SteamAuth/packages/Newtonsoft.Json.12.0.3/lib/netstandard2.0/Newtonsoft.Json.dll
./SteamAuth/SteamAuth/packages/Newtonsoft.Json.12.0.3/lib/net40/Newtonsoft.Json.dll
./SteamAuth/SteamAuth/packages/Newtonsoft.Json.12.0.3/lib/net35/Newtonsoft.Json.dll
./SteamAuth/SteamAuth/packages/Newtonsoft.Json.12.0.3/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.dll
./SteamAuth/SteamAuth/packages/Newtonsoft.Json.12.0.3/lib/netstandard1.0/Newtonsoft.Json.dll
./SteamAuth/SteamAuth/packages/Newtonsoft.Json.12.0.3/lib/netstandard1.3/Newtonsoft.Json.dll
./SteamAuth/SteamAuth/packages/Newtonsoft.Json.12.0.3/lib/net20/Newtonsoft.Json.dll
./SteamAuth/SteamAuth/packages/Newtonsoft.Json.12.0.3/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.dll

Can relative paths be a problem? Or "./"?

Here some of my packages:
nuget-3.5.0-noarch-1_SBo
make-4.1-x86_64-2
mono-5.0.1.1-x86_64-1_SBo
mono-addins-1.3.5-x86_64-1_SBo
mono-basic-4.6-x86_64-1_SBo
monodevelop-6.3.0.864-x86_64-2_SBo

from steamguard-cli.

dyc3 avatar dyc3 commented on May 18, 2024

This is the full command that's used in the makefile to find the dll.

find -name Newtonsoft.Json.dll | grep \/net45\/ | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n | tail -n 1

I tried it against the output you provided and it worked fine. Do you have the sort command?

from steamguard-cli.

vitacell avatar vitacell commented on May 18, 2024

This is the full command that's used in the makefile to find the dll.

find -name Newtonsoft.Json.dll | grep \/net45\/ | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n | tail -n 1

I tried it against the output you provided and it worked fine. Do you have the sort command?

bash-4.3$ whereis sort
sort: /usr/bin/sort /bin/sort /usr/man/man1/sort.1.gz /usr/man/man3/sort.3.gz

bash-4.3$ find -name Newtonsoft.Json.dll | grep /net45/ | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n | tail -n 1
./SteamAuth/SteamAuth/packages/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.dll

Hmmm still can not to figure out what is failing and where.

from steamguard-cli.

dyc3 avatar dyc3 commented on May 18, 2024

Super weird...

As a temporary fix, you can modify the makefile to set NEWTONSOFT_JSON_PATH manually

from steamguard-cli.

vitacell avatar vitacell commented on May 18, 2024

I tryed everyhing but I have same output. Then I tryed this in makefile:
$(eval NEWTONSOFT_JSON_PATH=/home/vita/steamguard-cli/SteamAuth/SteamAuth/packages/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.dll)

bash-4.3$ make
mkdir -p build/
nuget restore SteamAuth/SteamAuth/SteamAuth.sln
MSBuild auto-detection: using msbuild version '14.0' from '/usr/lib/mono/xbuild/14.0/bin'.
Ya se han instalado todos los paquetes mostrados en 'packages.config'.
echo "NEWTONSOFT_JSON_PATH=/home/vita/steamguard-cli/SteamAuth/SteamAuth/packages/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.dll"
NEWTONSOFT_JSON_PATH=/home/vita/steamguard-cli/SteamAuth/SteamAuth/packages/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.dll
mcs -target:library -out:build/SteamAuth.dll -r:/home/vita/steamguard-cli/SteamAuth/SteamAuth/packages/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.dll SteamAuth/SteamAuth/APIEndpoints.cs SteamAuth/SteamAuth/AuthenticatorLinker.cs SteamAuth/SteamAuth/Confirmation.cs SteamAuth/SteamAuth/SessionData.cs SteamAuth/SteamAuth/SteamGuardAccount.cs SteamAuth/SteamAuth/SteamWeb.cs SteamAuth/SteamAuth/TimeAligner.cs SteamAuth/SteamAuth/UserLogin.cs SteamAuth/SteamAuth/Util.cs SteamAuth/SteamAuth/Properties/AssemblyInfo.cs
error CS0009: Metadata file `/home/vita/steamguard-cli/SteamAuth/SteamAuth/packages/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.dll' does not contain valid metadata
Compilation failed: 1 error(s), 0 warnings
makefile:4: fallo en las instrucciones para el objetivo 'all'
make: *** [all] Error 1

from steamguard-cli.

dyc3 avatar dyc3 commented on May 18, 2024

What version of mono do you have, and what OS are you on?

from steamguard-cli.

vitacell avatar vitacell commented on May 18, 2024

What version of mono do you have, and what OS are you on?

Slackware64-14.2 (release date 2016).

Here some of my packages:
nuget-3.5.0-noarch-1_SBo
make-4.1-x86_64-2
mono-5.0.1.1-x86_64-1_SBo
mono-addins-1.3.5-x86_64-1_SBo
mono-basic-4.6-x86_64-1_SBo
monodevelop-6.3.0.864-x86_64-2_SBo
libgdiplus-5.4-x86_64-1_SBo

from steamguard-cli.

dyc3 avatar dyc3 commented on May 18, 2024

try upgrading to mono 6

from steamguard-cli.

salahmak avatar salahmak commented on May 18, 2024

@dyc3 i have mono6 and still have the same problem, is there any fix ?

from steamguard-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.