Bitcoin Forum

Bitcoin => Mining => Topic started by: lupio on March 23, 2011, 11:35:35 AM



Title: CPU Miner & problem with libcurl
Post by: lupio on March 23, 2011, 11:35:35 AM
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


Title: Re: CPU Miner & problem with libcurl
Post by: Patches on March 23, 2011, 11:47:29 AM
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!



Title: Re: CPU Miner & problem with libcurl
Post by: jgarzik on March 23, 2011, 05:30:50 PM
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.



Title: Re: CPU Miner & problem with libcurl
Post by: lupio on March 24, 2011, 04:12:39 PM
Thanks


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

=)


Title: Re: CPU Miner & problem with libcurl
Post by: hangover on October 22, 2011, 03:38:39 PM
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.


Title: Re: CPU Miner & problem with libcurl
Post by: AngelusWebDesign on October 22, 2011, 04:51:29 PM
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 :)


Title: Re: CPU Miner & problem with libcurl
Post by: hangover on October 22, 2011, 06:07:45 PM
Well, thank you for your care about my job, heh :)
But my post wasn't about bitcoin mining soft only  ;)
There are some new alternative crypto currencies (LiteCoin, Tenebrix, etc.) that grow rapidly enough, and it uses CPU proof of work (scrypt algorithm).