Bitcoin Forum
June 29, 2024, 05:52:00 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can't make 0.96.0.3-testing --"No targets specified and no makefile found."  (Read 425 times)
afunkyobject (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
June 28, 2017, 10:46:38 PM
 #1

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.
Casimir1904
Full Member
***
Offline Offline

Activity: 209
Merit: 100


Radix-The Decentralized Finance Protocol


View Profile
June 28, 2017, 11:23:18 PM
 #2

I made a little guide:
https://bitcointalk.org/index.php?topic=1988562.0

   R A D I X   ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬   The Decentralized Finance Protocol
█████████ GET TOKENS █████████    Facebook      Telegram      Twitter
The Radix DeFi Protocol is    SCALABLE SECURE COMMUNITY DRIVEN
achow101
Staff
Legendary
*
Offline Offline

Activity: 3444
Merit: 6726


Just writing some code


View Profile WWW
June 29, 2017, 01:27:09 AM
 #3

The build docs in the repo are outdated. Use the instructions from the website: https://btcarmory.com/docs/building/

afunkyobject (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
June 29, 2017, 04:09:53 AM
 #4

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.
achow101
Staff
Legendary
*
Offline Offline

Activity: 3444
Merit: 6726


Just writing some code


View Profile WWW
June 29, 2017, 04:58:35 AM
 #5

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.

afunkyobject (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
June 29, 2017, 05:29:22 AM
 #6

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.

achow101
Staff
Legendary
*
Offline Offline

Activity: 3444
Merit: 6726


Just writing some code


View Profile WWW
June 29, 2017, 05:35:30 AM
 #7

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.

Casimir1904
Full Member
***
Offline Offline

Activity: 209
Merit: 100


Radix-The Decentralized Finance Protocol


View Profile
June 29, 2017, 12:45:32 PM
 #8

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.

   R A D I X   ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬   The Decentralized Finance Protocol
█████████ GET TOKENS █████████    Facebook      Telegram      Twitter
The Radix DeFi Protocol is    SCALABLE SECURE COMMUNITY DRIVEN
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!