Bitcoin Forum
May 23, 2024, 10:42:26 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Having trouble compiling v0.11.0  (Read 688 times)
ptschip (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
July 17, 2015, 02:33:13 AM
 #1

Hello All,

I'm new here and just starting to compile versions.  I've successfully compile v9.4 and v10.2 but when I get to 11.0 I get the following error and
then my compile ends.

configure: WARNING: libjpeg not found. Assuming qt has it built-in
checking for main in -lpcre16 ... no
configure: WARNING: libpcre16 not found. Assuming qt has it built-in
checking for main in -lQt5Core   ... yes
checking for main in -lQt5Gui    ... yes
checking for main in -lQt5Network... yes
checking for main in -lQt5Widgets... yes
checking for main in -lQt5Test... yes
checking QTest usability... yes
checking QTest presence... yes
checking for QTest... yes
checking for main in -lQt5DBus... no
checking QtDBus usability... no
checking QtDBus presence... no
checking for QtDBus... no
./configure: line 21364: syntax error near unexpected token `QTPLATFORM,'
./configure: line 21364: `        PKG_CHECK_MODULES(QTPLATFORM, Qt5PlatformSuppo
rt, QT_LIBS="$QTPLATFORM_LIBS $QT_LIBS")'


I'm running on Windows 7, 64 bit although I'm compiling as a 32 bit application using mingw32 and have all the correct dependencies I believe.

using the following script to configure

CPPFLAGS="-I/c/deps/db-4.8.30.NC/build_unix \
-I/c/deps/openssl-1.0.1l/include \
-I/c/deps \
-I/c/deps/protobuf-2.6.1/src \
-I/c/deps/libpng-1.6.16 \
-I/c/deps/qrencode-3.4.4 \
-I/c/deps/gmp-6.0.0" \
LDFLAGS="-L/c/deps/db-4.8.30.NC/build_unix \
-L/c/deps/openssl-1.0.1l \
-L/c/deps/miniupnpc \
-L/c/deps/protobuf-2.6.1/src/.libs \
-L/c/deps/libpng-1.6.16/.libs \
-L/c/deps/qrencode-3.4.4/.libs \
-L/c/deps/gmp-6.0.0/.libs" \
BOOST_ROOT=/c/deps/boost_1_57_0 \
./configure \
--disable-upnp-default \
--disable-tests \
--with-qt-incdir=/c/Qt/5.4.2/include \
--with-qt-libdir=/c/Qt/5.4.2/lib \
--with-qt-plugindir=/c/Qt/5.4.2/plugins \
--with-qt-bindir=/c/Qt/5.4.2/bin \
--with-protoc-bindir=/c/deps/protobuf-2.6.1/src




I've tried a few things and even recompiled v5.3.2 and v5.4.2 of Qt but none of those seem to be the problem.  I've gone into
the "configure" file and changed a few parameters but nothing seems to get me past this.

any help would be greatly, greatly, appreciated.
ptschip (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
July 18, 2015, 05:14:21 PM
Last edit: July 18, 2015, 05:39:27 PM by ptschip
 #2

I got this to build on windows now by doing the following:


added this line to "configure.ac"

# This m4 will only be used if a system copy cannot be found. This is helpful
# on systems where autotools are installed but the pkg-config macros are not in
# a default location. It is currently used for building on OSX where autotools
# are preinstalled but pkg-config comes from macports or homebrew. It should
# probably be removed when building on <= 10.6 is no longer supported.
m4_include([pkg.m4])


and copied the  pkg.m4 file from the 10.2 build to the 11  /c/bitcoin folder


then run configure and make and it works fine.

submitted a bitcoin core bug report #6458
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!