Tell me more ×
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It's 100% free, no registration required.

There are instructions for building on Ubuntu/Debian, but I want to build it in Fedora.

share|improve this question
Did you try the linux build instructions in the bitcoin repo? – Nick ODell Feb 25 at 15:43
No, I don't know where to find them. – yanglifu90 Feb 25 at 15:58
1  

2 Answers

up vote 0 down vote accepted

You will have to rebuild OpenSSL, since the build shipped by Fedora/Red Hat does not include support for elliptic curve cryptography, on which Bitcoin relies. So you have to build your own.

Once that's done, you can get on with building Bitcoin normally, provided you point it at your private build of OpenSSL with -rpath.

Or, you can just skip all the work and use my existing Yum repository. This also gives you standards-compliant paths, as well as an SELinux-enabled bitcoind. Read the RPM spec files if you're really interested in the build process.

share|improve this answer

You'll need to install these libraries:

  • libssl - provided by openssl in Fedora
  • libboost - called boost in Fedora
  • libdb4.8 - called db4.8 in Fedora
  • miniupnpc

I'm not able to test this at the moment, but try something like this:

yum install openssl boost db4.8 miniupnpc

Once those are installed, and their src or dev packages may be necessary, you can do the actual build itself:

cd src/
make -f makefile.unix

Also requires openssl-devel

share|improve this answer
In file included from alert.cpp:9:0:<br/> key.h:16:49: fatal error: openssl/ec.h: No such file or directory<br/> compilation terminated.<br/>Maybe related to the bug? – yanglifu90 Feb 26 at 0:30
And there is no package db4.8, not at least in the default Fedora 18 repo. Is it in source repo? – yanglifu90 Feb 26 at 0:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.