Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: knightmb on August 02, 2010, 09:45:30 PM



Title: Building bitcoin on Mandriva Linux
Post by: knightmb on August 02, 2010, 09:45:30 PM
I was able to build a dev box with Mandriva 2009 & 2010 and a few tweaks were needed to get a successful build.

Mandriva 2009 box gives you builds with Glibc 2.9 (good for those on older distros)
Mandriva 2010 box gives you builds with Glibc 2.10 (good for those on last years distros)

Think of these as "find & replace" for the default build instructions contained build-unix.txt file that comes with the source.

Mandriva 2009 & 2010 Dependencies (packages for easy install)
  • make
  • gcc
  • libgtk+2.0_0-devel
  • libopenssl0.9.8-devel
  • libopenssl0.9.8-static-devel
  • libdb4.7-devel
  • libdb4.7-static-devel

Boost 1.4 & wxWidgets 2.9.0 instructions work fine from the build-unix.txt file.

You will need to make one modification to the "makefile.unix" included in the source.

-- Add -I"/usr/include/db4"
to the end of the INCLUDEPATHS section at the very top so that it reads something like:
Code:
INCLUDEPATHS= \
 -I"/usr/local/include/wx-2.9" \
 -I"/usr/local/lib/wx/include/gtk2-unicode-debug-static-2.9" \
 -I"/usr/include/db4"

Afterwards, you should get a solid compile. Works on both the 32bit and 64bit Mandriva 2009 & 2010 releases. I wanted this to be somewhere searchable so that it could be found by anyone that runs into issues using a Mandriva dev box to build the program from source.

Enjoy!