Comments (13)
CC #1620
from snarkos.
@ljedrz we should add context about this (including jemalloc features) to the FAQ in the README
from snarkos.
Hey, Thanks Everyone I am able to install Snark OS.
from snarkos.
Also, take into account #2412
from snarkos.
After following few Issue threads Now i am getting this error:
from snarkos.
Quite not sure because you give little info, but in any case, you can always use Stackoverflow.
Just a quick search: https://stackoverflow.com/questions/55603111/unable-to-compile-rust-hello-world-on-windows-linker-link-exe-not-found
from snarkos.
When i tried again i got this error.
warning: "jemalloc support for `x86_64-pc-windows-msvc` is untested"
error: failed to run custom build command for `tikv-jemalloc-sys v0.5.3+5.3.0-patched`
Caused by:
process didn't exit successfully: `D:\snarkOS\target\release\build\tikv-jemalloc-sys-0341649976ece1cf\build-script-build` (exit code: 101)
--- stdout
TARGET=x86_64-pc-windows-msvc
HOST=x86_64-pc-windows-msvc
NUM_JOBS=4
OUT_DIR="D:\\snarkOS\\target\\release\\build\\tikv-jemalloc-sys-99d1ae042f58a7ea\\out"
BUILD_DIR="D:\\snarkOS\\target\\release\\build\\tikv-jemalloc-sys-99d1ae042f58a7ea\\out\\build"
SRC_DIR="C:\\Users\\ACER\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\tikv-jemalloc-sys-0.5.3+5.3.0-patched"
cargo:warning="jemalloc support for `x86_64-pc-windows-msvc` is untested"
cargo:rustc-cfg=prefixed
cargo:rerun-if-env-changed=JEMALLOC_OVERRIDE
OPT_LEVEL = Some("3")
TARGET = Some("x86_64-pc-windows-msvc")
HOST = Some("x86_64-pc-windows-msvc")
cargo:rerun-if-env-changed=CC_x86_64-pc-windows-msvc
CC_x86_64-pc-windows-msvc = None
cargo:rerun-if-env-changed=CC_x86_64_pc_windows_msvc
CC_x86_64_pc_windows_msvc = None
cargo:rerun-if-env-changed=HOST_CC
HOST_CC = None
cargo:rerun-if-env-changed=CC
CC = None
cargo:rerun-if-env-changed=CFLAGS_x86_64-pc-windows-msvc
CFLAGS_x86_64-pc-windows-msvc = None
cargo:rerun-if-env-changed=CFLAGS_x86_64_pc_windows_msvc
CFLAGS_x86_64_pc_windows_msvc = None
cargo:rerun-if-env-changed=HOST_CFLAGS
HOST_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
DEBUG = Some("false")
CC="C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX64\\x64\\cl.exe"
CFLAGS="-nologo -MD -O2 -Brepro -W4"
JEMALLOC_REPO_DIR="jemalloc"
cargo:rerun-if-env-changed=JEMALLOC_SYS_WITH_MALLOC_CONF
cargo:rerun-if-env-changed=JEMALLOC_SYS_WITH_LG_PAGE
cargo:rerun-if-env-changed=JEMALLOC_SYS_WITH_LG_HUGEPAGE
cargo:rerun-if-env-changed=JEMALLOC_SYS_WITH_LG_QUANTUM
cargo:rerun-if-env-changed=JEMALLOC_SYS_WITH_LG_VADDR
--with-jemalloc-prefix=_rjem_
running: "sh" "D:/snarkOS/target/release/build/tikv-jemalloc-sys-99d1ae042f58a7ea/out/build/configure" "--disable-cxx" "--enable-doc=no" "--enable-shared=no" "--with-jemalloc-prefix=_rjem_" "--with-private-namespace=_rjem_" "--host=x86_64-pc-win32" "--build=x86_64-pc-win32" "--prefix=D:\\snarkOS\\target\\release\\build\\tikv-jemalloc-sys-99d1ae042f58a7ea\\out"
--- stderr
thread 'main' panicked at 'failed to execute command: program not found', C:\Users\ACER\.cargo\registry\src\github.com-1ecc6299db9ec823\tikv-jemalloc-sys-0.5.3+5.3.0-patched\build.rs:342:19
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile `snarkos v2.0.2 (D:\snarkOS)`, intermediate artifacts can be found at `D:\snarkOS\target`
from snarkos.
#2390
run with --no-default-features
from snarkos.
#2390 run with
--no-default-features
Now i am getting this Error;
PS D:\snarkOS> cargo install --no-default-features --path .
Installing snarkos v2.0.2 (D:\snarkOS)
Updating crates.io index
Compiling snarkvm-console-network v0.11.5
Compiling librocksdb-sys v0.11.0+8.1.1
Compiling ureq v2.6.2
Compiling thread_local v1.1.7
Compiling snarkvm-circuit-environment v0.11.5
Compiling snarkvm-circuit-types-boolean v0.11.5
Compiling snarkvm-circuit-types-field v0.11.5
Compiling snarkvm-circuit-types-scalar v0.11.5
Compiling snarkvm-circuit-types-group v0.11.5
Compiling snarkvm-circuit-types-integers v0.11.5
Compiling snarkvm-circuit-types-address v0.11.5
Compiling snarkvm-console-account v0.11.5
Compiling rocksdb v0.21.0
Compiling snarkvm-console-program v0.11.5
Compiling snarkvm-console v0.11.5
Compiling tracing-subscriber v0.3.17
Compiling snarkos v2.0.2 (D:\snarkOS)
Compiling snarkvm-circuit-types-string v0.11.5
Compiling snarkvm-circuit-types v0.11.5
Compiling snarkvm-circuit-algorithms v0.11.5
Compiling snarkvm-circuit-collections v0.11.5
Compiling snarkvm-circuit-network v0.11.5
Compiling snarkvm-circuit-account v0.11.5
Compiling snarkvm-circuit-program v0.11.5
Compiling snarkvm-circuit v0.11.5
Compiling snarkvm-synthesizer-snark v0.11.5
Compiling snarkvm-synthesizer-coinbase v0.11.5
Compiling snarkvm-synthesizer v0.11.5
Compiling snarkvm-ledger v0.11.5
Compiling snarkvm v0.11.2
error[E0432]: unresolved import `crate::synthesizer::ProvingKey`
--> C:\Users\ACER\.cargo\registry\src\github.com-1ecc6299db9ec823\snarkvm-0.11.2\vm\file\prover.rs:19:28
|
19 | synthesizer::{Program, ProvingKey},
| ^^^^^^^^^^ no `ProvingKey` in the root
|
= help: consider importing one of these items instead:
crate::prelude::snark::ProvingKey
snarkvm_synthesizer::prelude::ProvingKey
error[E0432]: unresolved import `crate::synthesizer::VerifyingKey`
--> C:\Users\ACER\.cargo\registry\src\github.com-1ecc6299db9ec823\snarkvm-0.11.2\vm\file\verifier.rs:19:28
|
19 | synthesizer::{Program, VerifyingKey},
| ^^^^^^^^^^^^ no `VerifyingKey` in the root
|
= help: consider importing one of these items instead:
crate::prelude::helpers::rocksdb::DeploymentMap::VerifyingKey
crate::prelude::snark::VerifyingKey
snarkvm_synthesizer::helpers::rocksdb::DeploymentMap::VerifyingKey
snarkvm_synthesizer::prelude::VerifyingKey
error[E0432]: unresolved imports `crate::synthesizer::ProvingKey`, `crate::synthesizer::VerifyingKey`
--> C:\Users\ACER\.cargo\registry\src\github.com-1ecc6299db9ec823\snarkvm-0.11.2\vm\package\mod.rs:42:86
|
42 | synthesizer::{CallOperator, Execution, Inclusion, Instruction, Process, Program, ProvingKey, VerifyingKey},
| ^^^^^^^^^^ ^^^^^^^^^^^^ no `VerifyingKey` in the root
| |
| no `ProvingKey` in the root
|
= help: consider importing one of these items instead:
crate::prelude::snark::ProvingKey
snarkvm_synthesizer::prelude::ProvingKey
= help: consider importing one of these items instead:
crate::prelude::helpers::rocksdb::DeploymentMap::VerifyingKey
crate::prelude::snark::VerifyingKey
snarkvm_synthesizer::helpers::rocksdb::DeploymentMap::VerifyingKey
snarkvm_synthesizer::prelude::VerifyingKey
For more information about this error, try `rustc --explain E0432`.
error: could not compile `snarkvm` due to 3 previous errors
error: failed to compile `snarkos v2.0.2 (D:\snarkOS)`, intermediate artifacts can be found at `D:\snarkOS\target`
from snarkos.
Should be fixed with #2418
from snarkos.
I'll do it
from snarkos.
lioliku
Hey Mate thanks for reply i have recloned the repo and
ran
cargo install --no-default-features --path .
It installed successfully
BUT BUT
when I ran
./run-client.sh
I am getting this error:
Running an Aleo client node...
Checking for updates...
Saved working directory and index state WIP on testnet3: f48a4cd Merge pull request #2420 from AleoHQ/ref/transition
Updating crates.io index
Compiling tikv-jemalloc-sys v0.5.3+5.3.0-patched
Compiling snarkos v2.0.2 (D:\snarkOS)
The following warnings were emitted during compilation:
warning: "jemalloc support for `x86_64-pc-windows-msvc` is untested"
error: failed to run custom build command for `tikv-jemalloc-sys v0.5.3+5.3.0-patched`
Caused by:
process didn't exit successfully: `D:\snarkOS\target\release\build\tikv-jemalloc-sys-0341649976ece1cf\build-script-build` (exit code: 101)
--- stdout
TARGET=x86_64-pc-windows-msvc
HOST=x86_64-pc-windows-msvc
NUM_JOBS=4
OUT_DIR="D:\\snarkOS\\target\\release\\build\\tikv-jemalloc-sys-99d1ae042f58a7ea\\out"
BUILD_DIR="D:\\snarkOS\\target\\release\\build\\tikv-jemalloc-sys-99d1ae042f58a7ea\\out\\build"
SRC_DIR="C:\\Users\\ACER\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\tikv-jemalloc-sys-0.5.3+5.3.0-patched"
cargo:warning="jemalloc support for `x86_64-pc-windows-msvc` is untested"
cargo:rustc-cfg=prefixed
cargo:rerun-if-env-changed=JEMALLOC_OVERRIDE
OPT_LEVEL = Some("3")
TARGET = Some("x86_64-pc-windows-msvc")
HOST = Some("x86_64-pc-windows-msvc")
cargo:rerun-if-env-changed=CC_x86_64-pc-windows-msvc
CC_x86_64-pc-windows-msvc = None
cargo:rerun-if-env-changed=CC_x86_64_pc_windows_msvc
CC_x86_64_pc_windows_msvc = None
cargo:rerun-if-env-changed=HOST_CC
HOST_CC = None
cargo:rerun-if-env-changed=CC
CC = None
cargo:rerun-if-env-changed=CFLAGS_x86_64-pc-windows-msvc
CFLAGS_x86_64-pc-windows-msvc = None
cargo:rerun-if-env-changed=CFLAGS_x86_64_pc_windows_msvc
CFLAGS_x86_64_pc_windows_msvc = None
cargo:rerun-if-env-changed=HOST_CFLAGS
HOST_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
DEBUG = Some("false")
CC="C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX64\\x64\\cl.exe"
CFLAGS="-nologo -MD -O2 -Brepro -W4"
JEMALLOC_REPO_DIR="jemalloc"
cargo:rerun-if-env-changed=JEMALLOC_SYS_WITH_MALLOC_CONF
cargo:rerun-if-env-changed=JEMALLOC_SYS_WITH_LG_PAGE
cargo:rerun-if-env-changed=JEMALLOC_SYS_WITH_LG_HUGEPAGE
cargo:rerun-if-env-changed=JEMALLOC_SYS_WITH_LG_QUANTUM
cargo:rerun-if-env-changed=JEMALLOC_SYS_WITH_LG_VADDR
--with-jemalloc-prefix=_rjem_
running: "sh" "D:/snarkOS/target/release/build/tikv-jemalloc-sys-99d1ae042f58a7ea/out/build/configure" "--disable-cxx" "--enable-doc=no" "--enable-shared=no" "--with-jemalloc-prefix=_rjem_" "--with-private-namespace=_rjem_" "--host=x86_64-pc-win32" "--build=x86_64-pc-win32" "--prefix=D:\\snarkOS\\target\\release\\build\\tikv-jemalloc-sys-99d1ae042f58a7ea\\out"
checking for xsltproc... false
checking for x86_64-pc-win32-gcc... C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\cl.exe
checking whether the C compiler works... no
running: "tail" "-n" "100" "D:\\snarkOS\\target\\release\\build\\tikv-jemalloc-sys-99d1ae042f58a7ea\\out\\build\\config.log"
XSLROOT=''
XSLTPROC='false'
a=''
abi=''
abs_objroot='/d/snarkOS/target/release/build/tikv-jemalloc-sys-99d1ae042f58a7ea/out/build/'
abs_srcroot='/d/snarkOS/target/release/build/tikv-jemalloc-sys-99d1ae042f58a7ea/out/build/'
ac_ct_CC=''
ac_ct_CXX=''
bindir='${exec_prefix}/bin'
build='x86_64-pc-win32'
build_alias='x86_64-pc-win32'
build_cpu=''
build_os=''
build_vendor=''
cfghdrs_in=''
cfghdrs_out=''
cfgoutputs_in=''
cfgoutputs_out=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
enable_autogen=''
enable_cache_oblivious=''
enable_cxx='no'
enable_debug=''
enable_doc='no'
enable_experimental_smallocx=''
enable_fill=''
enable_initial_exec_tls=''
enable_lazy_lock=''
enable_log=''
enable_opt_safety_checks=''
enable_opt_size_checks=''
enable_prof=''
enable_readlinkat=''
enable_shared='no'
enable_static=''
enable_stats=''
enable_tls=''
enable_uaf_detection=''
enable_utrace=''
enable_xmalloc=''
enable_zone_allocator=''
exe=''
exec_prefix='D:\snarkOS\target\release\build\tikv-jemalloc-sys-99d1ae042f58a7ea\out'
host='x86_64-pc-win32'
host_alias='x86_64-pc-win32'
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
importlib=''
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_suffix=''
je_=''
jemalloc_version=''
jemalloc_version_bugfix=''
jemalloc_version_gid=''
jemalloc_version_major=''
jemalloc_version_minor=''
jemalloc_version_nrev=''
libdir='${exec_prefix}/lib'
libdl=''
libexecdir='${exec_prefix}/libexec'
libprefix=''
link_whole_archive=''
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
o=''
objroot=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='D:\snarkOS\target\release\build\tikv-jemalloc-sys-99d1ae042f58a7ea\out'
private_namespace=''
program_transform_name='s,x,x,'
psdir='${docdir}'
rev='2'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
so=''
srcroot=''
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
configure: exit 77
--- stderr
configure: error: in `/d/snarkOS/target/release/build/tikv-jemalloc-sys-99d1ae042f58a7ea/out/build':
configure: error: C compiler cannot create executables
See `config.log' for more details
thread 'main' panicked at 'command did not execute successfully: "sh" "D:/snarkOS/target/release/build/tikv-jemalloc-sys-99d1ae042f58a7ea/out/build/configure" "--disable-cxx" "--enable-doc=no" "--enable-shared=no" "--with-jemalloc-prefix=_rjem_" "--with-private-namespace=_rjem_" "--host=x86_64-pc-win32" "--build=x86_64-pc-win32" "--prefix=D:\\snarkOS\\target\\release\\build\\tikv-jemalloc-sys-99d1ae042f58a7ea\\out"
expected success, got: exit code: 77', C:\Users\ACER\.cargo\registry\src\github.com-1ecc6299db9ec823\tikv-jemalloc-sys-0.5.3+5.3.0-patched\build.rs:346:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
from snarkos.
no need to run ./run-client.sh
after you install with cargo
if you run snarkOS
and see this screen, you are ready to go
Also, feel free to join our Discord server https://discord.gg/aleohq. We have excellent community support there, and feel free to tag me the_liolik#3786
.
from snarkos.
Related Issues (20)
- [Feature] Add sync status information for latest height given by REST api
- [Feature] Amend superfluous is_peer_far_in_future check
- [Feature] Store batch proposal to disk on shutdown HOT 8
- [Proposal] Integrating Uptimes and Downtimes of the blockchain into Atlassian Statuspage
- [Bug] HOT 3
- [Feature]
- [Bug] test_connection_cleanups is flaky HOT 2
- [Bug] Peers are not sufficiently connecting to each other HOT 2
- [Bug] Expire or persist Batch Proposals HOT 1
- [Feature] Need a way to NOT change REST port number when --dev parameter is specified HOT 1
- [Bug] Due to changes from PR #3217, BFT sync logic is not safe, 2 malicious validators can send invalid block_locators and blocks to other nodes and halt the network HOT 4
- aleo.tools is not available HOT 2
- [Bug] Attacker can exploit validator node memory leak to halt the network HOT 5
- [Bug]Malicious validator send fake block locator and halt the network(node is syncing)
- [Bug]Malicious validator send invalid `BatchPropose` and block the `CertificateRequest`
- [Bug] Malicious validator can send fake block locator and halt the network(node is syncing) HOT 5
- [Bug] Malicious validator attack disrupts consensus by blocking certificate request HOT 4
- @ljedrz can you look into using `cfg_iter` and/or `cfg_sorted_by` to rayonify (conditionally with `feature = 'serial'`)?
- [Feature] Debian Support HOT 2
- [Bug]not able to create the collection and mint nft from collection HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snarkos.