Bitcoin Forum
December 17, 2017, 06:07:08 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: help! cpuminer for linux...i got some errors..  (Read 1073 times)
tamehuang
Full Member
***
Offline Offline

Activity: 188



View Profile
May 10, 2013, 07:02:05 PM
 #1

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@?

1513534028
Hero Member
*
Offline Offline

Posts: 1513534028

View Profile Personal Message (Offline)

Ignore
1513534028
Reply with quote  #2

1513534028
Report to moderator
1513534028
Hero Member
*
Offline Offline

Posts: 1513534028

View Profile Personal Message (Offline)

Ignore
1513534028
Reply with quote  #2

1513534028
Report to moderator
1513534028
Hero Member
*
Offline Offline

Posts: 1513534028

View Profile Personal Message (Offline)

Ignore
1513534028
Reply with quote  #2

1513534028
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513534028
Hero Member
*
Offline Offline

Posts: 1513534028

View Profile Personal Message (Offline)

Ignore
1513534028
Reply with quote  #2

1513534028
Report to moderator
1513534028
Hero Member
*
Offline Offline

Posts: 1513534028

View Profile Personal Message (Offline)

Ignore
1513534028
Reply with quote  #2

1513534028
Report to moderator
1513534028
Hero Member
*
Offline Offline

Posts: 1513534028

View Profile Personal Message (Offline)

Ignore
1513534028
Reply with quote  #2

1513534028
Report to moderator
oroqen
Sr. Member
****
Offline Offline

Activity: 280



View Profile
May 10, 2013, 07:29:48 PM
 #2

do you have libcurl-dev installed?
tamehuang
Full Member
***
Offline Offline

Activity: 188



View Profile
May 10, 2013, 07:36:32 PM
 #3

no, what is it? can you give me a download URL?

oroqen
Sr. Member
****
Offline Offline

Activity: 280



View Profile
May 10, 2013, 07:48:55 PM
 #4

For centOS I think it's
Quote
sudo yum install curl-devel
tamehuang
Full Member
***
Offline Offline

Activity: 188



View Profile
May 11, 2013, 02:41:09 AM
 #5

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

loucy
Member
**
Offline Offline

Activity: 77


View Profile
May 13, 2013, 12:27:16 PM
 #6

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

HTH,
Loucy
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!