Author

Topic: [Solved] Compile Bitcoin 0.9.0 from source linux (Read 4760 times)

newbie
Activity: 1
Merit: 0
compiled 0.9.0,everything is ok
newbie
Activity: 10
Merit: 0
Looks like it is working for me. ;-p false alarm
legendary
Activity: 4522
Merit: 3183
Vile Vixen and Miss Bitcointalk 2021-2023
There's no makefile because ./configure failed. It will have produced an error message explaining why. Without that error message, we cannot help you.
legendary
Activity: 1974
Merit: 1029
Without autogen and/or configure output, it's impossible to tell.
newbie
Activity: 10
Merit: 0
Hi i have been trying to compile the new bitcoin 0.9.0 on Ubuntu 12.04 VPS

but every time i do that i get error " make: *** No targets specified and no makefile found.  Stop."

This is after
$cd bitcoin
$./autogen.sh
$./configure
$make

Have already installed
sudo apt-get install checkinstall subversion git git-core build-essential
sudo apt-get install libssl-dev libdb++-dev libminiupnpc-dev
sudo apt-get install libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev

I have tried every thing but i dont know where i am going wrong

Edit : - Solution
this is what i did to solve the problem.

-apt-get install build-essential libboost-all-dev automake libtool autoconf
-sudo apt-get install libdb5.1++-dev
-sudo apt-get install libboost-all-dev
-sudo apt-get install pkg-config

-cd bitcoin
-git clone -b 0.9.0 https://github.com/bitcoin/bitcoin
-./autogen.sh && ./configure --with-incompatible-bdb
-make
-make install

-bitcoind

Error -
 **| terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid
Aborted (core dumped)  |**

Solution
-export LC_ALL=C

-mkdir -p ~/.bitcoin/
-echo -e "rpcuser=rpc\nrpcpassword=rpcpw1234\nserver=1\ndaemon=1\ntxindex=1" > ~/.bitcoin/bitcoin.conf

-Bitcoind
You need to rebuild the database using -reindex to change -txindex.
Do you want to rebuild the block database now?
--right now the building block may take some time....
_________________________________________________________________________

Other errors i got :-
-./autogen.sh
permission denied,
-chmod +x autogen.sh

Error when compling  :- g++: internal compiler error: Killed (program cc1plus)
Means Ram is to less, increasing ram wont work.

Jump to: