Bitcoin Forum
May 22, 2024, 12:54:29 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [Solved] Compile Bitcoin 0.9.0 from source linux  (Read 4753 times)
awazus (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
March 28, 2014, 08:20:40 AM
Last edit: March 28, 2014, 09:02:47 PM by awazus
 #1

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.

dserrano5
Legendary
*
Offline Offline

Activity: 1974
Merit: 1029



View Profile
March 28, 2014, 09:22:53 AM
 #2

Without autogen and/or configure output, it's impossible to tell.
Foxpup
Legendary
*
Offline Offline

Activity: 4368
Merit: 3045


Vile Vixen and Miss Bitcointalk 2021-2023


View Profile
March 28, 2014, 10:46:38 AM
 #3

There's no makefile because ./configure failed. It will have produced an error message explaining why. Without that error message, we cannot help you.

Will pretend to do unspeakable things (while actually eating a taco) for bitcoins: 1K6d1EviQKX3SVKjPYmJGyWBb1avbmCFM4
I am not on the scammers' paradise known as Telegram! Do not believe anyone claiming to be me off-forum without a signed message from the above address! Accept no excuses and make no exceptions!
awazus (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
March 28, 2014, 08:52:34 PM
 #4

Looks like it is working for me. ;-p false alarm
dlink
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
March 29, 2014, 02:33:46 AM
 #5

compiled 0.9.0,everything is ok
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!