Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build from source fails configure #3375

Closed
2114L3 opened this issue Dec 7, 2016 · 2 comments
Closed

build from source fails configure #3375

2114L3 opened this issue Dec 7, 2016 · 2 comments

Comments

@2114L3
Copy link

2114L3 commented Dec 7, 2016

ArchLinux 4.8.11-1-ARCH #1 SMP PREEMPT Sun Nov 27 09:26:14 CET 2016 x86_64 GNU/Linux
rustc 1.13.0 (from pacman)
cmake version 3.6.3
/bin/python is Python 3.5.2 (default, Nov 7 2016, 11:31:36)
curl 7.51.0 (x86_64-pc-linux-gnu) libcurl/7.51.0 OpenSSL/1.0.2j zlib/1.2.8 libssh2/1.8.0

commands;

git clone --recursive https://github.com/rust-lang/cargo
cd cargo
./configure

output;

configure: looking for configure programs
configure: found cmp
configure: found mkdir
configure: found printf
configure: found cut
configure: found head
configure: found grep
configure: found xargs
configure: found cp
configure: found find
configure: found uname
configure: found date
configure: found tr
configure: found sed
configure: found cmake
configure: found make
configure: recreating config.tmp
configure: 
configure: processing ./configure args
configure: 
configure: CFG_PREFIX           := /usr/local 
configure: CFG_LOCAL_RUST_ROOT  :=  
configure: CFG_CARGO            := cargo 
configure: CFG_RUSTC            := rustc 
configure: CFG_RUSTDOC          := rustdoc 
configure: CFG_CARGO            :=  
configure: error: needed, but unable to find any of: CFG_CARGO cargo

no errors on clone
occurs on two machines, other with similar specs above, same output.

@2114L3
Copy link
Author

2114L3 commented Dec 7, 2016

./configure --target=i686-unknown-linux-gnu,x86_64-unknown-linux-gnu
has the same error

@alexcrichton
Copy link
Member

Thanks for the report! The error though is indicating that Cargo needs a pre-existing cargo to build itself, so you'll need to be sure to install another version of Cargo ahead of time to bootstrap Cargo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants