Author

Topic: Can't make 0.96.0.3-testing --"No targets specified and no makefile found." (Read 445 times)

full member
Activity: 209
Merit: 100
Radix-The Decentralized Finance Protocol
Official guide says only make
make -j$(grep -c ^processor /proc/cpuinfo) is a modification i made to use all cpu cores ( Faster compiling ).
If you follow the guide I made it should work. I just posted what I did on a clean system ( ubuntu 17.04 ).
But in fact the configure script tells you also what is missing.
staff
Activity: 3458
Merit: 6793
Just writing some code
Scrolling back I now see the problem occurred on the configure step:

configure: error: *** A compiler with support for C++11 language features is required.

I did upgrade gcc to 5.4 for this, see:

$ gcc --version
gcc (Ubuntu 5.4.1-2ubuntu1~14.04) 5.4.1 20160904
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
That looks right. Rerun configure and if there are no errors, run make with no arguments or options except your -j option. I also recommend that you actually use a number instead of a shell-ism to lookup the number of cores you have.
newbie
Activity: 7
Merit: 0
Hey achow101,

Perhaps it would help if I rephrased the question and included my command history, so you know exactly what I did:

 2004  git clone https://github.com/goatpig/BitcoinArmory.git
 2005  sudo apt-get update
 2006  sudo apt-get upgrade
 2007  cd BitcoinArmory/
 2008  git checkout testing
 2009  git submodule init
 2010  git submodule update
 2011  ./autogen.sh
 2012  ./configure

Scrolling back I now see the problem occurred on the configure step:

configure: error: *** A compiler with support for C++11 language features is required.

I did upgrade gcc to 5.4 for this, see:

$ gcc --version
gcc (Ubuntu 5.4.1-2ubuntu1~14.04) 5.4.1 20160904
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

staff
Activity: 3458
Merit: 6793
Just writing some code
Thanks Casimir1904 and achow101.

For whatever reason, at the make step of these instructions, I still get the same error.

I did try each of the Makefiles by exact name:

$ make -j$(grep -c ^processor /proc/cpuinfo) -f Makefile.am
Makefile.am:13: *** missing separator.  Stop.

and:

$ make -j$(grep -c ^processor /proc/cpuinfo) -f Makefile.in
Makefile.in:15: *** missing separator.  Stop.

I'm just a Linux user, not a C++ programmer, I don't really know what I'm doing, sorry.

Best.
You aren't following the instructions correctly, in fact, you aren't even following the instructions. Please read them again. The makefile.am and makefile.in files are not the makefiles. They are used by the configure script to actually make the real makefile (for which you won't need the -f option) and the configure script is made by running tine autogen.sh script.
newbie
Activity: 7
Merit: 0
Thanks Casimir1904 and achow101.

For whatever reason, at the make step of these instructions, I still get the same error.

I did try each of the Makefiles by exact name:

$ make -j$(grep -c ^processor /proc/cpuinfo) -f Makefile.am
Makefile.am:13: *** missing separator.  Stop.

and:

$ make -j$(grep -c ^processor /proc/cpuinfo) -f Makefile.in
Makefile.in:15: *** missing separator.  Stop.

I'm just a Linux user, not a C++ programmer, I don't really know what I'm doing, sorry.

Best.
staff
Activity: 3458
Merit: 6793
Just writing some code
The build docs in the repo are outdated. Use the instructions from the website: https://btcarmory.com/docs/building/
full member
Activity: 209
Merit: 100
Radix-The Decentralized Finance Protocol
newbie
Activity: 7
Merit: 0
Trying to build 0.96.0.3-testing from source, following instructions at:

    https://github.com/goatpig/BitcoinArmory/blob/master/linuxbuild/Linux_build_notes.md

Got dependencies installed, keys imported, cloned from git, tag checked out..  There was a message when tag checked out:

==========
Note: checking out 'v0.96.0.3-testing'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at 1a126dd... version bump
==========

The git tag -v reported that it was "Good signature from "goatpig"" (for 4922589A).

Alas, upon trying to do the final "make", it says:

   "No targets specified and no makefile found.  Stop."

Did I do something wrong?

Thanks.
Jump to: