Bitcoin Forum
April 26, 2024, 01:23:42 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin Core 0.12.1 on FC23 x86_64 build issues  (Read 839 times)
danlewis (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
May 18, 2016, 05:09:59 PM
 #1

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.
1714094622
Hero Member
*
Offline Offline

Posts: 1714094622

View Profile Personal Message (Offline)

Ignore
1714094622
Reply with quote  #2

1714094622
Report to moderator
In order to achieve higher forum ranks, you need both activity points and merit points.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714094622
Hero Member
*
Offline Offline

Posts: 1714094622

View Profile Personal Message (Offline)

Ignore
1714094622
Reply with quote  #2

1714094622
Report to moderator
1714094622
Hero Member
*
Offline Offline

Posts: 1714094622

View Profile Personal Message (Offline)

Ignore
1714094622
Reply with quote  #2

1714094622
Report to moderator
jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1023


Mine at Jonny's Pool


View Profile WWW
May 18, 2016, 05:56:00 PM
 #2

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.

Jonny's Pool - Mine with us and help us grow!  Support a pool that supports Bitcoin, not a hardware manufacturer's pockets!  No SPV cheats.  No empty blocks.
danlewis (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
May 18, 2016, 07:27:21 PM
Last edit: May 18, 2016, 08:45:21 PM by danlewis
 #3

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.
jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1023


Mine at Jonny's Pool


View Profile WWW
May 19, 2016, 12:07:06 AM
 #4

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.

Jonny's Pool - Mine with us and help us grow!  Support a pool that supports Bitcoin, not a hardware manufacturer's pockets!  No SPV cheats.  No empty blocks.
danlewis (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
May 19, 2016, 06:30:20 PM
 #5

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!
jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1023


Mine at Jonny's Pool


View Profile WWW
May 19, 2016, 06:39:24 PM
 #6

Glad to have helped Smiley

Jonny's Pool - Mine with us and help us grow!  Support a pool that supports Bitcoin, not a hardware manufacturer's pockets!  No SPV cheats.  No empty blocks.
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!