Bitcoin Forum
April 19, 2024, 01:05:29 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: CPU Miner & problem with libcurl  (Read 16355 times)
lupio (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
March 23, 2011, 11:35:35 AM
 #1

Hello,

I install CPU Miner ( https://github.com/j16sdiz/cpuminer ).
But when I execute configure, I have a problem with the libcurl :

Code:
./configure: line 4830: syntax error near unexpected token `,'
./configure: line 4830: `LIBCURL_CHECK_CONFIG(, 7.10.1, ,

I have Fedora 14.

So, I look if I have a libcurl on the system :

Code:
Le paquet libcurl-7.21.0-6.fc14.x86_64 est déjà installé dans sa dernière version

I try install a libcurl-7.21 devel and I have always this problem.

Would you have a solution?



Thanks


PS : Sorry for my bad english
1713531929
Hero Member
*
Offline Offline

Posts: 1713531929

View Profile Personal Message (Offline)

Ignore
1713531929
Reply with quote  #2

1713531929
Report to moderator
"You Asked For Change, We Gave You Coins" -- casascius
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713531929
Hero Member
*
Offline Offline

Posts: 1713531929

View Profile Personal Message (Offline)

Ignore
1713531929
Reply with quote  #2

1713531929
Report to moderator
1713531929
Hero Member
*
Offline Offline

Posts: 1713531929

View Profile Personal Message (Offline)

Ignore
1713531929
Reply with quote  #2

1713531929
Report to moderator
1713531929
Hero Member
*
Offline Offline

Posts: 1713531929

View Profile Personal Message (Offline)

Ignore
1713531929
Reply with quote  #2

1713531929
Report to moderator
Patches
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
March 23, 2011, 11:47:29 AM
 #2

Hello,

I install CPU Miner ( https://github.com/j16sdiz/cpuminer ).
But when I execute configure, I have a problem with the libcurl :

Code:
./configure: line 4830: syntax error near unexpected token `,'
./configure: line 4830: `LIBCURL_CHECK_CONFIG(, 7.10.1, ,

I have Fedora 14.

So, I look if I have a libcurl on the system :

Code:
Le paquet libcurl-7.21.0-6.fc14.x86_64 est déjà installé dans sa dernière version

I try install a libcurl-7.21 devel and I have always this problem.

Would you have a solution?



Thanks


PS : Sorry for my bad english

Download and compile from the tarball (http://yyz.us/bitcoin/cpuminer-0.8.1.tar.gz) rather than from github. At least that worked for me on OS X which was having trouble finding libcurl.

Bon chance!

jgarzik
Legendary
*
Offline Offline

Activity: 1596
Merit: 1091


View Profile
March 23, 2011, 05:30:50 PM
 #3

Hello,

I install CPU Miner ( https://github.com/j16sdiz/cpuminer ).
But when I execute configure, I have a problem with the libcurl :

Code:
./configure: line 4830: syntax error near unexpected token `,'
./configure: line 4830: `LIBCURL_CHECK_CONFIG(, 7.10.1, ,

Your libcurl installations is broken.  It lacks autoconf macro(s).

As another poster noted, you should build from tarball instead of git, to avoid having to regenerate configure.


Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
lupio (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
March 24, 2011, 04:12:39 PM
 #4

Thanks


With http://yyz.us/bitcoin/cpuminer-0.8.1.tar.gz , it's ok

=)
hangover
Newbie
*
Offline Offline

Activity: 14
Merit: 0



View Profile WWW
October 22, 2011, 03:38:39 PM
 #5

Sorry for necroposting, but there is solution. (I am using FreeBSD).

Code:
$ cd cpuminer
$ mkdir m4
$ cp /usr/local/share/doc/curl/libcurl/libcurl.m4 m4

Then add string "ACLOCAL_AMFLAGS = -I m4" to file Makefile.am and edit file autogen.sh - replace string "aclocal" with "aclocal -I m4".

That's all.
AngelusWebDesign
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
October 22, 2011, 04:51:29 PM
 #6

You do realize, of course, that CPU mining is no longer profitable ever, regardless of CPU model and local cost of electricity. You pay a premium over what a BTC would cost if you just bought the thing on Mt. Gox. Maybe 30% more, maybe 50% more -- maybe even double!

Do mined BTC taste better than ones you buy from an exchange?

I guess you're probably setting this up on your work PC -- still, I'd be careful. Making 0.3 BTC a month (current value: $0.87) isn't worth losing your job Smiley
hangover
Newbie
*
Offline Offline

Activity: 14
Merit: 0



View Profile WWW
October 22, 2011, 06:07:45 PM
 #7

Well, thank you for your care about my job, heh Smiley
But my post wasn't about bitcoin mining soft only  Wink
There are some new alternative crypto currencies (LiteCoin, Tenebrix, etc.) that grow rapidly enough, and it uses CPU proof of work (scrypt algorithm).
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!