Post
Topic
Board Development & Technical Discussion
Re: Building headless Bitcoin and Bitcoin-qt on Windows
by
dscotese
on 30/04/2015, 00:01:45 UTC
Edit: I successfully compiled bitcoin/master today, and here is what I learned:

http://sourceforge.net/projects/pkgconfiglite/files/0.28-1/pkg-config-lite-0.28-1.tar.gz/download
Code:
configure --prefix=/usr && make && make install
I was unable to make autoreconf include m4 files from folders other than /usr/share/aclocal, so I configured it to be installed to /usr.

In the MSYS shell, /usr and / are the same, and the folder called /usr (and /) in that shell is actually C:\MinGW\msys\1.0.

I did some simple testing:
Code:
Dave@WindowsCompiler /
$ ls
bin  etc  home  lib  m.ico  msys.bat  msys.ico  postinstall  sbin  share

Dave@WindowsCompiler /
$ cd /usr

Dave@WindowsCompiler /usr
$ ls
bin  etc  home  lib  m.ico  msys.bat  msys.ico  postinstall  sbin  share

Given that, I used a solution from StackExchange:
Code:
ACLOCAL_PATH=/usr/share/aclocal ./autogen.sh
in the bitcoin directory and that avoided the PKG_... errors during the execution of ./configure.