Author

Topic: Bitcoin Core 0.12.1 on FC23 x86_64 build issues (Read 863 times)

legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
Glad to have helped Smiley
newbie
Activity: 3
Merit: 0
You are correct, a rename to get it out of the way allowed the BDB 4.8 installation to be found.  Thanks for the suggestion.

I solved the Qt issue by installing the FC23 qt5-qttools-devel package.

It would be nice if the developers would allow for a simpler way to override the default BDB when it is not 4.8 but multiple versions are installed.

Cheers!
legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
Then it's likely your alternate Berkeley DB is being picked up first in the search for appropriate headers.  Try renaming the other include/lib directories to something the search won't pick up.
newbie
Activity: 3
Merit: 0
My paths are different, but after specifying:

./configure CPPFLAGS="-I/usr/include/libdb4"

I still get:

checking for Berkeley DB C++ headers... /usr/include/libdb/
configure: error: Found Berkeley DB other than 4.8, required for portable wallet
s (--with-incompatible-bdb to ignore or --disable-wallet to disable wallet funct
ionality)

Note that the -I seems to have had no effect on where the script checked for includes.

I also verified that in /usr/include/libdb4 the headers are for v4.8.
legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
I'm going to assume you downloaded the bitcoin core source to /home/user/bitcoin0.12.1, your db4.8 includes are at /usr/include/db48 and your db4.8 libs are at /usr/lib/db48.  As such, you would execute the following:

Code:
cd /home/user/bitcoin0.12.1
./autogen.sh
./configure LDFLAGS="-L/usr/lib/db48" CPPFLAGS="-I/usr/include/db48"
make

As to your second issue, I don't typically build with QT support, sorry.

Hope this helps.
newbie
Activity: 3
Merit: 0
Version and OS as stated in the subject.

Issue #1 - Berkeley 4.8 is installed in addition to a later version.  The includes for 4.8 are in /usr/include/libdb4.  Try as I might I cannot determine how to make Bitcoin Core find v 4.8 and am forced to use the --with-incompatible-bdb switch.

Issue #2 - WARNING: LRELEASE not found; bitcoin-qt frontend will not be built.  However, lrelease IS installed:

                  [root@myhost Download]# rpm -ql qt-devel | grep lrelease
                  /usr/bin/lrelease-qt4
                  /usr/lib64/qt4/bin/lrelease
                  /usr/lib64/qt4/bin/lrelease-qt4

Suggestions (even if to file a bug report) are appreciated.

Thanks.
Jump to: