I tried my hand at compiling the cpuminer on centOS 6.2
libcurl installed:
[root@v15177 cpuminer-master]# curl -V
curl 7.21.3 (i686-pc-linux-gnu) libcurl/7.21.3 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: IDN Largefile NTLM SSL libz
using ./autogen.sh on the cpuminer returns no errors. and ./configure is fine too.
'make' throws some errors:
make[2]: Entering directory `/home/myker/cpuminer/cpuminer-master'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./compat/jansson @LIBCURL_CPPFLAGS@ -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -O3 -MT minerd-cpu-miner.o -MD -MP -MF .deps/minerd-cpu-miner.Tpo -c -o minerd-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c
gcc: @LIBCURL_CPPFLAGS@: No such file or directory
make[2]: *** [minerd-cpu-miner.o] Error 1
make[2]: Leaving directory `/home/myker/cpuminer/cpuminer-master'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/myker/cpuminer/cpuminer-master'
make: *** [all] Error 2
do you know what's the problem? why the system can't find @LIBCURL_CPPFLAGS@?