Author

Topic: help! cpuminer for linux...i got some errors.. (Read 1175 times)

member
Activity: 77
Merit: 10
Does configure report that it finds libcurl?
Otherwise you may have to specify its path explicitly, like "./configure --with-libcurl=PREFIX".

HTH,
Loucy
full member
Activity: 195
Merit: 100
For centOS I think it's
Quote
sudo yum install curl-devel

you are right. but system tell me that i have installed it.

Code:
[root@v15177 cpuminer]# sudo yum install curl-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.sunnyvision.com
 * extras: mirror.sunnyvision.com
 * updates: mirror.sunnyvision.com
Setting up Install Process
Package curl-devel-7.15.5-16.el5_9.i386 already installed and latest version
Nothing to do
sr. member
Activity: 280
Merit: 250
For centOS I think it's
Quote
sudo yum install curl-devel
full member
Activity: 195
Merit: 100
no, what is it? can you give me a download URL?
sr. member
Activity: 280
Merit: 250
do you have libcurl-dev installed?
full member
Activity: 195
Merit: 100
I tried my hand at compiling the cpuminer on centOS 6.2

libcurl installed:

Code:
[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:

Code:
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@?
Jump to: