Post
Topic
Board Development & Technical Discussion
Re: Building headless Bitcoin and Bitcoin-qt on Windows
by
KaChingCoinDev
on 24/04/2014, 02:12:37 UTC
I am getting this error:

Quote
make[1]: gcc: Command not found
make[1]: *** [cryptlib.o] Error 127
make[1]: Leaving directory `/c/deps/openssl-1.0.1g/crypto'
make: *** [build_crypto] Error 1

when I make openssl.

I have followed the guide exactly. I saw it just changed today, I am using openssl1.0.1g. I do still have perl and python installed, but I don't think that would do it. I set the path environment.

What am I doing wrong?

Perl and Python do not interfere with compiling. Are you 100% sure that gcc is available in the PATH variable? Try to call it from a random location (not within the makefile), what do you see?

Oh. It says

Quote
sh: gcc: command not found


Then your path variable was not correctly set. Find it with echo %PATH% or echo $PATH.

Got it fixed! Now I got all up to qrencode. Here is  my error on configure:

Quote
configure: error: in `/c/deps/qrencode-3.4.3':
configure: error: The pkg-config script could not be found or is too old.  Make
sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables png_CFLAGS
and png_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see .
See `config.log' for more details

(Computername)@(Computername) /c/deps/qrencode-3.4.3
$ make
make: *** No targets specified and no makefile found.  Stop.


Any ideas?